2
# From configure.ac 20051027.
3
# Guess values for system-dependent variables and create Makefiles.
4
# Generated by GNU Autoconf 2.59 for Uruk 20051027.
6
# Report bugs to <joostvb-uruk@mdcc.cx>.
8
# Copyright (C) 2003 Free Software Foundation, Inc.
9
# This configure script is free software; the Free Software Foundation
10
# gives unlimited permission to copy, distribute and modify it.
13
# Copyright (C) 2003 Stichting LogReport Foundation logreport@logreport.org
14
# Copyright (C) 2003, 2004 Tilburg University http://www.uvt.nl/
15
# Copyright (C) 2003, 2004, 2005 Joost van Baal
17
## --------------------- ##
18
## M4sh Initialization. ##
19
## --------------------- ##
21
# Be Bourne compatible
22
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
25
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
26
# is contrary to our usage. Disable this feature.
27
alias -g '${1+"$@"}'='"$@"'
28
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
31
DUALCASE=1; export DUALCASE # for MKS sh
33
# Support unset when possible.
34
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
41
# Work around bugs in pre-3.0 UWIN ksh.
42
$as_unset ENV MAIL MAILPATH
49
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
54
eval $as_var=C; export $as_var
60
# Required to use basename.
61
if expr a : '\(a\)' >/dev/null 2>&1; then
67
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
74
# Name of the executable.
75
as_me=`$as_basename "$0" ||
76
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
77
X"$0" : 'X\(//\)$' \| \
78
X"$0" : 'X\(/\)$' \| \
79
. : '\(.\)' 2>/dev/null ||
81
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
82
/^X\/\(\/\/\)$/{ s//\1/; q; }
83
/^X\/\(\/\).*/{ s//\1/; q; }
87
# PATH needs CR, and LINENO needs CR and PATH.
88
# Avoid depending upon Character Ranges.
89
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
90
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
91
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
92
as_cr_digits='0123456789'
93
as_cr_alnum=$as_cr_Letters$as_cr_digits
95
# The user is always right.
96
if test "${PATH_SEPARATOR+set}" != set; then
97
echo "#! /bin/sh" >conf$$.sh
98
echo "exit 0" >>conf$$.sh
100
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
111
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
112
test "x$as_lineno_1" != "x$as_lineno_2" &&
113
test "x$as_lineno_3" = "x$as_lineno_2" || {
114
# Find who we are. Look in the path if we contain no path at all
117
*[\\/]* ) as_myself=$0 ;;
118
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
122
test -z "$as_dir" && as_dir=.
123
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
128
# We did not find ourselves, most probably we were run as `sh COMMAND'
129
# in which case we are not to be found in the path.
130
if test "x$as_myself" = x; then
133
if test ! -f "$as_myself"; then
134
{ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
135
{ (exit 1); exit 1; }; }
137
case $CONFIG_SHELL in
139
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
140
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
143
test -z "$as_dir" && as_dir=.
144
for as_base in sh bash ksh sh5; do
147
if ("$as_dir/$as_base" -c '
150
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
151
test "x$as_lineno_1" != "x$as_lineno_2" &&
152
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
153
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
154
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
155
CONFIG_SHELL=$as_dir/$as_base
157
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
165
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
166
# uniformly replaced by the line number. The first 'sed' inserts a
167
# line-number line before each line; the second 'sed' does the real
168
# work. The second script uses 'N' to pair each line-number line
169
# with the numbered line, and appends trailing '-' during
170
# substitution so that $LINENO is not a special case at line end.
171
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
172
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
173
sed '=' <$as_myself |
178
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
181
s,^['$as_cr_digits']*\n,,
183
chmod +x $as_me.lineno ||
184
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
185
{ (exit 1); exit 1; }; }
187
# Don't try to exec as it changes $[0], causing all sort of problems
188
# (the dirname of $[0] is not the place where we might find the
189
# original and so on. Autoconf is especially sensible to this).
191
# Exit status is that of the last command.
196
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
197
*c*,-n*) ECHO_N= ECHO_C='
199
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
200
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
203
if expr a : '\(a\)' >/dev/null 2>&1; then
209
rm -f conf$$ conf$$.exe conf$$.file
211
if ln -s conf$$.file conf$$ 2>/dev/null; then
212
# We could just check for DJGPP; but this test a) works b) is more generic
213
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
214
if test -f conf$$.exe; then
215
# Don't use ln at all; we don't have any links
220
elif ln conf$$.file conf$$ 2>/dev/null; then
225
rm -f conf$$ conf$$.exe conf$$.file
227
if mkdir -p . 2>/dev/null; then
230
test -d ./-p && rmdir ./-p
234
as_executable_p="test -f"
236
# Sed expression to map a string onto a valid CPP name.
237
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
239
# Sed expression to map a string onto a valid variable name.
240
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
244
# We need space, tab and new line, in precisely that order.
254
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
255
# so uname gets run too.
256
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
263
ac_default_prefix=/usr/local
264
ac_config_libobj_dir=.
269
SHELL=${CONFIG_SHELL-/bin/sh}
271
# Maximum number of lines to put in a shell here document.
272
# This variable seems obsolete. It should probably be removed, and
273
# only ac_max_sed_lines should be used.
274
: ${ac_max_here_lines=38}
276
# Identity of this package.
278
PACKAGE_TARNAME='uruk'
279
PACKAGE_VERSION='20051027'
280
PACKAGE_STRING='Uruk 20051027'
281
PACKAGE_BUGREPORT='joostvb-uruk@mdcc.cx'
283
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar BIN_PATH SBIN_PATH DATA_PATH SYSCONF_PATH LOCALSTATE_PATH HASZOEM HASGROFF LIBOBJS LTLIBOBJS'
286
# Initialize some variables set by options.
288
ac_init_version=false
289
# The variables have the same names as the options, with
290
# dashes changed to underlines.
298
program_transform_name=s,x,x,
306
# Installation directory options.
307
# These are left unexpanded so users can "make install exec_prefix=/foo"
308
# and all the variables that are supposed to be based on exec_prefix
309
# by default will actually change.
310
# Use braces instead of parens because sh, perl, etc. also accept them.
311
bindir='${exec_prefix}/bin'
312
sbindir='${exec_prefix}/sbin'
313
libexecdir='${exec_prefix}/libexec'
314
datadir='${prefix}/share'
315
sysconfdir='${prefix}/etc'
316
sharedstatedir='${prefix}/com'
317
localstatedir='${prefix}/var'
318
libdir='${exec_prefix}/lib'
319
includedir='${prefix}/include'
320
oldincludedir='/usr/include'
321
infodir='${prefix}/info'
322
mandir='${prefix}/man'
327
# If the previous option needs an argument, assign it.
328
if test -n "$ac_prev"; then
329
eval "$ac_prev=\$ac_option"
334
ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
336
# Accept the important Cygnus configure options, so we can diagnose typos.
340
-bindir | --bindir | --bindi | --bind | --bin | --bi)
342
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
345
-build | --build | --buil | --bui | --bu)
346
ac_prev=build_alias ;;
347
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
348
build_alias=$ac_optarg ;;
350
-cache-file | --cache-file | --cache-fil | --cache-fi \
351
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
352
ac_prev=cache_file ;;
353
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
354
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
355
cache_file=$ac_optarg ;;
358
cache_file=config.cache ;;
360
-datadir | --datadir | --datadi | --datad | --data | --dat | --da)
362
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
364
datadir=$ac_optarg ;;
366
-disable-* | --disable-*)
367
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
368
# Reject names that are not valid shell variable names.
369
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
370
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
371
{ (exit 1); exit 1; }; }
372
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
373
eval "enable_$ac_feature=no" ;;
375
-enable-* | --enable-*)
376
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
377
# Reject names that are not valid shell variable names.
378
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
379
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
380
{ (exit 1); exit 1; }; }
381
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
383
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
386
eval "enable_$ac_feature='$ac_optarg'" ;;
388
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
389
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
390
| --exec | --exe | --ex)
391
ac_prev=exec_prefix ;;
392
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
393
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
394
| --exec=* | --exe=* | --ex=*)
395
exec_prefix=$ac_optarg ;;
397
-gas | --gas | --ga | --g)
398
# Obsolete; use --with-gas.
401
-help | --help | --hel | --he | -h)
403
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
404
ac_init_help=recursive ;;
405
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
406
ac_init_help=short ;;
408
-host | --host | --hos | --ho)
409
ac_prev=host_alias ;;
410
-host=* | --host=* | --hos=* | --ho=*)
411
host_alias=$ac_optarg ;;
413
-includedir | --includedir | --includedi | --included | --include \
414
| --includ | --inclu | --incl | --inc)
415
ac_prev=includedir ;;
416
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
417
| --includ=* | --inclu=* | --incl=* | --inc=*)
418
includedir=$ac_optarg ;;
420
-infodir | --infodir | --infodi | --infod | --info | --inf)
422
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
423
infodir=$ac_optarg ;;
425
-libdir | --libdir | --libdi | --libd)
427
-libdir=* | --libdir=* | --libdi=* | --libd=*)
430
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
431
| --libexe | --libex | --libe)
432
ac_prev=libexecdir ;;
433
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
434
| --libexe=* | --libex=* | --libe=*)
435
libexecdir=$ac_optarg ;;
437
-localstatedir | --localstatedir | --localstatedi | --localstated \
438
| --localstate | --localstat | --localsta | --localst \
439
| --locals | --local | --loca | --loc | --lo)
440
ac_prev=localstatedir ;;
441
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
442
| --localstate=* | --localstat=* | --localsta=* | --localst=* \
443
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
444
localstatedir=$ac_optarg ;;
446
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
448
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
452
# Obsolete; use --without-fp.
455
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
456
| --no-cr | --no-c | -n)
459
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
460
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
463
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
464
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
465
| --oldin | --oldi | --old | --ol | --o)
466
ac_prev=oldincludedir ;;
467
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
468
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
469
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
470
oldincludedir=$ac_optarg ;;
472
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
474
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
477
-program-prefix | --program-prefix | --program-prefi | --program-pref \
478
| --program-pre | --program-pr | --program-p)
479
ac_prev=program_prefix ;;
480
-program-prefix=* | --program-prefix=* | --program-prefi=* \
481
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
482
program_prefix=$ac_optarg ;;
484
-program-suffix | --program-suffix | --program-suffi | --program-suff \
485
| --program-suf | --program-su | --program-s)
486
ac_prev=program_suffix ;;
487
-program-suffix=* | --program-suffix=* | --program-suffi=* \
488
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
489
program_suffix=$ac_optarg ;;
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
ac_prev=program_transform_name ;;
499
-program-transform-name=* | --program-transform-name=* \
500
| --program-transform-nam=* | --program-transform-na=* \
501
| --program-transform-n=* | --program-transform-=* \
502
| --program-transform=* | --program-transfor=* \
503
| --program-transfo=* | --program-transf=* \
504
| --program-trans=* | --program-tran=* \
505
| --progr-tra=* | --program-tr=* | --program-t=*)
506
program_transform_name=$ac_optarg ;;
508
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
509
| -silent | --silent | --silen | --sile | --sil)
512
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
514
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
516
sbindir=$ac_optarg ;;
518
-sharedstatedir | --sharedstatedir | --sharedstatedi \
519
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
520
| --sharedst | --shareds | --shared | --share | --shar \
522
ac_prev=sharedstatedir ;;
523
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
524
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
525
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
527
sharedstatedir=$ac_optarg ;;
529
-site | --site | --sit)
531
-site=* | --site=* | --sit=*)
534
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
536
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
539
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
540
| --syscon | --sysco | --sysc | --sys | --sy)
541
ac_prev=sysconfdir ;;
542
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
543
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
544
sysconfdir=$ac_optarg ;;
546
-target | --target | --targe | --targ | --tar | --ta | --t)
547
ac_prev=target_alias ;;
548
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
549
target_alias=$ac_optarg ;;
551
-v | -verbose | --verbose | --verbos | --verbo | --verb)
554
-version | --version | --versio | --versi | --vers | -V)
558
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
559
# Reject names that are not valid shell variable names.
560
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
561
{ echo "$as_me: error: invalid package name: $ac_package" >&2
562
{ (exit 1); exit 1; }; }
563
ac_package=`echo $ac_package| sed 's/-/_/g'`
565
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
568
eval "with_$ac_package='$ac_optarg'" ;;
570
-without-* | --without-*)
571
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
572
# Reject names that are not valid shell variable names.
573
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
574
{ echo "$as_me: error: invalid package name: $ac_package" >&2
575
{ (exit 1); exit 1; }; }
576
ac_package=`echo $ac_package | sed 's/-/_/g'`
577
eval "with_$ac_package=no" ;;
580
# Obsolete; use --with-x.
583
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
584
| --x-incl | --x-inc | --x-in | --x-i)
585
ac_prev=x_includes ;;
586
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
587
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
588
x_includes=$ac_optarg ;;
590
-x-libraries | --x-libraries | --x-librarie | --x-librari \
591
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
592
ac_prev=x_libraries ;;
593
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
594
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
595
x_libraries=$ac_optarg ;;
597
-*) { echo "$as_me: error: unrecognized option: $ac_option
598
Try \`$0 --help' for more information." >&2
599
{ (exit 1); exit 1; }; }
603
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
604
# Reject names that are not valid shell variable names.
605
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
606
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
607
{ (exit 1); exit 1; }; }
608
ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
609
eval "$ac_envvar='$ac_optarg'"
613
# FIXME: should be removed in autoconf 3.0.
614
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
615
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
616
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
617
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
623
if test -n "$ac_prev"; then
624
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
625
{ echo "$as_me: error: missing argument to $ac_option" >&2
626
{ (exit 1); exit 1; }; }
629
# Be sure to have absolute paths.
630
for ac_var in exec_prefix prefix
632
eval ac_val=$`echo $ac_var`
634
[\\/$]* | ?:[\\/]* | NONE | '' ) ;;
635
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
636
{ (exit 1); exit 1; }; };;
640
# Be sure to have absolute paths.
641
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
642
localstatedir libdir includedir oldincludedir infodir mandir
644
eval ac_val=$`echo $ac_var`
646
[\\/$]* | ?:[\\/]* ) ;;
647
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
648
{ (exit 1); exit 1; }; };;
652
# There might be people who depend on the old broken behavior: `$host'
653
# used to hold the argument of --host etc.
654
# FIXME: To remove some day.
659
# FIXME: To remove some day.
660
if test "x$host_alias" != x; then
661
if test "x$build_alias" = x; then
662
cross_compiling=maybe
663
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
664
If a cross compiler is detected then cross compile mode will be used." >&2
665
elif test "x$build_alias" != "x$host_alias"; then
671
test -n "$host_alias" && ac_tool_prefix=$host_alias-
673
test "$silent" = yes && exec 6>/dev/null
676
# Find the source files, if location was not specified.
677
if test -z "$srcdir"; then
678
ac_srcdir_defaulted=yes
679
# Try the directory containing this script, then its parent.
680
ac_confdir=`(dirname "$0") 2>/dev/null ||
681
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
682
X"$0" : 'X\(//\)[^/]' \| \
683
X"$0" : 'X\(//\)$' \| \
684
X"$0" : 'X\(/\)' \| \
685
. : '\(.\)' 2>/dev/null ||
687
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
688
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
689
/^X\(\/\/\)$/{ s//\1/; q; }
690
/^X\(\/\).*/{ s//\1/; q; }
693
if test ! -r $srcdir/$ac_unique_file; then
697
ac_srcdir_defaulted=no
699
if test ! -r $srcdir/$ac_unique_file; then
700
if test "$ac_srcdir_defaulted" = yes; then
701
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
702
{ (exit 1); exit 1; }; }
704
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
705
{ (exit 1); exit 1; }; }
708
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
709
{ echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
710
{ (exit 1); exit 1; }; }
711
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
712
ac_env_build_alias_set=${build_alias+set}
713
ac_env_build_alias_value=$build_alias
714
ac_cv_env_build_alias_set=${build_alias+set}
715
ac_cv_env_build_alias_value=$build_alias
716
ac_env_host_alias_set=${host_alias+set}
717
ac_env_host_alias_value=$host_alias
718
ac_cv_env_host_alias_set=${host_alias+set}
719
ac_cv_env_host_alias_value=$host_alias
720
ac_env_target_alias_set=${target_alias+set}
721
ac_env_target_alias_value=$target_alias
722
ac_cv_env_target_alias_set=${target_alias+set}
723
ac_cv_env_target_alias_value=$target_alias
726
# Report the --help message.
728
if test "$ac_init_help" = "long"; then
729
# Omit some internal or obsolete options to make the list less imposing.
730
# This message is too long to be a string in the A/UX 3.1 sh.
732
\`configure' configures Uruk 20051027 to adapt to many kinds of systems.
734
Usage: $0 [OPTION]... [VAR=VALUE]...
736
To assign environment variables (e.g., CC, CFLAGS...), specify them as
737
VAR=VALUE. See below for descriptions of some of the useful variables.
739
Defaults for the options are specified in brackets.
742
-h, --help display this help and exit
743
--help=short display options specific to this package
744
--help=recursive display the short help of all the included packages
745
-V, --version display version information and exit
746
-q, --quiet, --silent do not print \`checking...' messages
747
--cache-file=FILE cache test results in FILE [disabled]
748
-C, --config-cache alias for \`--cache-file=config.cache'
749
-n, --no-create do not create output files
750
--srcdir=DIR find the sources in DIR [configure dir or \`..']
755
Installation directories:
756
--prefix=PREFIX install architecture-independent files in PREFIX
758
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
761
By default, \`make install' will install all the files in
762
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
763
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
764
for instance \`--prefix=\$HOME'.
766
For better control, use the options below.
768
Fine tuning of the installation directories:
769
--bindir=DIR user executables [EPREFIX/bin]
770
--sbindir=DIR system admin executables [EPREFIX/sbin]
771
--libexecdir=DIR program executables [EPREFIX/libexec]
772
--datadir=DIR read-only architecture-independent data [PREFIX/share]
773
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
774
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
775
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
776
--libdir=DIR object code libraries [EPREFIX/lib]
777
--includedir=DIR C header files [PREFIX/include]
778
--oldincludedir=DIR C header files for non-gcc [/usr/include]
779
--infodir=DIR info documentation [PREFIX/info]
780
--mandir=DIR man documentation [PREFIX/man]
786
--program-prefix=PREFIX prepend PREFIX to installed program names
787
--program-suffix=SUFFIX append SUFFIX to installed program names
788
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
792
if test -n "$ac_init_help"; then
793
case $ac_init_help in
794
short | recursive ) echo "Configuration of Uruk 20051027:";;
798
Report bugs to <joostvb-uruk@mdcc.cx>.
802
if test "$ac_init_help" = "recursive"; then
803
# If there are subdirs, report their specific --help.
805
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
806
test -d $ac_dir || continue
809
if test "$ac_dir" != .; then
810
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
811
# A "../" for each directory in $ac_dir_suffix.
812
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
814
ac_dir_suffix= ac_top_builddir=
818
.) # No --srcdir option. We are building in place.
820
if test -z "$ac_top_builddir"; then
823
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
825
[\\/]* | ?:[\\/]* ) # Absolute path.
826
ac_srcdir=$srcdir$ac_dir_suffix;
827
ac_top_srcdir=$srcdir ;;
829
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
830
ac_top_srcdir=$ac_top_builddir$srcdir ;;
833
# Do not use `cd foo && pwd` to compute absolute paths, because
834
# the directories may not exist.
836
.) ac_abs_builddir="$ac_dir";;
839
.) ac_abs_builddir=`pwd`;;
840
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
841
*) ac_abs_builddir=`pwd`/"$ac_dir";;
844
case $ac_abs_builddir in
845
.) ac_abs_top_builddir=${ac_top_builddir}.;;
847
case ${ac_top_builddir}. in
848
.) ac_abs_top_builddir=$ac_abs_builddir;;
849
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
850
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
853
case $ac_abs_builddir in
854
.) ac_abs_srcdir=$ac_srcdir;;
857
.) ac_abs_srcdir=$ac_abs_builddir;;
858
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
859
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
862
case $ac_abs_builddir in
863
.) ac_abs_top_srcdir=$ac_top_srcdir;;
865
case $ac_top_srcdir in
866
.) ac_abs_top_srcdir=$ac_abs_builddir;;
867
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
868
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
873
# Check for guested configure; otherwise get Cygnus style configure.
874
if test -f $ac_srcdir/configure.gnu; then
876
$SHELL $ac_srcdir/configure.gnu --help=recursive
877
elif test -f $ac_srcdir/configure; then
879
$SHELL $ac_srcdir/configure --help=recursive
880
elif test -f $ac_srcdir/configure.ac ||
881
test -f $ac_srcdir/configure.in; then
885
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
891
test -n "$ac_init_help" && exit 0
892
if $ac_init_version; then
894
Uruk configure 20051027
895
generated by GNU Autoconf 2.59
897
Copyright (C) 2003 Free Software Foundation, Inc.
898
This configure script is free software; the Free Software Foundation
899
gives unlimited permission to copy, distribute and modify it.
902
Copyright (C) 2003 Stichting LogReport Foundation logreport@logreport.org
903
Copyright (C) 2003, 2004 Tilburg University http://www.uvt.nl/
904
Copyright (C) 2003, 2004, 2005 Joost van Baal
911
This file contains any messages produced by compilers while
912
running configure, to aid debugging if configure makes a mistake.
914
It was created by Uruk $as_me 20051027, which was
915
generated by GNU Autoconf 2.59. Invocation command line was
926
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
927
uname -m = `(uname -m) 2>/dev/null || echo unknown`
928
uname -r = `(uname -r) 2>/dev/null || echo unknown`
929
uname -s = `(uname -s) 2>/dev/null || echo unknown`
930
uname -v = `(uname -v) 2>/dev/null || echo unknown`
932
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
933
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
935
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
936
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
937
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
938
hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
939
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
940
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
941
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
945
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
949
test -z "$as_dir" && as_dir=.
965
# Keep a trace of the command line.
966
# Strip out --no-create and --no-recursion so they do not pile up.
967
# Strip out --silent because we don't want to record it for future runs.
968
# Also quote any args containing shell meta-characters.
969
# Make two passes to allow for proper duplicate-argument suppression.
974
ac_must_keep_next=false
980
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
981
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
982
| -silent | --silent | --silen | --sile | --sil)
984
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
985
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
988
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
990
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
991
if test $ac_must_keep_next = true; then
992
ac_must_keep_next=false # Got value, back to normal.
995
*=* | --config-cache | -C | -disable-* | --disable-* \
996
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
997
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
998
| -with-* | --with-* | -without-* | --without-* | --x)
999
case "$ac_configure_args0 " in
1000
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1003
-* ) ac_must_keep_next=true ;;
1006
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1007
# Get rid of the leading space.
1013
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1014
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1016
# When interrupted or exit'd, cleanup temporary files, and complete
1017
# config.log. We remove comments because anyway the quotes in there
1018
# would cause problems or look ugly.
1019
# WARNING: Be sure not to use single quotes in there, as some shells,
1020
# such as our DU 5.0 friend, will then `close' the trap.
1021
trap 'exit_status=$?
1022
# Save into config.log some information that might help in debugging.
1027
## ---------------- ##
1028
## Cache variables. ##
1029
## ---------------- ##
1032
# The following way of writing the cache mishandles newlines in values,
1035
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1038
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1039
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1043
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1050
## ----------------- ##
1051
## Output variables. ##
1052
## ----------------- ##
1055
for ac_var in $ac_subst_vars
1057
eval ac_val=$`echo $ac_var`
1058
echo "$ac_var='"'"'$ac_val'"'"'"
1062
if test -n "$ac_subst_files"; then
1069
for ac_var in $ac_subst_files
1071
eval ac_val=$`echo $ac_var`
1072
echo "$ac_var='"'"'$ac_val'"'"'"
1077
if test -s confdefs.h; then
1084
sed "/^$/d" confdefs.h | sort
1087
test "$ac_signal" != 0 &&
1088
echo "$as_me: caught signal $ac_signal"
1089
echo "$as_me: exit $exit_status"
1091
rm -f core *.core &&
1092
rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1095
for ac_signal in 1 2 13 15; do
1096
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1100
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1101
rm -rf conftest* confdefs.h
1102
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1105
# Predefined preprocessor variables.
1107
cat >>confdefs.h <<_ACEOF
1108
#define PACKAGE_NAME "$PACKAGE_NAME"
1112
cat >>confdefs.h <<_ACEOF
1113
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1117
cat >>confdefs.h <<_ACEOF
1118
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1122
cat >>confdefs.h <<_ACEOF
1123
#define PACKAGE_STRING "$PACKAGE_STRING"
1127
cat >>confdefs.h <<_ACEOF
1128
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1132
# Let the site file select an alternate cache file if it wants to.
1133
# Prefer explicitly selected file to automatically selected ones.
1134
if test -z "$CONFIG_SITE"; then
1135
if test "x$prefix" != xNONE; then
1136
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1138
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1141
for ac_site_file in $CONFIG_SITE; do
1142
if test -r "$ac_site_file"; then
1143
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1144
echo "$as_me: loading site script $ac_site_file" >&6;}
1145
sed 's/^/| /' "$ac_site_file" >&5
1150
if test -r "$cache_file"; then
1151
# Some versions of bash will fail to source /dev/null (special
1152
# files actually), so we avoid doing that.
1153
if test -f "$cache_file"; then
1154
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
1155
echo "$as_me: loading cache $cache_file" >&6;}
1157
[\\/]* | ?:[\\/]* ) . $cache_file;;
1158
*) . ./$cache_file;;
1162
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
1163
echo "$as_me: creating cache $cache_file" >&6;}
1167
# Check that the precious variables saved in the cache have kept the same
1169
ac_cache_corrupted=false
1170
for ac_var in `(set) 2>&1 |
1171
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1172
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1173
eval ac_new_set=\$ac_env_${ac_var}_set
1174
eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1175
eval ac_new_val="\$ac_env_${ac_var}_value"
1176
case $ac_old_set,$ac_new_set in
1178
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1179
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1180
ac_cache_corrupted=: ;;
1182
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1183
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1184
ac_cache_corrupted=: ;;
1187
if test "x$ac_old_val" != "x$ac_new_val"; then
1188
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1189
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1190
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1191
echo "$as_me: former value: $ac_old_val" >&2;}
1192
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1193
echo "$as_me: current value: $ac_new_val" >&2;}
1194
ac_cache_corrupted=:
1197
# Pass precious variables to config.status.
1198
if test "$ac_new_set" = set; then
1200
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1201
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1202
*) ac_arg=$ac_var=$ac_new_val ;;
1204
case " $ac_configure_args " in
1205
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1206
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1210
if $ac_cache_corrupted; then
1211
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1212
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1213
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1214
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1215
{ (exit 1); exit 1; }; }
1219
ac_cpp='$CPP $CPPFLAGS'
1220
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1221
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1222
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1253
am__api_version="1.9"
1255
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1256
if test -f $ac_dir/install-sh; then
1258
ac_install_sh="$ac_aux_dir/install-sh -c"
1260
elif test -f $ac_dir/install.sh; then
1262
ac_install_sh="$ac_aux_dir/install.sh -c"
1264
elif test -f $ac_dir/shtool; then
1266
ac_install_sh="$ac_aux_dir/shtool install -c"
1270
if test -z "$ac_aux_dir"; then
1271
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1272
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1273
{ (exit 1); exit 1; }; }
1275
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1276
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1277
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1279
# Find a good install program. We prefer a C program (faster),
1280
# so one script is as good as another. But avoid the broken or
1281
# incompatible versions:
1282
# SysV /etc/install, /usr/sbin/install
1283
# SunOS /usr/etc/install
1284
# IRIX /sbin/install
1286
# AmigaOS /C/install, which installs bootblocks on floppy discs
1287
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1288
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1289
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1290
# OS/2's system install, which has a completely different semantic
1291
# ./install, which can be erroneously created by make from ./install.sh.
1292
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1293
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1294
if test -z "$INSTALL"; then
1295
if test "${ac_cv_path_install+set}" = set; then
1296
echo $ECHO_N "(cached) $ECHO_C" >&6
1298
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1302
test -z "$as_dir" && as_dir=.
1303
# Account for people who put trailing slashes in PATH elements.
1305
./ | .// | /cC/* | \
1306
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1307
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1310
# OSF1 and SCO ODT 3.0 have their own names for install.
1311
# Don't use installbsd from OSF since it installs stuff as root
1313
for ac_prog in ginstall scoinst install; do
1314
for ac_exec_ext in '' $ac_executable_extensions; do
1315
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1316
if test $ac_prog = install &&
1317
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1318
# AIX install. It has an incompatible calling convention.
1320
elif test $ac_prog = install &&
1321
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1322
# program-specific install script used by HP pwplus--don't use.
1325
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1337
if test "${ac_cv_path_install+set}" = set; then
1338
INSTALL=$ac_cv_path_install
1340
# As a last resort, use the slow shell script. We don't cache a
1341
# path for INSTALL within a source directory, because that will
1342
# break other packages using the cache if that directory is
1343
# removed, or if the path is relative.
1344
INSTALL=$ac_install_sh
1347
echo "$as_me:$LINENO: result: $INSTALL" >&5
1348
echo "${ECHO_T}$INSTALL" >&6
1350
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1351
# It thinks the first close brace ends the variable substitution.
1352
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1354
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1356
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1358
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1359
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1362
echo timestamp > conftest.file
1363
# Do `set' in a subshell so we don't clobber the current shell's
1364
# arguments. Must try -L first in case configure is actually a
1365
# symlink; some systems play weird games with the mod time of symlinks
1366
# (eg FreeBSD returns the mod time of the symlink's containing
1369
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1370
if test "$*" = "X"; then
1372
set X `ls -t $srcdir/configure conftest.file`
1375
if test "$*" != "X $srcdir/configure conftest.file" \
1376
&& test "$*" != "X conftest.file $srcdir/configure"; then
1378
# If neither matched, then we have a broken ls. This can happen
1379
# if, for instance, CONFIG_SHELL is bash and it inherits a
1380
# broken ls alias from the environment. This has actually
1381
# happened. Such a system could not be considered "sane".
1382
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1383
alias in your environment" >&5
1384
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1385
alias in your environment" >&2;}
1386
{ (exit 1); exit 1; }; }
1389
test "$2" = conftest.file
1395
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1396
Check your system clock" >&5
1397
echo "$as_me: error: newly created file is older than distributed files!
1398
Check your system clock" >&2;}
1399
{ (exit 1); exit 1; }; }
1401
echo "$as_me:$LINENO: result: yes" >&5
1402
echo "${ECHO_T}yes" >&6
1403
test "$program_prefix" != NONE &&
1404
program_transform_name="s,^,$program_prefix,;$program_transform_name"
1405
# Use a double $ so make ignores it.
1406
test "$program_suffix" != NONE &&
1407
program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1408
# Double any \ or $. echo might interpret backslashes.
1409
# By default was `s,x,x', remove it if useless.
1410
cat <<\_ACEOF >conftest.sed
1411
s/[\\$]/&&/g;s/;s,x,x,$//
1413
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1416
# expand $ac_aux_dir to an absolute path
1417
am_aux_dir=`cd $ac_aux_dir && pwd`
1419
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1420
# Use eval to expand $SHELL
1421
if eval "$MISSING --run true"; then
1422
am_missing_run="$MISSING --run "
1425
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1426
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1429
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1430
# We used to keeping the `.' as first argument, in order to
1431
# allow $(mkdir_p) to be used without argument. As in
1432
# $(mkdir_p) $(somedir)
1433
# where $(somedir) is conditionally defined. However this is wrong
1435
# 1. if the package is installed by a user who cannot write `.'
1436
# make install will fail,
1437
# 2. the above comment should most certainly read
1438
# $(mkdir_p) $(DESTDIR)$(somedir)
1439
# so it does not work when $(somedir) is undefined and
1440
# $(DESTDIR) is not.
1441
# To support the latter case, we have to write
1442
# test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1443
# so the `.' trick is pointless.
1444
mkdir_p='mkdir -p --'
1446
# On NextStep and OpenStep, the `mkdir' command does not
1447
# recognize any option. It will interpret all options as
1448
# directories to create, and then abort because `.' already
1450
for d in ./-p ./--version;
1452
test -d $d && rmdir $d
1454
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1455
if test -f "$ac_aux_dir/mkinstalldirs"; then
1456
mkdir_p='$(mkinstalldirs)'
1458
mkdir_p='$(install_sh) -d'
1462
for ac_prog in gawk mawk nawk awk
1464
# Extract the first word of "$ac_prog", so it can be a program name with args.
1465
set dummy $ac_prog; ac_word=$2
1466
echo "$as_me:$LINENO: checking for $ac_word" >&5
1467
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1468
if test "${ac_cv_prog_AWK+set}" = set; then
1469
echo $ECHO_N "(cached) $ECHO_C" >&6
1471
if test -n "$AWK"; then
1472
ac_cv_prog_AWK="$AWK" # Let the user override the test.
1474
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1478
test -z "$as_dir" && as_dir=.
1479
for ac_exec_ext in '' $ac_executable_extensions; do
1480
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1481
ac_cv_prog_AWK="$ac_prog"
1482
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1491
if test -n "$AWK"; then
1492
echo "$as_me:$LINENO: result: $AWK" >&5
1493
echo "${ECHO_T}$AWK" >&6
1495
echo "$as_me:$LINENO: result: no" >&5
1496
echo "${ECHO_T}no" >&6
1499
test -n "$AWK" && break
1502
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1503
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1504
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1505
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1506
echo $ECHO_N "(cached) $ECHO_C" >&6
1508
cat >conftest.make <<\_ACEOF
1510
@echo 'ac_maketemp="$(MAKE)"'
1512
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1513
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1514
if test -n "$ac_maketemp"; then
1515
eval ac_cv_prog_make_${ac_make}_set=yes
1517
eval ac_cv_prog_make_${ac_make}_set=no
1521
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1522
echo "$as_me:$LINENO: result: yes" >&5
1523
echo "${ECHO_T}yes" >&6
1526
echo "$as_me:$LINENO: result: no" >&5
1527
echo "${ECHO_T}no" >&6
1528
SET_MAKE="MAKE=${MAKE-make}"
1531
rm -rf .tst 2>/dev/null
1532
mkdir .tst 2>/dev/null
1533
if test -d .tst; then
1538
rmdir .tst 2>/dev/null
1540
# test to see if srcdir already configured
1541
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1542
test -f $srcdir/config.status; then
1543
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1544
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1545
{ (exit 1); exit 1; }; }
1548
# test whether we have cygpath
1549
if test -z "$CYGPATH_W"; then
1550
if (cygpath --version) >/dev/null 2>/dev/null; then
1551
CYGPATH_W='cygpath -w'
1558
# Define the identity of the package.
1563
cat >>confdefs.h <<_ACEOF
1564
#define PACKAGE "$PACKAGE"
1568
cat >>confdefs.h <<_ACEOF
1569
#define VERSION "$VERSION"
1572
# Some tools Automake needs.
1574
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1577
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1580
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1583
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1586
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1588
install_sh=${install_sh-"$am_aux_dir/install-sh"}
1590
# Installed binaries are usually stripped using `strip' when the user
1591
# run `make install-strip'. However `strip' might not be the right
1592
# tool to use in cross-compilation environments, therefore Automake
1593
# will honor the `STRIP' environment variable to overrule this program.
1594
if test "$cross_compiling" != no; then
1595
if test -n "$ac_tool_prefix"; then
1596
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1597
set dummy ${ac_tool_prefix}strip; ac_word=$2
1598
echo "$as_me:$LINENO: checking for $ac_word" >&5
1599
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1600
if test "${ac_cv_prog_STRIP+set}" = set; then
1601
echo $ECHO_N "(cached) $ECHO_C" >&6
1603
if test -n "$STRIP"; then
1604
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1606
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1610
test -z "$as_dir" && as_dir=.
1611
for ac_exec_ext in '' $ac_executable_extensions; do
1612
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1613
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1614
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1622
STRIP=$ac_cv_prog_STRIP
1623
if test -n "$STRIP"; then
1624
echo "$as_me:$LINENO: result: $STRIP" >&5
1625
echo "${ECHO_T}$STRIP" >&6
1627
echo "$as_me:$LINENO: result: no" >&5
1628
echo "${ECHO_T}no" >&6
1632
if test -z "$ac_cv_prog_STRIP"; then
1634
# Extract the first word of "strip", so it can be a program name with args.
1635
set dummy strip; ac_word=$2
1636
echo "$as_me:$LINENO: checking for $ac_word" >&5
1637
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1638
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1639
echo $ECHO_N "(cached) $ECHO_C" >&6
1641
if test -n "$ac_ct_STRIP"; then
1642
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1644
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1648
test -z "$as_dir" && as_dir=.
1649
for ac_exec_ext in '' $ac_executable_extensions; do
1650
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1651
ac_cv_prog_ac_ct_STRIP="strip"
1652
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1658
test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1661
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1662
if test -n "$ac_ct_STRIP"; then
1663
echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1664
echo "${ECHO_T}$ac_ct_STRIP" >&6
1666
echo "$as_me:$LINENO: result: no" >&5
1667
echo "${ECHO_T}no" >&6
1672
STRIP="$ac_cv_prog_STRIP"
1676
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1678
# We need awk for the "check" target. The system "awk" is bad on
1680
# Always define AMTAR for backward compatibility.
1682
AMTAR=${AMTAR-"${am_missing_run}tar"}
1684
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1695
# AC_DEFINE_DIR is defined in acinclude.m4
1699
test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
1700
test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
1701
eval ac_define_dir="\"$bindir\""
1702
eval ac_define_dir="\"$ac_define_dir\""
1703
BIN_PATH="$ac_define_dir"
1705
cat >>confdefs.h <<_ACEOF
1706
#define BIN_PATH "$ac_define_dir"
1709
test "$prefix_NONE" && prefix=NONE
1710
test "$exec_prefix_NONE" && exec_prefix=NONE
1715
test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
1716
test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
1717
eval ac_define_dir="\"$sbindir\""
1718
eval ac_define_dir="\"$ac_define_dir\""
1719
SBIN_PATH="$ac_define_dir"
1721
cat >>confdefs.h <<_ACEOF
1722
#define SBIN_PATH "$ac_define_dir"
1725
test "$prefix_NONE" && prefix=NONE
1726
test "$exec_prefix_NONE" && exec_prefix=NONE
1731
test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
1732
test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
1733
eval ac_define_dir="\"$datadir\""
1734
eval ac_define_dir="\"$ac_define_dir\""
1735
DATA_PATH="$ac_define_dir"
1737
cat >>confdefs.h <<_ACEOF
1738
#define DATA_PATH "$ac_define_dir"
1741
test "$prefix_NONE" && prefix=NONE
1742
test "$exec_prefix_NONE" && exec_prefix=NONE
1747
test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
1748
test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
1749
eval ac_define_dir="\"$sysconfdir\""
1750
eval ac_define_dir="\"$ac_define_dir\""
1751
SYSCONF_PATH="$ac_define_dir"
1753
cat >>confdefs.h <<_ACEOF
1754
#define SYSCONF_PATH "$ac_define_dir"
1757
test "$prefix_NONE" && prefix=NONE
1758
test "$exec_prefix_NONE" && exec_prefix=NONE
1763
test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
1764
test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
1765
eval ac_define_dir="\"$localstatedir\""
1766
eval ac_define_dir="\"$ac_define_dir\""
1767
LOCALSTATE_PATH="$ac_define_dir"
1769
cat >>confdefs.h <<_ACEOF
1770
#define LOCALSTATE_PATH "$ac_define_dir"
1773
test "$prefix_NONE" && prefix=NONE
1774
test "$exec_prefix_NONE" && exec_prefix=NONE
1777
# Extract the first word of "zoem", so it can be a program name with args.
1778
set dummy zoem; ac_word=$2
1779
echo "$as_me:$LINENO: checking for $ac_word" >&5
1780
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1781
if test "${ac_cv_prog_HASZOEM+set}" = set; then
1782
echo $ECHO_N "(cached) $ECHO_C" >&6
1784
if test -n "$HASZOEM"; then
1785
ac_cv_prog_HASZOEM="$HASZOEM" # Let the user override the test.
1787
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1791
test -z "$as_dir" && as_dir=.
1792
for ac_exec_ext in '' $ac_executable_extensions; do
1793
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1794
ac_cv_prog_HASZOEM="yes"
1795
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1801
test -z "$ac_cv_prog_HASZOEM" && ac_cv_prog_HASZOEM="no"
1804
HASZOEM=$ac_cv_prog_HASZOEM
1805
if test -n "$HASZOEM"; then
1806
echo "$as_me:$LINENO: result: $HASZOEM" >&5
1807
echo "${ECHO_T}$HASZOEM" >&6
1809
echo "$as_me:$LINENO: result: no" >&5
1810
echo "${ECHO_T}no" >&6
1813
if test "xno" = "x$HASZOEM"
1815
{ { echo "$as_me:$LINENO: error: cannot find zoem ( http://micans.org/zoem ) in your PATH " >&5
1816
echo "$as_me: error: cannot find zoem ( http://micans.org/zoem ) in your PATH " >&2;}
1817
{ (exit 1); exit 1; }; }
1820
# Extract the first word of "groff", so it can be a program name with args.
1821
set dummy groff; ac_word=$2
1822
echo "$as_me:$LINENO: checking for $ac_word" >&5
1823
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1824
if test "${ac_cv_prog_HASGROFF+set}" = set; then
1825
echo $ECHO_N "(cached) $ECHO_C" >&6
1827
if test -n "$HASGROFF"; then
1828
ac_cv_prog_HASGROFF="$HASGROFF" # Let the user override the test.
1830
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1834
test -z "$as_dir" && as_dir=.
1835
for ac_exec_ext in '' $ac_executable_extensions; do
1836
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1837
ac_cv_prog_HASGROFF="yes"
1838
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1844
test -z "$ac_cv_prog_HASGROFF" && ac_cv_prog_HASGROFF="no"
1847
HASGROFF=$ac_cv_prog_HASGROFF
1848
if test -n "$HASGROFF"; then
1849
echo "$as_me:$LINENO: result: $HASGROFF" >&5
1850
echo "${ECHO_T}$HASGROFF" >&6
1852
echo "$as_me:$LINENO: result: no" >&5
1853
echo "${ECHO_T}no" >&6
1856
if test "xno" = "x$HASGROFF"
1858
{ { echo "$as_me:$LINENO: error: cannot find groff in your PATH" >&5
1859
echo "$as_me: error: cannot find groff in your PATH" >&2;}
1860
{ (exit 1); exit 1; }; }
1863
# Extract the first word of "col", so it can be a program name with args.
1864
set dummy col; ac_word=$2
1865
echo "$as_me:$LINENO: checking for $ac_word" >&5
1866
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1867
if test "${ac_cv_prog_HASGROFF+set}" = set; then
1868
echo $ECHO_N "(cached) $ECHO_C" >&6
1870
if test -n "$HASGROFF"; then
1871
ac_cv_prog_HASGROFF="$HASGROFF" # Let the user override the test.
1873
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1877
test -z "$as_dir" && as_dir=.
1878
for ac_exec_ext in '' $ac_executable_extensions; do
1879
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1880
ac_cv_prog_HASGROFF="yes"
1881
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1887
test -z "$ac_cv_prog_HASGROFF" && ac_cv_prog_HASGROFF="no"
1890
HASGROFF=$ac_cv_prog_HASGROFF
1891
if test -n "$HASGROFF"; then
1892
echo "$as_me:$LINENO: result: $HASGROFF" >&5
1893
echo "${ECHO_T}$HASGROFF" >&6
1895
echo "$as_me:$LINENO: result: no" >&5
1896
echo "${ECHO_T}no" >&6
1899
if test "xno" = "x$HASCOL"
1901
{ { echo "$as_me:$LINENO: error: cannot find col in your PATH" >&5
1902
echo "$as_me: error: cannot find col in your PATH" >&2;}
1903
{ (exit 1); exit 1; }; }
1907
ac_config_files="$ac_config_files Makefile doc/Makefile init/Makefile init/uruk man/Makefile man/include.zmm script/Makefile script/uruk script/uruk-save"
1909
cat >confcache <<\_ACEOF
1910
# This file is a shell script that caches the results of configure
1911
# tests run on this system so they can be shared between configure
1912
# scripts and configure runs, see configure's option --config-cache.
1913
# It is not useful on other systems. If it contains results you don't
1914
# want to keep, you may remove or edit it.
1916
# config.status only pays attention to the cache file if you give it
1917
# the --recheck option to rerun configure.
1919
# `ac_cv_env_foo' variables (set or unset) will be overridden when
1920
# loading this file, other *unset* `ac_cv_foo' will be assigned the
1925
# The following way of writing the cache mishandles newlines in values,
1926
# but we know of no workaround that is simple, portable, and efficient.
1927
# So, don't put newlines in cache variables' values.
1928
# Ultrix sh set writes to stderr and can't be redirected directly,
1929
# and sets the high bit in the cache file unless we assign to the vars.
1932
case `(ac_space=' '; set | grep ac_space) 2>&1` in
1934
# `set' does not quote correctly, so add quotes (double-quote
1935
# substitution turns \\\\ into \\, and sed turns \\ into \).
1938
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1941
# `set' quotes correctly as required by POSIX, so do not add quotes.
1943
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1950
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1952
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1954
if diff $cache_file confcache >/dev/null 2>&1; then :; else
1955
if test -w $cache_file; then
1956
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
1957
cat confcache >$cache_file
1959
echo "not updating unwritable cache $cache_file"
1964
test "x$prefix" = xNONE && prefix=$ac_default_prefix
1965
# Let make expand exec_prefix.
1966
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1968
# VPATH may cause trouble with some makes, so we remove $(srcdir),
1969
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
1970
# trailing colons and then remove the whole line if VPATH becomes empty
1971
# (actually we leave an empty line to preserve line numbers).
1972
if test "x$srcdir" = x.; then
1973
ac_vpsub='/^[ ]*VPATH[ ]*=/{
1974
s/:*\$(srcdir):*/:/;
1975
s/:*\${srcdir}:*/:/;
1977
s/^\([^=]*=[ ]*\):*/\1/;
1983
# Transform confdefs.h into DEFS.
1984
# Protect against shell expansion while executing Makefile rules.
1985
# Protect against Makefile macro expansion.
1987
# If the first sed substitution is executed (which looks for macros that
1988
# take arguments), then we branch to the quote section. Otherwise,
1989
# look for a macro that doesn't take arguments.
1990
cat >confdef2opt.sed <<\_ACEOF
1993
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
1995
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
1999
s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
2005
# We use echo to avoid assuming a particular line-breaking character.
2006
# The extra dot is to prevent the shell from consuming trailing
2007
# line-breaks from the sub-command output. A line-break within
2008
# single-quotes doesn't work because, if this script is created in a
2009
# platform that uses two characters for line-breaks (e.g., DOS), tr
2011
ac_LF_and_DOT=`echo; echo .`
2012
DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2013
rm -f confdef2opt.sed
2018
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2019
# 1. Remove the extension, and $U if already installed.
2020
ac_i=`echo "$ac_i" |
2021
sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
2023
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
2024
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
2028
LTLIBOBJS=$ac_ltlibobjs
2032
: ${CONFIG_STATUS=./config.status}
2033
ac_clean_files_save=$ac_clean_files
2034
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2035
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2036
echo "$as_me: creating $CONFIG_STATUS" >&6;}
2037
cat >$CONFIG_STATUS <<_ACEOF
2039
# Generated by $as_me.
2040
# Run this file to recreate the current configuration.
2041
# Compiler output produced by configure, useful for debugging
2042
# configure, is in config.log if it exists.
2047
SHELL=\${CONFIG_SHELL-$SHELL}
2050
cat >>$CONFIG_STATUS <<\_ACEOF
2051
## --------------------- ##
2052
## M4sh Initialization. ##
2053
## --------------------- ##
2055
# Be Bourne compatible
2056
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2059
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2060
# is contrary to our usage. Disable this feature.
2061
alias -g '${1+"$@"}'='"$@"'
2062
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2065
DUALCASE=1; export DUALCASE # for MKS sh
2067
# Support unset when possible.
2068
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2075
# Work around bugs in pre-3.0 UWIN ksh.
2076
$as_unset ENV MAIL MAILPATH
2083
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2084
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2085
LC_TELEPHONE LC_TIME
2087
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2088
eval $as_var=C; export $as_var
2094
# Required to use basename.
2095
if expr a : '\(a\)' >/dev/null 2>&1; then
2101
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
2102
as_basename=basename
2108
# Name of the executable.
2109
as_me=`$as_basename "$0" ||
2110
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2111
X"$0" : 'X\(//\)$' \| \
2112
X"$0" : 'X\(/\)$' \| \
2113
. : '\(.\)' 2>/dev/null ||
2115
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2116
/^X\/\(\/\/\)$/{ s//\1/; q; }
2117
/^X\/\(\/\).*/{ s//\1/; q; }
2121
# PATH needs CR, and LINENO needs CR and PATH.
2122
# Avoid depending upon Character Ranges.
2123
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2124
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2125
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2126
as_cr_digits='0123456789'
2127
as_cr_alnum=$as_cr_Letters$as_cr_digits
2129
# The user is always right.
2130
if test "${PATH_SEPARATOR+set}" != set; then
2131
echo "#! /bin/sh" >conf$$.sh
2132
echo "exit 0" >>conf$$.sh
2134
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2145
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2146
test "x$as_lineno_1" != "x$as_lineno_2" &&
2147
test "x$as_lineno_3" = "x$as_lineno_2" || {
2148
# Find who we are. Look in the path if we contain no path at all
2151
*[\\/]* ) as_myself=$0 ;;
2152
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2156
test -z "$as_dir" && as_dir=.
2157
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2162
# We did not find ourselves, most probably we were run as `sh COMMAND'
2163
# in which case we are not to be found in the path.
2164
if test "x$as_myself" = x; then
2167
if test ! -f "$as_myself"; then
2168
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
2169
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
2170
{ (exit 1); exit 1; }; }
2172
case $CONFIG_SHELL in
2174
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2175
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
2178
test -z "$as_dir" && as_dir=.
2179
for as_base in sh bash ksh sh5; do
2182
if ("$as_dir/$as_base" -c '
2185
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2186
test "x$as_lineno_1" != "x$as_lineno_2" &&
2187
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
2188
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
2189
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
2190
CONFIG_SHELL=$as_dir/$as_base
2192
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
2200
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2201
# uniformly replaced by the line number. The first 'sed' inserts a
2202
# line-number line before each line; the second 'sed' does the real
2203
# work. The second script uses 'N' to pair each line-number line
2204
# with the numbered line, and appends trailing '-' during
2205
# substitution so that $LINENO is not a special case at line end.
2206
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2207
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
2208
sed '=' <$as_myself |
2213
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
2216
s,^['$as_cr_digits']*\n,,
2218
chmod +x $as_me.lineno ||
2219
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
2220
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
2221
{ (exit 1); exit 1; }; }
2223
# Don't try to exec as it changes $[0], causing all sort of problems
2224
# (the dirname of $[0] is not the place where we might find the
2225
# original and so on. Autoconf is especially sensible to this).
2227
# Exit status is that of the last command.
2232
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
2233
*c*,-n*) ECHO_N= ECHO_C='
2235
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
2236
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
2239
if expr a : '\(a\)' >/dev/null 2>&1; then
2245
rm -f conf$$ conf$$.exe conf$$.file
2247
if ln -s conf$$.file conf$$ 2>/dev/null; then
2248
# We could just check for DJGPP; but this test a) works b) is more generic
2249
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2250
if test -f conf$$.exe; then
2251
# Don't use ln at all; we don't have any links
2256
elif ln conf$$.file conf$$ 2>/dev/null; then
2261
rm -f conf$$ conf$$.exe conf$$.file
2263
if mkdir -p . 2>/dev/null; then
2266
test -d ./-p && rmdir ./-p
2270
as_executable_p="test -f"
2272
# Sed expression to map a string onto a valid CPP name.
2273
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2275
# Sed expression to map a string onto a valid variable name.
2276
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2280
# We need space, tab and new line, in precisely that order.
2290
# Open the log real soon, to keep \$[0] and so on meaningful, and to
2291
# report actual input values of CONFIG_FILES etc. instead of their
2292
# values after options handling. Logging --version etc. is OK.
2296
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2297
## Running $as_me. ##
2302
This file was extended by Uruk $as_me 20051027, which was
2303
generated by GNU Autoconf 2.59. Invocation command line was
2305
CONFIG_FILES = $CONFIG_FILES
2306
CONFIG_HEADERS = $CONFIG_HEADERS
2307
CONFIG_LINKS = $CONFIG_LINKS
2308
CONFIG_COMMANDS = $CONFIG_COMMANDS
2312
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2316
# Files that config.status was made for.
2317
if test -n "$ac_config_files"; then
2318
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2321
if test -n "$ac_config_headers"; then
2322
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2325
if test -n "$ac_config_links"; then
2326
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2329
if test -n "$ac_config_commands"; then
2330
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2333
cat >>$CONFIG_STATUS <<\_ACEOF
2336
\`$as_me' instantiates files from templates according to the
2337
current configuration.
2339
Usage: $0 [OPTIONS] [FILE]...
2341
-h, --help print this help, then exit
2342
-V, --version print version number, then exit
2343
-q, --quiet do not print progress messages
2344
-d, --debug don't remove temporary files
2345
--recheck update $as_me by reconfiguring in the same conditions
2346
--file=FILE[:TEMPLATE]
2347
instantiate the configuration file FILE
2349
Configuration files:
2352
Report bugs to <bug-autoconf@gnu.org>."
2355
cat >>$CONFIG_STATUS <<_ACEOF
2357
Uruk config.status 20051027
2358
configured by $0, generated by GNU Autoconf 2.59,
2359
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2361
Copyright (C) 2003 Free Software Foundation, Inc.
2362
This config.status script is free software; the Free Software Foundation
2363
gives unlimited permission to copy, distribute and modify it."
2368
cat >>$CONFIG_STATUS <<\_ACEOF
2369
# If no file are specified by the user, then we need to provide default
2370
# value. By we need to know if files were specified by the user.
2376
ac_option=`expr "x$1" : 'x\([^=]*\)='`
2377
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2385
*) # This is not an option, so the user has probably given explicit
2388
ac_need_defaults=false;;
2392
# Handling of the options.
2394
cat >>$CONFIG_STATUS <<\_ACEOF
2395
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2397
--version | --vers* | -V )
2398
echo "$ac_cs_version"; exit 0 ;;
2400
# Conflict between --help and --header
2401
{ { echo "$as_me:$LINENO: error: ambiguous option: $1
2402
Try \`$0 --help' for more information." >&5
2403
echo "$as_me: error: ambiguous option: $1
2404
Try \`$0 --help' for more information." >&2;}
2405
{ (exit 1); exit 1; }; };;
2406
--help | --hel | -h )
2407
echo "$ac_cs_usage"; exit 0 ;;
2408
--debug | --d* | -d )
2410
--file | --fil | --fi | --f )
2412
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2413
ac_need_defaults=false;;
2414
--header | --heade | --head | --hea )
2416
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
2417
ac_need_defaults=false;;
2418
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
2419
| -silent | --silent | --silen | --sile | --sil | --si | --s)
2423
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
2424
Try \`$0 --help' for more information." >&5
2425
echo "$as_me: error: unrecognized option: $1
2426
Try \`$0 --help' for more information." >&2;}
2427
{ (exit 1); exit 1; }; } ;;
2429
*) ac_config_targets="$ac_config_targets $1" ;;
2435
ac_configure_extra_args=
2437
if $ac_cs_silent; then
2439
ac_configure_extra_args="$ac_configure_extra_args --silent"
2443
cat >>$CONFIG_STATUS <<_ACEOF
2444
if \$ac_cs_recheck; then
2445
echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2446
exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2455
cat >>$CONFIG_STATUS <<\_ACEOF
2456
for ac_config_target in $ac_config_targets
2458
case "$ac_config_target" in
2459
# Handling of arguments.
2460
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2461
"doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
2462
"init/Makefile" ) CONFIG_FILES="$CONFIG_FILES init/Makefile" ;;
2463
"init/uruk" ) CONFIG_FILES="$CONFIG_FILES init/uruk" ;;
2464
"man/Makefile" ) CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
2465
"man/include.zmm" ) CONFIG_FILES="$CONFIG_FILES man/include.zmm" ;;
2466
"script/Makefile" ) CONFIG_FILES="$CONFIG_FILES script/Makefile" ;;
2467
"script/uruk" ) CONFIG_FILES="$CONFIG_FILES script/uruk" ;;
2468
"script/uruk-save" ) CONFIG_FILES="$CONFIG_FILES script/uruk-save" ;;
2469
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2470
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2471
{ (exit 1); exit 1; }; };;
2475
# If the user did not use the arguments to specify the items to instantiate,
2476
# then the envvar interface is used. Set only those that are not.
2477
# We use the long form for the default assignment because of an extremely
2478
# bizarre bug on SunOS 4.1.3.
2479
if $ac_need_defaults; then
2480
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2483
# Have a temporary directory for convenience. Make it in the build tree
2484
# simply because there is no reason to put it here, and in addition,
2485
# creating and moving files from /tmp can sometimes cause problems.
2486
# Create a temporary directory, and hook for its removal unless debugging.
2489
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
2490
trap '{ (exit 1); exit 1; }' 1 2 13 15
2493
# Create a (secure) tmp directory for tmp files.
2496
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
2497
test -n "$tmp" && test -d "$tmp"
2500
tmp=./confstat$$-$RANDOM
2501
(umask 077 && mkdir $tmp)
2504
echo "$me: cannot create a temporary directory in ." >&2
2505
{ (exit 1); exit 1; }
2510
cat >>$CONFIG_STATUS <<_ACEOF
2513
# CONFIG_FILES section.
2516
# No need to generate the scripts if there are no CONFIG_FILES.
2517
# This happens for instance when ./config.status config.h
2518
if test -n "\$CONFIG_FILES"; then
2519
# Protect against being on the right side of a sed subst in config.status.
2520
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
2521
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
2522
s,@SHELL@,$SHELL,;t t
2523
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
2524
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
2525
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
2526
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
2527
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
2528
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
2529
s,@exec_prefix@,$exec_prefix,;t t
2530
s,@prefix@,$prefix,;t t
2531
s,@program_transform_name@,$program_transform_name,;t t
2532
s,@bindir@,$bindir,;t t
2533
s,@sbindir@,$sbindir,;t t
2534
s,@libexecdir@,$libexecdir,;t t
2535
s,@datadir@,$datadir,;t t
2536
s,@sysconfdir@,$sysconfdir,;t t
2537
s,@sharedstatedir@,$sharedstatedir,;t t
2538
s,@localstatedir@,$localstatedir,;t t
2539
s,@libdir@,$libdir,;t t
2540
s,@includedir@,$includedir,;t t
2541
s,@oldincludedir@,$oldincludedir,;t t
2542
s,@infodir@,$infodir,;t t
2543
s,@mandir@,$mandir,;t t
2544
s,@build_alias@,$build_alias,;t t
2545
s,@host_alias@,$host_alias,;t t
2546
s,@target_alias@,$target_alias,;t t
2548
s,@ECHO_C@,$ECHO_C,;t t
2549
s,@ECHO_N@,$ECHO_N,;t t
2550
s,@ECHO_T@,$ECHO_T,;t t
2552
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
2553
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
2554
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
2555
s,@CYGPATH_W@,$CYGPATH_W,;t t
2556
s,@PACKAGE@,$PACKAGE,;t t
2557
s,@VERSION@,$VERSION,;t t
2558
s,@ACLOCAL@,$ACLOCAL,;t t
2559
s,@AUTOCONF@,$AUTOCONF,;t t
2560
s,@AUTOMAKE@,$AUTOMAKE,;t t
2561
s,@AUTOHEADER@,$AUTOHEADER,;t t
2562
s,@MAKEINFO@,$MAKEINFO,;t t
2563
s,@install_sh@,$install_sh,;t t
2564
s,@STRIP@,$STRIP,;t t
2565
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
2566
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
2567
s,@mkdir_p@,$mkdir_p,;t t
2569
s,@SET_MAKE@,$SET_MAKE,;t t
2570
s,@am__leading_dot@,$am__leading_dot,;t t
2571
s,@AMTAR@,$AMTAR,;t t
2572
s,@am__tar@,$am__tar,;t t
2573
s,@am__untar@,$am__untar,;t t
2574
s,@BIN_PATH@,$BIN_PATH,;t t
2575
s,@SBIN_PATH@,$SBIN_PATH,;t t
2576
s,@DATA_PATH@,$DATA_PATH,;t t
2577
s,@SYSCONF_PATH@,$SYSCONF_PATH,;t t
2578
s,@LOCALSTATE_PATH@,$LOCALSTATE_PATH,;t t
2579
s,@HASZOEM@,$HASZOEM,;t t
2580
s,@HASGROFF@,$HASGROFF,;t t
2581
s,@LIBOBJS@,$LIBOBJS,;t t
2582
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
2587
cat >>$CONFIG_STATUS <<\_ACEOF
2588
# Split the substitutions into bite-sized pieces for seds with
2589
# small command number limits, like on Digital OSF/1 and HP-UX.
2591
ac_sed_frag=1 # Number of current file.
2592
ac_beg=1 # First line for current file.
2593
ac_end=$ac_max_sed_lines # Line after last line for current file.
2596
while $ac_more_lines; do
2597
if test $ac_beg -gt 1; then
2598
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2600
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2602
if test ! -s $tmp/subs.frag; then
2605
# The purpose of the label and of the branching condition is to
2606
# speed up the sed processing (if there are no `@' at all, there
2607
# is no need to browse any of the substitutions).
2608
# These are the two extra sed commands mentioned above.
2610
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
2611
if test -z "$ac_sed_cmds"; then
2612
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
2614
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
2616
ac_sed_frag=`expr $ac_sed_frag + 1`
2618
ac_end=`expr $ac_end + $ac_max_sed_lines`
2621
if test -z "$ac_sed_cmds"; then
2624
fi # test -n "$CONFIG_FILES"
2627
cat >>$CONFIG_STATUS <<\_ACEOF
2628
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
2629
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2631
- | *:- | *:-:* ) # input from stdin
2633
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2634
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2635
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2636
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2637
* ) ac_file_in=$ac_file.in ;;
2640
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
2641
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
2642
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2643
X"$ac_file" : 'X\(//\)[^/]' \| \
2644
X"$ac_file" : 'X\(//\)$' \| \
2645
X"$ac_file" : 'X\(/\)' \| \
2646
. : '\(.\)' 2>/dev/null ||
2648
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2649
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
2650
/^X\(\/\/\)$/{ s//\1/; q; }
2651
/^X\(\/\).*/{ s//\1/; q; }
2653
{ if $as_mkdir_p; then
2658
while test ! -d "$as_dir"; do
2659
as_dirs="$as_dir $as_dirs"
2660
as_dir=`(dirname "$as_dir") 2>/dev/null ||
2661
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2662
X"$as_dir" : 'X\(//\)[^/]' \| \
2663
X"$as_dir" : 'X\(//\)$' \| \
2664
X"$as_dir" : 'X\(/\)' \| \
2665
. : '\(.\)' 2>/dev/null ||
2667
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2668
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
2669
/^X\(\/\/\)$/{ s//\1/; q; }
2670
/^X\(\/\).*/{ s//\1/; q; }
2673
test ! -n "$as_dirs" || mkdir $as_dirs
2674
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
2675
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
2676
{ (exit 1); exit 1; }; }; }
2680
if test "$ac_dir" != .; then
2681
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2682
# A "../" for each directory in $ac_dir_suffix.
2683
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2685
ac_dir_suffix= ac_top_builddir=
2689
.) # No --srcdir option. We are building in place.
2691
if test -z "$ac_top_builddir"; then
2694
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2696
[\\/]* | ?:[\\/]* ) # Absolute path.
2697
ac_srcdir=$srcdir$ac_dir_suffix;
2698
ac_top_srcdir=$srcdir ;;
2700
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2701
ac_top_srcdir=$ac_top_builddir$srcdir ;;
2704
# Do not use `cd foo && pwd` to compute absolute paths, because
2705
# the directories may not exist.
2707
.) ac_abs_builddir="$ac_dir";;
2710
.) ac_abs_builddir=`pwd`;;
2711
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
2712
*) ac_abs_builddir=`pwd`/"$ac_dir";;
2715
case $ac_abs_builddir in
2716
.) ac_abs_top_builddir=${ac_top_builddir}.;;
2718
case ${ac_top_builddir}. in
2719
.) ac_abs_top_builddir=$ac_abs_builddir;;
2720
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
2721
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
2724
case $ac_abs_builddir in
2725
.) ac_abs_srcdir=$ac_srcdir;;
2728
.) ac_abs_srcdir=$ac_abs_builddir;;
2729
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
2730
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
2733
case $ac_abs_builddir in
2734
.) ac_abs_top_srcdir=$ac_top_srcdir;;
2736
case $ac_top_srcdir in
2737
.) ac_abs_top_srcdir=$ac_abs_builddir;;
2738
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
2739
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
2745
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
2746
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
2749
# Let's still pretend it is `configure' which instantiates (i.e., don't
2750
# use $as_me), people would be surprised to read:
2751
# /* config.h. Generated by config.status. */
2752
if test x"$ac_file" = x-; then
2755
configure_input="$ac_file. "
2757
configure_input=$configure_input"Generated from `echo $ac_file_in |
2758
sed 's,.*/,,'` by configure."
2760
# First look for the input files in the build tree, otherwise in the
2762
ac_file_inputs=`IFS=:
2763
for f in $ac_file_in; do
2765
-) echo $tmp/stdin ;;
2767
# Absolute (can't be DOS-style, as IFS=:)
2768
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2769
echo "$as_me: error: cannot find input file: $f" >&2;}
2770
{ (exit 1); exit 1; }; }
2773
if test -f "$f"; then
2776
elif test -f "$srcdir/$f"; then
2781
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2782
echo "$as_me: error: cannot find input file: $f" >&2;}
2783
{ (exit 1); exit 1; }; }
2786
done` || { (exit 1); exit 1; }
2788
if test x"$ac_file" != x-; then
2789
{ echo "$as_me:$LINENO: creating $ac_file" >&5
2790
echo "$as_me: creating $ac_file" >&6;}
2794
cat >>$CONFIG_STATUS <<_ACEOF
2798
cat >>$CONFIG_STATUS <<\_ACEOF
2800
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2801
s,@configure_input@,$configure_input,;t t
2802
s,@srcdir@,$ac_srcdir,;t t
2803
s,@abs_srcdir@,$ac_abs_srcdir,;t t
2804
s,@top_srcdir@,$ac_top_srcdir,;t t
2805
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
2806
s,@builddir@,$ac_builddir,;t t
2807
s,@abs_builddir@,$ac_abs_builddir,;t t
2808
s,@top_builddir@,$ac_top_builddir,;t t
2809
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
2810
s,@INSTALL@,$ac_INSTALL,;t t
2811
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
2813
if test x"$ac_file" != x-; then
2814
mv $tmp/out $ac_file
2823
cat >>$CONFIG_STATUS <<\_ACEOF
2825
{ (exit 0); exit 0; }
2827
chmod +x $CONFIG_STATUS
2828
ac_clean_files=$ac_clean_files_save
2831
# configure is writing to config.log, and then calls config.status.
2832
# config.status does its own redirection, appending to config.log.
2833
# Unfortunately, on DOS this fails, as config.log is still kept open
2834
# by configure, so config.status won't be able to write to it; its
2835
# output is simply discarded. So we exec the FD to /dev/null,
2836
# effectively closing config.log, so it can be properly (re)opened and
2837
# appended to by config.status. When coming back to configure, we
2838
# need to make the FD available again.
2839
if test "$no_create" != yes; then
2841
ac_config_status_args=
2842
test "$silent" = yes &&
2843
ac_config_status_args="$ac_config_status_args --quiet"
2845
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
2847
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
2848
# would make configure fail if this is the last instruction.
2849
$ac_cs_success || { (exit 1); exit 1; }