2
@%:@ Guess values for system-dependent variables and create Makefiles.
3
@%:@ Generated by GNU Autoconf 2.59 for watesedge 0.3.4.
5
@%:@ Report bugs to <adonthell-project@linuxgames.com>.
7
@%:@ Copyright (C) 2003 Free Software Foundation, Inc.
8
@%:@ This configure script is free software; the Free Software Foundation
9
@%:@ gives unlimited permission to copy, distribute and modify it.
10
## --------------------- ##
11
## M4sh Initialization. ##
12
## --------------------- ##
14
# Be Bourne compatible
15
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19
# is contrary to our usage. Disable this feature.
20
alias -g '${1+"$@"}'='"$@"'
21
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24
DUALCASE=1; export DUALCASE # for MKS sh
26
# Support unset when possible.
27
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
34
# Work around bugs in pre-3.0 UWIN ksh.
35
$as_unset ENV MAIL MAILPATH
42
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47
eval $as_var=C; export $as_var
53
# Required to use basename.
54
if expr a : '\(a\)' >/dev/null 2>&1; then
60
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
67
# Name of the executable.
68
as_me=`$as_basename "$0" ||
69
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70
X"$0" : 'X\(//\)$' \| \
71
X"$0" : 'X\(/\)$' \| \
72
. : '\(.\)' 2>/dev/null ||
74
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75
/^X\/\(\/\/\)$/{ s//\1/; q; }
76
/^X\/\(\/\).*/{ s//\1/; q; }
80
# PATH needs CR, and LINENO needs CR and PATH.
81
# Avoid depending upon Character Ranges.
82
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85
as_cr_digits='0123456789'
86
as_cr_alnum=$as_cr_Letters$as_cr_digits
88
# The user is always right.
89
if test "${PATH_SEPARATOR+set}" != set; then
90
echo "#! /bin/sh" >conf$$.sh
91
echo "exit 0" >>conf$$.sh
93
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
104
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105
test "x$as_lineno_1" != "x$as_lineno_2" &&
106
test "x$as_lineno_3" = "x$as_lineno_2" || {
107
# Find who we are. Look in the path if we contain no path at all
110
*[\\/]* ) as_myself=$0 ;;
111
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
115
test -z "$as_dir" && as_dir=.
116
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
121
# We did not find ourselves, most probably we were run as `sh COMMAND'
122
# in which case we are not to be found in the path.
123
if test "x$as_myself" = x; then
126
if test ! -f "$as_myself"; then
127
{ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128
{ (exit 1); exit 1; }; }
130
case $CONFIG_SHELL in
132
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
136
test -z "$as_dir" && as_dir=.
137
for as_base in sh bash ksh sh5; do
140
if ("$as_dir/$as_base" -c '
143
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144
test "x$as_lineno_1" != "x$as_lineno_2" &&
145
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148
CONFIG_SHELL=$as_dir/$as_base
150
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159
# uniformly replaced by the line number. The first 'sed' inserts a
160
# line-number line before each line; the second 'sed' does the real
161
# work. The second script uses 'N' to pair each line-number line
162
# with the numbered line, and appends trailing '-' during
163
# substitution so that $LINENO is not a special case at line end.
164
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166
sed '=' <$as_myself |
171
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174
s,^['$as_cr_digits']*\n,,
176
chmod +x $as_me.lineno ||
177
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178
{ (exit 1); exit 1; }; }
180
# Don't try to exec as it changes $[0], causing all sort of problems
181
# (the dirname of $[0] is not the place where we might find the
182
# original and so on. Autoconf is especially sensible to this).
184
# Exit status is that of the last command.
189
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190
*c*,-n*) ECHO_N= ECHO_C='
192
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
196
if expr a : '\(a\)' >/dev/null 2>&1; then
202
rm -f conf$$ conf$$.exe conf$$.file
204
if ln -s conf$$.file conf$$ 2>/dev/null; then
205
# We could just check for DJGPP; but this test a) works b) is more generic
206
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207
if test -f conf$$.exe; then
208
# Don't use ln at all; we don't have any links
213
elif ln conf$$.file conf$$ 2>/dev/null; then
218
rm -f conf$$ conf$$.exe conf$$.file
220
if mkdir -p . 2>/dev/null; then
223
test -d ./-p && rmdir ./-p
227
as_executable_p="test -f"
229
# Sed expression to map a string onto a valid CPP name.
230
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232
# Sed expression to map a string onto a valid variable name.
233
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
237
# We need space, tab and new line, in precisely that order.
247
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248
# so uname gets run too.
249
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
256
ac_default_prefix=/usr/local
257
ac_config_libobj_dir=.
262
SHELL=${CONFIG_SHELL-/bin/sh}
264
# Maximum number of lines to put in a shell here document.
265
# This variable seems obsolete. It should probably be removed, and
266
# only ac_max_sed_lines should be used.
267
: ${ac_max_here_lines=38}
269
# Identity of this package.
270
PACKAGE_NAME='watesedge'
271
PACKAGE_TARNAME='wastesedge'
272
PACKAGE_VERSION='0.3.4'
273
PACKAGE_STRING='watesedge 0.3.4'
274
PACKAGE_BUGREPORT='adonthell-project@linuxgames.com'
276
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot MKINSTALLDIRS USE_NLS MSGFMT GMSGFMT XGETTEXT MSGMERGE 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os LIBICONV LTLIBICONV INTLLIBS LIBINTL LTLIBINTL POSUB adonthell_binary gamedatadir LIB@&t@OBJS LTLIBOBJS'
279
# Initialize some variables set by options.
281
ac_init_version=false
282
# The variables have the same names as the options, with
283
# dashes changed to underlines.
291
program_transform_name=s,x,x,
299
# Installation directory options.
300
# These are left unexpanded so users can "make install exec_prefix=/foo"
301
# and all the variables that are supposed to be based on exec_prefix
302
# by default will actually change.
303
# Use braces instead of parens because sh, perl, etc. also accept them.
304
bindir='${exec_prefix}/bin'
305
sbindir='${exec_prefix}/sbin'
306
libexecdir='${exec_prefix}/libexec'
307
datadir='${prefix}/share'
308
sysconfdir='${prefix}/etc'
309
sharedstatedir='${prefix}/com'
310
localstatedir='${prefix}/var'
311
libdir='${exec_prefix}/lib'
312
includedir='${prefix}/include'
313
oldincludedir='/usr/include'
314
infodir='${prefix}/info'
315
mandir='${prefix}/man'
320
# If the previous option needs an argument, assign it.
321
if test -n "$ac_prev"; then
322
eval "$ac_prev=\$ac_option"
327
ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
329
# Accept the important Cygnus configure options, so we can diagnose typos.
333
-bindir | --bindir | --bindi | --bind | --bin | --bi)
335
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
338
-build | --build | --buil | --bui | --bu)
339
ac_prev=build_alias ;;
340
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
341
build_alias=$ac_optarg ;;
343
-cache-file | --cache-file | --cache-fil | --cache-fi \
344
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
345
ac_prev=cache_file ;;
346
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
347
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
348
cache_file=$ac_optarg ;;
351
cache_file=config.cache ;;
353
-datadir | --datadir | --datadi | --datad | --data | --dat | --da)
355
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
357
datadir=$ac_optarg ;;
359
-disable-* | --disable-*)
360
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
361
# Reject names that are not valid shell variable names.
362
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
363
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
364
{ (exit 1); exit 1; }; }
365
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
366
eval "enable_$ac_feature=no" ;;
368
-enable-* | --enable-*)
369
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
370
# Reject names that are not valid shell variable names.
371
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
372
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
373
{ (exit 1); exit 1; }; }
374
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
376
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
379
eval "enable_$ac_feature='$ac_optarg'" ;;
381
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
382
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
383
| --exec | --exe | --ex)
384
ac_prev=exec_prefix ;;
385
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
386
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
387
| --exec=* | --exe=* | --ex=*)
388
exec_prefix=$ac_optarg ;;
390
-gas | --gas | --ga | --g)
391
# Obsolete; use --with-gas.
394
-help | --help | --hel | --he | -h)
396
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
397
ac_init_help=recursive ;;
398
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
399
ac_init_help=short ;;
401
-host | --host | --hos | --ho)
402
ac_prev=host_alias ;;
403
-host=* | --host=* | --hos=* | --ho=*)
404
host_alias=$ac_optarg ;;
406
-includedir | --includedir | --includedi | --included | --include \
407
| --includ | --inclu | --incl | --inc)
408
ac_prev=includedir ;;
409
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
410
| --includ=* | --inclu=* | --incl=* | --inc=*)
411
includedir=$ac_optarg ;;
413
-infodir | --infodir | --infodi | --infod | --info | --inf)
415
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
416
infodir=$ac_optarg ;;
418
-libdir | --libdir | --libdi | --libd)
420
-libdir=* | --libdir=* | --libdi=* | --libd=*)
423
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
424
| --libexe | --libex | --libe)
425
ac_prev=libexecdir ;;
426
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
427
| --libexe=* | --libex=* | --libe=*)
428
libexecdir=$ac_optarg ;;
430
-localstatedir | --localstatedir | --localstatedi | --localstated \
431
| --localstate | --localstat | --localsta | --localst \
432
| --locals | --local | --loca | --loc | --lo)
433
ac_prev=localstatedir ;;
434
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
435
| --localstate=* | --localstat=* | --localsta=* | --localst=* \
436
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
437
localstatedir=$ac_optarg ;;
439
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
441
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
445
# Obsolete; use --without-fp.
448
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
449
| --no-cr | --no-c | -n)
452
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
453
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
456
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
457
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
458
| --oldin | --oldi | --old | --ol | --o)
459
ac_prev=oldincludedir ;;
460
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
461
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
462
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
463
oldincludedir=$ac_optarg ;;
465
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
467
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
470
-program-prefix | --program-prefix | --program-prefi | --program-pref \
471
| --program-pre | --program-pr | --program-p)
472
ac_prev=program_prefix ;;
473
-program-prefix=* | --program-prefix=* | --program-prefi=* \
474
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
475
program_prefix=$ac_optarg ;;
477
-program-suffix | --program-suffix | --program-suffi | --program-suff \
478
| --program-suf | --program-su | --program-s)
479
ac_prev=program_suffix ;;
480
-program-suffix=* | --program-suffix=* | --program-suffi=* \
481
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
482
program_suffix=$ac_optarg ;;
484
-program-transform-name | --program-transform-name \
485
| --program-transform-nam | --program-transform-na \
486
| --program-transform-n | --program-transform- \
487
| --program-transform | --program-transfor \
488
| --program-transfo | --program-transf \
489
| --program-trans | --program-tran \
490
| --progr-tra | --program-tr | --program-t)
491
ac_prev=program_transform_name ;;
492
-program-transform-name=* | --program-transform-name=* \
493
| --program-transform-nam=* | --program-transform-na=* \
494
| --program-transform-n=* | --program-transform-=* \
495
| --program-transform=* | --program-transfor=* \
496
| --program-transfo=* | --program-transf=* \
497
| --program-trans=* | --program-tran=* \
498
| --progr-tra=* | --program-tr=* | --program-t=*)
499
program_transform_name=$ac_optarg ;;
501
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
502
| -silent | --silent | --silen | --sile | --sil)
505
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
507
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
509
sbindir=$ac_optarg ;;
511
-sharedstatedir | --sharedstatedir | --sharedstatedi \
512
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
513
| --sharedst | --shareds | --shared | --share | --shar \
515
ac_prev=sharedstatedir ;;
516
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
517
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
518
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
520
sharedstatedir=$ac_optarg ;;
522
-site | --site | --sit)
524
-site=* | --site=* | --sit=*)
527
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
529
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
532
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
533
| --syscon | --sysco | --sysc | --sys | --sy)
534
ac_prev=sysconfdir ;;
535
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
536
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
537
sysconfdir=$ac_optarg ;;
539
-target | --target | --targe | --targ | --tar | --ta | --t)
540
ac_prev=target_alias ;;
541
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
542
target_alias=$ac_optarg ;;
544
-v | -verbose | --verbose | --verbos | --verbo | --verb)
547
-version | --version | --versio | --versi | --vers | -V)
551
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
552
# Reject names that are not valid shell variable names.
553
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
554
{ echo "$as_me: error: invalid package name: $ac_package" >&2
555
{ (exit 1); exit 1; }; }
556
ac_package=`echo $ac_package| sed 's/-/_/g'`
558
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
561
eval "with_$ac_package='$ac_optarg'" ;;
563
-without-* | --without-*)
564
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
565
# Reject names that are not valid shell variable names.
566
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
567
{ echo "$as_me: error: invalid package name: $ac_package" >&2
568
{ (exit 1); exit 1; }; }
569
ac_package=`echo $ac_package | sed 's/-/_/g'`
570
eval "with_$ac_package=no" ;;
573
# Obsolete; use --with-x.
576
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
577
| --x-incl | --x-inc | --x-in | --x-i)
578
ac_prev=x_includes ;;
579
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
580
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
581
x_includes=$ac_optarg ;;
583
-x-libraries | --x-libraries | --x-librarie | --x-librari \
584
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
585
ac_prev=x_libraries ;;
586
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
587
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
588
x_libraries=$ac_optarg ;;
590
-*) { echo "$as_me: error: unrecognized option: $ac_option
591
Try \`$0 --help' for more information." >&2
592
{ (exit 1); exit 1; }; }
596
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
597
# Reject names that are not valid shell variable names.
598
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
599
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
600
{ (exit 1); exit 1; }; }
601
ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
602
eval "$ac_envvar='$ac_optarg'"
606
# FIXME: should be removed in autoconf 3.0.
607
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
608
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
609
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
610
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
616
if test -n "$ac_prev"; then
617
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
618
{ echo "$as_me: error: missing argument to $ac_option" >&2
619
{ (exit 1); exit 1; }; }
622
# Be sure to have absolute paths.
623
for ac_var in exec_prefix prefix
625
eval ac_val=$`echo $ac_var`
627
[\\/$]* | ?:[\\/]* | NONE | '' ) ;;
628
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
629
{ (exit 1); exit 1; }; };;
633
# Be sure to have absolute paths.
634
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
635
localstatedir libdir includedir oldincludedir infodir mandir
637
eval ac_val=$`echo $ac_var`
639
[\\/$]* | ?:[\\/]* ) ;;
640
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
641
{ (exit 1); exit 1; }; };;
645
# There might be people who depend on the old broken behavior: `$host'
646
# used to hold the argument of --host etc.
647
# FIXME: To remove some day.
652
# FIXME: To remove some day.
653
if test "x$host_alias" != x; then
654
if test "x$build_alias" = x; then
655
cross_compiling=maybe
656
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
657
If a cross compiler is detected then cross compile mode will be used." >&2
658
elif test "x$build_alias" != "x$host_alias"; then
664
test -n "$host_alias" && ac_tool_prefix=$host_alias-
666
test "$silent" = yes && exec 6>/dev/null
669
# Find the source files, if location was not specified.
670
if test -z "$srcdir"; then
671
ac_srcdir_defaulted=yes
672
# Try the directory containing this script, then its parent.
673
ac_confdir=`(dirname "$0") 2>/dev/null ||
674
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
675
X"$0" : 'X\(//\)[^/]' \| \
676
X"$0" : 'X\(//\)$' \| \
677
X"$0" : 'X\(/\)' \| \
678
. : '\(.\)' 2>/dev/null ||
680
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
681
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
682
/^X\(\/\/\)$/{ s//\1/; q; }
683
/^X\(\/\).*/{ s//\1/; q; }
686
if test ! -r $srcdir/$ac_unique_file; then
690
ac_srcdir_defaulted=no
692
if test ! -r $srcdir/$ac_unique_file; then
693
if test "$ac_srcdir_defaulted" = yes; then
694
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
695
{ (exit 1); exit 1; }; }
697
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
698
{ (exit 1); exit 1; }; }
701
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
702
{ echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
703
{ (exit 1); exit 1; }; }
704
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
705
ac_env_build_alias_set=${build_alias+set}
706
ac_env_build_alias_value=$build_alias
707
ac_cv_env_build_alias_set=${build_alias+set}
708
ac_cv_env_build_alias_value=$build_alias
709
ac_env_host_alias_set=${host_alias+set}
710
ac_env_host_alias_value=$host_alias
711
ac_cv_env_host_alias_set=${host_alias+set}
712
ac_cv_env_host_alias_value=$host_alias
713
ac_env_target_alias_set=${target_alias+set}
714
ac_env_target_alias_value=$target_alias
715
ac_cv_env_target_alias_set=${target_alias+set}
716
ac_cv_env_target_alias_value=$target_alias
717
ac_env_CC_set=${CC+set}
719
ac_cv_env_CC_set=${CC+set}
720
ac_cv_env_CC_value=$CC
721
ac_env_CFLAGS_set=${CFLAGS+set}
722
ac_env_CFLAGS_value=$CFLAGS
723
ac_cv_env_CFLAGS_set=${CFLAGS+set}
724
ac_cv_env_CFLAGS_value=$CFLAGS
725
ac_env_LDFLAGS_set=${LDFLAGS+set}
726
ac_env_LDFLAGS_value=$LDFLAGS
727
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
728
ac_cv_env_LDFLAGS_value=$LDFLAGS
729
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
730
ac_env_CPPFLAGS_value=$CPPFLAGS
731
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
732
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
735
# Report the --help message.
737
if test "$ac_init_help" = "long"; then
738
# Omit some internal or obsolete options to make the list less imposing.
739
# This message is too long to be a string in the A/UX 3.1 sh.
741
\`configure' configures watesedge 0.3.4 to adapt to many kinds of systems.
743
Usage: $0 [OPTION]... [VAR=VALUE]...
745
To assign environment variables (e.g., CC, CFLAGS...), specify them as
746
VAR=VALUE. See below for descriptions of some of the useful variables.
748
Defaults for the options are specified in brackets.
751
-h, --help display this help and exit
752
--help=short display options specific to this package
753
--help=recursive display the short help of all the included packages
754
-V, --version display version information and exit
755
-q, --quiet, --silent do not print \`checking...' messages
756
--cache-file=FILE cache test results in FILE [disabled]
757
-C, --config-cache alias for \`--cache-file=config.cache'
758
-n, --no-create do not create output files
759
--srcdir=DIR find the sources in DIR [configure dir or \`..']
764
Installation directories:
765
--prefix=PREFIX install architecture-independent files in PREFIX
767
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
770
By default, \`make install' will install all the files in
771
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
772
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
773
for instance \`--prefix=\$HOME'.
775
For better control, use the options below.
777
Fine tuning of the installation directories:
778
--bindir=DIR user executables [EPREFIX/bin]
779
--sbindir=DIR system admin executables [EPREFIX/sbin]
780
--libexecdir=DIR program executables [EPREFIX/libexec]
781
--datadir=DIR read-only architecture-independent data [PREFIX/share]
782
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
783
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
784
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
785
--libdir=DIR object code libraries [EPREFIX/lib]
786
--includedir=DIR C header files [PREFIX/include]
787
--oldincludedir=DIR C header files for non-gcc [/usr/include]
788
--infodir=DIR info documentation [PREFIX/info]
789
--mandir=DIR man documentation [PREFIX/man]
795
--program-prefix=PREFIX prepend PREFIX to installed program names
796
--program-suffix=SUFFIX append SUFFIX to installed program names
797
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
800
--build=BUILD configure for building on BUILD [guessed]
801
--host=HOST cross-compile to build programs to run on HOST [BUILD]
805
if test -n "$ac_init_help"; then
806
case $ac_init_help in
807
short | recursive ) echo "Configuration of watesedge 0.3.4:";;
812
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
813
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
814
--disable-nls do not use Native Language Support
815
--disable-dependency-tracking Speeds up one-time builds
816
--enable-dependency-tracking Do not reject slow dependency extractors
817
--disable-rpath do not hardcode runtime library paths
820
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
821
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
822
--with-gnu-ld assume the C compiler uses GNU ld default=no
823
--with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
824
--without-libiconv-prefix don't search for libiconv in includedir and libdir
825
--with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
826
--without-libintl-prefix don't search for libintl in includedir and libdir
827
--with-data-dir=DIR Directory where data files will be installed
828
--with-adonthell-binary=PATH to the 'adonthell' binary
830
Some influential environment variables:
831
CC C compiler command
832
CFLAGS C compiler flags
833
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
834
nonstandard directory <lib dir>
835
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
836
headers in a nonstandard directory <include dir>
838
Use these variables to override the choices made by `configure' or to help
839
it to find libraries and programs with nonstandard names/locations.
841
Report bugs to <adonthell-project@linuxgames.com>.
845
if test "$ac_init_help" = "recursive"; then
846
# If there are subdirs, report their specific --help.
848
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
849
test -d $ac_dir || continue
852
if test "$ac_dir" != .; then
853
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
854
# A "../" for each directory in $ac_dir_suffix.
855
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
857
ac_dir_suffix= ac_top_builddir=
861
.) # No --srcdir option. We are building in place.
863
if test -z "$ac_top_builddir"; then
866
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
868
[\\/]* | ?:[\\/]* ) # Absolute path.
869
ac_srcdir=$srcdir$ac_dir_suffix;
870
ac_top_srcdir=$srcdir ;;
872
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
873
ac_top_srcdir=$ac_top_builddir$srcdir ;;
876
# Do not use `cd foo && pwd` to compute absolute paths, because
877
# the directories may not exist.
879
.) ac_abs_builddir="$ac_dir";;
882
.) ac_abs_builddir=`pwd`;;
883
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
884
*) ac_abs_builddir=`pwd`/"$ac_dir";;
887
case $ac_abs_builddir in
888
.) ac_abs_top_builddir=${ac_top_builddir}.;;
890
case ${ac_top_builddir}. in
891
.) ac_abs_top_builddir=$ac_abs_builddir;;
892
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
893
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
896
case $ac_abs_builddir in
897
.) ac_abs_srcdir=$ac_srcdir;;
900
.) ac_abs_srcdir=$ac_abs_builddir;;
901
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
902
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
905
case $ac_abs_builddir in
906
.) ac_abs_top_srcdir=$ac_top_srcdir;;
908
case $ac_top_srcdir in
909
.) ac_abs_top_srcdir=$ac_abs_builddir;;
910
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
911
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
916
# Check for guested configure; otherwise get Cygnus style configure.
917
if test -f $ac_srcdir/configure.gnu; then
919
$SHELL $ac_srcdir/configure.gnu --help=recursive
920
elif test -f $ac_srcdir/configure; then
922
$SHELL $ac_srcdir/configure --help=recursive
923
elif test -f $ac_srcdir/configure.ac ||
924
test -f $ac_srcdir/configure.in; then
928
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
934
test -n "$ac_init_help" && exit 0
935
if $ac_init_version; then
937
watesedge configure 0.3.4
938
generated by GNU Autoconf 2.59
940
Copyright (C) 2003 Free Software Foundation, Inc.
941
This configure script is free software; the Free Software Foundation
942
gives unlimited permission to copy, distribute and modify it.
948
This file contains any messages produced by compilers while
949
running configure, to aid debugging if configure makes a mistake.
951
It was created by watesedge $as_me 0.3.4, which was
952
generated by GNU Autoconf 2.59. Invocation command line was
959
@%:@@%:@ --------- @%:@@%:@
960
@%:@@%:@ Platform. @%:@@%:@
961
@%:@@%:@ --------- @%:@@%:@
963
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
964
uname -m = `(uname -m) 2>/dev/null || echo unknown`
965
uname -r = `(uname -r) 2>/dev/null || echo unknown`
966
uname -s = `(uname -s) 2>/dev/null || echo unknown`
967
uname -v = `(uname -v) 2>/dev/null || echo unknown`
969
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
970
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
972
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
973
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
974
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
975
hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
976
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
977
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
978
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
982
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
986
test -z "$as_dir" && as_dir=.
995
@%:@@%:@ ----------- @%:@@%:@
996
@%:@@%:@ Core tests. @%:@@%:@
997
@%:@@%:@ ----------- @%:@@%:@
1002
# Keep a trace of the command line.
1003
# Strip out --no-create and --no-recursion so they do not pile up.
1004
# Strip out --silent because we don't want to record it for future runs.
1005
# Also quote any args containing shell meta-characters.
1006
# Make two passes to allow for proper duplicate-argument suppression.
1011
ac_must_keep_next=false
1017
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1018
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1019
| -silent | --silent | --silen | --sile | --sil)
1021
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1022
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1025
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1027
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1028
if test $ac_must_keep_next = true; then
1029
ac_must_keep_next=false # Got value, back to normal.
1032
*=* | --config-cache | -C | -disable-* | --disable-* \
1033
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1034
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1035
| -with-* | --with-* | -without-* | --without-* | --x)
1036
case "$ac_configure_args0 " in
1037
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1040
-* ) ac_must_keep_next=true ;;
1043
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1044
# Get rid of the leading space.
1050
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1051
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1053
# When interrupted or exit'd, cleanup temporary files, and complete
1054
# config.log. We remove comments because anyway the quotes in there
1055
# would cause problems or look ugly.
1056
# WARNING: Be sure not to use single quotes in there, as some shells,
1057
# such as our DU 5.0 friend, will then `close' the trap.
1058
trap 'exit_status=$?
1059
# Save into config.log some information that might help in debugging.
1064
@%:@@%:@ ---------------- @%:@@%:@
1065
@%:@@%:@ Cache variables. @%:@@%:@
1066
@%:@@%:@ ---------------- @%:@@%:@
1069
# The following way of writing the cache mishandles newlines in values,
1072
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1075
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1076
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1080
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1087
@%:@@%:@ ----------------- @%:@@%:@
1088
@%:@@%:@ Output variables. @%:@@%:@
1089
@%:@@%:@ ----------------- @%:@@%:@
1092
for ac_var in $ac_subst_vars
1094
eval ac_val=$`echo $ac_var`
1095
echo "$ac_var='"'"'$ac_val'"'"'"
1099
if test -n "$ac_subst_files"; then
1101
@%:@@%:@ ------------- @%:@@%:@
1102
@%:@@%:@ Output files. @%:@@%:@
1103
@%:@@%:@ ------------- @%:@@%:@
1106
for ac_var in $ac_subst_files
1108
eval ac_val=$`echo $ac_var`
1109
echo "$ac_var='"'"'$ac_val'"'"'"
1114
if test -s confdefs.h; then
1116
@%:@@%:@ ----------- @%:@@%:@
1117
@%:@@%:@ confdefs.h. @%:@@%:@
1118
@%:@@%:@ ----------- @%:@@%:@
1121
sed "/^$/d" confdefs.h | sort
1124
test "$ac_signal" != 0 &&
1125
echo "$as_me: caught signal $ac_signal"
1126
echo "$as_me: exit $exit_status"
1128
rm -f core *.core &&
1129
rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1132
for ac_signal in 1 2 13 15; do
1133
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1137
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1138
rm -rf conftest* confdefs.h
1139
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1142
# Predefined preprocessor variables.
1144
cat >>confdefs.h <<_ACEOF
1145
@%:@define PACKAGE_NAME "$PACKAGE_NAME"
1149
cat >>confdefs.h <<_ACEOF
1150
@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1154
cat >>confdefs.h <<_ACEOF
1155
@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
1159
cat >>confdefs.h <<_ACEOF
1160
@%:@define PACKAGE_STRING "$PACKAGE_STRING"
1164
cat >>confdefs.h <<_ACEOF
1165
@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1169
# Let the site file select an alternate cache file if it wants to.
1170
# Prefer explicitly selected file to automatically selected ones.
1171
if test -z "$CONFIG_SITE"; then
1172
if test "x$prefix" != xNONE; then
1173
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1175
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1178
for ac_site_file in $CONFIG_SITE; do
1179
if test -r "$ac_site_file"; then
1180
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1181
echo "$as_me: loading site script $ac_site_file" >&6;}
1182
sed 's/^/| /' "$ac_site_file" >&5
1187
if test -r "$cache_file"; then
1188
# Some versions of bash will fail to source /dev/null (special
1189
# files actually), so we avoid doing that.
1190
if test -f "$cache_file"; then
1191
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
1192
echo "$as_me: loading cache $cache_file" >&6;}
1194
[\\/]* | ?:[\\/]* ) . $cache_file;;
1195
*) . ./$cache_file;;
1199
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
1200
echo "$as_me: creating cache $cache_file" >&6;}
1204
# Check that the precious variables saved in the cache have kept the same
1206
ac_cache_corrupted=false
1207
for ac_var in `(set) 2>&1 |
1208
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1209
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1210
eval ac_new_set=\$ac_env_${ac_var}_set
1211
eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1212
eval ac_new_val="\$ac_env_${ac_var}_value"
1213
case $ac_old_set,$ac_new_set in
1215
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1216
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1217
ac_cache_corrupted=: ;;
1219
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1220
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1221
ac_cache_corrupted=: ;;
1224
if test "x$ac_old_val" != "x$ac_new_val"; then
1225
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1226
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1227
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1228
echo "$as_me: former value: $ac_old_val" >&2;}
1229
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1230
echo "$as_me: current value: $ac_new_val" >&2;}
1231
ac_cache_corrupted=:
1234
# Pass precious variables to config.status.
1235
if test "$ac_new_set" = set; then
1237
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1238
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1239
*) ac_arg=$ac_var=$ac_new_val ;;
1241
case " $ac_configure_args " in
1242
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1243
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1247
if $ac_cache_corrupted; then
1248
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1249
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1250
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1251
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1252
{ (exit 1); exit 1; }; }
1256
ac_cpp='$CPP $CPPFLAGS'
1257
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1258
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1259
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1287
am__api_version="1.7"
1289
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1290
if test -f $ac_dir/install-sh; then
1292
ac_install_sh="$ac_aux_dir/install-sh -c"
1294
elif test -f $ac_dir/install.sh; then
1296
ac_install_sh="$ac_aux_dir/install.sh -c"
1298
elif test -f $ac_dir/shtool; then
1300
ac_install_sh="$ac_aux_dir/shtool install -c"
1304
if test -z "$ac_aux_dir"; then
1305
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1306
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1307
{ (exit 1); exit 1; }; }
1309
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1310
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1311
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1313
# Find a good install program. We prefer a C program (faster),
1314
# so one script is as good as another. But avoid the broken or
1315
# incompatible versions:
1316
# SysV /etc/install, /usr/sbin/install
1317
# SunOS /usr/etc/install
1318
# IRIX /sbin/install
1320
# AmigaOS /C/install, which installs bootblocks on floppy discs
1321
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1322
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1323
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1324
# OS/2's system install, which has a completely different semantic
1325
# ./install, which can be erroneously created by make from ./install.sh.
1326
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1327
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1328
if test -z "$INSTALL"; then
1329
if test "${ac_cv_path_install+set}" = set; then
1330
echo $ECHO_N "(cached) $ECHO_C" >&6
1332
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1336
test -z "$as_dir" && as_dir=.
1337
# Account for people who put trailing slashes in PATH elements.
1339
./ | .// | /cC/* | \
1340
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1341
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1344
# OSF1 and SCO ODT 3.0 have their own names for install.
1345
# Don't use installbsd from OSF since it installs stuff as root
1347
for ac_prog in ginstall scoinst install; do
1348
for ac_exec_ext in '' $ac_executable_extensions; do
1349
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1350
if test $ac_prog = install &&
1351
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1352
# AIX install. It has an incompatible calling convention.
1354
elif test $ac_prog = install &&
1355
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1356
# program-specific install script used by HP pwplus--don't use.
1359
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1371
if test "${ac_cv_path_install+set}" = set; then
1372
INSTALL=$ac_cv_path_install
1374
# As a last resort, use the slow shell script. We don't cache a
1375
# path for INSTALL within a source directory, because that will
1376
# break other packages using the cache if that directory is
1377
# removed, or if the path is relative.
1378
INSTALL=$ac_install_sh
1381
echo "$as_me:$LINENO: result: $INSTALL" >&5
1382
echo "${ECHO_T}$INSTALL" >&6
1384
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1385
# It thinks the first close brace ends the variable substitution.
1386
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1388
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1390
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1392
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1393
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1396
echo timestamp > conftest.file
1397
# Do `set' in a subshell so we don't clobber the current shell's
1398
# arguments. Must try -L first in case configure is actually a
1399
# symlink; some systems play weird games with the mod time of symlinks
1400
# (eg FreeBSD returns the mod time of the symlink's containing
1403
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1404
if test "$*" = "X"; then
1406
set X `ls -t $srcdir/configure conftest.file`
1409
if test "$*" != "X $srcdir/configure conftest.file" \
1410
&& test "$*" != "X conftest.file $srcdir/configure"; then
1412
# If neither matched, then we have a broken ls. This can happen
1413
# if, for instance, CONFIG_SHELL is bash and it inherits a
1414
# broken ls alias from the environment. This has actually
1415
# happened. Such a system could not be considered "sane".
1416
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1417
alias in your environment" >&5
1418
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1419
alias in your environment" >&2;}
1420
{ (exit 1); exit 1; }; }
1423
test "$2" = conftest.file
1429
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1430
Check your system clock" >&5
1431
echo "$as_me: error: newly created file is older than distributed files!
1432
Check your system clock" >&2;}
1433
{ (exit 1); exit 1; }; }
1435
echo "$as_me:$LINENO: result: yes" >&5
1436
echo "${ECHO_T}yes" >&6
1437
test "$program_prefix" != NONE &&
1438
program_transform_name="s,^,$program_prefix,;$program_transform_name"
1439
# Use a double $ so make ignores it.
1440
test "$program_suffix" != NONE &&
1441
program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1442
# Double any \ or $. echo might interpret backslashes.
1443
# By default was `s,x,x', remove it if useless.
1444
cat <<\_ACEOF >conftest.sed
1445
s/[\\$]/&&/g;s/;s,x,x,$//
1447
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1451
# expand $ac_aux_dir to an absolute path
1452
am_aux_dir=`cd $ac_aux_dir && pwd`
1454
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1455
# Use eval to expand $SHELL
1456
if eval "$MISSING --run true"; then
1457
am_missing_run="$MISSING --run "
1460
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1461
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1464
for ac_prog in gawk mawk nawk awk
1466
# Extract the first word of "$ac_prog", so it can be a program name with args.
1467
set dummy $ac_prog; ac_word=$2
1468
echo "$as_me:$LINENO: checking for $ac_word" >&5
1469
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1470
if test "${ac_cv_prog_AWK+set}" = set; then
1471
echo $ECHO_N "(cached) $ECHO_C" >&6
1473
if test -n "$AWK"; then
1474
ac_cv_prog_AWK="$AWK" # Let the user override the test.
1476
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1480
test -z "$as_dir" && as_dir=.
1481
for ac_exec_ext in '' $ac_executable_extensions; do
1482
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1483
ac_cv_prog_AWK="$ac_prog"
1484
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1493
if test -n "$AWK"; then
1494
echo "$as_me:$LINENO: result: $AWK" >&5
1495
echo "${ECHO_T}$AWK" >&6
1497
echo "$as_me:$LINENO: result: no" >&5
1498
echo "${ECHO_T}no" >&6
1501
test -n "$AWK" && break
1504
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1505
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1506
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1507
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1508
echo $ECHO_N "(cached) $ECHO_C" >&6
1510
cat >conftest.make <<\_ACEOF
1512
@echo 'ac_maketemp="$(MAKE)"'
1514
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1515
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1516
if test -n "$ac_maketemp"; then
1517
eval ac_cv_prog_make_${ac_make}_set=yes
1519
eval ac_cv_prog_make_${ac_make}_set=no
1523
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1524
echo "$as_me:$LINENO: result: yes" >&5
1525
echo "${ECHO_T}yes" >&6
1528
echo "$as_me:$LINENO: result: no" >&5
1529
echo "${ECHO_T}no" >&6
1530
SET_MAKE="MAKE=${MAKE-make}"
1533
rm -rf .tst 2>/dev/null
1534
mkdir .tst 2>/dev/null
1535
if test -d .tst; then
1540
rmdir .tst 2>/dev/null
1542
# test to see if srcdir already configured
1543
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1544
test -f $srcdir/config.status; then
1545
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1546
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1547
{ (exit 1); exit 1; }; }
1550
# test whether we have cygpath
1551
if test -z "$CYGPATH_W"; then
1552
if (cygpath --version) >/dev/null 2>/dev/null; then
1553
CYGPATH_W='cygpath -w'
1560
# Define the identity of the package.
1565
cat >>confdefs.h <<_ACEOF
1566
@%:@define PACKAGE "$PACKAGE"
1570
cat >>confdefs.h <<_ACEOF
1571
@%:@define VERSION "$VERSION"
1574
# Some tools Automake needs.
1576
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1579
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1582
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1585
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1588
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1591
AMTAR=${AMTAR-"${am_missing_run}tar"}
1593
install_sh=${install_sh-"$am_aux_dir/install-sh"}
1595
# Installed binaries are usually stripped using `strip' when the user
1596
# run `make install-strip'. However `strip' might not be the right
1597
# tool to use in cross-compilation environments, therefore Automake
1598
# will honor the `STRIP' environment variable to overrule this program.
1599
if test "$cross_compiling" != no; then
1600
if test -n "$ac_tool_prefix"; then
1601
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1602
set dummy ${ac_tool_prefix}strip; ac_word=$2
1603
echo "$as_me:$LINENO: checking for $ac_word" >&5
1604
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1605
if test "${ac_cv_prog_STRIP+set}" = set; then
1606
echo $ECHO_N "(cached) $ECHO_C" >&6
1608
if test -n "$STRIP"; then
1609
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1611
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1615
test -z "$as_dir" && as_dir=.
1616
for ac_exec_ext in '' $ac_executable_extensions; do
1617
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1618
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1619
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1627
STRIP=$ac_cv_prog_STRIP
1628
if test -n "$STRIP"; then
1629
echo "$as_me:$LINENO: result: $STRIP" >&5
1630
echo "${ECHO_T}$STRIP" >&6
1632
echo "$as_me:$LINENO: result: no" >&5
1633
echo "${ECHO_T}no" >&6
1637
if test -z "$ac_cv_prog_STRIP"; then
1639
# Extract the first word of "strip", so it can be a program name with args.
1640
set dummy strip; ac_word=$2
1641
echo "$as_me:$LINENO: checking for $ac_word" >&5
1642
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1643
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1644
echo $ECHO_N "(cached) $ECHO_C" >&6
1646
if test -n "$ac_ct_STRIP"; then
1647
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1649
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1653
test -z "$as_dir" && as_dir=.
1654
for ac_exec_ext in '' $ac_executable_extensions; do
1655
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1656
ac_cv_prog_ac_ct_STRIP="strip"
1657
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1663
test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1666
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1667
if test -n "$ac_ct_STRIP"; then
1668
echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1669
echo "${ECHO_T}$ac_ct_STRIP" >&6
1671
echo "$as_me:$LINENO: result: no" >&5
1672
echo "${ECHO_T}no" >&6
1677
STRIP="$ac_cv_prog_STRIP"
1681
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1683
# We need awk for the "check" target. The system "awk" is bad on
1692
if test -n "$ac_aux_dir"; then
1693
case "$ac_aux_dir" in
1694
/*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
1695
*) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
1698
if test -z "$MKINSTALLDIRS"; then
1699
MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
1704
echo "$as_me:$LINENO: checking whether NLS is requested" >&5
1705
echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
1706
# Check whether --enable-nls or --disable-nls was given.
1707
if test "${enable_nls+set}" = set; then
1708
enableval="$enable_nls"
1713
echo "$as_me:$LINENO: result: $USE_NLS" >&5
1714
echo "${ECHO_T}$USE_NLS" >&6
1721
# Prepare PATH_SEPARATOR.
1722
# The user is always right.
1723
if test "${PATH_SEPARATOR+set}" != set; then
1724
echo "#! /bin/sh" >conf$$.sh
1725
echo "exit 0" >>conf$$.sh
1727
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
1735
# Find out how to test for executable files. Don't use a zero-byte file,
1736
# as systems may use methods other than mode bits to determine executability.
1737
cat >conf$$.file <<_ASEOF
1741
chmod +x conf$$.file
1742
if test -x conf$$.file >/dev/null 2>&1; then
1743
ac_executable_p="test -x"
1745
ac_executable_p="test -f"
1749
# Extract the first word of "msgfmt", so it can be a program name with args.
1750
set dummy msgfmt; ac_word=$2
1751
echo "$as_me:$LINENO: checking for $ac_word" >&5
1752
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1753
if test "${ac_cv_path_MSGFMT+set}" = set; then
1754
echo $ECHO_N "(cached) $ECHO_C" >&6
1758
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
1761
ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
1762
for ac_dir in $PATH; do
1764
test -z "$ac_dir" && ac_dir=.
1765
for ac_exec_ext in '' $ac_executable_extensions; do
1766
if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
1767
if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
1768
(if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
1769
ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
1776
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
1780
MSGFMT="$ac_cv_path_MSGFMT"
1781
if test "$MSGFMT" != ":"; then
1782
echo "$as_me:$LINENO: result: $MSGFMT" >&5
1783
echo "${ECHO_T}$MSGFMT" >&6
1785
echo "$as_me:$LINENO: result: no" >&5
1786
echo "${ECHO_T}no" >&6
1789
# Extract the first word of "gmsgfmt", so it can be a program name with args.
1790
set dummy gmsgfmt; ac_word=$2
1791
echo "$as_me:$LINENO: checking for $ac_word" >&5
1792
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1793
if test "${ac_cv_path_GMSGFMT+set}" = set; then
1794
echo $ECHO_N "(cached) $ECHO_C" >&6
1798
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
1801
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1805
test -z "$as_dir" && as_dir=.
1806
for ac_exec_ext in '' $ac_executable_extensions; do
1807
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1808
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
1809
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1815
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
1819
GMSGFMT=$ac_cv_path_GMSGFMT
1821
if test -n "$GMSGFMT"; then
1822
echo "$as_me:$LINENO: result: $GMSGFMT" >&5
1823
echo "${ECHO_T}$GMSGFMT" >&6
1825
echo "$as_me:$LINENO: result: no" >&5
1826
echo "${ECHO_T}no" >&6
1831
# Prepare PATH_SEPARATOR.
1832
# The user is always right.
1833
if test "${PATH_SEPARATOR+set}" != set; then
1834
echo "#! /bin/sh" >conf$$.sh
1835
echo "exit 0" >>conf$$.sh
1837
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
1845
# Find out how to test for executable files. Don't use a zero-byte file,
1846
# as systems may use methods other than mode bits to determine executability.
1847
cat >conf$$.file <<_ASEOF
1851
chmod +x conf$$.file
1852
if test -x conf$$.file >/dev/null 2>&1; then
1853
ac_executable_p="test -x"
1855
ac_executable_p="test -f"
1859
# Extract the first word of "xgettext", so it can be a program name with args.
1860
set dummy xgettext; ac_word=$2
1861
echo "$as_me:$LINENO: checking for $ac_word" >&5
1862
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1863
if test "${ac_cv_path_XGETTEXT+set}" = set; then
1864
echo $ECHO_N "(cached) $ECHO_C" >&6
1868
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
1871
ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
1872
for ac_dir in $PATH; do
1874
test -z "$ac_dir" && ac_dir=.
1875
for ac_exec_ext in '' $ac_executable_extensions; do
1876
if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
1877
if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
1878
(if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
1879
ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
1886
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
1890
XGETTEXT="$ac_cv_path_XGETTEXT"
1891
if test "$XGETTEXT" != ":"; then
1892
echo "$as_me:$LINENO: result: $XGETTEXT" >&5
1893
echo "${ECHO_T}$XGETTEXT" >&6
1895
echo "$as_me:$LINENO: result: no" >&5
1896
echo "${ECHO_T}no" >&6
1902
# Prepare PATH_SEPARATOR.
1903
# The user is always right.
1904
if test "${PATH_SEPARATOR+set}" != set; then
1905
echo "#! /bin/sh" >conf$$.sh
1906
echo "exit 0" >>conf$$.sh
1908
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
1916
# Find out how to test for executable files. Don't use a zero-byte file,
1917
# as systems may use methods other than mode bits to determine executability.
1918
cat >conf$$.file <<_ASEOF
1922
chmod +x conf$$.file
1923
if test -x conf$$.file >/dev/null 2>&1; then
1924
ac_executable_p="test -x"
1926
ac_executable_p="test -f"
1930
# Extract the first word of "msgmerge", so it can be a program name with args.
1931
set dummy msgmerge; ac_word=$2
1932
echo "$as_me:$LINENO: checking for $ac_word" >&5
1933
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1934
if test "${ac_cv_path_MSGMERGE+set}" = set; then
1935
echo $ECHO_N "(cached) $ECHO_C" >&6
1939
ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
1942
ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
1943
for ac_dir in $PATH; do
1945
test -z "$ac_dir" && ac_dir=.
1946
for ac_exec_ext in '' $ac_executable_extensions; do
1947
if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
1948
if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
1949
ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
1956
test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
1960
MSGMERGE="$ac_cv_path_MSGMERGE"
1961
if test "$MSGMERGE" != ":"; then
1962
echo "$as_me:$LINENO: result: $MSGMERGE" >&5
1963
echo "${ECHO_T}$MSGMERGE" >&6
1965
echo "$as_me:$LINENO: result: no" >&5
1966
echo "${ECHO_T}no" >&6
1970
if test "$GMSGFMT" != ":"; then
1971
if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
1972
(if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
1975
GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
1976
echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
1977
echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
1982
if test "$XGETTEXT" != ":"; then
1983
if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
1984
(if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
1987
echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
1988
echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
1994
ac_config_commands="$ac_config_commands default-1"
1998
if test "X$prefix" = "XNONE"; then
1999
acl_final_prefix="$ac_default_prefix"
2001
acl_final_prefix="$prefix"
2003
if test "X$exec_prefix" = "XNONE"; then
2004
acl_final_exec_prefix='${prefix}'
2006
acl_final_exec_prefix="$exec_prefix"
2008
acl_save_prefix="$prefix"
2009
prefix="$acl_final_prefix"
2010
eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
2011
prefix="$acl_save_prefix"
2013
DEPDIR="${am__leading_dot}deps"
2015
ac_config_commands="$ac_config_commands depfiles"
2018
am_make=${MAKE-make}
2019
cat > confinc << 'END'
2024
# If we don't find an include directive, just comment out the code.
2025
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2026
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2030
# First try GNU make style include.
2031
echo "include confinc" > confmf
2032
# We grep out `Entering directory' and `Leaving directory'
2033
# messages which can occur if `w' ends up in MAKEFLAGS.
2034
# In particular we don't look at `^make:' because GNU make might
2035
# be invoked under some other name (usually "gmake"), in which
2036
# case it prints its new name instead of `make'.
2037
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2042
# Now try BSD make style include.
2043
if test "$am__include" = "#"; then
2044
echo '.include "confinc"' > confmf
2045
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2046
am__include=.include
2053
echo "$as_me:$LINENO: result: $_am_result" >&5
2054
echo "${ECHO_T}$_am_result" >&6
2055
rm -f confinc confmf
2057
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2058
if test "${enable_dependency_tracking+set}" = set; then
2059
enableval="$enable_dependency_tracking"
2062
if test "x$enable_dependency_tracking" != xno; then
2063
am_depcomp="$ac_aux_dir/depcomp"
2068
if test "x$enable_dependency_tracking" != xno; then
2079
ac_cpp='$CPP $CPPFLAGS'
2080
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2081
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2082
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2083
if test -n "$ac_tool_prefix"; then
2084
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2085
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2086
echo "$as_me:$LINENO: checking for $ac_word" >&5
2087
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2088
if test "${ac_cv_prog_CC+set}" = set; then
2089
echo $ECHO_N "(cached) $ECHO_C" >&6
2091
if test -n "$CC"; then
2092
ac_cv_prog_CC="$CC" # Let the user override the test.
2094
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2098
test -z "$as_dir" && as_dir=.
2099
for ac_exec_ext in '' $ac_executable_extensions; do
2100
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2101
ac_cv_prog_CC="${ac_tool_prefix}gcc"
2102
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2111
if test -n "$CC"; then
2112
echo "$as_me:$LINENO: result: $CC" >&5
2113
echo "${ECHO_T}$CC" >&6
2115
echo "$as_me:$LINENO: result: no" >&5
2116
echo "${ECHO_T}no" >&6
2120
if test -z "$ac_cv_prog_CC"; then
2122
# Extract the first word of "gcc", so it can be a program name with args.
2123
set dummy gcc; ac_word=$2
2124
echo "$as_me:$LINENO: checking for $ac_word" >&5
2125
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2126
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2127
echo $ECHO_N "(cached) $ECHO_C" >&6
2129
if test -n "$ac_ct_CC"; then
2130
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2132
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2136
test -z "$as_dir" && as_dir=.
2137
for ac_exec_ext in '' $ac_executable_extensions; do
2138
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2139
ac_cv_prog_ac_ct_CC="gcc"
2140
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2148
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2149
if test -n "$ac_ct_CC"; then
2150
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2151
echo "${ECHO_T}$ac_ct_CC" >&6
2153
echo "$as_me:$LINENO: result: no" >&5
2154
echo "${ECHO_T}no" >&6
2162
if test -z "$CC"; then
2163
if test -n "$ac_tool_prefix"; then
2164
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2165
set dummy ${ac_tool_prefix}cc; ac_word=$2
2166
echo "$as_me:$LINENO: checking for $ac_word" >&5
2167
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2168
if test "${ac_cv_prog_CC+set}" = set; then
2169
echo $ECHO_N "(cached) $ECHO_C" >&6
2171
if test -n "$CC"; then
2172
ac_cv_prog_CC="$CC" # Let the user override the test.
2174
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2178
test -z "$as_dir" && as_dir=.
2179
for ac_exec_ext in '' $ac_executable_extensions; do
2180
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2181
ac_cv_prog_CC="${ac_tool_prefix}cc"
2182
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2191
if test -n "$CC"; then
2192
echo "$as_me:$LINENO: result: $CC" >&5
2193
echo "${ECHO_T}$CC" >&6
2195
echo "$as_me:$LINENO: result: no" >&5
2196
echo "${ECHO_T}no" >&6
2200
if test -z "$ac_cv_prog_CC"; then
2202
# Extract the first word of "cc", so it can be a program name with args.
2203
set dummy cc; ac_word=$2
2204
echo "$as_me:$LINENO: checking for $ac_word" >&5
2205
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2206
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2207
echo $ECHO_N "(cached) $ECHO_C" >&6
2209
if test -n "$ac_ct_CC"; then
2210
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2212
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2216
test -z "$as_dir" && as_dir=.
2217
for ac_exec_ext in '' $ac_executable_extensions; do
2218
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2219
ac_cv_prog_ac_ct_CC="cc"
2220
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2228
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2229
if test -n "$ac_ct_CC"; then
2230
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2231
echo "${ECHO_T}$ac_ct_CC" >&6
2233
echo "$as_me:$LINENO: result: no" >&5
2234
echo "${ECHO_T}no" >&6
2243
if test -z "$CC"; then
2244
# Extract the first word of "cc", so it can be a program name with args.
2245
set dummy cc; ac_word=$2
2246
echo "$as_me:$LINENO: checking for $ac_word" >&5
2247
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2248
if test "${ac_cv_prog_CC+set}" = set; then
2249
echo $ECHO_N "(cached) $ECHO_C" >&6
2251
if test -n "$CC"; then
2252
ac_cv_prog_CC="$CC" # Let the user override the test.
2255
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2259
test -z "$as_dir" && as_dir=.
2260
for ac_exec_ext in '' $ac_executable_extensions; do
2261
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2262
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2263
ac_prog_rejected=yes
2267
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2273
if test $ac_prog_rejected = yes; then
2274
# We found a bogon in the path, so make sure we never use it.
2275
set dummy $ac_cv_prog_CC
2277
if test $@%:@ != 0; then
2278
# We chose a different compiler from the bogus one.
2279
# However, it has the same basename, so the bogon will be chosen
2280
# first if we set CC to just the basename; use the full file name.
2282
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2288
if test -n "$CC"; then
2289
echo "$as_me:$LINENO: result: $CC" >&5
2290
echo "${ECHO_T}$CC" >&6
2292
echo "$as_me:$LINENO: result: no" >&5
2293
echo "${ECHO_T}no" >&6
2297
if test -z "$CC"; then
2298
if test -n "$ac_tool_prefix"; then
2301
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2302
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2303
echo "$as_me:$LINENO: checking for $ac_word" >&5
2304
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2305
if test "${ac_cv_prog_CC+set}" = set; then
2306
echo $ECHO_N "(cached) $ECHO_C" >&6
2308
if test -n "$CC"; then
2309
ac_cv_prog_CC="$CC" # Let the user override the test.
2311
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2315
test -z "$as_dir" && as_dir=.
2316
for ac_exec_ext in '' $ac_executable_extensions; do
2317
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2318
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2319
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2328
if test -n "$CC"; then
2329
echo "$as_me:$LINENO: result: $CC" >&5
2330
echo "${ECHO_T}$CC" >&6
2332
echo "$as_me:$LINENO: result: no" >&5
2333
echo "${ECHO_T}no" >&6
2336
test -n "$CC" && break
2339
if test -z "$CC"; then
2343
# Extract the first word of "$ac_prog", so it can be a program name with args.
2344
set dummy $ac_prog; ac_word=$2
2345
echo "$as_me:$LINENO: checking for $ac_word" >&5
2346
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2347
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2348
echo $ECHO_N "(cached) $ECHO_C" >&6
2350
if test -n "$ac_ct_CC"; then
2351
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2353
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2357
test -z "$as_dir" && as_dir=.
2358
for ac_exec_ext in '' $ac_executable_extensions; do
2359
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2360
ac_cv_prog_ac_ct_CC="$ac_prog"
2361
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2369
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2370
if test -n "$ac_ct_CC"; then
2371
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2372
echo "${ECHO_T}$ac_ct_CC" >&6
2374
echo "$as_me:$LINENO: result: no" >&5
2375
echo "${ECHO_T}no" >&6
2378
test -n "$ac_ct_CC" && break
2387
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2388
See \`config.log' for more details." >&5
2389
echo "$as_me: error: no acceptable C compiler found in \$PATH
2390
See \`config.log' for more details." >&2;}
2391
{ (exit 1); exit 1; }; }
2393
# Provide some information about the compiler.
2394
echo "$as_me:$LINENO:" \
2395
"checking for C compiler version" >&5
2396
ac_compiler=`set X $ac_compile; echo $2`
2397
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2398
(eval $ac_compiler --version </dev/null >&5) 2>&5
2400
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2401
(exit $ac_status); }
2402
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2403
(eval $ac_compiler -v </dev/null >&5) 2>&5
2405
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2406
(exit $ac_status); }
2407
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2408
(eval $ac_compiler -V </dev/null >&5) 2>&5
2410
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2411
(exit $ac_status); }
2413
cat >conftest.$ac_ext <<_ACEOF
2416
cat confdefs.h >>conftest.$ac_ext
2417
cat >>conftest.$ac_ext <<_ACEOF
2418
/* end confdefs.h. */
2428
ac_clean_files_save=$ac_clean_files
2429
ac_clean_files="$ac_clean_files a.out a.exe b.out"
2430
# Try to create an executable without -o first, disregard a.out.
2431
# It will help us diagnose broken compilers, and finding out an intuition
2433
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2434
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2435
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2436
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2437
(eval $ac_link_default) 2>&5
2439
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2440
(exit $ac_status); }; then
2441
# Find the output, starting from the most likely. This scheme is
2442
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2445
# Be careful to initialize this variable, since it used to be cached.
2446
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2448
# b.out is created by i960 compilers.
2449
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2451
test -f "$ac_file" || continue
2453
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2456
# This is the source file.
2459
# We found the default executable, but exeext='' is most
2463
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2464
# FIXME: I believe we export ac_cv_exeext for Libtool,
2465
# but it would be cool to find out if it's true. Does anybody
2466
# maintain Libtool? --akim.
2474
echo "$as_me: failed program was:" >&5
2475
sed 's/^/| /' conftest.$ac_ext >&5
2477
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2478
See \`config.log' for more details." >&5
2479
echo "$as_me: error: C compiler cannot create executables
2480
See \`config.log' for more details." >&2;}
2481
{ (exit 77); exit 77; }; }
2484
ac_exeext=$ac_cv_exeext
2485
echo "$as_me:$LINENO: result: $ac_file" >&5
2486
echo "${ECHO_T}$ac_file" >&6
2488
# Check the compiler produces executables we can run. If not, either
2489
# the compiler is broken, or we cross compile.
2490
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2491
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2492
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2493
# If not cross compiling, check that we can run a simple program.
2494
if test "$cross_compiling" != yes; then
2495
if { ac_try='./$ac_file'
2496
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2499
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2500
(exit $ac_status); }; }; then
2503
if test "$cross_compiling" = maybe; then
2506
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2507
If you meant to cross compile, use \`--host'.
2508
See \`config.log' for more details." >&5
2509
echo "$as_me: error: cannot run C compiled programs.
2510
If you meant to cross compile, use \`--host'.
2511
See \`config.log' for more details." >&2;}
2512
{ (exit 1); exit 1; }; }
2516
echo "$as_me:$LINENO: result: yes" >&5
2517
echo "${ECHO_T}yes" >&6
2519
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2520
ac_clean_files=$ac_clean_files_save
2521
# Check the compiler produces executables we can run. If not, either
2522
# the compiler is broken, or we cross compile.
2523
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2524
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2525
echo "$as_me:$LINENO: result: $cross_compiling" >&5
2526
echo "${ECHO_T}$cross_compiling" >&6
2528
echo "$as_me:$LINENO: checking for suffix of executables" >&5
2529
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2530
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2531
(eval $ac_link) 2>&5
2533
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2534
(exit $ac_status); }; then
2535
# If both `conftest.exe' and `conftest' are `present' (well, observable)
2536
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2537
# work properly (i.e., refer to `conftest.exe'), while it won't with
2539
for ac_file in conftest.exe conftest conftest.*; do
2540
test -f "$ac_file" || continue
2542
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2543
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2550
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2551
See \`config.log' for more details." >&5
2552
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2553
See \`config.log' for more details." >&2;}
2554
{ (exit 1); exit 1; }; }
2557
rm -f conftest$ac_cv_exeext
2558
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2559
echo "${ECHO_T}$ac_cv_exeext" >&6
2561
rm -f conftest.$ac_ext
2562
EXEEXT=$ac_cv_exeext
2564
echo "$as_me:$LINENO: checking for suffix of object files" >&5
2565
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2566
if test "${ac_cv_objext+set}" = set; then
2567
echo $ECHO_N "(cached) $ECHO_C" >&6
2569
cat >conftest.$ac_ext <<_ACEOF
2572
cat confdefs.h >>conftest.$ac_ext
2573
cat >>conftest.$ac_ext <<_ACEOF
2574
/* end confdefs.h. */
2584
rm -f conftest.o conftest.obj
2585
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2586
(eval $ac_compile) 2>&5
2588
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2589
(exit $ac_status); }; then
2590
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2592
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2593
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2598
echo "$as_me: failed program was:" >&5
2599
sed 's/^/| /' conftest.$ac_ext >&5
2601
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2602
See \`config.log' for more details." >&5
2603
echo "$as_me: error: cannot compute suffix of object files: cannot compile
2604
See \`config.log' for more details." >&2;}
2605
{ (exit 1); exit 1; }; }
2608
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2610
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2611
echo "${ECHO_T}$ac_cv_objext" >&6
2612
OBJEXT=$ac_cv_objext
2614
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2615
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2616
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2617
echo $ECHO_N "(cached) $ECHO_C" >&6
2619
cat >conftest.$ac_ext <<_ACEOF
2622
cat confdefs.h >>conftest.$ac_ext
2623
cat >>conftest.$ac_ext <<_ACEOF
2624
/* end confdefs.h. */
2637
rm -f conftest.$ac_objext
2638
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2639
(eval $ac_compile) 2>conftest.er1
2641
grep -v '^ *+' conftest.er1 >conftest.err
2643
cat conftest.err >&5
2644
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2645
(exit $ac_status); } &&
2646
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2647
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2650
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2651
(exit $ac_status); }; } &&
2652
{ ac_try='test -s conftest.$ac_objext'
2653
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2656
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2657
(exit $ac_status); }; }; then
2660
echo "$as_me: failed program was:" >&5
2661
sed 's/^/| /' conftest.$ac_ext >&5
2665
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2666
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2669
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2670
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2671
GCC=`test $ac_compiler_gnu = yes && echo yes`
2672
ac_test_CFLAGS=${CFLAGS+set}
2673
ac_save_CFLAGS=$CFLAGS
2675
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2676
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2677
if test "${ac_cv_prog_cc_g+set}" = set; then
2678
echo $ECHO_N "(cached) $ECHO_C" >&6
2680
cat >conftest.$ac_ext <<_ACEOF
2683
cat confdefs.h >>conftest.$ac_ext
2684
cat >>conftest.$ac_ext <<_ACEOF
2685
/* end confdefs.h. */
2695
rm -f conftest.$ac_objext
2696
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2697
(eval $ac_compile) 2>conftest.er1
2699
grep -v '^ *+' conftest.er1 >conftest.err
2701
cat conftest.err >&5
2702
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2703
(exit $ac_status); } &&
2704
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2705
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2708
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2709
(exit $ac_status); }; } &&
2710
{ ac_try='test -s conftest.$ac_objext'
2711
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2714
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2715
(exit $ac_status); }; }; then
2718
echo "$as_me: failed program was:" >&5
2719
sed 's/^/| /' conftest.$ac_ext >&5
2723
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2725
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2726
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2727
if test "$ac_test_CFLAGS" = set; then
2728
CFLAGS=$ac_save_CFLAGS
2729
elif test $ac_cv_prog_cc_g = yes; then
2730
if test "$GCC" = yes; then
2736
if test "$GCC" = yes; then
2742
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2743
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2744
if test "${ac_cv_prog_cc_stdc+set}" = set; then
2745
echo $ECHO_N "(cached) $ECHO_C" >&6
2747
ac_cv_prog_cc_stdc=no
2749
cat >conftest.$ac_ext <<_ACEOF
2752
cat confdefs.h >>conftest.$ac_ext
2753
cat >>conftest.$ac_ext <<_ACEOF
2754
/* end confdefs.h. */
2757
#include <sys/types.h>
2758
#include <sys/stat.h>
2759
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2760
struct buf { int x; };
2761
FILE * (*rcsopen) (struct buf *, struct stat *, int);
2762
static char *e (p, i)
2768
static char *f (char * (*g) (char **, int), char **p, ...)
2773
s = g (p, va_arg (v,int));
2778
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2779
function prototypes and stuff, but not '\xHH' hex character constants.
2780
These don't provoke an error unfortunately, instead are silently treated
2781
as 'x'. The following induces an error, until -std1 is added to get
2782
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2783
array size at least. It's necessary to write '\x00'==0 to get something
2784
that's true only with -std1. */
2785
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2787
int test (int i, double x);
2788
struct s1 {int (*f) (int a);};
2789
struct s2 {int (*f) (double a);};
2790
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2796
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2801
# Don't try gcc -ansi; that turns off useful extensions and
2802
# breaks some systems' header files.
2803
# AIX -qlanglvl=ansi
2804
# Ultrix and OSF/1 -std1
2805
# HP-UX 10.20 and later -Ae
2806
# HP-UX older versions -Aa -D_HPUX_SOURCE
2807
# SVR4 -Xc -D__EXTENSIONS__
2808
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2810
CC="$ac_save_CC $ac_arg"
2811
rm -f conftest.$ac_objext
2812
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2813
(eval $ac_compile) 2>conftest.er1
2815
grep -v '^ *+' conftest.er1 >conftest.err
2817
cat conftest.err >&5
2818
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2819
(exit $ac_status); } &&
2820
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2821
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2824
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2825
(exit $ac_status); }; } &&
2826
{ ac_try='test -s conftest.$ac_objext'
2827
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2830
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2831
(exit $ac_status); }; }; then
2832
ac_cv_prog_cc_stdc=$ac_arg
2835
echo "$as_me: failed program was:" >&5
2836
sed 's/^/| /' conftest.$ac_ext >&5
2839
rm -f conftest.err conftest.$ac_objext
2841
rm -f conftest.$ac_ext conftest.$ac_objext
2846
case "x$ac_cv_prog_cc_stdc" in
2848
echo "$as_me:$LINENO: result: none needed" >&5
2849
echo "${ECHO_T}none needed" >&6 ;;
2851
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2852
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2853
CC="$CC $ac_cv_prog_cc_stdc" ;;
2856
# Some people use a C++ compiler to compile C. Since we use `exit',
2857
# in C++ we need to declare it. In case someone uses the same compiler
2858
# for both compiling C and C++ we need to have the C++ compiler decide
2859
# the declaration of exit, since it's the most demanding environment.
2860
cat >conftest.$ac_ext <<_ACEOF
2861
@%:@ifndef __cplusplus
2865
rm -f conftest.$ac_objext
2866
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2867
(eval $ac_compile) 2>conftest.er1
2869
grep -v '^ *+' conftest.er1 >conftest.err
2871
cat conftest.err >&5
2872
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2873
(exit $ac_status); } &&
2874
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2875
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2878
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2879
(exit $ac_status); }; } &&
2880
{ ac_try='test -s conftest.$ac_objext'
2881
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2884
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2885
(exit $ac_status); }; }; then
2886
for ac_declaration in \
2888
'extern "C" void std::exit (int) throw (); using std::exit;' \
2889
'extern "C" void std::exit (int); using std::exit;' \
2890
'extern "C" void exit (int) throw ();' \
2891
'extern "C" void exit (int);' \
2894
cat >conftest.$ac_ext <<_ACEOF
2897
cat confdefs.h >>conftest.$ac_ext
2898
cat >>conftest.$ac_ext <<_ACEOF
2899
/* end confdefs.h. */
2901
@%:@include <stdlib.h>
2910
rm -f conftest.$ac_objext
2911
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2912
(eval $ac_compile) 2>conftest.er1
2914
grep -v '^ *+' conftest.er1 >conftest.err
2916
cat conftest.err >&5
2917
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2918
(exit $ac_status); } &&
2919
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2920
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2923
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2924
(exit $ac_status); }; } &&
2925
{ ac_try='test -s conftest.$ac_objext'
2926
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2929
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2930
(exit $ac_status); }; }; then
2933
echo "$as_me: failed program was:" >&5
2934
sed 's/^/| /' conftest.$ac_ext >&5
2938
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2939
cat >conftest.$ac_ext <<_ACEOF
2942
cat confdefs.h >>conftest.$ac_ext
2943
cat >>conftest.$ac_ext <<_ACEOF
2944
/* end confdefs.h. */
2954
rm -f conftest.$ac_objext
2955
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2956
(eval $ac_compile) 2>conftest.er1
2958
grep -v '^ *+' conftest.er1 >conftest.err
2960
cat conftest.err >&5
2961
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2962
(exit $ac_status); } &&
2963
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2964
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2967
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2968
(exit $ac_status); }; } &&
2969
{ ac_try='test -s conftest.$ac_objext'
2970
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2973
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2974
(exit $ac_status); }; }; then
2977
echo "$as_me: failed program was:" >&5
2978
sed 's/^/| /' conftest.$ac_ext >&5
2981
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2984
if test -n "$ac_declaration"; then
2985
echo '#ifdef __cplusplus' >>confdefs.h
2986
echo $ac_declaration >>confdefs.h
2987
echo '#endif' >>confdefs.h
2991
echo "$as_me: failed program was:" >&5
2992
sed 's/^/| /' conftest.$ac_ext >&5
2995
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2997
ac_cpp='$CPP $CPPFLAGS'
2998
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2999
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3000
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3002
depcc="$CC" am_compiler_list=
3004
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3005
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3006
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3007
echo $ECHO_N "(cached) $ECHO_C" >&6
3009
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3010
# We make a subdir and do the tests there. Otherwise we can end up
3011
# making bogus files that we don't know about and never remove. For
3012
# instance it was reported that on HP-UX the gcc test will end up
3013
# making a dummy file named `D' -- because `-MD' means `put the output
3016
# Copy depcomp to subdir because otherwise we won't find it if we're
3017
# using a relative directory.
3018
cp "$am_depcomp" conftest.dir
3020
# We will build objects and dependencies in a subdirectory because
3021
# it helps to detect inapplicable dependency modes. For instance
3022
# both Tru64's cc and ICC support -MD to output dependencies as a
3023
# side effect of compilation, but ICC will put the dependencies in
3024
# the current directory while Tru64 will put them in the object
3028
am_cv_CC_dependencies_compiler_type=none
3029
if test "$am_compiler_list" = ""; then
3030
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3032
for depmode in $am_compiler_list; do
3033
# Setup a source with many dependencies, because some compilers
3034
# like to wrap large dependency lists on column 80 (with \), and
3035
# we should not choose a depcomp mode which is confused by this.
3037
# We need to recreate these files for each test, as the compiler may
3038
# overwrite some of them when testing with obscure command lines.
3039
# This happens at least with the AIX C compiler.
3041
for i in 1 2 3 4 5 6; do
3042
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3045
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3049
# after this tag, mechanisms are not by side-effect, so they'll
3050
# only be used when explicitly requested
3051
if test "x$enable_dependency_tracking" = xyes; then
3059
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3060
# mode. It turns out that the SunPro C++ compiler does not properly
3061
# handle `-M -o', and we need to detect this.
3062
if depmode=$depmode \
3063
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3064
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3065
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3066
>/dev/null 2>conftest.err &&
3067
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3068
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3069
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3070
# icc doesn't choke on unknown options, it will just issue warnings
3071
# (even with -Werror). So we grep stderr for any message
3072
# that says an option was ignored.
3073
if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
3074
am_cv_CC_dependencies_compiler_type=$depmode
3083
am_cv_CC_dependencies_compiler_type=none
3087
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3088
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3089
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3094
test "x$enable_dependency_tracking" != xno \
3095
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3097
am__fastdepCC_FALSE='#'
3099
am__fastdepCC_TRUE='#'
3100
am__fastdepCC_FALSE=
3104
# Make sure we can run config.sub.
3105
$ac_config_sub sun4 >/dev/null 2>&1 ||
3106
{ { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
3107
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
3108
{ (exit 1); exit 1; }; }
3110
echo "$as_me:$LINENO: checking build system type" >&5
3111
echo $ECHO_N "checking build system type... $ECHO_C" >&6
3112
if test "${ac_cv_build+set}" = set; then
3113
echo $ECHO_N "(cached) $ECHO_C" >&6
3115
ac_cv_build_alias=$build_alias
3116
test -z "$ac_cv_build_alias" &&
3117
ac_cv_build_alias=`$ac_config_guess`
3118
test -z "$ac_cv_build_alias" &&
3119
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3120
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3121
{ (exit 1); exit 1; }; }
3122
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
3123
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3124
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
3125
{ (exit 1); exit 1; }; }
3128
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3129
echo "${ECHO_T}$ac_cv_build" >&6
3131
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3132
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3133
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3136
echo "$as_me:$LINENO: checking host system type" >&5
3137
echo $ECHO_N "checking host system type... $ECHO_C" >&6
3138
if test "${ac_cv_host+set}" = set; then
3139
echo $ECHO_N "(cached) $ECHO_C" >&6
3141
ac_cv_host_alias=$host_alias
3142
test -z "$ac_cv_host_alias" &&
3143
ac_cv_host_alias=$ac_cv_build_alias
3144
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
3145
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3146
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
3147
{ (exit 1); exit 1; }; }
3150
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3151
echo "${ECHO_T}$ac_cv_host" >&6
3153
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3154
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3155
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3159
# Check whether --with-gnu-ld or --without-gnu-ld was given.
3160
if test "${with_gnu_ld+set}" = set; then
3161
withval="$with_gnu_ld"
3162
test "$withval" = no || with_gnu_ld=yes
3166
# Prepare PATH_SEPARATOR.
3167
# The user is always right.
3168
if test "${PATH_SEPARATOR+set}" != set; then
3169
echo "#! /bin/sh" >conf$$.sh
3170
echo "exit 0" >>conf$$.sh
3172
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3180
if test "$GCC" = yes; then
3181
# Check if gcc -print-prog-name=ld gives a path.
3182
echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3183
echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3186
# gcc leaves a trailing carriage return which upsets mingw
3187
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3189
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3192
# Accept absolute paths.
3193
[\\/]* | [A-Za-z]:[\\/]*)
3194
re_direlt='/[^/][^/]*/\.\./'
3195
# Canonicalize the path of ld
3196
ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3197
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3198
ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3200
test -z "$LD" && LD="$ac_prog"
3203
# If it fails, then pretend we aren't using GCC.
3207
# If it is relative, then search for the first ld in PATH.
3211
elif test "$with_gnu_ld" = yes; then
3212
echo "$as_me:$LINENO: checking for GNU ld" >&5
3213
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3215
echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3216
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3218
if test "${acl_cv_path_LD+set}" = set; then
3219
echo $ECHO_N "(cached) $ECHO_C" >&6
3221
if test -z "$LD"; then
3222
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3223
for ac_dir in $PATH; do
3224
test -z "$ac_dir" && ac_dir=.
3225
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3226
acl_cv_path_LD="$ac_dir/$ac_prog"
3227
# Check to see if the program is GNU ld. I'd rather use --version,
3228
# but apparently some GNU ld's only accept -v.
3229
# Break only if it was the GNU/non-GNU ld that we prefer.
3230
case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
3231
*GNU* | *'with BFD'*)
3232
test "$with_gnu_ld" != no && break ;;
3234
test "$with_gnu_ld" != yes && break ;;
3240
acl_cv_path_LD="$LD" # Let the user override the test with a path.
3244
LD="$acl_cv_path_LD"
3245
if test -n "$LD"; then
3246
echo "$as_me:$LINENO: result: $LD" >&5
3247
echo "${ECHO_T}$LD" >&6
3249
echo "$as_me:$LINENO: result: no" >&5
3250
echo "${ECHO_T}no" >&6
3252
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3253
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3254
{ (exit 1); exit 1; }; }
3255
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3256
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3257
if test "${acl_cv_prog_gnu_ld+set}" = set; then
3258
echo $ECHO_N "(cached) $ECHO_C" >&6
3260
# I'd rather use --version here, but apparently some GNU ld's only accept -v.
3261
case `$LD -v 2>&1 </dev/null` in
3262
*GNU* | *'with BFD'*)
3263
acl_cv_prog_gnu_ld=yes ;;
3265
acl_cv_prog_gnu_ld=no ;;
3268
echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
3269
echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
3270
with_gnu_ld=$acl_cv_prog_gnu_ld
3274
echo "$as_me:$LINENO: checking for shared library run path origin" >&5
3275
echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
3276
if test "${acl_cv_rpath+set}" = set; then
3277
echo $ECHO_N "(cached) $ECHO_C" >&6
3280
CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
3281
${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
3287
echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
3288
echo "${ECHO_T}$acl_cv_rpath" >&6
3290
libext="$acl_cv_libext"
3291
shlibext="$acl_cv_shlibext"
3292
hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
3293
hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
3294
hardcode_direct="$acl_cv_hardcode_direct"
3295
hardcode_minus_L="$acl_cv_hardcode_minus_L"
3296
# Check whether --enable-rpath or --disable-rpath was given.
3297
if test "${enable_rpath+set}" = set; then
3298
enableval="$enable_rpath"
3312
acl_save_prefix="$prefix"
3313
prefix="$acl_final_prefix"
3314
acl_save_exec_prefix="$exec_prefix"
3315
exec_prefix="$acl_final_exec_prefix"
3317
eval additional_includedir=\"$includedir\"
3318
eval additional_libdir=\"$libdir\"
3320
exec_prefix="$acl_save_exec_prefix"
3321
prefix="$acl_save_prefix"
3324
# Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
3325
if test "${with_libiconv_prefix+set}" = set; then
3326
withval="$with_libiconv_prefix"
3328
if test "X$withval" = "Xno"; then
3331
if test "X$withval" = "X"; then
3333
acl_save_prefix="$prefix"
3334
prefix="$acl_final_prefix"
3335
acl_save_exec_prefix="$exec_prefix"
3336
exec_prefix="$acl_final_exec_prefix"
3338
eval additional_includedir=\"$includedir\"
3339
eval additional_libdir=\"$libdir\"
3341
exec_prefix="$acl_save_exec_prefix"
3342
prefix="$acl_save_prefix"
3345
additional_includedir="$withval/include"
3346
additional_libdir="$withval/lib"
3356
names_already_handled=
3357
names_next_round='iconv '
3358
while test -n "$names_next_round"; do
3359
names_this_round="$names_next_round"
3361
for name in $names_this_round; do
3363
for n in $names_already_handled; do
3364
if test "$n" = "$name"; then
3369
if test -z "$already_handled"; then
3370
names_already_handled="$names_already_handled $name"
3371
uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
3372
eval value=\"\$HAVE_LIB$uppername\"
3373
if test -n "$value"; then
3374
if test "$value" = yes; then
3375
eval value=\"\$LIB$uppername\"
3376
test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
3377
eval value=\"\$LTLIB$uppername\"
3378
test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
3387
if test $use_additional = yes; then
3388
if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
3389
found_dir="$additional_libdir"
3390
found_so="$additional_libdir/lib$name.$shlibext"
3391
if test -f "$additional_libdir/lib$name.la"; then
3392
found_la="$additional_libdir/lib$name.la"
3395
if test -f "$additional_libdir/lib$name.$libext"; then
3396
found_dir="$additional_libdir"
3397
found_a="$additional_libdir/lib$name.$libext"
3398
if test -f "$additional_libdir/lib$name.la"; then
3399
found_la="$additional_libdir/lib$name.la"
3404
if test "X$found_dir" = "X"; then
3405
for x in $LDFLAGS $LTLIBICONV; do
3407
acl_save_prefix="$prefix"
3408
prefix="$acl_final_prefix"
3409
acl_save_exec_prefix="$exec_prefix"
3410
exec_prefix="$acl_final_exec_prefix"
3412
exec_prefix="$acl_save_exec_prefix"
3413
prefix="$acl_save_prefix"
3417
dir=`echo "X$x" | sed -e 's/^X-L//'`
3418
if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
3420
found_so="$dir/lib$name.$shlibext"
3421
if test -f "$dir/lib$name.la"; then
3422
found_la="$dir/lib$name.la"
3425
if test -f "$dir/lib$name.$libext"; then
3427
found_a="$dir/lib$name.$libext"
3428
if test -f "$dir/lib$name.la"; then
3429
found_la="$dir/lib$name.la"
3435
if test "X$found_dir" != "X"; then
3440
if test "X$found_dir" != "X"; then
3441
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
3442
if test "X$found_so" != "X"; then
3443
if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
3444
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
3447
for x in $ltrpathdirs; do
3448
if test "X$x" = "X$found_dir"; then
3453
if test -z "$haveit"; then
3454
ltrpathdirs="$ltrpathdirs $found_dir"
3456
if test "$hardcode_direct" = yes; then
3457
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
3459
if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
3460
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
3462
for x in $rpathdirs; do
3463
if test "X$x" = "X$found_dir"; then
3468
if test -z "$haveit"; then
3469
rpathdirs="$rpathdirs $found_dir"
3473
for x in $LDFLAGS $LIBICONV; do
3475
acl_save_prefix="$prefix"
3476
prefix="$acl_final_prefix"
3477
acl_save_exec_prefix="$exec_prefix"
3478
exec_prefix="$acl_final_exec_prefix"
3480
exec_prefix="$acl_save_exec_prefix"
3481
prefix="$acl_save_prefix"
3483
if test "X$x" = "X-L$found_dir"; then
3488
if test -z "$haveit"; then
3489
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
3491
if test "$hardcode_minus_L" != no; then
3492
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
3494
LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
3500
if test "X$found_a" != "X"; then
3501
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
3503
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
3506
additional_includedir=
3507
case "$found_dir" in
3509
basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
3510
additional_includedir="$basedir/include"
3513
if test "X$additional_includedir" != "X"; then
3514
if test "X$additional_includedir" != "X/usr/include"; then
3516
if test "X$additional_includedir" = "X/usr/local/include"; then
3517
if test -n "$GCC"; then
3519
linux*) haveit=yes;;
3523
if test -z "$haveit"; then
3524
for x in $CPPFLAGS $INCICONV; do
3526
acl_save_prefix="$prefix"
3527
prefix="$acl_final_prefix"
3528
acl_save_exec_prefix="$exec_prefix"
3529
exec_prefix="$acl_final_exec_prefix"
3531
exec_prefix="$acl_save_exec_prefix"
3532
prefix="$acl_save_prefix"
3534
if test "X$x" = "X-I$additional_includedir"; then
3539
if test -z "$haveit"; then
3540
if test -d "$additional_includedir"; then
3541
INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
3547
if test -n "$found_la"; then
3548
save_libdir="$libdir"
3550
*/* | *\\*) . "$found_la" ;;
3551
*) . "./$found_la" ;;
3553
libdir="$save_libdir"
3554
for dep in $dependency_libs; do
3557
additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
3558
if test "X$additional_libdir" != "X/usr/lib"; then
3560
if test "X$additional_libdir" = "X/usr/local/lib"; then
3561
if test -n "$GCC"; then
3563
linux*) haveit=yes;;
3567
if test -z "$haveit"; then
3569
for x in $LDFLAGS $LIBICONV; do
3571
acl_save_prefix="$prefix"
3572
prefix="$acl_final_prefix"
3573
acl_save_exec_prefix="$exec_prefix"
3574
exec_prefix="$acl_final_exec_prefix"
3576
exec_prefix="$acl_save_exec_prefix"
3577
prefix="$acl_save_prefix"
3579
if test "X$x" = "X-L$additional_libdir"; then
3584
if test -z "$haveit"; then
3585
if test -d "$additional_libdir"; then
3586
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
3590
for x in $LDFLAGS $LTLIBICONV; do
3592
acl_save_prefix="$prefix"
3593
prefix="$acl_final_prefix"
3594
acl_save_exec_prefix="$exec_prefix"
3595
exec_prefix="$acl_final_exec_prefix"
3597
exec_prefix="$acl_save_exec_prefix"
3598
prefix="$acl_save_prefix"
3600
if test "X$x" = "X-L$additional_libdir"; then
3605
if test -z "$haveit"; then
3606
if test -d "$additional_libdir"; then
3607
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
3614
dir=`echo "X$dep" | sed -e 's/^X-R//'`
3615
if test "$enable_rpath" != no; then
3617
for x in $rpathdirs; do
3618
if test "X$x" = "X$dir"; then
3623
if test -z "$haveit"; then
3624
rpathdirs="$rpathdirs $dir"
3627
for x in $ltrpathdirs; do
3628
if test "X$x" = "X$dir"; then
3633
if test -z "$haveit"; then
3634
ltrpathdirs="$ltrpathdirs $dir"
3639
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
3642
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
3645
LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
3646
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
3652
LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
3653
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
3659
if test "X$rpathdirs" != "X"; then
3660
if test -n "$hardcode_libdir_separator"; then
3662
for found_dir in $rpathdirs; do
3663
alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
3665
acl_save_libdir="$libdir"
3667
eval flag=\"$hardcode_libdir_flag_spec\"
3668
libdir="$acl_save_libdir"
3669
LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
3671
for found_dir in $rpathdirs; do
3672
acl_save_libdir="$libdir"
3674
eval flag=\"$hardcode_libdir_flag_spec\"
3675
libdir="$acl_save_libdir"
3676
LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
3680
if test "X$ltrpathdirs" != "X"; then
3681
for found_dir in $ltrpathdirs; do
3682
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
3704
echo "$as_me:$LINENO: checking whether NLS is requested" >&5
3705
echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
3706
# Check whether --enable-nls or --disable-nls was given.
3707
if test "${enable_nls+set}" = set; then
3708
enableval="$enable_nls"
3713
echo "$as_me:$LINENO: result: $USE_NLS" >&5
3714
echo "${ECHO_T}$USE_NLS" >&6
3723
if test "$USE_NLS" = "yes"; then
3724
gt_use_preinstalled_gnugettext=no
3731
echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
3732
echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6
3733
if test "${gt_cv_func_gnugettext1_libc+set}" = set; then
3734
echo $ECHO_N "(cached) $ECHO_C" >&6
3736
cat >conftest.$ac_ext <<_ACEOF
3739
cat confdefs.h >>conftest.$ac_ext
3740
cat >>conftest.$ac_ext <<_ACEOF
3741
/* end confdefs.h. */
3742
#include <libintl.h>
3743
extern int _nl_msg_cat_cntr;
3744
extern int *_nl_domain_bindings;
3748
bindtextdomain ("", "");
3749
return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
3754
rm -f conftest.$ac_objext conftest$ac_exeext
3755
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3756
(eval $ac_link) 2>conftest.er1
3758
grep -v '^ *+' conftest.er1 >conftest.err
3760
cat conftest.err >&5
3761
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3762
(exit $ac_status); } &&
3763
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3764
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3767
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3768
(exit $ac_status); }; } &&
3769
{ ac_try='test -s conftest$ac_exeext'
3770
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3773
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3774
(exit $ac_status); }; }; then
3775
gt_cv_func_gnugettext1_libc=yes
3777
echo "$as_me: failed program was:" >&5
3778
sed 's/^/| /' conftest.$ac_ext >&5
3780
gt_cv_func_gnugettext1_libc=no
3782
rm -f conftest.err conftest.$ac_objext \
3783
conftest$ac_exeext conftest.$ac_ext
3785
echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5
3786
echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6
3788
if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
3794
am_save_CPPFLAGS="$CPPFLAGS"
3796
for element in $INCICONV; do
3798
for x in $CPPFLAGS; do
3800
acl_save_prefix="$prefix"
3801
prefix="$acl_final_prefix"
3802
acl_save_exec_prefix="$exec_prefix"
3803
exec_prefix="$acl_final_exec_prefix"
3805
exec_prefix="$acl_save_exec_prefix"
3806
prefix="$acl_save_prefix"
3808
if test "X$x" = "X$element"; then
3813
if test -z "$haveit"; then
3814
CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
3819
echo "$as_me:$LINENO: checking for iconv" >&5
3820
echo $ECHO_N "checking for iconv... $ECHO_C" >&6
3821
if test "${am_cv_func_iconv+set}" = set; then
3822
echo $ECHO_N "(cached) $ECHO_C" >&6
3825
am_cv_func_iconv="no, consider installing GNU libiconv"
3827
cat >conftest.$ac_ext <<_ACEOF
3830
cat confdefs.h >>conftest.$ac_ext
3831
cat >>conftest.$ac_ext <<_ACEOF
3832
/* end confdefs.h. */
3838
iconv_t cd = iconv_open("","");
3839
iconv(cd,NULL,NULL,NULL,NULL);
3845
rm -f conftest.$ac_objext conftest$ac_exeext
3846
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3847
(eval $ac_link) 2>conftest.er1
3849
grep -v '^ *+' conftest.er1 >conftest.err
3851
cat conftest.err >&5
3852
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3853
(exit $ac_status); } &&
3854
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3855
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3858
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3859
(exit $ac_status); }; } &&
3860
{ ac_try='test -s conftest$ac_exeext'
3861
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3864
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3865
(exit $ac_status); }; }; then
3866
am_cv_func_iconv=yes
3868
echo "$as_me: failed program was:" >&5
3869
sed 's/^/| /' conftest.$ac_ext >&5
3872
rm -f conftest.err conftest.$ac_objext \
3873
conftest$ac_exeext conftest.$ac_ext
3874
if test "$am_cv_func_iconv" != yes; then
3875
am_save_LIBS="$LIBS"
3876
LIBS="$LIBS $LIBICONV"
3877
cat >conftest.$ac_ext <<_ACEOF
3880
cat confdefs.h >>conftest.$ac_ext
3881
cat >>conftest.$ac_ext <<_ACEOF
3882
/* end confdefs.h. */
3888
iconv_t cd = iconv_open("","");
3889
iconv(cd,NULL,NULL,NULL,NULL);
3895
rm -f conftest.$ac_objext conftest$ac_exeext
3896
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3897
(eval $ac_link) 2>conftest.er1
3899
grep -v '^ *+' conftest.er1 >conftest.err
3901
cat conftest.err >&5
3902
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3903
(exit $ac_status); } &&
3904
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3905
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3908
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3909
(exit $ac_status); }; } &&
3910
{ ac_try='test -s conftest$ac_exeext'
3911
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3914
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3915
(exit $ac_status); }; }; then
3917
am_cv_func_iconv=yes
3919
echo "$as_me: failed program was:" >&5
3920
sed 's/^/| /' conftest.$ac_ext >&5
3923
rm -f conftest.err conftest.$ac_objext \
3924
conftest$ac_exeext conftest.$ac_ext
3925
LIBS="$am_save_LIBS"
3929
echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
3930
echo "${ECHO_T}$am_cv_func_iconv" >&6
3931
if test "$am_cv_func_iconv" = yes; then
3933
cat >>confdefs.h <<\_ACEOF
3934
@%:@define HAVE_ICONV 1
3938
if test "$am_cv_lib_iconv" = yes; then
3939
echo "$as_me:$LINENO: checking how to link with libiconv" >&5
3940
echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
3941
echo "$as_me:$LINENO: result: $LIBICONV" >&5
3942
echo "${ECHO_T}$LIBICONV" >&6
3944
CPPFLAGS="$am_save_CPPFLAGS"
3956
acl_save_prefix="$prefix"
3957
prefix="$acl_final_prefix"
3958
acl_save_exec_prefix="$exec_prefix"
3959
exec_prefix="$acl_final_exec_prefix"
3961
eval additional_includedir=\"$includedir\"
3962
eval additional_libdir=\"$libdir\"
3964
exec_prefix="$acl_save_exec_prefix"
3965
prefix="$acl_save_prefix"
3968
# Check whether --with-libintl-prefix or --without-libintl-prefix was given.
3969
if test "${with_libintl_prefix+set}" = set; then
3970
withval="$with_libintl_prefix"
3972
if test "X$withval" = "Xno"; then
3975
if test "X$withval" = "X"; then
3977
acl_save_prefix="$prefix"
3978
prefix="$acl_final_prefix"
3979
acl_save_exec_prefix="$exec_prefix"
3980
exec_prefix="$acl_final_exec_prefix"
3982
eval additional_includedir=\"$includedir\"
3983
eval additional_libdir=\"$libdir\"
3985
exec_prefix="$acl_save_exec_prefix"
3986
prefix="$acl_save_prefix"
3989
additional_includedir="$withval/include"
3990
additional_libdir="$withval/lib"
4000
names_already_handled=
4001
names_next_round='intl '
4002
while test -n "$names_next_round"; do
4003
names_this_round="$names_next_round"
4005
for name in $names_this_round; do
4007
for n in $names_already_handled; do
4008
if test "$n" = "$name"; then
4013
if test -z "$already_handled"; then
4014
names_already_handled="$names_already_handled $name"
4015
uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
4016
eval value=\"\$HAVE_LIB$uppername\"
4017
if test -n "$value"; then
4018
if test "$value" = yes; then
4019
eval value=\"\$LIB$uppername\"
4020
test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
4021
eval value=\"\$LTLIB$uppername\"
4022
test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
4031
if test $use_additional = yes; then
4032
if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
4033
found_dir="$additional_libdir"
4034
found_so="$additional_libdir/lib$name.$shlibext"
4035
if test -f "$additional_libdir/lib$name.la"; then
4036
found_la="$additional_libdir/lib$name.la"
4039
if test -f "$additional_libdir/lib$name.$libext"; then
4040
found_dir="$additional_libdir"
4041
found_a="$additional_libdir/lib$name.$libext"
4042
if test -f "$additional_libdir/lib$name.la"; then
4043
found_la="$additional_libdir/lib$name.la"
4048
if test "X$found_dir" = "X"; then
4049
for x in $LDFLAGS $LTLIBINTL; do
4051
acl_save_prefix="$prefix"
4052
prefix="$acl_final_prefix"
4053
acl_save_exec_prefix="$exec_prefix"
4054
exec_prefix="$acl_final_exec_prefix"
4056
exec_prefix="$acl_save_exec_prefix"
4057
prefix="$acl_save_prefix"
4061
dir=`echo "X$x" | sed -e 's/^X-L//'`
4062
if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
4064
found_so="$dir/lib$name.$shlibext"
4065
if test -f "$dir/lib$name.la"; then
4066
found_la="$dir/lib$name.la"
4069
if test -f "$dir/lib$name.$libext"; then
4071
found_a="$dir/lib$name.$libext"
4072
if test -f "$dir/lib$name.la"; then
4073
found_la="$dir/lib$name.la"
4079
if test "X$found_dir" != "X"; then
4084
if test "X$found_dir" != "X"; then
4085
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
4086
if test "X$found_so" != "X"; then
4087
if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
4088
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
4091
for x in $ltrpathdirs; do
4092
if test "X$x" = "X$found_dir"; then
4097
if test -z "$haveit"; then
4098
ltrpathdirs="$ltrpathdirs $found_dir"
4100
if test "$hardcode_direct" = yes; then
4101
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
4103
if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
4104
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
4106
for x in $rpathdirs; do
4107
if test "X$x" = "X$found_dir"; then
4112
if test -z "$haveit"; then
4113
rpathdirs="$rpathdirs $found_dir"
4117
for x in $LDFLAGS $LIBINTL; do
4119
acl_save_prefix="$prefix"
4120
prefix="$acl_final_prefix"
4121
acl_save_exec_prefix="$exec_prefix"
4122
exec_prefix="$acl_final_exec_prefix"
4124
exec_prefix="$acl_save_exec_prefix"
4125
prefix="$acl_save_prefix"
4127
if test "X$x" = "X-L$found_dir"; then
4132
if test -z "$haveit"; then
4133
LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
4135
if test "$hardcode_minus_L" != no; then
4136
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
4138
LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
4144
if test "X$found_a" != "X"; then
4145
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
4147
LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
4150
additional_includedir=
4151
case "$found_dir" in
4153
basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
4154
additional_includedir="$basedir/include"
4157
if test "X$additional_includedir" != "X"; then
4158
if test "X$additional_includedir" != "X/usr/include"; then
4160
if test "X$additional_includedir" = "X/usr/local/include"; then
4161
if test -n "$GCC"; then
4163
linux*) haveit=yes;;
4167
if test -z "$haveit"; then
4168
for x in $CPPFLAGS $INCINTL; do
4170
acl_save_prefix="$prefix"
4171
prefix="$acl_final_prefix"
4172
acl_save_exec_prefix="$exec_prefix"
4173
exec_prefix="$acl_final_exec_prefix"
4175
exec_prefix="$acl_save_exec_prefix"
4176
prefix="$acl_save_prefix"
4178
if test "X$x" = "X-I$additional_includedir"; then
4183
if test -z "$haveit"; then
4184
if test -d "$additional_includedir"; then
4185
INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
4191
if test -n "$found_la"; then
4192
save_libdir="$libdir"
4194
*/* | *\\*) . "$found_la" ;;
4195
*) . "./$found_la" ;;
4197
libdir="$save_libdir"
4198
for dep in $dependency_libs; do
4201
additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
4202
if test "X$additional_libdir" != "X/usr/lib"; then
4204
if test "X$additional_libdir" = "X/usr/local/lib"; then
4205
if test -n "$GCC"; then
4207
linux*) haveit=yes;;
4211
if test -z "$haveit"; then
4213
for x in $LDFLAGS $LIBINTL; do
4215
acl_save_prefix="$prefix"
4216
prefix="$acl_final_prefix"
4217
acl_save_exec_prefix="$exec_prefix"
4218
exec_prefix="$acl_final_exec_prefix"
4220
exec_prefix="$acl_save_exec_prefix"
4221
prefix="$acl_save_prefix"
4223
if test "X$x" = "X-L$additional_libdir"; then
4228
if test -z "$haveit"; then
4229
if test -d "$additional_libdir"; then
4230
LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
4234
for x in $LDFLAGS $LTLIBINTL; do
4236
acl_save_prefix="$prefix"
4237
prefix="$acl_final_prefix"
4238
acl_save_exec_prefix="$exec_prefix"
4239
exec_prefix="$acl_final_exec_prefix"
4241
exec_prefix="$acl_save_exec_prefix"
4242
prefix="$acl_save_prefix"
4244
if test "X$x" = "X-L$additional_libdir"; then
4249
if test -z "$haveit"; then
4250
if test -d "$additional_libdir"; then
4251
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
4258
dir=`echo "X$dep" | sed -e 's/^X-R//'`
4259
if test "$enable_rpath" != no; then
4261
for x in $rpathdirs; do
4262
if test "X$x" = "X$dir"; then
4267
if test -z "$haveit"; then
4268
rpathdirs="$rpathdirs $dir"
4271
for x in $ltrpathdirs; do
4272
if test "X$x" = "X$dir"; then
4277
if test -z "$haveit"; then
4278
ltrpathdirs="$ltrpathdirs $dir"
4283
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
4286
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
4289
LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
4290
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
4296
LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
4297
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
4303
if test "X$rpathdirs" != "X"; then
4304
if test -n "$hardcode_libdir_separator"; then
4306
for found_dir in $rpathdirs; do
4307
alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
4309
acl_save_libdir="$libdir"
4311
eval flag=\"$hardcode_libdir_flag_spec\"
4312
libdir="$acl_save_libdir"
4313
LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
4315
for found_dir in $rpathdirs; do
4316
acl_save_libdir="$libdir"
4318
eval flag=\"$hardcode_libdir_flag_spec\"
4319
libdir="$acl_save_libdir"
4320
LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
4324
if test "X$ltrpathdirs" != "X"; then
4325
for found_dir in $ltrpathdirs; do
4326
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
4330
echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
4331
echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6
4332
if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then
4333
echo $ECHO_N "(cached) $ECHO_C" >&6
4335
gt_save_CPPFLAGS="$CPPFLAGS"
4336
CPPFLAGS="$CPPFLAGS $INCINTL"
4337
gt_save_LIBS="$LIBS"
4338
LIBS="$LIBS $LIBINTL"
4339
cat >conftest.$ac_ext <<_ACEOF
4342
cat confdefs.h >>conftest.$ac_ext
4343
cat >>conftest.$ac_ext <<_ACEOF
4344
/* end confdefs.h. */
4345
#include <libintl.h>
4346
extern int _nl_msg_cat_cntr;
4351
const char *_nl_expand_alias ();
4355
bindtextdomain ("", "");
4356
return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
4361
rm -f conftest.$ac_objext conftest$ac_exeext
4362
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4363
(eval $ac_link) 2>conftest.er1
4365
grep -v '^ *+' conftest.er1 >conftest.err
4367
cat conftest.err >&5
4368
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4369
(exit $ac_status); } &&
4370
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4371
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4374
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4375
(exit $ac_status); }; } &&
4376
{ ac_try='test -s conftest$ac_exeext'
4377
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4380
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4381
(exit $ac_status); }; }; then
4382
gt_cv_func_gnugettext1_libintl=yes
4384
echo "$as_me: failed program was:" >&5
4385
sed 's/^/| /' conftest.$ac_ext >&5
4387
gt_cv_func_gnugettext1_libintl=no
4389
rm -f conftest.err conftest.$ac_objext \
4390
conftest$ac_exeext conftest.$ac_ext
4391
if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then
4392
LIBS="$LIBS $LIBICONV"
4393
cat >conftest.$ac_ext <<_ACEOF
4396
cat confdefs.h >>conftest.$ac_ext
4397
cat >>conftest.$ac_ext <<_ACEOF
4398
/* end confdefs.h. */
4399
#include <libintl.h>
4400
extern int _nl_msg_cat_cntr;
4405
const char *_nl_expand_alias ();
4409
bindtextdomain ("", "");
4410
return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
4415
rm -f conftest.$ac_objext conftest$ac_exeext
4416
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4417
(eval $ac_link) 2>conftest.er1
4419
grep -v '^ *+' conftest.er1 >conftest.err
4421
cat conftest.err >&5
4422
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4423
(exit $ac_status); } &&
4424
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4425
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4428
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4429
(exit $ac_status); }; } &&
4430
{ ac_try='test -s conftest$ac_exeext'
4431
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4434
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4435
(exit $ac_status); }; }; then
4436
LIBINTL="$LIBINTL $LIBICONV"
4437
LTLIBINTL="$LTLIBINTL $LTLIBICONV"
4438
gt_cv_func_gnugettext1_libintl=yes
4441
echo "$as_me: failed program was:" >&5
4442
sed 's/^/| /' conftest.$ac_ext >&5
4445
rm -f conftest.err conftest.$ac_objext \
4446
conftest$ac_exeext conftest.$ac_ext
4448
CPPFLAGS="$gt_save_CPPFLAGS"
4449
LIBS="$gt_save_LIBS"
4451
echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5
4452
echo "${ECHO_T}$gt_cv_func_gnugettext1_libintl" >&6
4455
if test "$gt_cv_func_gnugettext1_libc" = "yes" \
4456
|| { test "$gt_cv_func_gnugettext1_libintl" = "yes" \
4457
&& test "$PACKAGE" != gettext-runtime \
4458
&& test "$PACKAGE" != gettext-tools; }; then
4459
gt_use_preinstalled_gnugettext=yes
4468
if test "$gt_use_preinstalled_gnugettext" = "yes" \
4469
|| test "$nls_cv_use_gnu_gettext" = "yes"; then
4471
cat >>confdefs.h <<\_ACEOF
4472
@%:@define ENABLE_NLS 1
4480
echo "$as_me:$LINENO: checking whether to use NLS" >&5
4481
echo $ECHO_N "checking whether to use NLS... $ECHO_C" >&6
4482
echo "$as_me:$LINENO: result: $USE_NLS" >&5
4483
echo "${ECHO_T}$USE_NLS" >&6
4484
if test "$USE_NLS" = "yes"; then
4485
echo "$as_me:$LINENO: checking where the gettext function comes from" >&5
4486
echo $ECHO_N "checking where the gettext function comes from... $ECHO_C" >&6
4487
if test "$gt_use_preinstalled_gnugettext" = "yes"; then
4488
if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
4489
gt_source="external libintl"
4494
gt_source="included intl directory"
4496
echo "$as_me:$LINENO: result: $gt_source" >&5
4497
echo "${ECHO_T}$gt_source" >&6
4500
if test "$USE_NLS" = "yes"; then
4502
if test "$gt_use_preinstalled_gnugettext" = "yes"; then
4503
if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
4504
echo "$as_me:$LINENO: checking how to link with libintl" >&5
4505
echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6
4506
echo "$as_me:$LINENO: result: $LIBINTL" >&5
4507
echo "${ECHO_T}$LIBINTL" >&6
4509
for element in $INCINTL; do
4511
for x in $CPPFLAGS; do
4513
acl_save_prefix="$prefix"
4514
prefix="$acl_final_prefix"
4515
acl_save_exec_prefix="$exec_prefix"
4516
exec_prefix="$acl_final_exec_prefix"
4518
exec_prefix="$acl_save_exec_prefix"
4519
prefix="$acl_save_prefix"
4521
if test "X$x" = "X$element"; then
4526
if test -z "$haveit"; then
4527
CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
4534
cat >>confdefs.h <<\_ACEOF
4535
@%:@define HAVE_GETTEXT 1
4539
cat >>confdefs.h <<\_ACEOF
4540
@%:@define HAVE_DCGETTEXT 1
4560
# Check whether --with-data-dir or --without-data-dir was given.
4561
if test "${with_data_dir+set}" = set; then
4562
withval="$with_data_dir"
4563
adonthelldatadir="$withval"
4565
adonthelldatadir=none
4569
# Check whether --with-adonthell-binary or --without-adonthell-binary was given.
4570
if test "${with_adonthell_binary+set}" = set; then
4571
withval="$with_adonthell_binary"
4572
adonthell_binary="$withval"
4574
adonthell_binary=none
4577
if test x$adonthelldatadir = xnone; then
4578
# Extract the first word of "adonthell", so it can be a program name with args.
4579
set dummy adonthell; ac_word=$2
4580
echo "$as_me:$LINENO: checking for $ac_word" >&5
4581
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4582
if test "${ac_cv_path_adonthell_binary+set}" = set; then
4583
echo $ECHO_N "(cached) $ECHO_C" >&6
4585
case $adonthell_binary in
4587
ac_cv_path_adonthell_binary="$adonthell_binary" # Let the user override the test with a path.
4590
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4594
test -z "$as_dir" && as_dir=.
4595
for ac_exec_ext in '' $ac_executable_extensions; do
4596
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4597
ac_cv_path_adonthell_binary="$as_dir/$ac_word$ac_exec_ext"
4598
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4607
adonthell_binary=$ac_cv_path_adonthell_binary
4609
if test -n "$adonthell_binary"; then
4610
echo "$as_me:$LINENO: result: $adonthell_binary" >&5
4611
echo "${ECHO_T}$adonthell_binary" >&6
4613
echo "$as_me:$LINENO: result: no" >&5
4614
echo "${ECHO_T}no" >&6
4617
if test x$adonthell_binary = x ; then
4618
echo "*** Waste's Edge requires the Adonthell game engine. Exiting ..."
4622
echo "Using $adonthell_binary as the Adonthell binary"
4625
echo "$as_me:$LINENO: checking for Adonthell's version" >&5
4626
echo $ECHO_N "checking for Adonthell's version... $ECHO_C" >&6
4627
$adonthell_binary -v &> adonthell.ver
4630
adonthell_major_ver=`more adonthell.ver | sed 's/\([0-9]*\)\.[0-9]*\.[0-9]*/\1/p; d'`
4631
adonthell_minor_ver=`more adonthell.ver | sed 's/[0-9]*\.\([0-9]*\)\.[0-9]*/\1/p; d'`
4632
adonthell_micro_ver=`more adonthell.ver | sed 's/[0-9]*\.[0-9]*\.\([0-9]*\)/\1/p; d'`
4637
adonthellver="$adonthell_major_ver.$adonthell_minor_ver.$adonthell_micro_ver"
4639
echo "$as_me:$LINENO: result: $adonthellver" >&5
4640
echo "${ECHO_T}$adonthellver" >&6
4642
if test $adonthell_major_ver -eq 0 -a $adonthell_minor_ver -eq 3 -a $adonthell_micro_ver -gt 2 ;
4647
if test x$haveadonthell != xyes ; then
4648
echo "*** This version of Waste's Edge requires Adonthell v0.3.3 or greater!"
4652
if test x$adonthelldatadir = xnone; then
4653
echo "$as_me:$LINENO: checking for Adonthell data directory" >&5
4654
echo $ECHO_N "checking for Adonthell data directory... $ECHO_C" >&6
4655
adonthelldatadir=`$adonthell_binary -d`
4656
echo "$as_me:$LINENO: result: $adonthelldatadir" >&5
4657
echo "${ECHO_T}$adonthelldatadir" >&6
4659
echo "Destination directory: $adonthelldatadir"
4662
gamedatadir="${adonthelldatadir}/games/wastesedge"
4667
ac_config_files="$ac_config_files wastesedge.spec Makefile audio/Makefile gfx/cutscene/Makefile gfx/mapcharacters/Makefile gfx/mapobjects/exteriors/Makefile gfx/mapobjects/floorings/Makefile gfx/mapobjects/furnitures/Makefile gfx/mapobjects/houses/redwyne-inn/Makefile gfx/mapobjects/houses/Makefile gfx/mapobjects/icons/arrows/Makefile gfx/mapobjects/icons/Makefile gfx/mapobjects/stairs/Makefile gfx/mapobjects/terrains/Makefile gfx/mapobjects/walls/cellar/Makefile gfx/mapobjects/walls/inside/Makefile gfx/mapobjects/walls/stone/Makefile gfx/mapobjects/walls/Makefile gfx/mapobjects/Makefile gfx/portraits/Makefile gfx/window/background/original/Makefile gfx/window/background/silverleaf/Makefile gfx/window/background/Makefile gfx/window/border/original/mini/Makefile gfx/window/border/original/normal/Makefile gfx/window/border/original/Makefile gfx/window/border/silverleaf/mini/Makefile gfx/window/border/silverleaf/normal/Makefile gfx/window/border/silverleaf/Makefile gfx/window/border/Makefile gfx/window/cursor/original/Makefile gfx/window/cursor/silverleaf/Makefile gfx/window/cursor/Makefile gfx/window/font/blue/Makefile gfx/window/font/green/Makefile gfx/window/font/original/Makefile gfx/window/font/red/Makefile gfx/window/font/silverleaf/Makefile gfx/window/font/violet/Makefile gfx/window/font/white/Makefile gfx/window/font/yellow/Makefile gfx/window/font/Makefile gfx/window/scrollbar/original/Makefile gfx/window/scrollbar/silverleaf/Makefile gfx/window/scrollbar/Makefile gfx/window/Makefile gfx/Makefile m4/Makefile maps/Makefile pixmaps/Makefile po/Makefile.in scripts/dialogues/Makefile scripts/game_events/Makefile scripts/modules/Makefile scripts/schedules/Makefile scripts/schedules/audio/Makefile scripts/schedules/mapcharacters/Makefile scripts/schedules/mapviews/Makefile scripts/Makefile scripts/actions/Makefile"
4668
cat >confcache <<\_ACEOF
4669
# This file is a shell script that caches the results of configure
4670
# tests run on this system so they can be shared between configure
4671
# scripts and configure runs, see configure's option --config-cache.
4672
# It is not useful on other systems. If it contains results you don't
4673
# want to keep, you may remove or edit it.
4675
# config.status only pays attention to the cache file if you give it
4676
# the --recheck option to rerun configure.
4678
# `ac_cv_env_foo' variables (set or unset) will be overridden when
4679
# loading this file, other *unset* `ac_cv_foo' will be assigned the
4684
# The following way of writing the cache mishandles newlines in values,
4685
# but we know of no workaround that is simple, portable, and efficient.
4686
# So, don't put newlines in cache variables' values.
4687
# Ultrix sh set writes to stderr and can't be redirected directly,
4688
# and sets the high bit in the cache file unless we assign to the vars.
4691
case `(ac_space=' '; set | grep ac_space) 2>&1` in
4693
# `set' does not quote correctly, so add quotes (double-quote
4694
# substitution turns \\\\ into \\, and sed turns \\ into \).
4697
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4700
# `set' quotes correctly as required by POSIX, so do not add quotes.
4702
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4709
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4711
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4713
if diff $cache_file confcache >/dev/null 2>&1; then :; else
4714
if test -w $cache_file; then
4715
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4716
cat confcache >$cache_file
4718
echo "not updating unwritable cache $cache_file"
4723
test "x$prefix" = xNONE && prefix=$ac_default_prefix
4724
# Let make expand exec_prefix.
4725
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4727
# VPATH may cause trouble with some makes, so we remove $(srcdir),
4728
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4729
# trailing colons and then remove the whole line if VPATH becomes empty
4730
# (actually we leave an empty line to preserve line numbers).
4731
if test "x$srcdir" = x.; then
4732
ac_vpsub='/^[ ]*VPATH[ ]*=/{
4733
s/:*\$(srcdir):*/:/;
4734
s/:*\${srcdir}:*/:/;
4736
s/^\([^=]*=[ ]*\):*/\1/;
4742
# Transform confdefs.h into DEFS.
4743
# Protect against shell expansion while executing Makefile rules.
4744
# Protect against Makefile macro expansion.
4746
# If the first sed substitution is executed (which looks for macros that
4747
# take arguments), then we branch to the quote section. Otherwise,
4748
# look for a macro that doesn't take arguments.
4749
cat >confdef2opt.sed <<\_ACEOF
4752
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
4754
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
4758
s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
4764
# We use echo to avoid assuming a particular line-breaking character.
4765
# The extra dot is to prevent the shell from consuming trailing
4766
# line-breaks from the sub-command output. A line-break within
4767
# single-quotes doesn't work because, if this script is created in a
4768
# platform that uses two characters for line-breaks (e.g., DOS), tr
4770
ac_LF_and_DOT=`echo; echo .`
4771
DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
4772
rm -f confdef2opt.sed
4777
for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
4778
# 1. Remove the extension, and $U if already installed.
4779
ac_i=`echo "$ac_i" |
4780
sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
4782
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
4783
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
4785
LIB@&t@OBJS=$ac_libobjs
4787
LTLIBOBJS=$ac_ltlibobjs
4790
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4791
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4792
Usually this means the macro was only invoked conditionally." >&5
4793
echo "$as_me: error: conditional \"AMDEP\" was never defined.
4794
Usually this means the macro was only invoked conditionally." >&2;}
4795
{ (exit 1); exit 1; }; }
4797
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4798
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
4799
Usually this means the macro was only invoked conditionally." >&5
4800
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
4801
Usually this means the macro was only invoked conditionally." >&2;}
4802
{ (exit 1); exit 1; }; }
4805
: ${CONFIG_STATUS=./config.status}
4806
ac_clean_files_save=$ac_clean_files
4807
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4808
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4809
echo "$as_me: creating $CONFIG_STATUS" >&6;}
4810
cat >$CONFIG_STATUS <<_ACEOF
4812
# Generated by $as_me.
4813
# Run this file to recreate the current configuration.
4814
# Compiler output produced by configure, useful for debugging
4815
# configure, is in config.log if it exists.
4820
SHELL=\${CONFIG_SHELL-$SHELL}
4823
cat >>$CONFIG_STATUS <<\_ACEOF
4824
## --------------------- ##
4825
## M4sh Initialization. ##
4826
## --------------------- ##
4828
# Be Bourne compatible
4829
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4832
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4833
# is contrary to our usage. Disable this feature.
4834
alias -g '${1+"$@"}'='"$@"'
4835
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4838
DUALCASE=1; export DUALCASE # for MKS sh
4840
# Support unset when possible.
4841
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4848
# Work around bugs in pre-3.0 UWIN ksh.
4849
$as_unset ENV MAIL MAILPATH
4856
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4857
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4858
LC_TELEPHONE LC_TIME
4860
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4861
eval $as_var=C; export $as_var
4867
# Required to use basename.
4868
if expr a : '\(a\)' >/dev/null 2>&1; then
4874
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
4875
as_basename=basename
4881
# Name of the executable.
4882
as_me=`$as_basename "$0" ||
4883
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4884
X"$0" : 'X\(//\)$' \| \
4885
X"$0" : 'X\(/\)$' \| \
4886
. : '\(.\)' 2>/dev/null ||
4888
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4889
/^X\/\(\/\/\)$/{ s//\1/; q; }
4890
/^X\/\(\/\).*/{ s//\1/; q; }
4894
# PATH needs CR, and LINENO needs CR and PATH.
4895
# Avoid depending upon Character Ranges.
4896
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4897
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4898
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4899
as_cr_digits='0123456789'
4900
as_cr_alnum=$as_cr_Letters$as_cr_digits
4902
# The user is always right.
4903
if test "${PATH_SEPARATOR+set}" != set; then
4904
echo "#! /bin/sh" >conf$$.sh
4905
echo "exit 0" >>conf$$.sh
4907
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4918
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4919
test "x$as_lineno_1" != "x$as_lineno_2" &&
4920
test "x$as_lineno_3" = "x$as_lineno_2" || {
4921
# Find who we are. Look in the path if we contain no path at all
4924
*[\\/]* ) as_myself=$0 ;;
4925
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4929
test -z "$as_dir" && as_dir=.
4930
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4935
# We did not find ourselves, most probably we were run as `sh COMMAND'
4936
# in which case we are not to be found in the path.
4937
if test "x$as_myself" = x; then
4940
if test ! -f "$as_myself"; then
4941
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
4942
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4943
{ (exit 1); exit 1; }; }
4945
case $CONFIG_SHELL in
4947
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4948
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
4951
test -z "$as_dir" && as_dir=.
4952
for as_base in sh bash ksh sh5; do
4955
if ("$as_dir/$as_base" -c '
4958
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4959
test "x$as_lineno_1" != "x$as_lineno_2" &&
4960
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
4961
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
4962
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
4963
CONFIG_SHELL=$as_dir/$as_base
4965
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4973
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4974
# uniformly replaced by the line number. The first 'sed' inserts a
4975
# line-number line before each line; the second 'sed' does the real
4976
# work. The second script uses 'N' to pair each line-number line
4977
# with the numbered line, and appends trailing '-' during
4978
# substitution so that $LINENO is not a special case at line end.
4979
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4980
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
4981
sed '=' <$as_myself |
4986
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4989
s,^['$as_cr_digits']*\n,,
4991
chmod +x $as_me.lineno ||
4992
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4993
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
4994
{ (exit 1); exit 1; }; }
4996
# Don't try to exec as it changes $[0], causing all sort of problems
4997
# (the dirname of $[0] is not the place where we might find the
4998
# original and so on. Autoconf is especially sensible to this).
5000
# Exit status is that of the last command.
5005
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5006
*c*,-n*) ECHO_N= ECHO_C='
5008
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5009
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
5012
if expr a : '\(a\)' >/dev/null 2>&1; then
5018
rm -f conf$$ conf$$.exe conf$$.file
5020
if ln -s conf$$.file conf$$ 2>/dev/null; then
5021
# We could just check for DJGPP; but this test a) works b) is more generic
5022
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5023
if test -f conf$$.exe; then
5024
# Don't use ln at all; we don't have any links
5029
elif ln conf$$.file conf$$ 2>/dev/null; then
5034
rm -f conf$$ conf$$.exe conf$$.file
5036
if mkdir -p . 2>/dev/null; then
5039
test -d ./-p && rmdir ./-p
5043
as_executable_p="test -f"
5045
# Sed expression to map a string onto a valid CPP name.
5046
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5048
# Sed expression to map a string onto a valid variable name.
5049
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5053
# We need space, tab and new line, in precisely that order.
5063
# Open the log real soon, to keep \$[0] and so on meaningful, and to
5064
# report actual input values of CONFIG_FILES etc. instead of their
5065
# values after options handling. Logging --version etc. is OK.
5069
sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
5070
@%:@@%:@ Running $as_me. @%:@@%:@
5075
This file was extended by watesedge $as_me 0.3.4, which was
5076
generated by GNU Autoconf 2.59. Invocation command line was
5078
CONFIG_FILES = $CONFIG_FILES
5079
CONFIG_HEADERS = $CONFIG_HEADERS
5080
CONFIG_LINKS = $CONFIG_LINKS
5081
CONFIG_COMMANDS = $CONFIG_COMMANDS
5085
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5089
# Files that config.status was made for.
5090
if test -n "$ac_config_files"; then
5091
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5094
if test -n "$ac_config_headers"; then
5095
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5098
if test -n "$ac_config_links"; then
5099
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5102
if test -n "$ac_config_commands"; then
5103
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5106
cat >>$CONFIG_STATUS <<\_ACEOF
5109
\`$as_me' instantiates files from templates according to the
5110
current configuration.
5112
Usage: $0 [OPTIONS] [FILE]...
5114
-h, --help print this help, then exit
5115
-V, --version print version number, then exit
5116
-q, --quiet do not print progress messages
5117
-d, --debug don't remove temporary files
5118
--recheck update $as_me by reconfiguring in the same conditions
5119
--file=FILE[:TEMPLATE]
5120
instantiate the configuration file FILE
5122
Configuration files:
5125
Configuration commands:
5128
Report bugs to <bug-autoconf@gnu.org>."
5131
cat >>$CONFIG_STATUS <<_ACEOF
5133
watesedge config.status 0.3.4
5134
configured by $0, generated by GNU Autoconf 2.59,
5135
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5137
Copyright (C) 2003 Free Software Foundation, Inc.
5138
This config.status script is free software; the Free Software Foundation
5139
gives unlimited permission to copy, distribute and modify it."
5144
cat >>$CONFIG_STATUS <<\_ACEOF
5145
# If no file are specified by the user, then we need to provide default
5146
# value. By we need to know if files were specified by the user.
5152
ac_option=`expr "x$1" : 'x\([^=]*\)='`
5153
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5161
*) # This is not an option, so the user has probably given explicit
5164
ac_need_defaults=false;;
5168
# Handling of the options.
5170
cat >>$CONFIG_STATUS <<\_ACEOF
5171
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5173
--version | --vers* | -V )
5174
echo "$ac_cs_version"; exit 0 ;;
5176
# Conflict between --help and --header
5177
{ { echo "$as_me:$LINENO: error: ambiguous option: $1
5178
Try \`$0 --help' for more information." >&5
5179
echo "$as_me: error: ambiguous option: $1
5180
Try \`$0 --help' for more information." >&2;}
5181
{ (exit 1); exit 1; }; };;
5182
--help | --hel | -h )
5183
echo "$ac_cs_usage"; exit 0 ;;
5184
--debug | --d* | -d )
5186
--file | --fil | --fi | --f )
5188
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5189
ac_need_defaults=false;;
5190
--header | --heade | --head | --hea )
5192
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5193
ac_need_defaults=false;;
5194
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
5195
| -silent | --silent | --silen | --sile | --sil | --si | --s)
5199
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5200
Try \`$0 --help' for more information." >&5
5201
echo "$as_me: error: unrecognized option: $1
5202
Try \`$0 --help' for more information." >&2;}
5203
{ (exit 1); exit 1; }; } ;;
5205
*) ac_config_targets="$ac_config_targets $1" ;;
5211
ac_configure_extra_args=
5213
if $ac_cs_silent; then
5215
ac_configure_extra_args="$ac_configure_extra_args --silent"
5219
cat >>$CONFIG_STATUS <<_ACEOF
5220
if \$ac_cs_recheck; then
5221
echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5222
exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5227
cat >>$CONFIG_STATUS <<_ACEOF
5229
# INIT-COMMANDS section.
5232
# Capture the value of obsolete ALL_LINGUAS because we need it to compute
5233
# POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
5235
eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
5236
# Capture the value of LINGUAS because we need it to compute CATALOGS.
5237
LINGUAS="${LINGUAS-%UNSET%}"
5239
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5245
cat >>$CONFIG_STATUS <<\_ACEOF
5246
for ac_config_target in $ac_config_targets
5248
case "$ac_config_target" in
5249
# Handling of arguments.
5250
"wastesedge.spec" ) CONFIG_FILES="$CONFIG_FILES wastesedge.spec" ;;
5251
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5252
"audio/Makefile" ) CONFIG_FILES="$CONFIG_FILES audio/Makefile" ;;
5253
"gfx/cutscene/Makefile" ) CONFIG_FILES="$CONFIG_FILES gfx/cutscene/Makefile" ;;
5254
"gfx/mapcharacters/Makefile" ) CONFIG_FILES="$CONFIG_FILES gfx/mapcharacters/Makefile" ;;
5255
"gfx/mapobjects/exteriors/Makefile" ) CONFIG_FILES="$CONFIG_FILES gfx/mapobjects/exteriors/Makefile" ;;
5256
"gfx/mapobjects/floorings/Makefile" ) CONFIG_FILES="$CONFIG_FILES gfx/mapobjects/floorings/Makefile" ;;
5257
"gfx/mapobjects/furnitures/Makefile" ) CONFIG_FILES="$CONFIG_FILES gfx/mapobjects/furnitures/Makefile" ;;
5258
"gfx/mapobjects/houses/redwyne-inn/Makefile" ) CONFIG_FILES="$CONFIG_FILES gfx/mapobjects/houses/redwyne-inn/Makefile" ;;
5259
"gfx/mapobjects/houses/Makefile" ) CONFIG_FILES="$CONFIG_FILES gfx/mapobjects/houses/Makefile" ;;
5260
"gfx/mapobjects/icons/arrows/Makefile" ) CONFIG_FILES="$CONFIG_FILES gfx/mapobjects/icons/arrows/Makefile" ;;
5261
"gfx/mapobjects/icons/Makefile" ) CONFIG_FILES="$CONFIG_FILES gfx/mapobjects/icons/Makefile" ;;
5262
"gfx/mapobjects/stairs/Makefile" ) CONFIG_FILES="$CONFIG_FILES gfx/mapobjects/stairs/Makefile" ;;
5263
"gfx/mapobjects/terrains/Makefile" ) CONFIG_FILES="$CONFIG_FILES gfx/mapobjects/terrains/Makefile" ;;
5264
"gfx/mapobjects/walls/cellar/Makefile" ) CONFIG_FILES="$CONFIG_FILES gfx/mapobjects/walls/cellar/Makefile" ;;
5265
"gfx/mapobjects/walls/inside/Makefile" ) CONFIG_FILES="$CONFIG_FILES gfx/mapobjects/walls/inside/Makefile" ;;
5266
"gfx/mapobjects/walls/stone/Makefile" ) CONFIG_FILES="$CONFIG_FILES gfx/mapobjects/walls/stone/Makefile" ;;
5267
"gfx/mapobjects/walls/Makefile" ) CONFIG_FILES="$CONFIG_FILES gfx/mapobjects/walls/Makefile" ;;
5268
"gfx/mapobjects/Makefile" ) CONFIG_FILES="$CONFIG_FILES gfx/mapobjects/Makefile" ;;
5269
"gfx/portraits/Makefile" ) CONFIG_FILES="$CONFIG_FILES gfx/portraits/Makefile" ;;
5270
"gfx/window/background/original/Makefile" ) CONFIG_FILES="$CONFIG_FILES gfx/window/background/original/Makefile" ;;
5271
"gfx/window/background/silverleaf/Makefile" ) CONFIG_FILES="$CONFIG_FILES gfx/window/background/silverleaf/Makefile" ;;
5272
"gfx/window/background/Makefile" ) CONFIG_FILES="$CONFIG_FILES gfx/window/background/Makefile" ;;
5273
"gfx/window/border/original/mini/Makefile" ) CONFIG_FILES="$CONFIG_FILES gfx/window/border/original/mini/Makefile" ;;
5274
"gfx/window/border/original/normal/Makefile" ) CONFIG_FILES="$CONFIG_FILES gfx/window/border/original/normal/Makefile" ;;
5275
"gfx/window/border/original/Makefile" ) CONFIG_FILES="$CONFIG_FILES gfx/window/border/original/Makefile" ;;
5276
"gfx/window/border/silverleaf/mini/Makefile" ) CONFIG_FILES="$CONFIG_FILES gfx/window/border/silverleaf/mini/Makefile" ;;
5277
"gfx/window/border/silverleaf/normal/Makefile" ) CONFIG_FILES="$CONFIG_FILES gfx/window/border/silverleaf/normal/Makefile" ;;
5278
"gfx/window/border/silverleaf/Makefile" ) CONFIG_FILES="$CONFIG_FILES gfx/window/border/silverleaf/Makefile" ;;
5279
"gfx/window/border/Makefile" ) CONFIG_FILES="$CONFIG_FILES gfx/window/border/Makefile" ;;
5280
"gfx/window/cursor/original/Makefile" ) CONFIG_FILES="$CONFIG_FILES gfx/window/cursor/original/Makefile" ;;
5281
"gfx/window/cursor/silverleaf/Makefile" ) CONFIG_FILES="$CONFIG_FILES gfx/window/cursor/silverleaf/Makefile" ;;
5282
"gfx/window/cursor/Makefile" ) CONFIG_FILES="$CONFIG_FILES gfx/window/cursor/Makefile" ;;
5283
"gfx/window/font/blue/Makefile" ) CONFIG_FILES="$CONFIG_FILES gfx/window/font/blue/Makefile" ;;
5284
"gfx/window/font/green/Makefile" ) CONFIG_FILES="$CONFIG_FILES gfx/window/font/green/Makefile" ;;
5285
"gfx/window/font/original/Makefile" ) CONFIG_FILES="$CONFIG_FILES gfx/window/font/original/Makefile" ;;
5286
"gfx/window/font/red/Makefile" ) CONFIG_FILES="$CONFIG_FILES gfx/window/font/red/Makefile" ;;
5287
"gfx/window/font/silverleaf/Makefile" ) CONFIG_FILES="$CONFIG_FILES gfx/window/font/silverleaf/Makefile" ;;
5288
"gfx/window/font/violet/Makefile" ) CONFIG_FILES="$CONFIG_FILES gfx/window/font/violet/Makefile" ;;
5289
"gfx/window/font/white/Makefile" ) CONFIG_FILES="$CONFIG_FILES gfx/window/font/white/Makefile" ;;
5290
"gfx/window/font/yellow/Makefile" ) CONFIG_FILES="$CONFIG_FILES gfx/window/font/yellow/Makefile" ;;
5291
"gfx/window/font/Makefile" ) CONFIG_FILES="$CONFIG_FILES gfx/window/font/Makefile" ;;
5292
"gfx/window/scrollbar/original/Makefile" ) CONFIG_FILES="$CONFIG_FILES gfx/window/scrollbar/original/Makefile" ;;
5293
"gfx/window/scrollbar/silverleaf/Makefile" ) CONFIG_FILES="$CONFIG_FILES gfx/window/scrollbar/silverleaf/Makefile" ;;
5294
"gfx/window/scrollbar/Makefile" ) CONFIG_FILES="$CONFIG_FILES gfx/window/scrollbar/Makefile" ;;
5295
"gfx/window/Makefile" ) CONFIG_FILES="$CONFIG_FILES gfx/window/Makefile" ;;
5296
"gfx/Makefile" ) CONFIG_FILES="$CONFIG_FILES gfx/Makefile" ;;
5297
"m4/Makefile" ) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
5298
"maps/Makefile" ) CONFIG_FILES="$CONFIG_FILES maps/Makefile" ;;
5299
"pixmaps/Makefile" ) CONFIG_FILES="$CONFIG_FILES pixmaps/Makefile" ;;
5300
"po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
5301
"scripts/dialogues/Makefile" ) CONFIG_FILES="$CONFIG_FILES scripts/dialogues/Makefile" ;;
5302
"scripts/game_events/Makefile" ) CONFIG_FILES="$CONFIG_FILES scripts/game_events/Makefile" ;;
5303
"scripts/modules/Makefile" ) CONFIG_FILES="$CONFIG_FILES scripts/modules/Makefile" ;;
5304
"scripts/schedules/Makefile" ) CONFIG_FILES="$CONFIG_FILES scripts/schedules/Makefile" ;;
5305
"scripts/schedules/audio/Makefile" ) CONFIG_FILES="$CONFIG_FILES scripts/schedules/audio/Makefile" ;;
5306
"scripts/schedules/mapcharacters/Makefile" ) CONFIG_FILES="$CONFIG_FILES scripts/schedules/mapcharacters/Makefile" ;;
5307
"scripts/schedules/mapviews/Makefile" ) CONFIG_FILES="$CONFIG_FILES scripts/schedules/mapviews/Makefile" ;;
5308
"scripts/Makefile" ) CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
5309
"scripts/actions/Makefile" ) CONFIG_FILES="$CONFIG_FILES scripts/actions/Makefile" ;;
5310
"default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
5311
"depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5312
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5313
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5314
{ (exit 1); exit 1; }; };;
5318
# If the user did not use the arguments to specify the items to instantiate,
5319
# then the envvar interface is used. Set only those that are not.
5320
# We use the long form for the default assignment because of an extremely
5321
# bizarre bug on SunOS 4.1.3.
5322
if $ac_need_defaults; then
5323
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5324
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5327
# Have a temporary directory for convenience. Make it in the build tree
5328
# simply because there is no reason to put it here, and in addition,
5329
# creating and moving files from /tmp can sometimes cause problems.
5330
# Create a temporary directory, and hook for its removal unless debugging.
5333
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5334
trap '{ (exit 1); exit 1; }' 1 2 13 15
5337
# Create a (secure) tmp directory for tmp files.
5340
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5341
test -n "$tmp" && test -d "$tmp"
5344
tmp=./confstat$$-$RANDOM
5345
(umask 077 && mkdir $tmp)
5348
echo "$me: cannot create a temporary directory in ." >&2
5349
{ (exit 1); exit 1; }
5354
cat >>$CONFIG_STATUS <<_ACEOF
5357
# CONFIG_FILES section.
5360
# No need to generate the scripts if there are no CONFIG_FILES.
5361
# This happens for instance when ./config.status config.h
5362
if test -n "\$CONFIG_FILES"; then
5363
# Protect against being on the right side of a sed subst in config.status.
5364
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5365
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5366
s,@SHELL@,$SHELL,;t t
5367
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5368
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5369
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5370
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5371
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5372
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5373
s,@exec_prefix@,$exec_prefix,;t t
5374
s,@prefix@,$prefix,;t t
5375
s,@program_transform_name@,$program_transform_name,;t t
5376
s,@bindir@,$bindir,;t t
5377
s,@sbindir@,$sbindir,;t t
5378
s,@libexecdir@,$libexecdir,;t t
5379
s,@datadir@,$datadir,;t t
5380
s,@sysconfdir@,$sysconfdir,;t t
5381
s,@sharedstatedir@,$sharedstatedir,;t t
5382
s,@localstatedir@,$localstatedir,;t t
5383
s,@libdir@,$libdir,;t t
5384
s,@includedir@,$includedir,;t t
5385
s,@oldincludedir@,$oldincludedir,;t t
5386
s,@infodir@,$infodir,;t t
5387
s,@mandir@,$mandir,;t t
5388
s,@build_alias@,$build_alias,;t t
5389
s,@host_alias@,$host_alias,;t t
5390
s,@target_alias@,$target_alias,;t t
5392
s,@ECHO_C@,$ECHO_C,;t t
5393
s,@ECHO_N@,$ECHO_N,;t t
5394
s,@ECHO_T@,$ECHO_T,;t t
5396
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5397
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5398
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5399
s,@CYGPATH_W@,$CYGPATH_W,;t t
5400
s,@PACKAGE@,$PACKAGE,;t t
5401
s,@VERSION@,$VERSION,;t t
5402
s,@ACLOCAL@,$ACLOCAL,;t t
5403
s,@AUTOCONF@,$AUTOCONF,;t t
5404
s,@AUTOMAKE@,$AUTOMAKE,;t t
5405
s,@AUTOHEADER@,$AUTOHEADER,;t t
5406
s,@MAKEINFO@,$MAKEINFO,;t t
5407
s,@AMTAR@,$AMTAR,;t t
5408
s,@install_sh@,$install_sh,;t t
5409
s,@STRIP@,$STRIP,;t t
5410
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
5411
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
5413
s,@SET_MAKE@,$SET_MAKE,;t t
5414
s,@am__leading_dot@,$am__leading_dot,;t t
5415
s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
5416
s,@USE_NLS@,$USE_NLS,;t t
5417
s,@MSGFMT@,$MSGFMT,;t t
5418
s,@GMSGFMT@,$GMSGFMT,;t t
5419
s,@XGETTEXT@,$XGETTEXT,;t t
5420
s,@MSGMERGE@,$MSGMERGE,;t t
5422
s,@CFLAGS@,$CFLAGS,;t t
5423
s,@LDFLAGS@,$LDFLAGS,;t t
5424
s,@CPPFLAGS@,$CPPFLAGS,;t t
5425
s,@ac_ct_CC@,$ac_ct_CC,;t t
5426
s,@EXEEXT@,$EXEEXT,;t t
5427
s,@OBJEXT@,$OBJEXT,;t t
5428
s,@DEPDIR@,$DEPDIR,;t t
5429
s,@am__include@,$am__include,;t t
5430
s,@am__quote@,$am__quote,;t t
5431
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
5432
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
5433
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
5434
s,@CCDEPMODE@,$CCDEPMODE,;t t
5435
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
5436
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
5437
s,@build@,$build,;t t
5438
s,@build_cpu@,$build_cpu,;t t
5439
s,@build_vendor@,$build_vendor,;t t
5440
s,@build_os@,$build_os,;t t
5442
s,@host_cpu@,$host_cpu,;t t
5443
s,@host_vendor@,$host_vendor,;t t
5444
s,@host_os@,$host_os,;t t
5445
s,@LIBICONV@,$LIBICONV,;t t
5446
s,@LTLIBICONV@,$LTLIBICONV,;t t
5447
s,@INTLLIBS@,$INTLLIBS,;t t
5448
s,@LIBINTL@,$LIBINTL,;t t
5449
s,@LTLIBINTL@,$LTLIBINTL,;t t
5450
s,@POSUB@,$POSUB,;t t
5451
s,@adonthell_binary@,$adonthell_binary,;t t
5452
s,@gamedatadir@,$gamedatadir,;t t
5453
s,@LIB@&t@OBJS@,$LIB@&t@OBJS,;t t
5454
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5459
cat >>$CONFIG_STATUS <<\_ACEOF
5460
# Split the substitutions into bite-sized pieces for seds with
5461
# small command number limits, like on Digital OSF/1 and HP-UX.
5463
ac_sed_frag=1 # Number of current file.
5464
ac_beg=1 # First line for current file.
5465
ac_end=$ac_max_sed_lines # Line after last line for current file.
5468
while $ac_more_lines; do
5469
if test $ac_beg -gt 1; then
5470
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5472
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5474
if test ! -s $tmp/subs.frag; then
5477
# The purpose of the label and of the branching condition is to
5478
# speed up the sed processing (if there are no `@' at all, there
5479
# is no need to browse any of the substitutions).
5480
# These are the two extra sed commands mentioned above.
5482
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5483
if test -z "$ac_sed_cmds"; then
5484
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5486
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5488
ac_sed_frag=`expr $ac_sed_frag + 1`
5490
ac_end=`expr $ac_end + $ac_max_sed_lines`
5493
if test -z "$ac_sed_cmds"; then
5496
fi # test -n "$CONFIG_FILES"
5499
cat >>$CONFIG_STATUS <<\_ACEOF
5500
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5501
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5503
- | *:- | *:-:* ) # input from stdin
5505
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5506
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5507
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5508
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5509
* ) ac_file_in=$ac_file.in ;;
5512
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5513
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5514
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5515
X"$ac_file" : 'X\(//\)[^/]' \| \
5516
X"$ac_file" : 'X\(//\)$' \| \
5517
X"$ac_file" : 'X\(/\)' \| \
5518
. : '\(.\)' 2>/dev/null ||
5520
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5521
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
5522
/^X\(\/\/\)$/{ s//\1/; q; }
5523
/^X\(\/\).*/{ s//\1/; q; }
5525
{ if $as_mkdir_p; then
5530
while test ! -d "$as_dir"; do
5531
as_dirs="$as_dir $as_dirs"
5532
as_dir=`(dirname "$as_dir") 2>/dev/null ||
5533
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5534
X"$as_dir" : 'X\(//\)[^/]' \| \
5535
X"$as_dir" : 'X\(//\)$' \| \
5536
X"$as_dir" : 'X\(/\)' \| \
5537
. : '\(.\)' 2>/dev/null ||
5539
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5540
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
5541
/^X\(\/\/\)$/{ s//\1/; q; }
5542
/^X\(\/\).*/{ s//\1/; q; }
5545
test ! -n "$as_dirs" || mkdir $as_dirs
5546
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5547
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5548
{ (exit 1); exit 1; }; }; }
5552
if test "$ac_dir" != .; then
5553
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5554
# A "../" for each directory in $ac_dir_suffix.
5555
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5557
ac_dir_suffix= ac_top_builddir=
5561
.) # No --srcdir option. We are building in place.
5563
if test -z "$ac_top_builddir"; then
5566
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5568
[\\/]* | ?:[\\/]* ) # Absolute path.
5569
ac_srcdir=$srcdir$ac_dir_suffix;
5570
ac_top_srcdir=$srcdir ;;
5572
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5573
ac_top_srcdir=$ac_top_builddir$srcdir ;;
5576
# Do not use `cd foo && pwd` to compute absolute paths, because
5577
# the directories may not exist.
5579
.) ac_abs_builddir="$ac_dir";;
5582
.) ac_abs_builddir=`pwd`;;
5583
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5584
*) ac_abs_builddir=`pwd`/"$ac_dir";;
5587
case $ac_abs_builddir in
5588
.) ac_abs_top_builddir=${ac_top_builddir}.;;
5590
case ${ac_top_builddir}. in
5591
.) ac_abs_top_builddir=$ac_abs_builddir;;
5592
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5593
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5596
case $ac_abs_builddir in
5597
.) ac_abs_srcdir=$ac_srcdir;;
5600
.) ac_abs_srcdir=$ac_abs_builddir;;
5601
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5602
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5605
case $ac_abs_builddir in
5606
.) ac_abs_top_srcdir=$ac_top_srcdir;;
5608
case $ac_top_srcdir in
5609
.) ac_abs_top_srcdir=$ac_abs_builddir;;
5610
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5611
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5617
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5618
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
5621
# Let's still pretend it is `configure' which instantiates (i.e., don't
5622
# use $as_me), people would be surprised to read:
5623
# /* config.h. Generated by config.status. */
5624
if test x"$ac_file" = x-; then
5627
configure_input="$ac_file. "
5629
configure_input=$configure_input"Generated from `echo $ac_file_in |
5630
sed 's,.*/,,'` by configure."
5632
# First look for the input files in the build tree, otherwise in the
5634
ac_file_inputs=`IFS=:
5635
for f in $ac_file_in; do
5637
-) echo $tmp/stdin ;;
5639
# Absolute (can't be DOS-style, as IFS=:)
5640
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5641
echo "$as_me: error: cannot find input file: $f" >&2;}
5642
{ (exit 1); exit 1; }; }
5645
if test -f "$f"; then
5648
elif test -f "$srcdir/$f"; then
5653
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5654
echo "$as_me: error: cannot find input file: $f" >&2;}
5655
{ (exit 1); exit 1; }; }
5658
done` || { (exit 1); exit 1; }
5660
if test x"$ac_file" != x-; then
5661
{ echo "$as_me:$LINENO: creating $ac_file" >&5
5662
echo "$as_me: creating $ac_file" >&6;}
5666
cat >>$CONFIG_STATUS <<_ACEOF
5670
cat >>$CONFIG_STATUS <<\_ACEOF
5672
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5673
s,@configure_input@,$configure_input,;t t
5674
s,@srcdir@,$ac_srcdir,;t t
5675
s,@abs_srcdir@,$ac_abs_srcdir,;t t
5676
s,@top_srcdir@,$ac_top_srcdir,;t t
5677
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
5678
s,@builddir@,$ac_builddir,;t t
5679
s,@abs_builddir@,$ac_abs_builddir,;t t
5680
s,@top_builddir@,$ac_top_builddir,;t t
5681
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
5682
s,@INSTALL@,$ac_INSTALL,;t t
5683
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5685
if test x"$ac_file" != x-; then
5686
mv $tmp/out $ac_file
5694
cat >>$CONFIG_STATUS <<\_ACEOF
5697
# CONFIG_COMMANDS section.
5699
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
5700
ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
5701
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
5702
ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
5703
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5704
X"$ac_dest" : 'X\(//\)[^/]' \| \
5705
X"$ac_dest" : 'X\(//\)$' \| \
5706
X"$ac_dest" : 'X\(/\)' \| \
5707
. : '\(.\)' 2>/dev/null ||
5709
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5710
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
5711
/^X\(\/\/\)$/{ s//\1/; q; }
5712
/^X\(\/\).*/{ s//\1/; q; }
5714
{ if $as_mkdir_p; then
5719
while test ! -d "$as_dir"; do
5720
as_dirs="$as_dir $as_dirs"
5721
as_dir=`(dirname "$as_dir") 2>/dev/null ||
5722
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5723
X"$as_dir" : 'X\(//\)[^/]' \| \
5724
X"$as_dir" : 'X\(//\)$' \| \
5725
X"$as_dir" : 'X\(/\)' \| \
5726
. : '\(.\)' 2>/dev/null ||
5728
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5729
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
5730
/^X\(\/\/\)$/{ s//\1/; q; }
5731
/^X\(\/\).*/{ s//\1/; q; }
5734
test ! -n "$as_dirs" || mkdir $as_dirs
5735
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5736
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5737
{ (exit 1); exit 1; }; }; }
5741
if test "$ac_dir" != .; then
5742
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5743
# A "../" for each directory in $ac_dir_suffix.
5744
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5746
ac_dir_suffix= ac_top_builddir=
5750
.) # No --srcdir option. We are building in place.
5752
if test -z "$ac_top_builddir"; then
5755
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5757
[\\/]* | ?:[\\/]* ) # Absolute path.
5758
ac_srcdir=$srcdir$ac_dir_suffix;
5759
ac_top_srcdir=$srcdir ;;
5761
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5762
ac_top_srcdir=$ac_top_builddir$srcdir ;;
5765
# Do not use `cd foo && pwd` to compute absolute paths, because
5766
# the directories may not exist.
5768
.) ac_abs_builddir="$ac_dir";;
5771
.) ac_abs_builddir=`pwd`;;
5772
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5773
*) ac_abs_builddir=`pwd`/"$ac_dir";;
5776
case $ac_abs_builddir in
5777
.) ac_abs_top_builddir=${ac_top_builddir}.;;
5779
case ${ac_top_builddir}. in
5780
.) ac_abs_top_builddir=$ac_abs_builddir;;
5781
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5782
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5785
case $ac_abs_builddir in
5786
.) ac_abs_srcdir=$ac_srcdir;;
5789
.) ac_abs_srcdir=$ac_abs_builddir;;
5790
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5791
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5794
case $ac_abs_builddir in
5795
.) ac_abs_top_srcdir=$ac_top_srcdir;;
5797
case $ac_top_srcdir in
5798
.) ac_abs_top_srcdir=$ac_abs_builddir;;
5799
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5800
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5805
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5
5806
echo "$as_me: executing $ac_dest commands" >&6;}
5809
for ac_file in $CONFIG_FILES; do
5810
# Support "outfile[:infile[:infile...]]"
5812
*:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
5814
# PO directories have a Makefile.in generated from Makefile.in.in.
5815
case "$ac_file" in */Makefile.in)
5816
# Adjust a relative srcdir.
5817
ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
5818
ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
5819
ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
5820
# In autoconf-2.13 it is called $ac_given_srcdir.
5821
# In autoconf-2.50 it is called $srcdir.
5822
test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
5823
case "$ac_given_srcdir" in
5824
.) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
5825
/*) top_srcdir="$ac_given_srcdir" ;;
5826
*) top_srcdir="$ac_dots$ac_given_srcdir" ;;
5828
if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
5829
rm -f "$ac_dir/POTFILES"
5830
test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
5831
cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
5832
POMAKEFILEDEPS="POTFILES.in"
5833
# ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
5834
# on $ac_dir but don't depend on user-specified configuration
5836
if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
5837
# The LINGUAS file contains the set of available languages.
5838
if test -n "$OBSOLETE_ALL_LINGUAS"; then
5839
test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
5841
ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
5842
# Hide the ALL_LINGUAS assigment from automake.
5843
eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
5844
POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
5846
# The set of available languages was given in configure.in.
5847
eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
5850
# as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
5851
# Compute UPDATEPOFILES
5852
# as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
5853
# Compute DUMMYPOFILES
5854
# as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
5856
# as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
5857
case "$ac_given_srcdir" in
5859
*) srcdirpre='$(srcdir)/' ;;
5865
for lang in $ALL_LINGUAS; do
5866
POFILES="$POFILES $srcdirpre$lang.po"
5867
UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
5868
DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
5869
GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
5871
# CATALOGS depends on both $ac_dir and the user's LINGUAS
5872
# environment variable.
5874
if test -n "$ALL_LINGUAS"; then
5875
for presentlang in $ALL_LINGUAS; do
5877
if test "%UNSET%" != "$LINGUAS"; then
5878
desiredlanguages="$LINGUAS"
5880
desiredlanguages="$ALL_LINGUAS"
5882
for desiredlang in $desiredlanguages; do
5883
# Use the presentlang catalog if desiredlang is
5884
# a. equal to presentlang, or
5885
# b. a variant of presentlang (because in this case,
5886
# presentlang can be used as a fallback for messages
5887
# which are not translated in the desiredlang catalog).
5888
case "$desiredlang" in
5889
"$presentlang"*) useit=yes;;
5892
if test $useit = yes; then
5893
INST_LINGUAS="$INST_LINGUAS $presentlang"
5898
if test -n "$INST_LINGUAS"; then
5899
for lang in $INST_LINGUAS; do
5900
CATALOGS="$CATALOGS $lang.gmo"
5903
test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
5904
sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
5905
for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
5906
if test -f "$f"; then
5908
*.orig | *.bak | *~) ;;
5909
*) cat "$f" >> "$ac_dir/Makefile" ;;
5917
depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
5918
# Strip MF so we end up with the name of the file.
5919
mf=`echo "$mf" | sed -e 's/:.*$//'`
5920
# Check whether this is an Automake generated Makefile or not.
5921
# We used to match only the files named `Makefile.in', but
5922
# some people rename them; so instead we look at the file content.
5923
# Grep'ing the first line is not enough: some people post-process
5924
# each Makefile.in and add a new line on top of each file to say so.
5925
# So let's grep whole file.
5926
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
5927
dirpart=`(dirname "$mf") 2>/dev/null ||
5928
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5929
X"$mf" : 'X\(//\)[^/]' \| \
5930
X"$mf" : 'X\(//\)$' \| \
5931
X"$mf" : 'X\(/\)' \| \
5932
. : '\(.\)' 2>/dev/null ||
5934
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5935
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
5936
/^X\(\/\/\)$/{ s//\1/; q; }
5937
/^X\(\/\).*/{ s//\1/; q; }
5942
grep '^DEP_FILES *= *[^ @%:@]' < "$mf" > /dev/null || continue
5943
# Extract the definition of DEP_FILES from the Makefile without
5945
DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
5946
test -z "$DEPDIR" && continue
5947
# When using ansi2knr, U may be empty or an underscore; expand it
5948
U=`sed -n -e '/^U = / s///p' < "$mf"`
5949
test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
5950
# We invoke sed twice because it is the simplest approach to
5951
# changing $(DEPDIR) to its actual value in the expansion.
5952
for file in `sed -n -e '
5953
/^DEP_FILES = .*\\\\$/ {
5962
/^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
5963
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5964
# Make sure the directory exists.
5965
test -f "$dirpart/$file" && continue
5966
fdir=`(dirname "$file") 2>/dev/null ||
5967
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5968
X"$file" : 'X\(//\)[^/]' \| \
5969
X"$file" : 'X\(//\)$' \| \
5970
X"$file" : 'X\(/\)' \| \
5971
. : '\(.\)' 2>/dev/null ||
5973
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5974
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
5975
/^X\(\/\/\)$/{ s//\1/; q; }
5976
/^X\(\/\).*/{ s//\1/; q; }
5978
{ if $as_mkdir_p; then
5979
mkdir -p $dirpart/$fdir
5981
as_dir=$dirpart/$fdir
5983
while test ! -d "$as_dir"; do
5984
as_dirs="$as_dir $as_dirs"
5985
as_dir=`(dirname "$as_dir") 2>/dev/null ||
5986
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5987
X"$as_dir" : 'X\(//\)[^/]' \| \
5988
X"$as_dir" : 'X\(//\)$' \| \
5989
X"$as_dir" : 'X\(/\)' \| \
5990
. : '\(.\)' 2>/dev/null ||
5992
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5993
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
5994
/^X\(\/\/\)$/{ s//\1/; q; }
5995
/^X\(\/\).*/{ s//\1/; q; }
5998
test ! -n "$as_dirs" || mkdir $as_dirs
5999
fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
6000
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
6001
{ (exit 1); exit 1; }; }; }
6003
# echo "creating $dirpart/$file"
6004
echo '# dummy' > "$dirpart/$file"
6012
cat >>$CONFIG_STATUS <<\_ACEOF
6014
{ (exit 0); exit 0; }
6016
chmod +x $CONFIG_STATUS
6017
ac_clean_files=$ac_clean_files_save
6020
# configure is writing to config.log, and then calls config.status.
6021
# config.status does its own redirection, appending to config.log.
6022
# Unfortunately, on DOS this fails, as config.log is still kept open
6023
# by configure, so config.status won't be able to write to it; its
6024
# output is simply discarded. So we exec the FD to /dev/null,
6025
# effectively closing config.log, so it can be properly (re)opened and
6026
# appended to by config.status. When coming back to configure, we
6027
# need to make the FD available again.
6028
if test "$no_create" != yes; then
6030
ac_config_status_args=
6031
test "$silent" = yes &&
6032
ac_config_status_args="$ac_config_status_args --quiet"
6034
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6036
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
6037
# would make configure fail if this is the last instruction.
6038
$ac_cs_success || { (exit 1); exit 1; }