~ubuntu-branches/debian/sid/adonthell-data/sid

« back to all changes in this revision

Viewing changes to autom4te.cache/output.0

  • Committer: Bazaar Package Importer
  • Author(s): Ana Beatriz Guerrero Lopez, Luis Rodrigo Gallardo Cruz, Ana Beatriz Guerrero Lopez
  • Date: 2006-10-28 22:05:25 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20061028220525-m73ne9y9nputzqqv
Tags: 0.3.4.cvs.20050903-2.2
* Non-maintainer upload.

[ Luis Rodrigo Gallardo Cruz ]
* Stop shipping *.pyc files (Closes: #390573).

[ Ana Beatriz Guerrero Lopez ]
* Moved debhelper and quilt to Build-Depends. 
* Little changes to Rodrigo's patch, and added patch that fixes 
  player_text.py
* Bumped standards-version to 3.7.2, no changes required.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
@%:@! /bin/sh
 
2
@%:@ Guess values for system-dependent variables and create Makefiles.
 
3
@%:@ Generated by GNU Autoconf 2.59 for watesedge 0.3.4.
 
4
@%:@
 
5
@%:@ Report bugs to <adonthell-project@linuxgames.com>.
 
6
@%:@ 
 
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
## --------------------- ##
 
13
 
 
14
# Be Bourne compatible
 
15
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
16
  emulate sh
 
17
  NULLCMD=:
 
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
 
22
  set -o posix
 
23
fi
 
24
DUALCASE=1; export DUALCASE # for MKS sh
 
25
 
 
26
# Support unset when possible.
 
27
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
28
  as_unset=unset
 
29
else
 
30
  as_unset=false
 
31
fi
 
32
 
 
33
 
 
34
# Work around bugs in pre-3.0 UWIN ksh.
 
35
$as_unset ENV MAIL MAILPATH
 
36
PS1='$ '
 
37
PS2='> '
 
38
PS4='+ '
 
39
 
 
40
# NLS nuisances.
 
41
for as_var in \
 
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 \
 
44
  LC_TELEPHONE LC_TIME
 
45
do
 
46
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
 
47
    eval $as_var=C; export $as_var
 
48
  else
 
49
    $as_unset $as_var
 
50
  fi
 
51
done
 
52
 
 
53
# Required to use basename.
 
54
if expr a : '\(a\)' >/dev/null 2>&1; then
 
55
  as_expr=expr
 
56
else
 
57
  as_expr=false
 
58
fi
 
59
 
 
60
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
61
  as_basename=basename
 
62
else
 
63
  as_basename=false
 
64
fi
 
65
 
 
66
 
 
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 ||
 
73
echo X/"$0" |
 
74
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
 
75
          /^X\/\(\/\/\)$/{ s//\1/; q; }
 
76
          /^X\/\(\/\).*/{ s//\1/; q; }
 
77
          s/.*/./; q'`
 
78
 
 
79
 
 
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
 
87
 
 
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
 
92
  chmod +x conf$$.sh
 
93
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
94
    PATH_SEPARATOR=';'
 
95
  else
 
96
    PATH_SEPARATOR=:
 
97
  fi
 
98
  rm -f conf$$.sh
 
99
fi
 
100
 
 
101
 
 
102
  as_lineno_1=$LINENO
 
103
  as_lineno_2=$LINENO
 
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
 
108
  # relative or not.
 
109
  case $0 in
 
110
    *[\\/]* ) as_myself=$0 ;;
 
111
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
112
for as_dir in $PATH
 
113
do
 
114
  IFS=$as_save_IFS
 
115
  test -z "$as_dir" && as_dir=.
 
116
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
117
done
 
118
 
 
119
       ;;
 
120
  esac
 
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
 
124
    as_myself=$0
 
125
  fi
 
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; }; }
 
129
  fi
 
130
  case $CONFIG_SHELL in
 
131
  '')
 
132
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
133
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
134
do
 
135
  IFS=$as_save_IFS
 
136
  test -z "$as_dir" && as_dir=.
 
137
  for as_base in sh bash ksh sh5; do
 
138
         case $as_dir in
 
139
         /*)
 
140
           if ("$as_dir/$as_base" -c '
 
141
  as_lineno_1=$LINENO
 
142
  as_lineno_2=$LINENO
 
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
 
149
             export CONFIG_SHELL
 
150
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
 
151
           fi;;
 
152
         esac
 
153
       done
 
154
done
 
155
;;
 
156
  esac
 
157
 
 
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 |
 
167
    sed '
 
168
      N
 
169
      s,$,-,
 
170
      : loop
 
171
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
172
      t loop
 
173
      s,-$,,
 
174
      s,^['$as_cr_digits']*\n,,
 
175
    ' >$as_me.lineno &&
 
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; }; }
 
179
 
 
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).
 
183
  . ./$as_me.lineno
 
184
  # Exit status is that of the last command.
 
185
  exit
 
186
}
 
187
 
 
188
 
 
189
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
 
190
  *c*,-n*) ECHO_N= ECHO_C='
 
191
' ECHO_T='      ' ;;
 
192
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
 
193
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
194
esac
 
195
 
 
196
if expr a : '\(a\)' >/dev/null 2>&1; then
 
197
  as_expr=expr
 
198
else
 
199
  as_expr=false
 
200
fi
 
201
 
 
202
rm -f conf$$ conf$$.exe conf$$.file
 
203
echo >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
 
209
    as_ln_s='cp -p'
 
210
  else
 
211
    as_ln_s='ln -s'
 
212
  fi
 
213
elif ln conf$$.file conf$$ 2>/dev/null; then
 
214
  as_ln_s=ln
 
215
else
 
216
  as_ln_s='cp -p'
 
217
fi
 
218
rm -f conf$$ conf$$.exe conf$$.file
 
219
 
 
220
if mkdir -p . 2>/dev/null; then
 
221
  as_mkdir_p=:
 
222
else
 
223
  test -d ./-p && rmdir ./-p
 
224
  as_mkdir_p=false
 
225
fi
 
226
 
 
227
as_executable_p="test -f"
 
228
 
 
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'"
 
231
 
 
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'"
 
234
 
 
235
 
 
236
# IFS
 
237
# We need space, tab and new line, in precisely that order.
 
238
as_nl='
 
239
'
 
240
IFS="   $as_nl"
 
241
 
 
242
# CDPATH.
 
243
$as_unset CDPATH
 
244
 
 
245
 
 
246
# Name of the host.
 
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`
 
250
 
 
251
exec 6>&1
 
252
 
 
253
#
 
254
# Initializations.
 
255
#
 
256
ac_default_prefix=/usr/local
 
257
ac_config_libobj_dir=.
 
258
cross_compiling=no
 
259
subdirs=
 
260
MFLAGS=
 
261
MAKEFLAGS=
 
262
SHELL=${CONFIG_SHELL-/bin/sh}
 
263
 
 
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}
 
268
 
 
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'
 
275
 
 
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'
 
277
ac_subst_files=''
 
278
 
 
279
# Initialize some variables set by options.
 
280
ac_init_help=
 
281
ac_init_version=false
 
282
# The variables have the same names as the options, with
 
283
# dashes changed to underlines.
 
284
cache_file=/dev/null
 
285
exec_prefix=NONE
 
286
no_create=
 
287
no_recursion=
 
288
prefix=NONE
 
289
program_prefix=NONE
 
290
program_suffix=NONE
 
291
program_transform_name=s,x,x,
 
292
silent=
 
293
site=
 
294
srcdir=
 
295
verbose=
 
296
x_includes=NONE
 
297
x_libraries=NONE
 
298
 
 
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'
 
316
 
 
317
ac_prev=
 
318
for ac_option
 
319
do
 
320
  # If the previous option needs an argument, assign it.
 
321
  if test -n "$ac_prev"; then
 
322
    eval "$ac_prev=\$ac_option"
 
323
    ac_prev=
 
324
    continue
 
325
  fi
 
326
 
 
327
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
 
328
 
 
329
  # Accept the important Cygnus configure options, so we can diagnose typos.
 
330
 
 
331
  case $ac_option in
 
332
 
 
333
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
 
334
    ac_prev=bindir ;;
 
335
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
 
336
    bindir=$ac_optarg ;;
 
337
 
 
338
  -build | --build | --buil | --bui | --bu)
 
339
    ac_prev=build_alias ;;
 
340
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
 
341
    build_alias=$ac_optarg ;;
 
342
 
 
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 ;;
 
349
 
 
350
  --config-cache | -C)
 
351
    cache_file=config.cache ;;
 
352
 
 
353
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
 
354
    ac_prev=datadir ;;
 
355
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
 
356
  | --da=*)
 
357
    datadir=$ac_optarg ;;
 
358
 
 
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" ;;
 
367
 
 
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'`
 
375
    case $ac_option in
 
376
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
 
377
      *) ac_optarg=yes ;;
 
378
    esac
 
379
    eval "enable_$ac_feature='$ac_optarg'" ;;
 
380
 
 
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 ;;
 
389
 
 
390
  -gas | --gas | --ga | --g)
 
391
    # Obsolete; use --with-gas.
 
392
    with_gas=yes ;;
 
393
 
 
394
  -help | --help | --hel | --he | -h)
 
395
    ac_init_help=long ;;
 
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 ;;
 
400
 
 
401
  -host | --host | --hos | --ho)
 
402
    ac_prev=host_alias ;;
 
403
  -host=* | --host=* | --hos=* | --ho=*)
 
404
    host_alias=$ac_optarg ;;
 
405
 
 
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 ;;
 
412
 
 
413
  -infodir | --infodir | --infodi | --infod | --info | --inf)
 
414
    ac_prev=infodir ;;
 
415
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
 
416
    infodir=$ac_optarg ;;
 
417
 
 
418
  -libdir | --libdir | --libdi | --libd)
 
419
    ac_prev=libdir ;;
 
420
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
 
421
    libdir=$ac_optarg ;;
 
422
 
 
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 ;;
 
429
 
 
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 ;;
 
438
 
 
439
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 
440
    ac_prev=mandir ;;
 
441
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 
442
    mandir=$ac_optarg ;;
 
443
 
 
444
  -nfp | --nfp | --nf)
 
445
    # Obsolete; use --without-fp.
 
446
    with_fp=no ;;
 
447
 
 
448
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 
449
  | --no-cr | --no-c | -n)
 
450
    no_create=yes ;;
 
451
 
 
452
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 
453
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 
454
    no_recursion=yes ;;
 
455
 
 
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 ;;
 
464
 
 
465
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 
466
    ac_prev=prefix ;;
 
467
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 
468
    prefix=$ac_optarg ;;
 
469
 
 
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 ;;
 
476
 
 
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 ;;
 
483
 
 
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 ;;
 
500
 
 
501
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
502
  | -silent | --silent | --silen | --sile | --sil)
 
503
    silent=yes ;;
 
504
 
 
505
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 
506
    ac_prev=sbindir ;;
 
507
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 
508
  | --sbi=* | --sb=*)
 
509
    sbindir=$ac_optarg ;;
 
510
 
 
511
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
 
512
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 
513
  | --sharedst | --shareds | --shared | --share | --shar \
 
514
  | --sha | --sh)
 
515
    ac_prev=sharedstatedir ;;
 
516
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 
517
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 
518
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 
519
  | --sha=* | --sh=*)
 
520
    sharedstatedir=$ac_optarg ;;
 
521
 
 
522
  -site | --site | --sit)
 
523
    ac_prev=site ;;
 
524
  -site=* | --site=* | --sit=*)
 
525
    site=$ac_optarg ;;
 
526
 
 
527
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 
528
    ac_prev=srcdir ;;
 
529
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 
530
    srcdir=$ac_optarg ;;
 
531
 
 
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 ;;
 
538
 
 
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 ;;
 
543
 
 
544
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
 
545
    verbose=yes ;;
 
546
 
 
547
  -version | --version | --versio | --versi | --vers | -V)
 
548
    ac_init_version=: ;;
 
549
 
 
550
  -with-* | --with-*)
 
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'`
 
557
    case $ac_option in
 
558
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
 
559
      *) ac_optarg=yes ;;
 
560
    esac
 
561
    eval "with_$ac_package='$ac_optarg'" ;;
 
562
 
 
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" ;;
 
571
 
 
572
  --x)
 
573
    # Obsolete; use --with-x.
 
574
    with_x=yes ;;
 
575
 
 
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 ;;
 
582
 
 
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 ;;
 
589
 
 
590
  -*) { echo "$as_me: error: unrecognized option: $ac_option
 
591
Try \`$0 --help' for more information." >&2
 
592
   { (exit 1); exit 1; }; }
 
593
    ;;
 
594
 
 
595
  *=*)
 
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'"
 
603
    export $ac_envvar ;;
 
604
 
 
605
  *)
 
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}
 
611
    ;;
 
612
 
 
613
  esac
 
614
done
 
615
 
 
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; }; }
 
620
fi
 
621
 
 
622
# Be sure to have absolute paths.
 
623
for ac_var in exec_prefix prefix
 
624
do
 
625
  eval ac_val=$`echo $ac_var`
 
626
  case $ac_val in
 
627
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
 
628
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
629
   { (exit 1); exit 1; }; };;
 
630
  esac
 
631
done
 
632
 
 
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
 
636
do
 
637
  eval ac_val=$`echo $ac_var`
 
638
  case $ac_val in
 
639
    [\\/$]* | ?:[\\/]* ) ;;
 
640
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
641
   { (exit 1); exit 1; }; };;
 
642
  esac
 
643
done
 
644
 
 
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.
 
648
build=$build_alias
 
649
host=$host_alias
 
650
target=$target_alias
 
651
 
 
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
 
659
    cross_compiling=yes
 
660
  fi
 
661
fi
 
662
 
 
663
ac_tool_prefix=
 
664
test -n "$host_alias" && ac_tool_prefix=$host_alias-
 
665
 
 
666
test "$silent" = yes && exec 6>/dev/null
 
667
 
 
668
 
 
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 ||
 
679
echo X"$0" |
 
680
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
681
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
682
          /^X\(\/\/\)$/{ s//\1/; q; }
 
683
          /^X\(\/\).*/{ s//\1/; q; }
 
684
          s/.*/./; q'`
 
685
  srcdir=$ac_confdir
 
686
  if test ! -r $srcdir/$ac_unique_file; then
 
687
    srcdir=..
 
688
  fi
 
689
else
 
690
  ac_srcdir_defaulted=no
 
691
fi
 
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; }; }
 
696
  else
 
697
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
698
   { (exit 1); exit 1; }; }
 
699
  fi
 
700
fi
 
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}
 
718
ac_env_CC_value=$CC
 
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
 
733
 
 
734
#
 
735
# Report the --help message.
 
736
#
 
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.
 
740
  cat <<_ACEOF
 
741
\`configure' configures watesedge 0.3.4 to adapt to many kinds of systems.
 
742
 
 
743
Usage: $0 [OPTION]... [VAR=VALUE]...
 
744
 
 
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.
 
747
 
 
748
Defaults for the options are specified in brackets.
 
749
 
 
750
Configuration:
 
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 \`..']
 
760
 
 
761
_ACEOF
 
762
 
 
763
  cat <<_ACEOF
 
764
Installation directories:
 
765
  --prefix=PREFIX         install architecture-independent files in PREFIX
 
766
                          [$ac_default_prefix]
 
767
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 
768
                          [PREFIX]
 
769
 
 
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'.
 
774
 
 
775
For better control, use the options below.
 
776
 
 
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]
 
790
_ACEOF
 
791
 
 
792
  cat <<\_ACEOF
 
793
 
 
794
Program names:
 
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
 
798
 
 
799
System types:
 
800
  --build=BUILD     configure for building on BUILD [guessed]
 
801
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 
802
_ACEOF
 
803
fi
 
804
 
 
805
if test -n "$ac_init_help"; then
 
806
  case $ac_init_help in
 
807
     short | recursive ) echo "Configuration of watesedge 0.3.4:";;
 
808
   esac
 
809
  cat <<\_ACEOF
 
810
 
 
811
Optional Features:
 
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
 
818
 
 
819
Optional Packages:
 
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
 
829
 
 
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>
 
837
 
 
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.
 
840
 
 
841
Report bugs to <adonthell-project@linuxgames.com>.
 
842
_ACEOF
 
843
fi
 
844
 
 
845
if test "$ac_init_help" = "recursive"; then
 
846
  # If there are subdirs, report their specific --help.
 
847
  ac_popdir=`pwd`
 
848
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 
849
    test -d $ac_dir || continue
 
850
    ac_builddir=.
 
851
 
 
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'`
 
856
else
 
857
  ac_dir_suffix= ac_top_builddir=
 
858
fi
 
859
 
 
860
case $srcdir in
 
861
  .)  # No --srcdir option.  We are building in place.
 
862
    ac_srcdir=.
 
863
    if test -z "$ac_top_builddir"; then
 
864
       ac_top_srcdir=.
 
865
    else
 
866
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
 
867
    fi ;;
 
868
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
869
    ac_srcdir=$srcdir$ac_dir_suffix;
 
870
    ac_top_srcdir=$srcdir ;;
 
871
  *) # Relative path.
 
872
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
 
873
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
 
874
esac
 
875
 
 
876
# Do not use `cd foo && pwd` to compute absolute paths, because
 
877
# the directories may not exist.
 
878
case `pwd` in
 
879
.) ac_abs_builddir="$ac_dir";;
 
880
*)
 
881
  case "$ac_dir" in
 
882
  .) ac_abs_builddir=`pwd`;;
 
883
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
884
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
885
  esac;;
 
886
esac
 
887
case $ac_abs_builddir in
 
888
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
889
*)
 
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}.;;
 
894
  esac;;
 
895
esac
 
896
case $ac_abs_builddir in
 
897
.) ac_abs_srcdir=$ac_srcdir;;
 
898
*)
 
899
  case $ac_srcdir in
 
900
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
901
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
902
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
903
  esac;;
 
904
esac
 
905
case $ac_abs_builddir in
 
906
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
907
*)
 
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;;
 
912
  esac;;
 
913
esac
 
914
 
 
915
    cd $ac_dir
 
916
    # Check for guested configure; otherwise get Cygnus style configure.
 
917
    if test -f $ac_srcdir/configure.gnu; then
 
918
      echo
 
919
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
 
920
    elif test -f $ac_srcdir/configure; then
 
921
      echo
 
922
      $SHELL $ac_srcdir/configure  --help=recursive
 
923
    elif test -f $ac_srcdir/configure.ac ||
 
924
           test -f $ac_srcdir/configure.in; then
 
925
      echo
 
926
      $ac_configure --help
 
927
    else
 
928
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
929
    fi
 
930
    cd "$ac_popdir"
 
931
  done
 
932
fi
 
933
 
 
934
test -n "$ac_init_help" && exit 0
 
935
if $ac_init_version; then
 
936
  cat <<\_ACEOF
 
937
watesedge configure 0.3.4
 
938
generated by GNU Autoconf 2.59
 
939
 
 
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.
 
943
_ACEOF
 
944
  exit 0
 
945
fi
 
946
exec 5>config.log
 
947
cat >&5 <<_ACEOF
 
948
This file contains any messages produced by compilers while
 
949
running configure, to aid debugging if configure makes a mistake.
 
950
 
 
951
It was created by watesedge $as_me 0.3.4, which was
 
952
generated by GNU Autoconf 2.59.  Invocation command line was
 
953
 
 
954
  $ $0 $@
 
955
 
 
956
_ACEOF
 
957
{
 
958
cat <<_ASUNAME
 
959
@%:@@%:@ --------- @%:@@%:@
 
960
@%:@@%:@ Platform. @%:@@%:@
 
961
@%:@@%:@ --------- @%:@@%:@
 
962
 
 
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`
 
968
 
 
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`
 
971
 
 
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`
 
979
 
 
980
_ASUNAME
 
981
 
 
982
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
983
for as_dir in $PATH
 
984
do
 
985
  IFS=$as_save_IFS
 
986
  test -z "$as_dir" && as_dir=.
 
987
  echo "PATH: $as_dir"
 
988
done
 
989
 
 
990
} >&5
 
991
 
 
992
cat >&5 <<_ACEOF
 
993
 
 
994
 
 
995
@%:@@%:@ ----------- @%:@@%:@
 
996
@%:@@%:@ Core tests. @%:@@%:@
 
997
@%:@@%:@ ----------- @%:@@%:@
 
998
 
 
999
_ACEOF
 
1000
 
 
1001
 
 
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.
 
1007
ac_configure_args=
 
1008
ac_configure_args0=
 
1009
ac_configure_args1=
 
1010
ac_sep=
 
1011
ac_must_keep_next=false
 
1012
for ac_pass in 1 2
 
1013
do
 
1014
  for ac_arg
 
1015
  do
 
1016
    case $ac_arg in
 
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)
 
1020
      continue ;;
 
1021
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 
1022
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1023
    esac
 
1024
    case $ac_pass in
 
1025
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
1026
    2)
 
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.
 
1030
      else
 
1031
        case $ac_arg in
 
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 ;;
 
1038
            esac
 
1039
            ;;
 
1040
          -* ) ac_must_keep_next=true ;;
 
1041
        esac
 
1042
      fi
 
1043
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
 
1044
      # Get rid of the leading space.
 
1045
      ac_sep=" "
 
1046
      ;;
 
1047
    esac
 
1048
  done
 
1049
done
 
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; }
 
1052
 
 
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.
 
1060
  {
 
1061
    echo
 
1062
 
 
1063
    cat <<\_ASBOX
 
1064
@%:@@%:@ ---------------- @%:@@%:@
 
1065
@%:@@%:@ Cache variables. @%:@@%:@
 
1066
@%:@@%:@ ---------------- @%:@@%:@
 
1067
_ASBOX
 
1068
    echo
 
1069
    # The following way of writing the cache mishandles newlines in values,
 
1070
{
 
1071
  (set) 2>&1 |
 
1072
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
 
1073
    *ac_space=\ *)
 
1074
      sed -n \
 
1075
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
 
1076
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
 
1077
      ;;
 
1078
    *)
 
1079
      sed -n \
 
1080
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1081
      ;;
 
1082
    esac;
 
1083
}
 
1084
    echo
 
1085
 
 
1086
    cat <<\_ASBOX
 
1087
@%:@@%:@ ----------------- @%:@@%:@
 
1088
@%:@@%:@ Output variables. @%:@@%:@
 
1089
@%:@@%:@ ----------------- @%:@@%:@
 
1090
_ASBOX
 
1091
    echo
 
1092
    for ac_var in $ac_subst_vars
 
1093
    do
 
1094
      eval ac_val=$`echo $ac_var`
 
1095
      echo "$ac_var='"'"'$ac_val'"'"'"
 
1096
    done | sort
 
1097
    echo
 
1098
 
 
1099
    if test -n "$ac_subst_files"; then
 
1100
      cat <<\_ASBOX
 
1101
@%:@@%:@ ------------- @%:@@%:@
 
1102
@%:@@%:@ Output files. @%:@@%:@
 
1103
@%:@@%:@ ------------- @%:@@%:@
 
1104
_ASBOX
 
1105
      echo
 
1106
      for ac_var in $ac_subst_files
 
1107
      do
 
1108
        eval ac_val=$`echo $ac_var`
 
1109
        echo "$ac_var='"'"'$ac_val'"'"'"
 
1110
      done | sort
 
1111
      echo
 
1112
    fi
 
1113
 
 
1114
    if test -s confdefs.h; then
 
1115
      cat <<\_ASBOX
 
1116
@%:@@%:@ ----------- @%:@@%:@
 
1117
@%:@@%:@ confdefs.h. @%:@@%:@
 
1118
@%:@@%:@ ----------- @%:@@%:@
 
1119
_ASBOX
 
1120
      echo
 
1121
      sed "/^$/d" confdefs.h | sort
 
1122
      echo
 
1123
    fi
 
1124
    test "$ac_signal" != 0 &&
 
1125
      echo "$as_me: caught signal $ac_signal"
 
1126
    echo "$as_me: exit $exit_status"
 
1127
  } >&5
 
1128
  rm -f core *.core &&
 
1129
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 
1130
    exit $exit_status
 
1131
     ' 0
 
1132
for ac_signal in 1 2 13 15; do
 
1133
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
1134
done
 
1135
ac_signal=0
 
1136
 
 
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.
 
1140
echo >confdefs.h
 
1141
 
 
1142
# Predefined preprocessor variables.
 
1143
 
 
1144
cat >>confdefs.h <<_ACEOF
 
1145
@%:@define PACKAGE_NAME "$PACKAGE_NAME"
 
1146
_ACEOF
 
1147
 
 
1148
 
 
1149
cat >>confdefs.h <<_ACEOF
 
1150
@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 
1151
_ACEOF
 
1152
 
 
1153
 
 
1154
cat >>confdefs.h <<_ACEOF
 
1155
@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
 
1156
_ACEOF
 
1157
 
 
1158
 
 
1159
cat >>confdefs.h <<_ACEOF
 
1160
@%:@define PACKAGE_STRING "$PACKAGE_STRING"
 
1161
_ACEOF
 
1162
 
 
1163
 
 
1164
cat >>confdefs.h <<_ACEOF
 
1165
@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 
1166
_ACEOF
 
1167
 
 
1168
 
 
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"
 
1174
  else
 
1175
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
 
1176
  fi
 
1177
fi
 
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
 
1183
    . "$ac_site_file"
 
1184
  fi
 
1185
done
 
1186
 
 
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;}
 
1193
    case $cache_file in
 
1194
      [\\/]* | ?:[\\/]* ) . $cache_file;;
 
1195
      *)                      . ./$cache_file;;
 
1196
    esac
 
1197
  fi
 
1198
else
 
1199
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
1200
echo "$as_me: creating cache $cache_file" >&6;}
 
1201
  >$cache_file
 
1202
fi
 
1203
 
 
1204
# Check that the precious variables saved in the cache have kept the same
 
1205
# value.
 
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
 
1214
    set,)
 
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=: ;;
 
1218
    ,set)
 
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=: ;;
 
1222
    ,);;
 
1223
    *)
 
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=:
 
1232
      fi;;
 
1233
  esac
 
1234
  # Pass precious variables to config.status.
 
1235
  if test "$ac_new_set" = set; then
 
1236
    case $ac_new_val in
 
1237
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 
1238
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1239
    *) ac_arg=$ac_var=$ac_new_val ;;
 
1240
    esac
 
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'" ;;
 
1244
    esac
 
1245
  fi
 
1246
done
 
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; }; }
 
1253
fi
 
1254
 
 
1255
ac_ext=c
 
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
 
1260
 
 
1261
 
 
1262
 
 
1263
 
 
1264
 
 
1265
 
 
1266
 
 
1267
 
 
1268
 
 
1269
 
 
1270
 
 
1271
 
 
1272
 
 
1273
 
 
1274
 
 
1275
 
 
1276
 
 
1277
 
 
1278
 
 
1279
 
 
1280
 
 
1281
 
 
1282
 
 
1283
 
 
1284
 
 
1285
 
 
1286
 
 
1287
am__api_version="1.7"
 
1288
ac_aux_dir=
 
1289
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
 
1290
  if test -f $ac_dir/install-sh; then
 
1291
    ac_aux_dir=$ac_dir
 
1292
    ac_install_sh="$ac_aux_dir/install-sh -c"
 
1293
    break
 
1294
  elif test -f $ac_dir/install.sh; then
 
1295
    ac_aux_dir=$ac_dir
 
1296
    ac_install_sh="$ac_aux_dir/install.sh -c"
 
1297
    break
 
1298
  elif test -f $ac_dir/shtool; then
 
1299
    ac_aux_dir=$ac_dir
 
1300
    ac_install_sh="$ac_aux_dir/shtool install -c"
 
1301
    break
 
1302
  fi
 
1303
done
 
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; }; }
 
1308
fi
 
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.
 
1312
 
 
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
 
1319
# AIX /bin/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
 
1331
else
 
1332
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1333
for as_dir in $PATH
 
1334
do
 
1335
  IFS=$as_save_IFS
 
1336
  test -z "$as_dir" && as_dir=.
 
1337
  # Account for people who put trailing slashes in PATH elements.
 
1338
case $as_dir/ in
 
1339
  ./ | .// | /cC/* | \
 
1340
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
1341
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
1342
  /usr/ucb/* ) ;;
 
1343
  *)
 
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
 
1346
    # by default.
 
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.
 
1353
            :
 
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.
 
1357
            :
 
1358
          else
 
1359
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
1360
            break 3
 
1361
          fi
 
1362
        fi
 
1363
      done
 
1364
    done
 
1365
    ;;
 
1366
esac
 
1367
done
 
1368
 
 
1369
 
 
1370
fi
 
1371
  if test "${ac_cv_path_install+set}" = set; then
 
1372
    INSTALL=$ac_cv_path_install
 
1373
  else
 
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
 
1379
  fi
 
1380
fi
 
1381
echo "$as_me:$LINENO: result: $INSTALL" >&5
 
1382
echo "${ECHO_T}$INSTALL" >&6
 
1383
 
 
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}'
 
1387
 
 
1388
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 
1389
 
 
1390
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
1391
 
 
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
 
1394
# Just in case
 
1395
sleep 1
 
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
 
1401
# directory).
 
1402
if (
 
1403
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
1404
   if test "$*" = "X"; then
 
1405
      # -L didn't work.
 
1406
      set X `ls -t $srcdir/configure conftest.file`
 
1407
   fi
 
1408
   rm -f conftest.file
 
1409
   if test "$*" != "X $srcdir/configure conftest.file" \
 
1410
      && test "$*" != "X conftest.file $srcdir/configure"; then
 
1411
 
 
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; }; }
 
1421
   fi
 
1422
 
 
1423
   test "$2" = conftest.file
 
1424
   )
 
1425
then
 
1426
   # Ok.
 
1427
   :
 
1428
else
 
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; }; }
 
1434
fi
 
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,$//
 
1446
_ACEOF
 
1447
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
 
1448
rm conftest.sed
 
1449
 
 
1450
 
 
1451
# expand $ac_aux_dir to an absolute path
 
1452
am_aux_dir=`cd $ac_aux_dir && pwd`
 
1453
 
 
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 "
 
1458
else
 
1459
  am_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;}
 
1462
fi
 
1463
 
 
1464
for ac_prog in gawk mawk nawk awk
 
1465
do
 
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
 
1472
else
 
1473
  if test -n "$AWK"; then
 
1474
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
 
1475
else
 
1476
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1477
for as_dir in $PATH
 
1478
do
 
1479
  IFS=$as_save_IFS
 
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
 
1485
    break 2
 
1486
  fi
 
1487
done
 
1488
done
 
1489
 
 
1490
fi
 
1491
fi
 
1492
AWK=$ac_cv_prog_AWK
 
1493
if test -n "$AWK"; then
 
1494
  echo "$as_me:$LINENO: result: $AWK" >&5
 
1495
echo "${ECHO_T}$AWK" >&6
 
1496
else
 
1497
  echo "$as_me:$LINENO: result: no" >&5
 
1498
echo "${ECHO_T}no" >&6
 
1499
fi
 
1500
 
 
1501
  test -n "$AWK" && break
 
1502
done
 
1503
 
 
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
 
1509
else
 
1510
  cat >conftest.make <<\_ACEOF
 
1511
all:
 
1512
        @echo 'ac_maketemp="$(MAKE)"'
 
1513
_ACEOF
 
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
 
1518
else
 
1519
  eval ac_cv_prog_make_${ac_make}_set=no
 
1520
fi
 
1521
rm -f conftest.make
 
1522
fi
 
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
 
1526
  SET_MAKE=
 
1527
else
 
1528
  echo "$as_me:$LINENO: result: no" >&5
 
1529
echo "${ECHO_T}no" >&6
 
1530
  SET_MAKE="MAKE=${MAKE-make}"
 
1531
fi
 
1532
 
 
1533
rm -rf .tst 2>/dev/null
 
1534
mkdir .tst 2>/dev/null
 
1535
if test -d .tst; then
 
1536
  am__leading_dot=.
 
1537
else
 
1538
  am__leading_dot=_
 
1539
fi
 
1540
rmdir .tst 2>/dev/null
 
1541
 
 
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; }; }
 
1548
fi
 
1549
 
 
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'
 
1554
  else
 
1555
    CYGPATH_W=echo
 
1556
  fi
 
1557
fi
 
1558
 
 
1559
 
 
1560
# Define the identity of the package.
 
1561
 PACKAGE=wastesedge
 
1562
 VERSION=0.3.4
 
1563
 
 
1564
 
 
1565
cat >>confdefs.h <<_ACEOF
 
1566
@%:@define PACKAGE "$PACKAGE"
 
1567
_ACEOF
 
1568
 
 
1569
 
 
1570
cat >>confdefs.h <<_ACEOF
 
1571
@%:@define VERSION "$VERSION"
 
1572
_ACEOF
 
1573
 
 
1574
# Some tools Automake needs.
 
1575
 
 
1576
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 
1577
 
 
1578
 
 
1579
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 
1580
 
 
1581
 
 
1582
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 
1583
 
 
1584
 
 
1585
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 
1586
 
 
1587
 
 
1588
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 
1589
 
 
1590
 
 
1591
AMTAR=${AMTAR-"${am_missing_run}tar"}
 
1592
 
 
1593
install_sh=${install_sh-"$am_aux_dir/install-sh"}
 
1594
 
 
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
 
1607
else
 
1608
  if test -n "$STRIP"; then
 
1609
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
1610
else
 
1611
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1612
for as_dir in $PATH
 
1613
do
 
1614
  IFS=$as_save_IFS
 
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
 
1620
    break 2
 
1621
  fi
 
1622
done
 
1623
done
 
1624
 
 
1625
fi
 
1626
fi
 
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
 
1631
else
 
1632
  echo "$as_me:$LINENO: result: no" >&5
 
1633
echo "${ECHO_T}no" >&6
 
1634
fi
 
1635
 
 
1636
fi
 
1637
if test -z "$ac_cv_prog_STRIP"; then
 
1638
  ac_ct_STRIP=$STRIP
 
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
 
1645
else
 
1646
  if test -n "$ac_ct_STRIP"; then
 
1647
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
1648
else
 
1649
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1650
for as_dir in $PATH
 
1651
do
 
1652
  IFS=$as_save_IFS
 
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
 
1658
    break 2
 
1659
  fi
 
1660
done
 
1661
done
 
1662
 
 
1663
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
 
1664
fi
 
1665
fi
 
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
 
1670
else
 
1671
  echo "$as_me:$LINENO: result: no" >&5
 
1672
echo "${ECHO_T}no" >&6
 
1673
fi
 
1674
 
 
1675
  STRIP=$ac_ct_STRIP
 
1676
else
 
1677
  STRIP="$ac_cv_prog_STRIP"
 
1678
fi
 
1679
 
 
1680
fi
 
1681
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
 
1682
 
 
1683
# We need awk for the "check" target.  The system "awk" is bad on
 
1684
# some platforms.
 
1685
 
 
1686
 
 
1687
 
 
1688
 
 
1689
 
 
1690
 
 
1691
        MKINSTALLDIRS=
 
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" ;;
 
1696
    esac
 
1697
  fi
 
1698
  if test -z "$MKINSTALLDIRS"; then
 
1699
    MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
 
1700
  fi
 
1701
  
 
1702
 
 
1703
 
 
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"
 
1709
  USE_NLS=$enableval
 
1710
else
 
1711
  USE_NLS=yes
 
1712
fi; 
 
1713
  echo "$as_me:$LINENO: result: $USE_NLS" >&5
 
1714
echo "${ECHO_T}$USE_NLS" >&6
 
1715
  
 
1716
 
 
1717
 
 
1718
        
 
1719
    
 
1720
        
 
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
 
1726
  chmod +x conf$$.sh
 
1727
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
1728
    PATH_SEPARATOR=';'
 
1729
  else
 
1730
    PATH_SEPARATOR=:
 
1731
  fi
 
1732
  rm -f conf$$.sh
 
1733
fi
 
1734
 
 
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
 
1738
#! /bin/sh
 
1739
exit 0
 
1740
_ASEOF
 
1741
chmod +x conf$$.file
 
1742
if test -x conf$$.file >/dev/null 2>&1; then
 
1743
  ac_executable_p="test -x"
 
1744
else
 
1745
  ac_executable_p="test -f"
 
1746
fi
 
1747
rm -f conf$$.file
 
1748
 
 
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
 
1755
else
 
1756
  case "$MSGFMT" in
 
1757
  [\\/]* | ?:[\\/]*)
 
1758
    ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
 
1759
    ;;
 
1760
  *)
 
1761
    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
 
1762
    for ac_dir in $PATH; do
 
1763
      IFS="$ac_save_IFS"
 
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"
 
1770
            break 2
 
1771
          fi
 
1772
        fi
 
1773
      done
 
1774
    done
 
1775
    IFS="$ac_save_IFS"
 
1776
  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
 
1777
    ;;
 
1778
esac
 
1779
fi
 
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
 
1784
else
 
1785
  echo "$as_me:$LINENO: result: no" >&5
 
1786
echo "${ECHO_T}no" >&6
 
1787
fi
 
1788
 
 
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
 
1795
else
 
1796
  case $GMSGFMT in
 
1797
  [\\/]* | ?:[\\/]*)
 
1798
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
 
1799
  ;;
 
1800
  *)
 
1801
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1802
for as_dir in $PATH
 
1803
do
 
1804
  IFS=$as_save_IFS
 
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
 
1810
    break 2
 
1811
  fi
 
1812
done
 
1813
done
 
1814
 
 
1815
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
 
1816
  ;;
 
1817
esac
 
1818
fi
 
1819
GMSGFMT=$ac_cv_path_GMSGFMT
 
1820
 
 
1821
if test -n "$GMSGFMT"; then
 
1822
  echo "$as_me:$LINENO: result: $GMSGFMT" >&5
 
1823
echo "${ECHO_T}$GMSGFMT" >&6
 
1824
else
 
1825
  echo "$as_me:$LINENO: result: no" >&5
 
1826
echo "${ECHO_T}no" >&6
 
1827
fi
 
1828
 
 
1829
 
 
1830
        
 
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
 
1836
  chmod +x conf$$.sh
 
1837
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
1838
    PATH_SEPARATOR=';'
 
1839
  else
 
1840
    PATH_SEPARATOR=:
 
1841
  fi
 
1842
  rm -f conf$$.sh
 
1843
fi
 
1844
 
 
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
 
1848
#! /bin/sh
 
1849
exit 0
 
1850
_ASEOF
 
1851
chmod +x conf$$.file
 
1852
if test -x conf$$.file >/dev/null 2>&1; then
 
1853
  ac_executable_p="test -x"
 
1854
else
 
1855
  ac_executable_p="test -f"
 
1856
fi
 
1857
rm -f conf$$.file
 
1858
 
 
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
 
1865
else
 
1866
  case "$XGETTEXT" in
 
1867
  [\\/]* | ?:[\\/]*)
 
1868
    ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
 
1869
    ;;
 
1870
  *)
 
1871
    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
 
1872
    for ac_dir in $PATH; do
 
1873
      IFS="$ac_save_IFS"
 
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"
 
1880
            break 2
 
1881
          fi
 
1882
        fi
 
1883
      done
 
1884
    done
 
1885
    IFS="$ac_save_IFS"
 
1886
  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
 
1887
    ;;
 
1888
esac
 
1889
fi
 
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
 
1894
else
 
1895
  echo "$as_me:$LINENO: result: no" >&5
 
1896
echo "${ECHO_T}no" >&6
 
1897
fi
 
1898
 
 
1899
    rm -f messages.po
 
1900
 
 
1901
    
 
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
 
1907
  chmod +x conf$$.sh
 
1908
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
1909
    PATH_SEPARATOR=';'
 
1910
  else
 
1911
    PATH_SEPARATOR=:
 
1912
  fi
 
1913
  rm -f conf$$.sh
 
1914
fi
 
1915
 
 
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
 
1919
#! /bin/sh
 
1920
exit 0
 
1921
_ASEOF
 
1922
chmod +x conf$$.file
 
1923
if test -x conf$$.file >/dev/null 2>&1; then
 
1924
  ac_executable_p="test -x"
 
1925
else
 
1926
  ac_executable_p="test -f"
 
1927
fi
 
1928
rm -f conf$$.file
 
1929
 
 
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
 
1936
else
 
1937
  case "$MSGMERGE" in
 
1938
  [\\/]* | ?:[\\/]*)
 
1939
    ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
 
1940
    ;;
 
1941
  *)
 
1942
    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
 
1943
    for ac_dir in $PATH; do
 
1944
      IFS="$ac_save_IFS"
 
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"
 
1950
            break 2
 
1951
          fi
 
1952
        fi
 
1953
      done
 
1954
    done
 
1955
    IFS="$ac_save_IFS"
 
1956
  test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
 
1957
    ;;
 
1958
esac
 
1959
fi
 
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
 
1964
else
 
1965
  echo "$as_me:$LINENO: result: no" >&5
 
1966
echo "${ECHO_T}no" >&6
 
1967
fi
 
1968
 
 
1969
 
 
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
 
1973
      : ;
 
1974
    else
 
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
 
1978
      GMSGFMT=":"
 
1979
    fi
 
1980
  fi
 
1981
 
 
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
 
1985
      : ;
 
1986
    else
 
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
 
1989
      XGETTEXT=":"
 
1990
    fi
 
1991
        rm -f messages.po
 
1992
  fi
 
1993
 
 
1994
            ac_config_commands="$ac_config_commands default-1"
 
1995
 
 
1996
 
 
1997
 
 
1998
      if test "X$prefix" = "XNONE"; then
 
1999
    acl_final_prefix="$ac_default_prefix"
 
2000
  else
 
2001
    acl_final_prefix="$prefix"
 
2002
  fi
 
2003
  if test "X$exec_prefix" = "XNONE"; then
 
2004
    acl_final_exec_prefix='${prefix}'
 
2005
  else
 
2006
    acl_final_exec_prefix="$exec_prefix"
 
2007
  fi
 
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"
 
2012
 
 
2013
DEPDIR="${am__leading_dot}deps"
 
2014
 
 
2015
          ac_config_commands="$ac_config_commands depfiles"
 
2016
 
 
2017
 
 
2018
am_make=${MAKE-make}
 
2019
cat > confinc << 'END'
 
2020
am__doit:
 
2021
        @echo done
 
2022
.PHONY: am__doit
 
2023
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
 
2027
am__include="#"
 
2028
am__quote=
 
2029
_am_result=none
 
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
 
2038
   am__include=include
 
2039
   am__quote=
 
2040
   _am_result=GNU
 
2041
fi
 
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
 
2047
      am__quote="\""
 
2048
      _am_result=BSD
 
2049
   fi
 
2050
fi
 
2051
 
 
2052
 
 
2053
echo "$as_me:$LINENO: result: $_am_result" >&5
 
2054
echo "${ECHO_T}$_am_result" >&6
 
2055
rm -f confinc confmf
 
2056
 
 
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"
 
2060
  
 
2061
fi; 
 
2062
if test "x$enable_dependency_tracking" != xno; then
 
2063
  am_depcomp="$ac_aux_dir/depcomp"
 
2064
  AMDEPBACKSLASH='\'
 
2065
fi
 
2066
 
 
2067
 
 
2068
if test "x$enable_dependency_tracking" != xno; then
 
2069
  AMDEP_TRUE=
 
2070
  AMDEP_FALSE='#'
 
2071
else
 
2072
  AMDEP_TRUE='#'
 
2073
  AMDEP_FALSE=
 
2074
fi
 
2075
 
 
2076
 
 
2077
 
 
2078
ac_ext=c
 
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
 
2090
else
 
2091
  if test -n "$CC"; then
 
2092
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
2093
else
 
2094
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2095
for as_dir in $PATH
 
2096
do
 
2097
  IFS=$as_save_IFS
 
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
 
2103
    break 2
 
2104
  fi
 
2105
done
 
2106
done
 
2107
 
 
2108
fi
 
2109
fi
 
2110
CC=$ac_cv_prog_CC
 
2111
if test -n "$CC"; then
 
2112
  echo "$as_me:$LINENO: result: $CC" >&5
 
2113
echo "${ECHO_T}$CC" >&6
 
2114
else
 
2115
  echo "$as_me:$LINENO: result: no" >&5
 
2116
echo "${ECHO_T}no" >&6
 
2117
fi
 
2118
 
 
2119
fi
 
2120
if test -z "$ac_cv_prog_CC"; then
 
2121
  ac_ct_CC=$CC
 
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
 
2128
else
 
2129
  if test -n "$ac_ct_CC"; then
 
2130
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
2131
else
 
2132
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2133
for as_dir in $PATH
 
2134
do
 
2135
  IFS=$as_save_IFS
 
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
 
2141
    break 2
 
2142
  fi
 
2143
done
 
2144
done
 
2145
 
 
2146
fi
 
2147
fi
 
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
 
2152
else
 
2153
  echo "$as_me:$LINENO: result: no" >&5
 
2154
echo "${ECHO_T}no" >&6
 
2155
fi
 
2156
 
 
2157
  CC=$ac_ct_CC
 
2158
else
 
2159
  CC="$ac_cv_prog_CC"
 
2160
fi
 
2161
 
 
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
 
2170
else
 
2171
  if test -n "$CC"; then
 
2172
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
2173
else
 
2174
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2175
for as_dir in $PATH
 
2176
do
 
2177
  IFS=$as_save_IFS
 
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
 
2183
    break 2
 
2184
  fi
 
2185
done
 
2186
done
 
2187
 
 
2188
fi
 
2189
fi
 
2190
CC=$ac_cv_prog_CC
 
2191
if test -n "$CC"; then
 
2192
  echo "$as_me:$LINENO: result: $CC" >&5
 
2193
echo "${ECHO_T}$CC" >&6
 
2194
else
 
2195
  echo "$as_me:$LINENO: result: no" >&5
 
2196
echo "${ECHO_T}no" >&6
 
2197
fi
 
2198
 
 
2199
fi
 
2200
if test -z "$ac_cv_prog_CC"; then
 
2201
  ac_ct_CC=$CC
 
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
 
2208
else
 
2209
  if test -n "$ac_ct_CC"; then
 
2210
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
2211
else
 
2212
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2213
for as_dir in $PATH
 
2214
do
 
2215
  IFS=$as_save_IFS
 
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
 
2221
    break 2
 
2222
  fi
 
2223
done
 
2224
done
 
2225
 
 
2226
fi
 
2227
fi
 
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
 
2232
else
 
2233
  echo "$as_me:$LINENO: result: no" >&5
 
2234
echo "${ECHO_T}no" >&6
 
2235
fi
 
2236
 
 
2237
  CC=$ac_ct_CC
 
2238
else
 
2239
  CC="$ac_cv_prog_CC"
 
2240
fi
 
2241
 
 
2242
fi
 
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
 
2250
else
 
2251
  if test -n "$CC"; then
 
2252
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
2253
else
 
2254
  ac_prog_rejected=no
 
2255
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2256
for as_dir in $PATH
 
2257
do
 
2258
  IFS=$as_save_IFS
 
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
 
2264
       continue
 
2265
     fi
 
2266
    ac_cv_prog_CC="cc"
 
2267
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2268
    break 2
 
2269
  fi
 
2270
done
 
2271
done
 
2272
 
 
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
 
2276
  shift
 
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.
 
2281
    shift
 
2282
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
2283
  fi
 
2284
fi
 
2285
fi
 
2286
fi
 
2287
CC=$ac_cv_prog_CC
 
2288
if test -n "$CC"; then
 
2289
  echo "$as_me:$LINENO: result: $CC" >&5
 
2290
echo "${ECHO_T}$CC" >&6
 
2291
else
 
2292
  echo "$as_me:$LINENO: result: no" >&5
 
2293
echo "${ECHO_T}no" >&6
 
2294
fi
 
2295
 
 
2296
fi
 
2297
if test -z "$CC"; then
 
2298
  if test -n "$ac_tool_prefix"; then
 
2299
  for ac_prog in cl
 
2300
  do
 
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
 
2307
else
 
2308
  if test -n "$CC"; then
 
2309
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
2310
else
 
2311
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2312
for as_dir in $PATH
 
2313
do
 
2314
  IFS=$as_save_IFS
 
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
 
2320
    break 2
 
2321
  fi
 
2322
done
 
2323
done
 
2324
 
 
2325
fi
 
2326
fi
 
2327
CC=$ac_cv_prog_CC
 
2328
if test -n "$CC"; then
 
2329
  echo "$as_me:$LINENO: result: $CC" >&5
 
2330
echo "${ECHO_T}$CC" >&6
 
2331
else
 
2332
  echo "$as_me:$LINENO: result: no" >&5
 
2333
echo "${ECHO_T}no" >&6
 
2334
fi
 
2335
 
 
2336
    test -n "$CC" && break
 
2337
  done
 
2338
fi
 
2339
if test -z "$CC"; then
 
2340
  ac_ct_CC=$CC
 
2341
  for ac_prog in cl
 
2342
do
 
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
 
2349
else
 
2350
  if test -n "$ac_ct_CC"; then
 
2351
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
2352
else
 
2353
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2354
for as_dir in $PATH
 
2355
do
 
2356
  IFS=$as_save_IFS
 
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
 
2362
    break 2
 
2363
  fi
 
2364
done
 
2365
done
 
2366
 
 
2367
fi
 
2368
fi
 
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
 
2373
else
 
2374
  echo "$as_me:$LINENO: result: no" >&5
 
2375
echo "${ECHO_T}no" >&6
 
2376
fi
 
2377
 
 
2378
  test -n "$ac_ct_CC" && break
 
2379
done
 
2380
 
 
2381
  CC=$ac_ct_CC
 
2382
fi
 
2383
 
 
2384
fi
 
2385
 
 
2386
 
 
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; }; }
 
2392
 
 
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
 
2399
  ac_status=$?
 
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
 
2404
  ac_status=$?
 
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
 
2409
  ac_status=$?
 
2410
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2411
  (exit $ac_status); }
 
2412
 
 
2413
cat >conftest.$ac_ext <<_ACEOF
 
2414
/* confdefs.h.  */
 
2415
_ACEOF
 
2416
cat confdefs.h >>conftest.$ac_ext
 
2417
cat >>conftest.$ac_ext <<_ACEOF
 
2418
/* end confdefs.h.  */
 
2419
 
 
2420
int
 
2421
main ()
 
2422
{
 
2423
 
 
2424
  ;
 
2425
  return 0;
 
2426
}
 
2427
_ACEOF
 
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
 
2432
# of exeext.
 
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
 
2438
  ac_status=$?
 
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
 
2443
# resort.
 
2444
 
 
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.
 
2447
ac_cv_exeext=
 
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
 
2450
do
 
2451
  test -f "$ac_file" || continue
 
2452
  case $ac_file in
 
2453
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
 
2454
        ;;
 
2455
    conftest.$ac_ext )
 
2456
        # This is the source file.
 
2457
        ;;
 
2458
    [ab].out )
 
2459
        # We found the default executable, but exeext='' is most
 
2460
        # certainly right.
 
2461
        break;;
 
2462
    *.* )
 
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.
 
2467
        export ac_cv_exeext
 
2468
        break;;
 
2469
    * )
 
2470
        break;;
 
2471
  esac
 
2472
done
 
2473
else
 
2474
  echo "$as_me: failed program was:" >&5
 
2475
sed 's/^/| /' conftest.$ac_ext >&5
 
2476
 
 
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; }; }
 
2482
fi
 
2483
 
 
2484
ac_exeext=$ac_cv_exeext
 
2485
echo "$as_me:$LINENO: result: $ac_file" >&5
 
2486
echo "${ECHO_T}$ac_file" >&6
 
2487
 
 
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
 
2497
  (eval $ac_try) 2>&5
 
2498
  ac_status=$?
 
2499
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2500
  (exit $ac_status); }; }; then
 
2501
    cross_compiling=no
 
2502
  else
 
2503
    if test "$cross_compiling" = maybe; then
 
2504
        cross_compiling=yes
 
2505
    else
 
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; }; }
 
2513
    fi
 
2514
  fi
 
2515
fi
 
2516
echo "$as_me:$LINENO: result: yes" >&5
 
2517
echo "${ECHO_T}yes" >&6
 
2518
 
 
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
 
2527
 
 
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
 
2532
  ac_status=$?
 
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
 
2538
# `rm'.
 
2539
for ac_file in conftest.exe conftest conftest.*; do
 
2540
  test -f "$ac_file" || continue
 
2541
  case $ac_file in
 
2542
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
 
2543
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
2544
          export ac_cv_exeext
 
2545
          break;;
 
2546
    * ) break;;
 
2547
  esac
 
2548
done
 
2549
else
 
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; }; }
 
2555
fi
 
2556
 
 
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
 
2560
 
 
2561
rm -f conftest.$ac_ext
 
2562
EXEEXT=$ac_cv_exeext
 
2563
ac_exeext=$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
 
2568
else
 
2569
  cat >conftest.$ac_ext <<_ACEOF
 
2570
/* confdefs.h.  */
 
2571
_ACEOF
 
2572
cat confdefs.h >>conftest.$ac_ext
 
2573
cat >>conftest.$ac_ext <<_ACEOF
 
2574
/* end confdefs.h.  */
 
2575
 
 
2576
int
 
2577
main ()
 
2578
{
 
2579
 
 
2580
  ;
 
2581
  return 0;
 
2582
}
 
2583
_ACEOF
 
2584
rm -f conftest.o conftest.obj
 
2585
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2586
  (eval $ac_compile) 2>&5
 
2587
  ac_status=$?
 
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
 
2591
  case $ac_file in
 
2592
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
 
2593
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 
2594
       break;;
 
2595
  esac
 
2596
done
 
2597
else
 
2598
  echo "$as_me: failed program was:" >&5
 
2599
sed 's/^/| /' conftest.$ac_ext >&5
 
2600
 
 
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; }; }
 
2606
fi
 
2607
 
 
2608
rm -f conftest.$ac_cv_objext conftest.$ac_ext
 
2609
fi
 
2610
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
2611
echo "${ECHO_T}$ac_cv_objext" >&6
 
2612
OBJEXT=$ac_cv_objext
 
2613
ac_objext=$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
 
2618
else
 
2619
  cat >conftest.$ac_ext <<_ACEOF
 
2620
/* confdefs.h.  */
 
2621
_ACEOF
 
2622
cat confdefs.h >>conftest.$ac_ext
 
2623
cat >>conftest.$ac_ext <<_ACEOF
 
2624
/* end confdefs.h.  */
 
2625
 
 
2626
int
 
2627
main ()
 
2628
{
 
2629
#ifndef __GNUC__
 
2630
       choke me
 
2631
#endif
 
2632
 
 
2633
  ;
 
2634
  return 0;
 
2635
}
 
2636
_ACEOF
 
2637
rm -f conftest.$ac_objext
 
2638
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2639
  (eval $ac_compile) 2>conftest.er1
 
2640
  ac_status=$?
 
2641
  grep -v '^ *+' conftest.er1 >conftest.err
 
2642
  rm -f conftest.er1
 
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
 
2648
  (eval $ac_try) 2>&5
 
2649
  ac_status=$?
 
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
 
2654
  (eval $ac_try) 2>&5
 
2655
  ac_status=$?
 
2656
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2657
  (exit $ac_status); }; }; then
 
2658
  ac_compiler_gnu=yes
 
2659
else
 
2660
  echo "$as_me: failed program was:" >&5
 
2661
sed 's/^/| /' conftest.$ac_ext >&5
 
2662
 
 
2663
ac_compiler_gnu=no
 
2664
fi
 
2665
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
2666
ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
2667
 
 
2668
fi
 
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
 
2674
CFLAGS="-g"
 
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
 
2679
else
 
2680
  cat >conftest.$ac_ext <<_ACEOF
 
2681
/* confdefs.h.  */
 
2682
_ACEOF
 
2683
cat confdefs.h >>conftest.$ac_ext
 
2684
cat >>conftest.$ac_ext <<_ACEOF
 
2685
/* end confdefs.h.  */
 
2686
 
 
2687
int
 
2688
main ()
 
2689
{
 
2690
 
 
2691
  ;
 
2692
  return 0;
 
2693
}
 
2694
_ACEOF
 
2695
rm -f conftest.$ac_objext
 
2696
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2697
  (eval $ac_compile) 2>conftest.er1
 
2698
  ac_status=$?
 
2699
  grep -v '^ *+' conftest.er1 >conftest.err
 
2700
  rm -f conftest.er1
 
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
 
2706
  (eval $ac_try) 2>&5
 
2707
  ac_status=$?
 
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
 
2712
  (eval $ac_try) 2>&5
 
2713
  ac_status=$?
 
2714
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2715
  (exit $ac_status); }; }; then
 
2716
  ac_cv_prog_cc_g=yes
 
2717
else
 
2718
  echo "$as_me: failed program was:" >&5
 
2719
sed 's/^/| /' conftest.$ac_ext >&5
 
2720
 
 
2721
ac_cv_prog_cc_g=no
 
2722
fi
 
2723
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
2724
fi
 
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
 
2731
    CFLAGS="-g -O2"
 
2732
  else
 
2733
    CFLAGS="-g"
 
2734
  fi
 
2735
else
 
2736
  if test "$GCC" = yes; then
 
2737
    CFLAGS="-O2"
 
2738
  else
 
2739
    CFLAGS=
 
2740
  fi
 
2741
fi
 
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
 
2746
else
 
2747
  ac_cv_prog_cc_stdc=no
 
2748
ac_save_CC=$CC
 
2749
cat >conftest.$ac_ext <<_ACEOF
 
2750
/* confdefs.h.  */
 
2751
_ACEOF
 
2752
cat confdefs.h >>conftest.$ac_ext
 
2753
cat >>conftest.$ac_ext <<_ACEOF
 
2754
/* end confdefs.h.  */
 
2755
#include <stdarg.h>
 
2756
#include <stdio.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)
 
2763
     char **p;
 
2764
     int i;
 
2765
{
 
2766
  return p[i];
 
2767
}
 
2768
static char *f (char * (*g) (char **, int), char **p, ...)
 
2769
{
 
2770
  char *s;
 
2771
  va_list v;
 
2772
  va_start (v,p);
 
2773
  s = g (p, va_arg (v,int));
 
2774
  va_end (v);
 
2775
  return s;
 
2776
}
 
2777
 
 
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];
 
2786
 
 
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);
 
2791
int argc;
 
2792
char **argv;
 
2793
int
 
2794
main ()
 
2795
{
 
2796
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
2797
  ;
 
2798
  return 0;
 
2799
}
 
2800
_ACEOF
 
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__"
 
2809
do
 
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
 
2814
  ac_status=$?
 
2815
  grep -v '^ *+' conftest.er1 >conftest.err
 
2816
  rm -f conftest.er1
 
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
 
2822
  (eval $ac_try) 2>&5
 
2823
  ac_status=$?
 
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
 
2828
  (eval $ac_try) 2>&5
 
2829
  ac_status=$?
 
2830
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2831
  (exit $ac_status); }; }; then
 
2832
  ac_cv_prog_cc_stdc=$ac_arg
 
2833
break
 
2834
else
 
2835
  echo "$as_me: failed program was:" >&5
 
2836
sed 's/^/| /' conftest.$ac_ext >&5
 
2837
 
 
2838
fi
 
2839
rm -f conftest.err conftest.$ac_objext 
 
2840
done
 
2841
rm -f conftest.$ac_ext conftest.$ac_objext
 
2842
CC=$ac_save_CC
 
2843
 
 
2844
fi
 
2845
 
 
2846
case "x$ac_cv_prog_cc_stdc" in
 
2847
  x|xno)
 
2848
    echo "$as_me:$LINENO: result: none needed" >&5
 
2849
echo "${ECHO_T}none needed" >&6 ;;
 
2850
  *)
 
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" ;;
 
2854
esac
 
2855
 
 
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
 
2862
  choke me
 
2863
@%:@endif
 
2864
_ACEOF
 
2865
rm -f conftest.$ac_objext
 
2866
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2867
  (eval $ac_compile) 2>conftest.er1
 
2868
  ac_status=$?
 
2869
  grep -v '^ *+' conftest.er1 >conftest.err
 
2870
  rm -f conftest.er1
 
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
 
2876
  (eval $ac_try) 2>&5
 
2877
  ac_status=$?
 
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
 
2882
  (eval $ac_try) 2>&5
 
2883
  ac_status=$?
 
2884
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2885
  (exit $ac_status); }; }; then
 
2886
  for ac_declaration in \
 
2887
   '' \
 
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);' \
 
2892
   'void exit (int);'
 
2893
do
 
2894
  cat >conftest.$ac_ext <<_ACEOF
 
2895
/* confdefs.h.  */
 
2896
_ACEOF
 
2897
cat confdefs.h >>conftest.$ac_ext
 
2898
cat >>conftest.$ac_ext <<_ACEOF
 
2899
/* end confdefs.h.  */
 
2900
$ac_declaration
 
2901
@%:@include <stdlib.h>
 
2902
int
 
2903
main ()
 
2904
{
 
2905
exit (42);
 
2906
  ;
 
2907
  return 0;
 
2908
}
 
2909
_ACEOF
 
2910
rm -f conftest.$ac_objext
 
2911
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2912
  (eval $ac_compile) 2>conftest.er1
 
2913
  ac_status=$?
 
2914
  grep -v '^ *+' conftest.er1 >conftest.err
 
2915
  rm -f conftest.er1
 
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
 
2921
  (eval $ac_try) 2>&5
 
2922
  ac_status=$?
 
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
 
2927
  (eval $ac_try) 2>&5
 
2928
  ac_status=$?
 
2929
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2930
  (exit $ac_status); }; }; then
 
2931
  :
 
2932
else
 
2933
  echo "$as_me: failed program was:" >&5
 
2934
sed 's/^/| /' conftest.$ac_ext >&5
 
2935
 
 
2936
continue
 
2937
fi
 
2938
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
2939
  cat >conftest.$ac_ext <<_ACEOF
 
2940
/* confdefs.h.  */
 
2941
_ACEOF
 
2942
cat confdefs.h >>conftest.$ac_ext
 
2943
cat >>conftest.$ac_ext <<_ACEOF
 
2944
/* end confdefs.h.  */
 
2945
$ac_declaration
 
2946
int
 
2947
main ()
 
2948
{
 
2949
exit (42);
 
2950
  ;
 
2951
  return 0;
 
2952
}
 
2953
_ACEOF
 
2954
rm -f conftest.$ac_objext
 
2955
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2956
  (eval $ac_compile) 2>conftest.er1
 
2957
  ac_status=$?
 
2958
  grep -v '^ *+' conftest.er1 >conftest.err
 
2959
  rm -f conftest.er1
 
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
 
2965
  (eval $ac_try) 2>&5
 
2966
  ac_status=$?
 
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
 
2971
  (eval $ac_try) 2>&5
 
2972
  ac_status=$?
 
2973
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2974
  (exit $ac_status); }; }; then
 
2975
  break
 
2976
else
 
2977
  echo "$as_me: failed program was:" >&5
 
2978
sed 's/^/| /' conftest.$ac_ext >&5
 
2979
 
 
2980
fi
 
2981
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
2982
done
 
2983
rm -f conftest*
 
2984
if test -n "$ac_declaration"; then
 
2985
  echo '#ifdef __cplusplus' >>confdefs.h
 
2986
  echo $ac_declaration      >>confdefs.h
 
2987
  echo '#endif'             >>confdefs.h
 
2988
fi
 
2989
 
 
2990
else
 
2991
  echo "$as_me: failed program was:" >&5
 
2992
sed 's/^/| /' conftest.$ac_ext >&5
 
2993
 
 
2994
fi
 
2995
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
2996
ac_ext=c
 
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
 
3001
 
 
3002
depcc="$CC"   am_compiler_list=
 
3003
 
 
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
 
3008
else
 
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
 
3014
  # in D'.
 
3015
  mkdir conftest.dir
 
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
 
3019
  cd 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
 
3025
  # directory.
 
3026
  mkdir sub
 
3027
 
 
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`
 
3031
  fi
 
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.
 
3036
    #
 
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.
 
3040
    : > sub/conftest.c
 
3041
    for i in 1 2 3 4 5 6; do
 
3042
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
3043
      : > sub/conftst$i.h
 
3044
    done
 
3045
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
3046
 
 
3047
    case $depmode in
 
3048
    nosideeffect)
 
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
 
3052
        continue
 
3053
      else
 
3054
        break
 
3055
      fi
 
3056
      ;;
 
3057
    none) break ;;
 
3058
    esac
 
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
 
3075
        break
 
3076
      fi
 
3077
    fi
 
3078
  done
 
3079
 
 
3080
  cd ..
 
3081
  rm -rf conftest.dir
 
3082
else
 
3083
  am_cv_CC_dependencies_compiler_type=none
 
3084
fi
 
3085
 
 
3086
fi
 
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
 
3090
 
 
3091
 
 
3092
 
 
3093
if 
 
3094
  test "x$enable_dependency_tracking" != xno \
 
3095
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 
3096
  am__fastdepCC_TRUE=
 
3097
  am__fastdepCC_FALSE='#'
 
3098
else
 
3099
  am__fastdepCC_TRUE='#'
 
3100
  am__fastdepCC_FALSE=
 
3101
fi
 
3102
 
 
3103
 
 
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; }; }
 
3109
 
 
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
 
3114
else
 
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; }; }
 
3126
 
 
3127
fi
 
3128
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
3129
echo "${ECHO_T}$ac_cv_build" >&6
 
3130
build=$ac_cv_build
 
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/'`
 
3134
 
 
3135
 
 
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
 
3140
else
 
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; }; }
 
3148
 
 
3149
fi
 
3150
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
3151
echo "${ECHO_T}$ac_cv_host" >&6
 
3152
host=$ac_cv_host
 
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/'`
 
3156
 
 
3157
 
 
3158
 
 
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
 
3163
else
 
3164
  with_gnu_ld=no
 
3165
fi; 
 
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
 
3171
  chmod +x conf$$.sh
 
3172
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
3173
    PATH_SEPARATOR=';'
 
3174
  else
 
3175
    PATH_SEPARATOR=:
 
3176
  fi
 
3177
  rm -f conf$$.sh
 
3178
fi
 
3179
ac_prog=ld
 
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
 
3184
  case $host in
 
3185
  *-*-mingw*)
 
3186
    # gcc leaves a trailing carriage return which upsets mingw
 
3187
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 
3188
  *)
 
3189
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 
3190
  esac
 
3191
  case $ac_prog in
 
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%/%"`
 
3199
      done
 
3200
      test -z "$LD" && LD="$ac_prog"
 
3201
      ;;
 
3202
  "")
 
3203
    # If it fails, then pretend we aren't using GCC.
 
3204
    ac_prog=ld
 
3205
    ;;
 
3206
  *)
 
3207
    # If it is relative, then search for the first ld in PATH.
 
3208
    with_gnu_ld=unknown
 
3209
    ;;
 
3210
  esac
 
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
 
3214
else
 
3215
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
3216
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 
3217
fi
 
3218
if test "${acl_cv_path_LD+set}" = set; then
 
3219
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3220
else
 
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 ;;
 
3233
      *)
 
3234
        test "$with_gnu_ld" != yes && break ;;
 
3235
      esac
 
3236
    fi
 
3237
  done
 
3238
  IFS="$ac_save_ifs"
 
3239
else
 
3240
  acl_cv_path_LD="$LD" # Let the user override the test with a path.
 
3241
fi
 
3242
fi
 
3243
 
 
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
 
3248
else
 
3249
  echo "$as_me:$LINENO: result: no" >&5
 
3250
echo "${ECHO_T}no" >&6
 
3251
fi
 
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
 
3259
else
 
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 ;;
 
3264
*)
 
3265
  acl_cv_prog_gnu_ld=no ;;
 
3266
esac
 
3267
fi
 
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
 
3271
 
 
3272
 
 
3273
 
 
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
 
3278
else
 
3279
  
 
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
 
3282
    . ./conftest.sh
 
3283
    rm -f ./conftest.sh
 
3284
    acl_cv_rpath=done
 
3285
  
 
3286
fi
 
3287
echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
 
3288
echo "${ECHO_T}$acl_cv_rpath" >&6
 
3289
  wl="$acl_cv_wl"
 
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"
 
3299
  :
 
3300
else
 
3301
  enable_rpath=yes
 
3302
fi; 
 
3303
 
 
3304
 
 
3305
    
 
3306
  
 
3307
 
 
3308
      
 
3309
  
 
3310
    use_additional=yes
 
3311
  
 
3312
  acl_save_prefix="$prefix"
 
3313
  prefix="$acl_final_prefix"
 
3314
  acl_save_exec_prefix="$exec_prefix"
 
3315
  exec_prefix="$acl_final_exec_prefix"
 
3316
  
 
3317
    eval additional_includedir=\"$includedir\"
 
3318
    eval additional_libdir=\"$libdir\"
 
3319
  
 
3320
  exec_prefix="$acl_save_exec_prefix"
 
3321
  prefix="$acl_save_prefix"
 
3322
 
 
3323
  
 
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"
 
3327
  
 
3328
    if test "X$withval" = "Xno"; then
 
3329
      use_additional=no
 
3330
    else
 
3331
      if test "X$withval" = "X"; then
 
3332
        
 
3333
  acl_save_prefix="$prefix"
 
3334
  prefix="$acl_final_prefix"
 
3335
  acl_save_exec_prefix="$exec_prefix"
 
3336
  exec_prefix="$acl_final_exec_prefix"
 
3337
  
 
3338
          eval additional_includedir=\"$includedir\"
 
3339
          eval additional_libdir=\"$libdir\"
 
3340
        
 
3341
  exec_prefix="$acl_save_exec_prefix"
 
3342
  prefix="$acl_save_prefix"
 
3343
 
 
3344
      else
 
3345
        additional_includedir="$withval/include"
 
3346
        additional_libdir="$withval/lib"
 
3347
      fi
 
3348
    fi
 
3349
 
 
3350
fi; 
 
3351
      LIBICONV=
 
3352
  LTLIBICONV=
 
3353
  INCICONV=
 
3354
  rpathdirs=
 
3355
  ltrpathdirs=
 
3356
  names_already_handled=
 
3357
  names_next_round='iconv '
 
3358
  while test -n "$names_next_round"; do
 
3359
    names_this_round="$names_next_round"
 
3360
    names_next_round=
 
3361
    for name in $names_this_round; do
 
3362
      already_handled=
 
3363
      for n in $names_already_handled; do
 
3364
        if test "$n" = "$name"; then
 
3365
          already_handled=yes
 
3366
          break
 
3367
        fi
 
3368
      done
 
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"
 
3379
          else
 
3380
                                    :
 
3381
          fi
 
3382
        else
 
3383
                              found_dir=
 
3384
          found_la=
 
3385
          found_so=
 
3386
          found_a=
 
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"
 
3393
              fi
 
3394
            else
 
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"
 
3400
                fi
 
3401
              fi
 
3402
            fi
 
3403
          fi
 
3404
          if test "X$found_dir" = "X"; then
 
3405
            for x in $LDFLAGS $LTLIBICONV; do
 
3406
              
 
3407
  acl_save_prefix="$prefix"
 
3408
  prefix="$acl_final_prefix"
 
3409
  acl_save_exec_prefix="$exec_prefix"
 
3410
  exec_prefix="$acl_final_exec_prefix"
 
3411
  eval x=\"$x\"
 
3412
  exec_prefix="$acl_save_exec_prefix"
 
3413
  prefix="$acl_save_prefix"
 
3414
 
 
3415
              case "$x" in
 
3416
                -L*)
 
3417
                  dir=`echo "X$x" | sed -e 's/^X-L//'`
 
3418
                  if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
 
3419
                    found_dir="$dir"
 
3420
                    found_so="$dir/lib$name.$shlibext"
 
3421
                    if test -f "$dir/lib$name.la"; then
 
3422
                      found_la="$dir/lib$name.la"
 
3423
                    fi
 
3424
                  else
 
3425
                    if test -f "$dir/lib$name.$libext"; then
 
3426
                      found_dir="$dir"
 
3427
                      found_a="$dir/lib$name.$libext"
 
3428
                      if test -f "$dir/lib$name.la"; then
 
3429
                        found_la="$dir/lib$name.la"
 
3430
                      fi
 
3431
                    fi
 
3432
                  fi
 
3433
                  ;;
 
3434
              esac
 
3435
              if test "X$found_dir" != "X"; then
 
3436
                break
 
3437
              fi
 
3438
            done
 
3439
          fi
 
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"
 
3445
              else
 
3446
                                                                                haveit=
 
3447
                for x in $ltrpathdirs; do
 
3448
                  if test "X$x" = "X$found_dir"; then
 
3449
                    haveit=yes
 
3450
                    break
 
3451
                  fi
 
3452
                done
 
3453
                if test -z "$haveit"; then
 
3454
                  ltrpathdirs="$ltrpathdirs $found_dir"
 
3455
                fi
 
3456
                                if test "$hardcode_direct" = yes; then
 
3457
                                                      LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
 
3458
                else
 
3459
                  if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
 
3460
                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
 
3461
                                                            haveit=
 
3462
                    for x in $rpathdirs; do
 
3463
                      if test "X$x" = "X$found_dir"; then
 
3464
                        haveit=yes
 
3465
                        break
 
3466
                      fi
 
3467
                    done
 
3468
                    if test -z "$haveit"; then
 
3469
                      rpathdirs="$rpathdirs $found_dir"
 
3470
                    fi
 
3471
                  else
 
3472
                                                                                haveit=
 
3473
                    for x in $LDFLAGS $LIBICONV; do
 
3474
                      
 
3475
  acl_save_prefix="$prefix"
 
3476
  prefix="$acl_final_prefix"
 
3477
  acl_save_exec_prefix="$exec_prefix"
 
3478
  exec_prefix="$acl_final_exec_prefix"
 
3479
  eval x=\"$x\"
 
3480
  exec_prefix="$acl_save_exec_prefix"
 
3481
  prefix="$acl_save_prefix"
 
3482
 
 
3483
                      if test "X$x" = "X-L$found_dir"; then
 
3484
                        haveit=yes
 
3485
                        break
 
3486
                      fi
 
3487
                    done
 
3488
                    if test -z "$haveit"; then
 
3489
                      LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
 
3490
                    fi
 
3491
                    if test "$hardcode_minus_L" != no; then
 
3492
                                                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
 
3493
                    else
 
3494
                                                                                                                                                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
 
3495
                    fi
 
3496
                  fi
 
3497
                fi
 
3498
              fi
 
3499
            else
 
3500
              if test "X$found_a" != "X"; then
 
3501
                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
 
3502
              else
 
3503
                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
 
3504
              fi
 
3505
            fi
 
3506
                        additional_includedir=
 
3507
            case "$found_dir" in
 
3508
              */lib | */lib/)
 
3509
                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
 
3510
                additional_includedir="$basedir/include"
 
3511
                ;;
 
3512
            esac
 
3513
            if test "X$additional_includedir" != "X"; then
 
3514
                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
 
3515
                haveit=
 
3516
                if test "X$additional_includedir" = "X/usr/local/include"; then
 
3517
                  if test -n "$GCC"; then
 
3518
                    case $host_os in
 
3519
                      linux*) haveit=yes;;
 
3520
                    esac
 
3521
                  fi
 
3522
                fi
 
3523
                if test -z "$haveit"; then
 
3524
                  for x in $CPPFLAGS $INCICONV; do
 
3525
                    
 
3526
  acl_save_prefix="$prefix"
 
3527
  prefix="$acl_final_prefix"
 
3528
  acl_save_exec_prefix="$exec_prefix"
 
3529
  exec_prefix="$acl_final_exec_prefix"
 
3530
  eval x=\"$x\"
 
3531
  exec_prefix="$acl_save_exec_prefix"
 
3532
  prefix="$acl_save_prefix"
 
3533
 
 
3534
                    if test "X$x" = "X-I$additional_includedir"; then
 
3535
                      haveit=yes
 
3536
                      break
 
3537
                    fi
 
3538
                  done
 
3539
                  if test -z "$haveit"; then
 
3540
                    if test -d "$additional_includedir"; then
 
3541
                                            INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
 
3542
                    fi
 
3543
                  fi
 
3544
                fi
 
3545
              fi
 
3546
            fi
 
3547
                        if test -n "$found_la"; then
 
3548
                                                        save_libdir="$libdir"
 
3549
              case "$found_la" in
 
3550
                */* | *\\*) . "$found_la" ;;
 
3551
                *) . "./$found_la" ;;
 
3552
              esac
 
3553
              libdir="$save_libdir"
 
3554
                            for dep in $dependency_libs; do
 
3555
                case "$dep" in
 
3556
                  -L*)
 
3557
                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
 
3558
                                                                                                                                                                if test "X$additional_libdir" != "X/usr/lib"; then
 
3559
                      haveit=
 
3560
                      if test "X$additional_libdir" = "X/usr/local/lib"; then
 
3561
                        if test -n "$GCC"; then
 
3562
                          case $host_os in
 
3563
                            linux*) haveit=yes;;
 
3564
                          esac
 
3565
                        fi
 
3566
                      fi
 
3567
                      if test -z "$haveit"; then
 
3568
                        haveit=
 
3569
                        for x in $LDFLAGS $LIBICONV; do
 
3570
                          
 
3571
  acl_save_prefix="$prefix"
 
3572
  prefix="$acl_final_prefix"
 
3573
  acl_save_exec_prefix="$exec_prefix"
 
3574
  exec_prefix="$acl_final_exec_prefix"
 
3575
  eval x=\"$x\"
 
3576
  exec_prefix="$acl_save_exec_prefix"
 
3577
  prefix="$acl_save_prefix"
 
3578
 
 
3579
                          if test "X$x" = "X-L$additional_libdir"; then
 
3580
                            haveit=yes
 
3581
                            break
 
3582
                          fi
 
3583
                        done
 
3584
                        if test -z "$haveit"; then
 
3585
                          if test -d "$additional_libdir"; then
 
3586
                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
 
3587
                          fi
 
3588
                        fi
 
3589
                        haveit=
 
3590
                        for x in $LDFLAGS $LTLIBICONV; do
 
3591
                          
 
3592
  acl_save_prefix="$prefix"
 
3593
  prefix="$acl_final_prefix"
 
3594
  acl_save_exec_prefix="$exec_prefix"
 
3595
  exec_prefix="$acl_final_exec_prefix"
 
3596
  eval x=\"$x\"
 
3597
  exec_prefix="$acl_save_exec_prefix"
 
3598
  prefix="$acl_save_prefix"
 
3599
 
 
3600
                          if test "X$x" = "X-L$additional_libdir"; then
 
3601
                            haveit=yes
 
3602
                            break
 
3603
                          fi
 
3604
                        done
 
3605
                        if test -z "$haveit"; then
 
3606
                          if test -d "$additional_libdir"; then
 
3607
                                                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
 
3608
                          fi
 
3609
                        fi
 
3610
                      fi
 
3611
                    fi
 
3612
                    ;;
 
3613
                  -R*)
 
3614
                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
 
3615
                    if test "$enable_rpath" != no; then
 
3616
                                                                  haveit=
 
3617
                      for x in $rpathdirs; do
 
3618
                        if test "X$x" = "X$dir"; then
 
3619
                          haveit=yes
 
3620
                          break
 
3621
                        fi
 
3622
                      done
 
3623
                      if test -z "$haveit"; then
 
3624
                        rpathdirs="$rpathdirs $dir"
 
3625
                      fi
 
3626
                                                                  haveit=
 
3627
                      for x in $ltrpathdirs; do
 
3628
                        if test "X$x" = "X$dir"; then
 
3629
                          haveit=yes
 
3630
                          break
 
3631
                        fi
 
3632
                      done
 
3633
                      if test -z "$haveit"; then
 
3634
                        ltrpathdirs="$ltrpathdirs $dir"
 
3635
                      fi
 
3636
                    fi
 
3637
                    ;;
 
3638
                  -l*)
 
3639
                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
 
3640
                    ;;
 
3641
                  *.la)
 
3642
                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
 
3643
                    ;;
 
3644
                  *)
 
3645
                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
 
3646
                    LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
 
3647
                    ;;
 
3648
                esac
 
3649
              done
 
3650
            fi
 
3651
          else
 
3652
                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
 
3653
            LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
 
3654
          fi
 
3655
        fi
 
3656
      fi
 
3657
    done
 
3658
  done
 
3659
  if test "X$rpathdirs" != "X"; then
 
3660
    if test -n "$hardcode_libdir_separator"; then
 
3661
                        alldirs=
 
3662
      for found_dir in $rpathdirs; do
 
3663
        alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
 
3664
      done
 
3665
            acl_save_libdir="$libdir"
 
3666
      libdir="$alldirs"
 
3667
      eval flag=\"$hardcode_libdir_flag_spec\"
 
3668
      libdir="$acl_save_libdir"
 
3669
      LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
 
3670
    else
 
3671
            for found_dir in $rpathdirs; do
 
3672
        acl_save_libdir="$libdir"
 
3673
        libdir="$found_dir"
 
3674
        eval flag=\"$hardcode_libdir_flag_spec\"
 
3675
        libdir="$acl_save_libdir"
 
3676
        LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
 
3677
      done
 
3678
    fi
 
3679
  fi
 
3680
  if test "X$ltrpathdirs" != "X"; then
 
3681
            for found_dir in $ltrpathdirs; do
 
3682
      LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
 
3683
    done
 
3684
  fi
 
3685
 
 
3686
 
 
3687
 
 
3688
 
 
3689
    
 
3690
  
 
3691
  
 
3692
  
 
3693
 
 
3694
    
 
3695
 
 
3696
    
 
3697
  
 
3698
 
 
3699
                        
 
3700
    
 
3701
  
 
3702
 
 
3703
    
 
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"
 
3709
  USE_NLS=$enableval
 
3710
else
 
3711
  USE_NLS=yes
 
3712
fi; 
 
3713
  echo "$as_me:$LINENO: result: $USE_NLS" >&5
 
3714
echo "${ECHO_T}$USE_NLS" >&6
 
3715
  
 
3716
 
 
3717
 
 
3718
  
 
3719
  LIBINTL=
 
3720
  LTLIBINTL=
 
3721
  POSUB=
 
3722
 
 
3723
    if test "$USE_NLS" = "yes"; then
 
3724
    gt_use_preinstalled_gnugettext=no
 
3725
    
 
3726
                        
 
3727
                
 
3728
        
 
3729
        
 
3730
 
 
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
 
3735
else
 
3736
  cat >conftest.$ac_ext <<_ACEOF
 
3737
/* confdefs.h.  */
 
3738
_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;
 
3745
int
 
3746
main ()
 
3747
{
 
3748
bindtextdomain ("", "");
 
3749
return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
 
3750
  ;
 
3751
  return 0;
 
3752
}
 
3753
_ACEOF
 
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
 
3757
  ac_status=$?
 
3758
  grep -v '^ *+' conftest.er1 >conftest.err
 
3759
  rm -f conftest.er1
 
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
 
3765
  (eval $ac_try) 2>&5
 
3766
  ac_status=$?
 
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
 
3771
  (eval $ac_try) 2>&5
 
3772
  ac_status=$?
 
3773
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3774
  (exit $ac_status); }; }; then
 
3775
  gt_cv_func_gnugettext1_libc=yes
 
3776
else
 
3777
  echo "$as_me: failed program was:" >&5
 
3778
sed 's/^/| /' conftest.$ac_ext >&5
 
3779
 
 
3780
gt_cv_func_gnugettext1_libc=no
 
3781
fi
 
3782
rm -f conftest.err conftest.$ac_objext \
 
3783
      conftest$ac_exeext conftest.$ac_ext
 
3784
fi
 
3785
echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5
 
3786
echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6
 
3787
 
 
3788
        if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
 
3789
                    
 
3790
            
 
3791
    
 
3792
      
 
3793
 
 
3794
          am_save_CPPFLAGS="$CPPFLAGS"
 
3795
  
 
3796
  for element in $INCICONV; do
 
3797
    haveit=
 
3798
    for x in $CPPFLAGS; do
 
3799
      
 
3800
  acl_save_prefix="$prefix"
 
3801
  prefix="$acl_final_prefix"
 
3802
  acl_save_exec_prefix="$exec_prefix"
 
3803
  exec_prefix="$acl_final_exec_prefix"
 
3804
  eval x=\"$x\"
 
3805
  exec_prefix="$acl_save_exec_prefix"
 
3806
  prefix="$acl_save_prefix"
 
3807
 
 
3808
      if test "X$x" = "X$element"; then
 
3809
        haveit=yes
 
3810
        break
 
3811
      fi
 
3812
    done
 
3813
    if test -z "$haveit"; then
 
3814
      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
 
3815
    fi
 
3816
  done
 
3817
 
 
3818
 
 
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
 
3823
else
 
3824
  
 
3825
    am_cv_func_iconv="no, consider installing GNU libiconv"
 
3826
    am_cv_lib_iconv=no
 
3827
    cat >conftest.$ac_ext <<_ACEOF
 
3828
/* confdefs.h.  */
 
3829
_ACEOF
 
3830
cat confdefs.h >>conftest.$ac_ext
 
3831
cat >>conftest.$ac_ext <<_ACEOF
 
3832
/* end confdefs.h.  */
 
3833
#include <stdlib.h>
 
3834
#include <iconv.h>
 
3835
int
 
3836
main ()
 
3837
{
 
3838
iconv_t cd = iconv_open("","");
 
3839
       iconv(cd,NULL,NULL,NULL,NULL);
 
3840
       iconv_close(cd);
 
3841
  ;
 
3842
  return 0;
 
3843
}
 
3844
_ACEOF
 
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
 
3848
  ac_status=$?
 
3849
  grep -v '^ *+' conftest.er1 >conftest.err
 
3850
  rm -f conftest.er1
 
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
 
3856
  (eval $ac_try) 2>&5
 
3857
  ac_status=$?
 
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
 
3862
  (eval $ac_try) 2>&5
 
3863
  ac_status=$?
 
3864
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3865
  (exit $ac_status); }; }; then
 
3866
  am_cv_func_iconv=yes
 
3867
else
 
3868
  echo "$as_me: failed program was:" >&5
 
3869
sed 's/^/| /' conftest.$ac_ext >&5
 
3870
 
 
3871
fi
 
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
 
3878
/* confdefs.h.  */
 
3879
_ACEOF
 
3880
cat confdefs.h >>conftest.$ac_ext
 
3881
cat >>conftest.$ac_ext <<_ACEOF
 
3882
/* end confdefs.h.  */
 
3883
#include <stdlib.h>
 
3884
#include <iconv.h>
 
3885
int
 
3886
main ()
 
3887
{
 
3888
iconv_t cd = iconv_open("","");
 
3889
         iconv(cd,NULL,NULL,NULL,NULL);
 
3890
         iconv_close(cd);
 
3891
  ;
 
3892
  return 0;
 
3893
}
 
3894
_ACEOF
 
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
 
3898
  ac_status=$?
 
3899
  grep -v '^ *+' conftest.er1 >conftest.err
 
3900
  rm -f conftest.er1
 
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
 
3906
  (eval $ac_try) 2>&5
 
3907
  ac_status=$?
 
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
 
3912
  (eval $ac_try) 2>&5
 
3913
  ac_status=$?
 
3914
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3915
  (exit $ac_status); }; }; then
 
3916
  am_cv_lib_iconv=yes
 
3917
        am_cv_func_iconv=yes
 
3918
else
 
3919
  echo "$as_me: failed program was:" >&5
 
3920
sed 's/^/| /' conftest.$ac_ext >&5
 
3921
 
 
3922
fi
 
3923
rm -f conftest.err conftest.$ac_objext \
 
3924
      conftest$ac_exeext conftest.$ac_ext
 
3925
      LIBS="$am_save_LIBS"
 
3926
    fi
 
3927
  
 
3928
fi
 
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
 
3932
    
 
3933
cat >>confdefs.h <<\_ACEOF
 
3934
@%:@define HAVE_ICONV 1
 
3935
_ACEOF
 
3936
 
 
3937
  fi
 
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
 
3943
  else
 
3944
            CPPFLAGS="$am_save_CPPFLAGS"
 
3945
    LIBICONV=
 
3946
    LTLIBICONV=
 
3947
  fi
 
3948
  
 
3949
  
 
3950
 
 
3951
          
 
3952
                                                  
 
3953
  
 
3954
    use_additional=yes
 
3955
  
 
3956
  acl_save_prefix="$prefix"
 
3957
  prefix="$acl_final_prefix"
 
3958
  acl_save_exec_prefix="$exec_prefix"
 
3959
  exec_prefix="$acl_final_exec_prefix"
 
3960
  
 
3961
    eval additional_includedir=\"$includedir\"
 
3962
    eval additional_libdir=\"$libdir\"
 
3963
  
 
3964
  exec_prefix="$acl_save_exec_prefix"
 
3965
  prefix="$acl_save_prefix"
 
3966
 
 
3967
  
 
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"
 
3971
  
 
3972
    if test "X$withval" = "Xno"; then
 
3973
      use_additional=no
 
3974
    else
 
3975
      if test "X$withval" = "X"; then
 
3976
        
 
3977
  acl_save_prefix="$prefix"
 
3978
  prefix="$acl_final_prefix"
 
3979
  acl_save_exec_prefix="$exec_prefix"
 
3980
  exec_prefix="$acl_final_exec_prefix"
 
3981
  
 
3982
          eval additional_includedir=\"$includedir\"
 
3983
          eval additional_libdir=\"$libdir\"
 
3984
        
 
3985
  exec_prefix="$acl_save_exec_prefix"
 
3986
  prefix="$acl_save_prefix"
 
3987
 
 
3988
      else
 
3989
        additional_includedir="$withval/include"
 
3990
        additional_libdir="$withval/lib"
 
3991
      fi
 
3992
    fi
 
3993
 
 
3994
fi; 
 
3995
      LIBINTL=
 
3996
  LTLIBINTL=
 
3997
  INCINTL=
 
3998
  rpathdirs=
 
3999
  ltrpathdirs=
 
4000
  names_already_handled=
 
4001
  names_next_round='intl '
 
4002
  while test -n "$names_next_round"; do
 
4003
    names_this_round="$names_next_round"
 
4004
    names_next_round=
 
4005
    for name in $names_this_round; do
 
4006
      already_handled=
 
4007
      for n in $names_already_handled; do
 
4008
        if test "$n" = "$name"; then
 
4009
          already_handled=yes
 
4010
          break
 
4011
        fi
 
4012
      done
 
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"
 
4023
          else
 
4024
                                    :
 
4025
          fi
 
4026
        else
 
4027
                              found_dir=
 
4028
          found_la=
 
4029
          found_so=
 
4030
          found_a=
 
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"
 
4037
              fi
 
4038
            else
 
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"
 
4044
                fi
 
4045
              fi
 
4046
            fi
 
4047
          fi
 
4048
          if test "X$found_dir" = "X"; then
 
4049
            for x in $LDFLAGS $LTLIBINTL; do
 
4050
              
 
4051
  acl_save_prefix="$prefix"
 
4052
  prefix="$acl_final_prefix"
 
4053
  acl_save_exec_prefix="$exec_prefix"
 
4054
  exec_prefix="$acl_final_exec_prefix"
 
4055
  eval x=\"$x\"
 
4056
  exec_prefix="$acl_save_exec_prefix"
 
4057
  prefix="$acl_save_prefix"
 
4058
 
 
4059
              case "$x" in
 
4060
                -L*)
 
4061
                  dir=`echo "X$x" | sed -e 's/^X-L//'`
 
4062
                  if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
 
4063
                    found_dir="$dir"
 
4064
                    found_so="$dir/lib$name.$shlibext"
 
4065
                    if test -f "$dir/lib$name.la"; then
 
4066
                      found_la="$dir/lib$name.la"
 
4067
                    fi
 
4068
                  else
 
4069
                    if test -f "$dir/lib$name.$libext"; then
 
4070
                      found_dir="$dir"
 
4071
                      found_a="$dir/lib$name.$libext"
 
4072
                      if test -f "$dir/lib$name.la"; then
 
4073
                        found_la="$dir/lib$name.la"
 
4074
                      fi
 
4075
                    fi
 
4076
                  fi
 
4077
                  ;;
 
4078
              esac
 
4079
              if test "X$found_dir" != "X"; then
 
4080
                break
 
4081
              fi
 
4082
            done
 
4083
          fi
 
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"
 
4089
              else
 
4090
                                                                                haveit=
 
4091
                for x in $ltrpathdirs; do
 
4092
                  if test "X$x" = "X$found_dir"; then
 
4093
                    haveit=yes
 
4094
                    break
 
4095
                  fi
 
4096
                done
 
4097
                if test -z "$haveit"; then
 
4098
                  ltrpathdirs="$ltrpathdirs $found_dir"
 
4099
                fi
 
4100
                                if test "$hardcode_direct" = yes; then
 
4101
                                                      LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
 
4102
                else
 
4103
                  if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
 
4104
                                                            LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
 
4105
                                                            haveit=
 
4106
                    for x in $rpathdirs; do
 
4107
                      if test "X$x" = "X$found_dir"; then
 
4108
                        haveit=yes
 
4109
                        break
 
4110
                      fi
 
4111
                    done
 
4112
                    if test -z "$haveit"; then
 
4113
                      rpathdirs="$rpathdirs $found_dir"
 
4114
                    fi
 
4115
                  else
 
4116
                                                                                haveit=
 
4117
                    for x in $LDFLAGS $LIBINTL; do
 
4118
                      
 
4119
  acl_save_prefix="$prefix"
 
4120
  prefix="$acl_final_prefix"
 
4121
  acl_save_exec_prefix="$exec_prefix"
 
4122
  exec_prefix="$acl_final_exec_prefix"
 
4123
  eval x=\"$x\"
 
4124
  exec_prefix="$acl_save_exec_prefix"
 
4125
  prefix="$acl_save_prefix"
 
4126
 
 
4127
                      if test "X$x" = "X-L$found_dir"; then
 
4128
                        haveit=yes
 
4129
                        break
 
4130
                      fi
 
4131
                    done
 
4132
                    if test -z "$haveit"; then
 
4133
                      LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
 
4134
                    fi
 
4135
                    if test "$hardcode_minus_L" != no; then
 
4136
                                                                                        LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
 
4137
                    else
 
4138
                                                                                                                                                                                LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
 
4139
                    fi
 
4140
                  fi
 
4141
                fi
 
4142
              fi
 
4143
            else
 
4144
              if test "X$found_a" != "X"; then
 
4145
                                LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
 
4146
              else
 
4147
                                                LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
 
4148
              fi
 
4149
            fi
 
4150
                        additional_includedir=
 
4151
            case "$found_dir" in
 
4152
              */lib | */lib/)
 
4153
                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
 
4154
                additional_includedir="$basedir/include"
 
4155
                ;;
 
4156
            esac
 
4157
            if test "X$additional_includedir" != "X"; then
 
4158
                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
 
4159
                haveit=
 
4160
                if test "X$additional_includedir" = "X/usr/local/include"; then
 
4161
                  if test -n "$GCC"; then
 
4162
                    case $host_os in
 
4163
                      linux*) haveit=yes;;
 
4164
                    esac
 
4165
                  fi
 
4166
                fi
 
4167
                if test -z "$haveit"; then
 
4168
                  for x in $CPPFLAGS $INCINTL; do
 
4169
                    
 
4170
  acl_save_prefix="$prefix"
 
4171
  prefix="$acl_final_prefix"
 
4172
  acl_save_exec_prefix="$exec_prefix"
 
4173
  exec_prefix="$acl_final_exec_prefix"
 
4174
  eval x=\"$x\"
 
4175
  exec_prefix="$acl_save_exec_prefix"
 
4176
  prefix="$acl_save_prefix"
 
4177
 
 
4178
                    if test "X$x" = "X-I$additional_includedir"; then
 
4179
                      haveit=yes
 
4180
                      break
 
4181
                    fi
 
4182
                  done
 
4183
                  if test -z "$haveit"; then
 
4184
                    if test -d "$additional_includedir"; then
 
4185
                                            INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
 
4186
                    fi
 
4187
                  fi
 
4188
                fi
 
4189
              fi
 
4190
            fi
 
4191
                        if test -n "$found_la"; then
 
4192
                                                        save_libdir="$libdir"
 
4193
              case "$found_la" in
 
4194
                */* | *\\*) . "$found_la" ;;
 
4195
                *) . "./$found_la" ;;
 
4196
              esac
 
4197
              libdir="$save_libdir"
 
4198
                            for dep in $dependency_libs; do
 
4199
                case "$dep" in
 
4200
                  -L*)
 
4201
                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
 
4202
                                                                                                                                                                if test "X$additional_libdir" != "X/usr/lib"; then
 
4203
                      haveit=
 
4204
                      if test "X$additional_libdir" = "X/usr/local/lib"; then
 
4205
                        if test -n "$GCC"; then
 
4206
                          case $host_os in
 
4207
                            linux*) haveit=yes;;
 
4208
                          esac
 
4209
                        fi
 
4210
                      fi
 
4211
                      if test -z "$haveit"; then
 
4212
                        haveit=
 
4213
                        for x in $LDFLAGS $LIBINTL; do
 
4214
                          
 
4215
  acl_save_prefix="$prefix"
 
4216
  prefix="$acl_final_prefix"
 
4217
  acl_save_exec_prefix="$exec_prefix"
 
4218
  exec_prefix="$acl_final_exec_prefix"
 
4219
  eval x=\"$x\"
 
4220
  exec_prefix="$acl_save_exec_prefix"
 
4221
  prefix="$acl_save_prefix"
 
4222
 
 
4223
                          if test "X$x" = "X-L$additional_libdir"; then
 
4224
                            haveit=yes
 
4225
                            break
 
4226
                          fi
 
4227
                        done
 
4228
                        if test -z "$haveit"; then
 
4229
                          if test -d "$additional_libdir"; then
 
4230
                                                        LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
 
4231
                          fi
 
4232
                        fi
 
4233
                        haveit=
 
4234
                        for x in $LDFLAGS $LTLIBINTL; do
 
4235
                          
 
4236
  acl_save_prefix="$prefix"
 
4237
  prefix="$acl_final_prefix"
 
4238
  acl_save_exec_prefix="$exec_prefix"
 
4239
  exec_prefix="$acl_final_exec_prefix"
 
4240
  eval x=\"$x\"
 
4241
  exec_prefix="$acl_save_exec_prefix"
 
4242
  prefix="$acl_save_prefix"
 
4243
 
 
4244
                          if test "X$x" = "X-L$additional_libdir"; then
 
4245
                            haveit=yes
 
4246
                            break
 
4247
                          fi
 
4248
                        done
 
4249
                        if test -z "$haveit"; then
 
4250
                          if test -d "$additional_libdir"; then
 
4251
                                                        LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
 
4252
                          fi
 
4253
                        fi
 
4254
                      fi
 
4255
                    fi
 
4256
                    ;;
 
4257
                  -R*)
 
4258
                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
 
4259
                    if test "$enable_rpath" != no; then
 
4260
                                                                  haveit=
 
4261
                      for x in $rpathdirs; do
 
4262
                        if test "X$x" = "X$dir"; then
 
4263
                          haveit=yes
 
4264
                          break
 
4265
                        fi
 
4266
                      done
 
4267
                      if test -z "$haveit"; then
 
4268
                        rpathdirs="$rpathdirs $dir"
 
4269
                      fi
 
4270
                                                                  haveit=
 
4271
                      for x in $ltrpathdirs; do
 
4272
                        if test "X$x" = "X$dir"; then
 
4273
                          haveit=yes
 
4274
                          break
 
4275
                        fi
 
4276
                      done
 
4277
                      if test -z "$haveit"; then
 
4278
                        ltrpathdirs="$ltrpathdirs $dir"
 
4279
                      fi
 
4280
                    fi
 
4281
                    ;;
 
4282
                  -l*)
 
4283
                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
 
4284
                    ;;
 
4285
                  *.la)
 
4286
                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
 
4287
                    ;;
 
4288
                  *)
 
4289
                                        LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
 
4290
                    LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
 
4291
                    ;;
 
4292
                esac
 
4293
              done
 
4294
            fi
 
4295
          else
 
4296
                                                            LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
 
4297
            LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
 
4298
          fi
 
4299
        fi
 
4300
      fi
 
4301
    done
 
4302
  done
 
4303
  if test "X$rpathdirs" != "X"; then
 
4304
    if test -n "$hardcode_libdir_separator"; then
 
4305
                        alldirs=
 
4306
      for found_dir in $rpathdirs; do
 
4307
        alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
 
4308
      done
 
4309
            acl_save_libdir="$libdir"
 
4310
      libdir="$alldirs"
 
4311
      eval flag=\"$hardcode_libdir_flag_spec\"
 
4312
      libdir="$acl_save_libdir"
 
4313
      LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
 
4314
    else
 
4315
            for found_dir in $rpathdirs; do
 
4316
        acl_save_libdir="$libdir"
 
4317
        libdir="$found_dir"
 
4318
        eval flag=\"$hardcode_libdir_flag_spec\"
 
4319
        libdir="$acl_save_libdir"
 
4320
        LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
 
4321
      done
 
4322
    fi
 
4323
  fi
 
4324
  if test "X$ltrpathdirs" != "X"; then
 
4325
            for found_dir in $ltrpathdirs; do
 
4326
      LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
 
4327
    done
 
4328
  fi
 
4329
 
 
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
 
4334
else
 
4335
  gt_save_CPPFLAGS="$CPPFLAGS"
 
4336
            CPPFLAGS="$CPPFLAGS $INCINTL"
 
4337
            gt_save_LIBS="$LIBS"
 
4338
            LIBS="$LIBS $LIBINTL"
 
4339
                        cat >conftest.$ac_ext <<_ACEOF
 
4340
/* confdefs.h.  */
 
4341
_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;
 
4347
extern
 
4348
#ifdef __cplusplus
 
4349
"C"
 
4350
#endif
 
4351
const char *_nl_expand_alias ();
 
4352
int
 
4353
main ()
 
4354
{
 
4355
bindtextdomain ("", "");
 
4356
return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
 
4357
  ;
 
4358
  return 0;
 
4359
}
 
4360
_ACEOF
 
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
 
4364
  ac_status=$?
 
4365
  grep -v '^ *+' conftest.er1 >conftest.err
 
4366
  rm -f conftest.er1
 
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
 
4372
  (eval $ac_try) 2>&5
 
4373
  ac_status=$?
 
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
 
4378
  (eval $ac_try) 2>&5
 
4379
  ac_status=$?
 
4380
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4381
  (exit $ac_status); }; }; then
 
4382
  gt_cv_func_gnugettext1_libintl=yes
 
4383
else
 
4384
  echo "$as_me: failed program was:" >&5
 
4385
sed 's/^/| /' conftest.$ac_ext >&5
 
4386
 
 
4387
gt_cv_func_gnugettext1_libintl=no
 
4388
fi
 
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
 
4394
/* confdefs.h.  */
 
4395
_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;
 
4401
extern
 
4402
#ifdef __cplusplus
 
4403
"C"
 
4404
#endif
 
4405
const char *_nl_expand_alias ();
 
4406
int
 
4407
main ()
 
4408
{
 
4409
bindtextdomain ("", "");
 
4410
return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
 
4411
  ;
 
4412
  return 0;
 
4413
}
 
4414
_ACEOF
 
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
 
4418
  ac_status=$?
 
4419
  grep -v '^ *+' conftest.er1 >conftest.err
 
4420
  rm -f conftest.er1
 
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
 
4426
  (eval $ac_try) 2>&5
 
4427
  ac_status=$?
 
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
 
4432
  (eval $ac_try) 2>&5
 
4433
  ac_status=$?
 
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
 
4439
               
 
4440
else
 
4441
  echo "$as_me: failed program was:" >&5
 
4442
sed 's/^/| /' conftest.$ac_ext >&5
 
4443
 
 
4444
fi
 
4445
rm -f conftest.err conftest.$ac_objext \
 
4446
      conftest$ac_exeext conftest.$ac_ext
 
4447
            fi
 
4448
            CPPFLAGS="$gt_save_CPPFLAGS"
 
4449
            LIBS="$gt_save_LIBS"
 
4450
fi
 
4451
echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5
 
4452
echo "${ECHO_T}$gt_cv_func_gnugettext1_libintl" >&6
 
4453
        fi
 
4454
 
 
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
 
4460
        else
 
4461
                    LIBINTL=
 
4462
          LTLIBINTL=
 
4463
          INCINTL=
 
4464
        fi
 
4465
 
 
4466
    
 
4467
 
 
4468
    if test "$gt_use_preinstalled_gnugettext" = "yes" \
 
4469
       || test "$nls_cv_use_gnu_gettext" = "yes"; then
 
4470
      
 
4471
cat >>confdefs.h <<\_ACEOF
 
4472
@%:@define ENABLE_NLS 1
 
4473
_ACEOF
 
4474
 
 
4475
    else
 
4476
      USE_NLS=no
 
4477
    fi
 
4478
  fi
 
4479
 
 
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"
 
4490
      else
 
4491
        gt_source="libc"
 
4492
      fi
 
4493
    else
 
4494
      gt_source="included intl directory"
 
4495
    fi
 
4496
    echo "$as_me:$LINENO: result: $gt_source" >&5
 
4497
echo "${ECHO_T}$gt_source" >&6
 
4498
  fi
 
4499
 
 
4500
  if test "$USE_NLS" = "yes"; then
 
4501
 
 
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
 
4508
        
 
4509
  for element in $INCINTL; do
 
4510
    haveit=
 
4511
    for x in $CPPFLAGS; do
 
4512
      
 
4513
  acl_save_prefix="$prefix"
 
4514
  prefix="$acl_final_prefix"
 
4515
  acl_save_exec_prefix="$exec_prefix"
 
4516
  exec_prefix="$acl_final_exec_prefix"
 
4517
  eval x=\"$x\"
 
4518
  exec_prefix="$acl_save_exec_prefix"
 
4519
  prefix="$acl_save_prefix"
 
4520
 
 
4521
      if test "X$x" = "X$element"; then
 
4522
        haveit=yes
 
4523
        break
 
4524
      fi
 
4525
    done
 
4526
    if test -z "$haveit"; then
 
4527
      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
 
4528
    fi
 
4529
  done
 
4530
 
 
4531
      fi
 
4532
 
 
4533
            
 
4534
cat >>confdefs.h <<\_ACEOF
 
4535
@%:@define HAVE_GETTEXT 1
 
4536
_ACEOF
 
4537
 
 
4538
      
 
4539
cat >>confdefs.h <<\_ACEOF
 
4540
@%:@define HAVE_DCGETTEXT 1
 
4541
_ACEOF
 
4542
 
 
4543
    fi
 
4544
 
 
4545
        POSUB=po
 
4546
  fi
 
4547
 
 
4548
  
 
4549
 
 
4550
    INTLLIBS="$LIBINTL"
 
4551
  
 
4552
 
 
4553
    
 
4554
  
 
4555
  
 
4556
 
 
4557
 
 
4558
 
 
4559
 
 
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"
 
4564
else
 
4565
  adonthelldatadir=none
 
4566
fi; 
 
4567
 
 
4568
 
 
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"
 
4573
else
 
4574
  adonthell_binary=none
 
4575
fi; 
 
4576
 
 
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
 
4584
else
 
4585
  case $adonthell_binary in
 
4586
  [\\/]* | ?:[\\/]*)
 
4587
  ac_cv_path_adonthell_binary="$adonthell_binary" # Let the user override the test with a path.
 
4588
  ;;
 
4589
  *)
 
4590
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4591
for as_dir in $PATH
 
4592
do
 
4593
  IFS=$as_save_IFS
 
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
 
4599
    break 2
 
4600
  fi
 
4601
done
 
4602
done
 
4603
 
 
4604
  ;;
 
4605
esac
 
4606
fi
 
4607
adonthell_binary=$ac_cv_path_adonthell_binary
 
4608
 
 
4609
if test -n "$adonthell_binary"; then
 
4610
  echo "$as_me:$LINENO: result: $adonthell_binary" >&5
 
4611
echo "${ECHO_T}$adonthell_binary" >&6
 
4612
else
 
4613
  echo "$as_me:$LINENO: result: no" >&5
 
4614
echo "${ECHO_T}no" >&6
 
4615
fi
 
4616
 
 
4617
   if test x$adonthell_binary = x ; then
 
4618
       echo "*** Waste's Edge requires the Adonthell game engine. Exiting ..."
 
4619
       exit 1
 
4620
   fi
 
4621
else
 
4622
   echo "Using $adonthell_binary as the Adonthell binary"
 
4623
fi
 
4624
 
 
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
 
4628
 
 
4629
 
 
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'`
 
4633
 
 
4634
 
 
4635
rm -f adonthell.ver
 
4636
 
 
4637
adonthellver="$adonthell_major_ver.$adonthell_minor_ver.$adonthell_micro_ver"
 
4638
 
 
4639
echo "$as_me:$LINENO: result: $adonthellver" >&5
 
4640
echo "${ECHO_T}$adonthellver" >&6
 
4641
 
 
4642
if test $adonthell_major_ver -eq 0 -a $adonthell_minor_ver -eq 3 -a $adonthell_micro_ver -gt 2 ;
 
4643
then
 
4644
    haveadonthell=yes
 
4645
fi
 
4646
 
 
4647
if test x$haveadonthell != xyes ; then
 
4648
   echo "*** This version of Waste's Edge requires Adonthell v0.3.3 or greater!"
 
4649
   exit 1
 
4650
fi
 
4651
 
 
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
 
4658
else
 
4659
   echo "Destination directory: $adonthelldatadir"
 
4660
fi
 
4661
 
 
4662
gamedatadir="${adonthelldatadir}/games/wastesedge"
 
4663
 
 
4664
 
 
4665
 
 
4666
 
 
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.
 
4674
#
 
4675
# config.status only pays attention to the cache file if you give it
 
4676
# the --recheck option to rerun configure.
 
4677
#
 
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
 
4680
# following values.
 
4681
 
 
4682
_ACEOF
 
4683
 
 
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.
 
4689
{
 
4690
  (set) 2>&1 |
 
4691
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
 
4692
    *ac_space=\ *)
 
4693
      # `set' does not quote correctly, so add quotes (double-quote
 
4694
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
4695
      sed -n \
 
4696
        "s/'/'\\\\''/g;
 
4697
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 
4698
      ;;
 
4699
    *)
 
4700
      # `set' quotes correctly as required by POSIX, so do not add quotes.
 
4701
      sed -n \
 
4702
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
4703
      ;;
 
4704
    esac;
 
4705
} |
 
4706
  sed '
 
4707
     t clear
 
4708
     : clear
 
4709
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 
4710
     t end
 
4711
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
4712
     : end' >>confcache
 
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
 
4717
  else
 
4718
    echo "not updating unwritable cache $cache_file"
 
4719
  fi
 
4720
fi
 
4721
rm -f confcache
 
4722
 
 
4723
test "x$prefix" = xNONE && prefix=$ac_default_prefix
 
4724
# Let make expand exec_prefix.
 
4725
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 
4726
 
 
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}:*/:/;
 
4735
s/:*@srcdir@:*/:/;
 
4736
s/^\([^=]*=[     ]*\):*/\1/;
 
4737
s/:*$//;
 
4738
s/^[^=]*=[       ]*$//;
 
4739
}'
 
4740
fi
 
4741
 
 
4742
# Transform confdefs.h into DEFS.
 
4743
# Protect against shell expansion while executing Makefile rules.
 
4744
# Protect against Makefile macro expansion.
 
4745
#
 
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
 
4750
t clear
 
4751
: clear
 
4752
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
 
4753
t quote
 
4754
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
 
4755
t quote
 
4756
d
 
4757
: quote
 
4758
s,[      `~#$^&*(){}\\|;'"<>?],\\&,g
 
4759
s,\[,\\&,g
 
4760
s,\],\\&,g
 
4761
s,\$,$$,g
 
4762
p
 
4763
_ACEOF
 
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
 
4769
# would break.
 
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
 
4773
 
 
4774
 
 
4775
ac_libobjs=
 
4776
ac_ltlibobjs=
 
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$//'`
 
4781
  # 2. Add them.
 
4782
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
 
4783
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
 
4784
done
 
4785
LIB@&t@OBJS=$ac_libobjs
 
4786
 
 
4787
LTLIBOBJS=$ac_ltlibobjs
 
4788
 
 
4789
 
 
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; }; }
 
4796
fi
 
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; }; }
 
4803
fi
 
4804
 
 
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
 
4811
#! $SHELL
 
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.
 
4816
 
 
4817
debug=false
 
4818
ac_cs_recheck=false
 
4819
ac_cs_silent=false
 
4820
SHELL=\${CONFIG_SHELL-$SHELL}
 
4821
_ACEOF
 
4822
 
 
4823
cat >>$CONFIG_STATUS <<\_ACEOF
 
4824
## --------------------- ##
 
4825
## M4sh Initialization.  ##
 
4826
## --------------------- ##
 
4827
 
 
4828
# Be Bourne compatible
 
4829
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
4830
  emulate sh
 
4831
  NULLCMD=:
 
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
 
4836
  set -o posix
 
4837
fi
 
4838
DUALCASE=1; export DUALCASE # for MKS sh
 
4839
 
 
4840
# Support unset when possible.
 
4841
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
4842
  as_unset=unset
 
4843
else
 
4844
  as_unset=false
 
4845
fi
 
4846
 
 
4847
 
 
4848
# Work around bugs in pre-3.0 UWIN ksh.
 
4849
$as_unset ENV MAIL MAILPATH
 
4850
PS1='$ '
 
4851
PS2='> '
 
4852
PS4='+ '
 
4853
 
 
4854
# NLS nuisances.
 
4855
for as_var in \
 
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
 
4859
do
 
4860
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
 
4861
    eval $as_var=C; export $as_var
 
4862
  else
 
4863
    $as_unset $as_var
 
4864
  fi
 
4865
done
 
4866
 
 
4867
# Required to use basename.
 
4868
if expr a : '\(a\)' >/dev/null 2>&1; then
 
4869
  as_expr=expr
 
4870
else
 
4871
  as_expr=false
 
4872
fi
 
4873
 
 
4874
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
4875
  as_basename=basename
 
4876
else
 
4877
  as_basename=false
 
4878
fi
 
4879
 
 
4880
 
 
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 ||
 
4887
echo X/"$0" |
 
4888
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
 
4889
          /^X\/\(\/\/\)$/{ s//\1/; q; }
 
4890
          /^X\/\(\/\).*/{ s//\1/; q; }
 
4891
          s/.*/./; q'`
 
4892
 
 
4893
 
 
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
 
4901
 
 
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
 
4906
  chmod +x conf$$.sh
 
4907
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
4908
    PATH_SEPARATOR=';'
 
4909
  else
 
4910
    PATH_SEPARATOR=:
 
4911
  fi
 
4912
  rm -f conf$$.sh
 
4913
fi
 
4914
 
 
4915
 
 
4916
  as_lineno_1=$LINENO
 
4917
  as_lineno_2=$LINENO
 
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
 
4922
  # relative or not.
 
4923
  case $0 in
 
4924
    *[\\/]* ) as_myself=$0 ;;
 
4925
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4926
for as_dir in $PATH
 
4927
do
 
4928
  IFS=$as_save_IFS
 
4929
  test -z "$as_dir" && as_dir=.
 
4930
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
4931
done
 
4932
 
 
4933
       ;;
 
4934
  esac
 
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
 
4938
    as_myself=$0
 
4939
  fi
 
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; }; }
 
4944
  fi
 
4945
  case $CONFIG_SHELL in
 
4946
  '')
 
4947
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4948
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
4949
do
 
4950
  IFS=$as_save_IFS
 
4951
  test -z "$as_dir" && as_dir=.
 
4952
  for as_base in sh bash ksh sh5; do
 
4953
         case $as_dir in
 
4954
         /*)
 
4955
           if ("$as_dir/$as_base" -c '
 
4956
  as_lineno_1=$LINENO
 
4957
  as_lineno_2=$LINENO
 
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
 
4964
             export CONFIG_SHELL
 
4965
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
 
4966
           fi;;
 
4967
         esac
 
4968
       done
 
4969
done
 
4970
;;
 
4971
  esac
 
4972
 
 
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 |
 
4982
    sed '
 
4983
      N
 
4984
      s,$,-,
 
4985
      : loop
 
4986
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
4987
      t loop
 
4988
      s,-$,,
 
4989
      s,^['$as_cr_digits']*\n,,
 
4990
    ' >$as_me.lineno &&
 
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; }; }
 
4995
 
 
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).
 
4999
  . ./$as_me.lineno
 
5000
  # Exit status is that of the last command.
 
5001
  exit
 
5002
}
 
5003
 
 
5004
 
 
5005
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
 
5006
  *c*,-n*) ECHO_N= ECHO_C='
 
5007
' ECHO_T='      ' ;;
 
5008
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
 
5009
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
5010
esac
 
5011
 
 
5012
if expr a : '\(a\)' >/dev/null 2>&1; then
 
5013
  as_expr=expr
 
5014
else
 
5015
  as_expr=false
 
5016
fi
 
5017
 
 
5018
rm -f conf$$ conf$$.exe conf$$.file
 
5019
echo >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
 
5025
    as_ln_s='cp -p'
 
5026
  else
 
5027
    as_ln_s='ln -s'
 
5028
  fi
 
5029
elif ln conf$$.file conf$$ 2>/dev/null; then
 
5030
  as_ln_s=ln
 
5031
else
 
5032
  as_ln_s='cp -p'
 
5033
fi
 
5034
rm -f conf$$ conf$$.exe conf$$.file
 
5035
 
 
5036
if mkdir -p . 2>/dev/null; then
 
5037
  as_mkdir_p=:
 
5038
else
 
5039
  test -d ./-p && rmdir ./-p
 
5040
  as_mkdir_p=false
 
5041
fi
 
5042
 
 
5043
as_executable_p="test -f"
 
5044
 
 
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'"
 
5047
 
 
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'"
 
5050
 
 
5051
 
 
5052
# IFS
 
5053
# We need space, tab and new line, in precisely that order.
 
5054
as_nl='
 
5055
'
 
5056
IFS="   $as_nl"
 
5057
 
 
5058
# CDPATH.
 
5059
$as_unset CDPATH
 
5060
 
 
5061
exec 6>&1
 
5062
 
 
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.
 
5066
exec 5>>config.log
 
5067
{
 
5068
  echo
 
5069
  sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
 
5070
@%:@@%:@ Running $as_me. @%:@@%:@
 
5071
_ASBOX
 
5072
} >&5
 
5073
cat >&5 <<_CSEOF
 
5074
 
 
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
 
5077
 
 
5078
  CONFIG_FILES    = $CONFIG_FILES
 
5079
  CONFIG_HEADERS  = $CONFIG_HEADERS
 
5080
  CONFIG_LINKS    = $CONFIG_LINKS
 
5081
  CONFIG_COMMANDS = $CONFIG_COMMANDS
 
5082
  $ $0 $@
 
5083
 
 
5084
_CSEOF
 
5085
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
 
5086
echo >&5
 
5087
_ACEOF
 
5088
 
 
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
 
5092
fi
 
5093
 
 
5094
if test -n "$ac_config_headers"; then
 
5095
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
 
5096
fi
 
5097
 
 
5098
if test -n "$ac_config_links"; then
 
5099
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
 
5100
fi
 
5101
 
 
5102
if test -n "$ac_config_commands"; then
 
5103
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
 
5104
fi
 
5105
 
 
5106
cat >>$CONFIG_STATUS <<\_ACEOF
 
5107
 
 
5108
ac_cs_usage="\
 
5109
\`$as_me' instantiates files from templates according to the
 
5110
current configuration.
 
5111
 
 
5112
Usage: $0 [OPTIONS] [FILE]...
 
5113
 
 
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
 
5121
 
 
5122
Configuration files:
 
5123
$config_files
 
5124
 
 
5125
Configuration commands:
 
5126
$config_commands
 
5127
 
 
5128
Report bugs to <bug-autoconf@gnu.org>."
 
5129
_ACEOF
 
5130
 
 
5131
cat >>$CONFIG_STATUS <<_ACEOF
 
5132
ac_cs_version="\\
 
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'`\\"
 
5136
 
 
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."
 
5140
srcdir=$srcdir
 
5141
INSTALL="$INSTALL"
 
5142
_ACEOF
 
5143
 
 
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.
 
5147
ac_need_defaults=:
 
5148
while test $# != 0
 
5149
do
 
5150
  case $1 in
 
5151
  --*=*)
 
5152
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
 
5153
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
 
5154
    ac_shift=:
 
5155
    ;;
 
5156
  -*)
 
5157
    ac_option=$1
 
5158
    ac_optarg=$2
 
5159
    ac_shift=shift
 
5160
    ;;
 
5161
  *) # This is not an option, so the user has probably given explicit
 
5162
     # arguments.
 
5163
     ac_option=$1
 
5164
     ac_need_defaults=false;;
 
5165
  esac
 
5166
 
 
5167
  case $ac_option in
 
5168
  # Handling of the options.
 
5169
_ACEOF
 
5170
cat >>$CONFIG_STATUS <<\_ACEOF
 
5171
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 
5172
    ac_cs_recheck=: ;;
 
5173
  --version | --vers* | -V )
 
5174
    echo "$ac_cs_version"; exit 0 ;;
 
5175
  --he | --h)
 
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 )
 
5185
    debug=: ;;
 
5186
  --file | --fil | --fi | --f )
 
5187
    $ac_shift
 
5188
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
 
5189
    ac_need_defaults=false;;
 
5190
  --header | --heade | --head | --hea )
 
5191
    $ac_shift
 
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)
 
5196
    ac_cs_silent=: ;;
 
5197
 
 
5198
  # This is an error.
 
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; }; } ;;
 
5204
 
 
5205
  *) ac_config_targets="$ac_config_targets $1" ;;
 
5206
 
 
5207
  esac
 
5208
  shift
 
5209
done
 
5210
 
 
5211
ac_configure_extra_args=
 
5212
 
 
5213
if $ac_cs_silent; then
 
5214
  exec 6>/dev/null
 
5215
  ac_configure_extra_args="$ac_configure_extra_args --silent"
 
5216
fi
 
5217
 
 
5218
_ACEOF
 
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
 
5223
fi
 
5224
 
 
5225
_ACEOF
 
5226
 
 
5227
cat >>$CONFIG_STATUS <<_ACEOF
 
5228
#
 
5229
# INIT-COMMANDS section.
 
5230
#
 
5231
 
 
5232
# Capture the value of obsolete ALL_LINGUAS because we need it to compute
 
5233
    # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
 
5234
    # from automake.
 
5235
    eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
 
5236
    # Capture the value of LINGUAS because we need it to compute CATALOGS.
 
5237
    LINGUAS="${LINGUAS-%UNSET%}"
 
5238
   
 
5239
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 
5240
 
 
5241
_ACEOF
 
5242
 
 
5243
 
 
5244
 
 
5245
cat >>$CONFIG_STATUS <<\_ACEOF
 
5246
for ac_config_target in $ac_config_targets
 
5247
do
 
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; }; };;
 
5315
  esac
 
5316
done
 
5317
 
 
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
 
5325
fi
 
5326
 
 
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.
 
5331
$debug ||
 
5332
{
 
5333
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
 
5334
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
5335
}
 
5336
 
 
5337
# Create a (secure) tmp directory for tmp files.
 
5338
 
 
5339
{
 
5340
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
 
5341
  test -n "$tmp" && test -d "$tmp"
 
5342
}  ||
 
5343
{
 
5344
  tmp=./confstat$$-$RANDOM
 
5345
  (umask 077 && mkdir $tmp)
 
5346
} ||
 
5347
{
 
5348
   echo "$me: cannot create a temporary directory in ." >&2
 
5349
   { (exit 1); exit 1; }
 
5350
}
 
5351
 
 
5352
_ACEOF
 
5353
 
 
5354
cat >>$CONFIG_STATUS <<_ACEOF
 
5355
 
 
5356
#
 
5357
# CONFIG_FILES section.
 
5358
#
 
5359
 
 
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
 
5391
s,@DEFS@,$DEFS,;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
 
5395
s,@LIBS@,$LIBS,;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
 
5412
s,@AWK@,$AWK,;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
 
5421
s,@CC@,$CC,;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
 
5441
s,@host@,$host,;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
 
5455
CEOF
 
5456
 
 
5457
_ACEOF
 
5458
 
 
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.
 
5462
  ac_max_sed_lines=48
 
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.
 
5466
  ac_more_lines=:
 
5467
  ac_sed_cmds=
 
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
 
5471
    else
 
5472
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
 
5473
    fi
 
5474
    if test ! -s $tmp/subs.frag; then
 
5475
      ac_more_lines=false
 
5476
    else
 
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.
 
5481
      (echo ':t
 
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"
 
5485
      else
 
5486
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
 
5487
      fi
 
5488
      ac_sed_frag=`expr $ac_sed_frag + 1`
 
5489
      ac_beg=$ac_end
 
5490
      ac_end=`expr $ac_end + $ac_max_sed_lines`
 
5491
    fi
 
5492
  done
 
5493
  if test -z "$ac_sed_cmds"; then
 
5494
    ac_sed_cmds=cat
 
5495
  fi
 
5496
fi # test -n "$CONFIG_FILES"
 
5497
 
 
5498
_ACEOF
 
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".
 
5502
  case $ac_file in
 
5503
  - | *:- | *:-:* ) # input from stdin
 
5504
        cat >$tmp/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 ;;
 
5510
  esac
 
5511
 
 
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 ||
 
5519
echo X"$ac_file" |
 
5520
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
5521
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
5522
          /^X\(\/\/\)$/{ s//\1/; q; }
 
5523
          /^X\(\/\).*/{ s//\1/; q; }
 
5524
          s/.*/./; q'`
 
5525
  { if $as_mkdir_p; then
 
5526
    mkdir -p "$ac_dir"
 
5527
  else
 
5528
    as_dir="$ac_dir"
 
5529
    as_dirs=
 
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 ||
 
5538
echo X"$as_dir" |
 
5539
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
5540
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
5541
          /^X\(\/\/\)$/{ s//\1/; q; }
 
5542
          /^X\(\/\).*/{ s//\1/; q; }
 
5543
          s/.*/./; q'`
 
5544
    done
 
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; }; }; }
 
5549
 
 
5550
  ac_builddir=.
 
5551
 
 
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'`
 
5556
else
 
5557
  ac_dir_suffix= ac_top_builddir=
 
5558
fi
 
5559
 
 
5560
case $srcdir in
 
5561
  .)  # No --srcdir option.  We are building in place.
 
5562
    ac_srcdir=.
 
5563
    if test -z "$ac_top_builddir"; then
 
5564
       ac_top_srcdir=.
 
5565
    else
 
5566
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
 
5567
    fi ;;
 
5568
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
5569
    ac_srcdir=$srcdir$ac_dir_suffix;
 
5570
    ac_top_srcdir=$srcdir ;;
 
5571
  *) # Relative path.
 
5572
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
 
5573
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
 
5574
esac
 
5575
 
 
5576
# Do not use `cd foo && pwd` to compute absolute paths, because
 
5577
# the directories may not exist.
 
5578
case `pwd` in
 
5579
.) ac_abs_builddir="$ac_dir";;
 
5580
*)
 
5581
  case "$ac_dir" in
 
5582
  .) ac_abs_builddir=`pwd`;;
 
5583
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
5584
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
5585
  esac;;
 
5586
esac
 
5587
case $ac_abs_builddir in
 
5588
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
5589
*)
 
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}.;;
 
5594
  esac;;
 
5595
esac
 
5596
case $ac_abs_builddir in
 
5597
.) ac_abs_srcdir=$ac_srcdir;;
 
5598
*)
 
5599
  case $ac_srcdir in
 
5600
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
5601
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
5602
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
5603
  esac;;
 
5604
esac
 
5605
case $ac_abs_builddir in
 
5606
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
5607
*)
 
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;;
 
5612
  esac;;
 
5613
esac
 
5614
 
 
5615
 
 
5616
  case $INSTALL in
 
5617
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 
5618
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
 
5619
  esac
 
5620
 
 
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
 
5625
    configure_input=
 
5626
  else
 
5627
    configure_input="$ac_file.  "
 
5628
  fi
 
5629
  configure_input=$configure_input"Generated from `echo $ac_file_in |
 
5630
                                     sed 's,.*/,,'` by configure."
 
5631
 
 
5632
  # First look for the input files in the build tree, otherwise in the
 
5633
  # src tree.
 
5634
  ac_file_inputs=`IFS=:
 
5635
    for f in $ac_file_in; do
 
5636
      case $f in
 
5637
      -) echo $tmp/stdin ;;
 
5638
      [\\/$]*)
 
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; }; }
 
5643
         echo "$f";;
 
5644
      *) # Relative
 
5645
         if test -f "$f"; then
 
5646
           # Build tree
 
5647
           echo "$f"
 
5648
         elif test -f "$srcdir/$f"; then
 
5649
           # Source tree
 
5650
           echo "$srcdir/$f"
 
5651
         else
 
5652
           # /dev/null tree
 
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; }; }
 
5656
         fi;;
 
5657
      esac
 
5658
    done` || { (exit 1); exit 1; }
 
5659
 
 
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;}
 
5663
    rm -f "$ac_file"
 
5664
  fi
 
5665
_ACEOF
 
5666
cat >>$CONFIG_STATUS <<_ACEOF
 
5667
  sed "$ac_vpsub
 
5668
$extrasub
 
5669
_ACEOF
 
5670
cat >>$CONFIG_STATUS <<\_ACEOF
 
5671
:t
 
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
 
5684
  rm -f $tmp/stdin
 
5685
  if test x"$ac_file" != x-; then
 
5686
    mv $tmp/out $ac_file
 
5687
  else
 
5688
    cat $tmp/out
 
5689
    rm -f $tmp/out
 
5690
  fi
 
5691
 
 
5692
done
 
5693
_ACEOF
 
5694
cat >>$CONFIG_STATUS <<\_ACEOF
 
5695
 
 
5696
#
 
5697
# CONFIG_COMMANDS section.
 
5698
#
 
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 ||
 
5708
echo X"$ac_dest" |
 
5709
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
5710
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
5711
          /^X\(\/\/\)$/{ s//\1/; q; }
 
5712
          /^X\(\/\).*/{ s//\1/; q; }
 
5713
          s/.*/./; q'`
 
5714
  { if $as_mkdir_p; then
 
5715
    mkdir -p "$ac_dir"
 
5716
  else
 
5717
    as_dir="$ac_dir"
 
5718
    as_dirs=
 
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 ||
 
5727
echo X"$as_dir" |
 
5728
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
5729
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
5730
          /^X\(\/\/\)$/{ s//\1/; q; }
 
5731
          /^X\(\/\).*/{ s//\1/; q; }
 
5732
          s/.*/./; q'`
 
5733
    done
 
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; }; }; }
 
5738
 
 
5739
  ac_builddir=.
 
5740
 
 
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'`
 
5745
else
 
5746
  ac_dir_suffix= ac_top_builddir=
 
5747
fi
 
5748
 
 
5749
case $srcdir in
 
5750
  .)  # No --srcdir option.  We are building in place.
 
5751
    ac_srcdir=.
 
5752
    if test -z "$ac_top_builddir"; then
 
5753
       ac_top_srcdir=.
 
5754
    else
 
5755
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
 
5756
    fi ;;
 
5757
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
5758
    ac_srcdir=$srcdir$ac_dir_suffix;
 
5759
    ac_top_srcdir=$srcdir ;;
 
5760
  *) # Relative path.
 
5761
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
 
5762
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
 
5763
esac
 
5764
 
 
5765
# Do not use `cd foo && pwd` to compute absolute paths, because
 
5766
# the directories may not exist.
 
5767
case `pwd` in
 
5768
.) ac_abs_builddir="$ac_dir";;
 
5769
*)
 
5770
  case "$ac_dir" in
 
5771
  .) ac_abs_builddir=`pwd`;;
 
5772
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
5773
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
5774
  esac;;
 
5775
esac
 
5776
case $ac_abs_builddir in
 
5777
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
5778
*)
 
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}.;;
 
5783
  esac;;
 
5784
esac
 
5785
case $ac_abs_builddir in
 
5786
.) ac_abs_srcdir=$ac_srcdir;;
 
5787
*)
 
5788
  case $ac_srcdir in
 
5789
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
5790
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
5791
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
5792
  esac;;
 
5793
esac
 
5794
case $ac_abs_builddir in
 
5795
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
5796
*)
 
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;;
 
5801
  esac;;
 
5802
esac
 
5803
 
 
5804
 
 
5805
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
 
5806
echo "$as_me: executing $ac_dest commands" >&6;}
 
5807
  case $ac_dest in
 
5808
    default-1 ) 
 
5809
    for ac_file in $CONFIG_FILES; do
 
5810
      # Support "outfile[:infile[:infile...]]"
 
5811
      case "$ac_file" in
 
5812
        *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
 
5813
      esac
 
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" ;;
 
5827
        esac
 
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
 
5835
          # parameters.
 
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"
 
5840
            fi
 
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"
 
5845
          else
 
5846
            # The set of available languages was given in configure.in.
 
5847
            eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
 
5848
          fi
 
5849
          # Compute POFILES
 
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)
 
5855
          # Compute GMOFILES
 
5856
          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
 
5857
          case "$ac_given_srcdir" in
 
5858
            .) srcdirpre= ;;
 
5859
            *) srcdirpre='$(srcdir)/' ;;
 
5860
          esac
 
5861
          POFILES=
 
5862
          UPDATEPOFILES=
 
5863
          DUMMYPOFILES=
 
5864
          GMOFILES=
 
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"
 
5870
          done
 
5871
          # CATALOGS depends on both $ac_dir and the user's LINGUAS
 
5872
          # environment variable.
 
5873
          INST_LINGUAS=
 
5874
          if test -n "$ALL_LINGUAS"; then
 
5875
            for presentlang in $ALL_LINGUAS; do
 
5876
              useit=no
 
5877
              if test "%UNSET%" != "$LINGUAS"; then
 
5878
                desiredlanguages="$LINGUAS"
 
5879
              else
 
5880
                desiredlanguages="$ALL_LINGUAS"
 
5881
              fi
 
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;;
 
5890
                esac
 
5891
              done
 
5892
              if test $useit = yes; then
 
5893
                INST_LINGUAS="$INST_LINGUAS $presentlang"
 
5894
              fi
 
5895
            done
 
5896
          fi
 
5897
          CATALOGS=
 
5898
          if test -n "$INST_LINGUAS"; then
 
5899
            for lang in $INST_LINGUAS; do
 
5900
              CATALOGS="$CATALOGS $lang.gmo"
 
5901
            done
 
5902
          fi
 
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
 
5907
              case "$f" in
 
5908
                *.orig | *.bak | *~) ;;
 
5909
                *) cat "$f" >> "$ac_dir/Makefile" ;;
 
5910
              esac
 
5911
            fi
 
5912
          done
 
5913
        fi
 
5914
        ;;
 
5915
      esac
 
5916
    done ;;
 
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 ||
 
5933
echo X"$mf" |
 
5934
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
5935
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
5936
          /^X\(\/\/\)$/{ s//\1/; q; }
 
5937
          /^X\(\/\).*/{ s//\1/; q; }
 
5938
          s/.*/./; q'`
 
5939
  else
 
5940
    continue
 
5941
  fi
 
5942
  grep '^DEP_FILES *= *[^ @%:@]' < "$mf" > /dev/null || continue
 
5943
  # Extract the definition of DEP_FILES from the Makefile without
 
5944
  # running `make'.
 
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 = .*\\\\$/ {
 
5954
      s/^DEP_FILES = //
 
5955
      :loop
 
5956
        s/\\\\$//
 
5957
        p
 
5958
        n
 
5959
        /\\\\$/ b loop
 
5960
      p
 
5961
    }
 
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 ||
 
5972
echo X"$file" |
 
5973
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
5974
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
5975
          /^X\(\/\/\)$/{ s//\1/; q; }
 
5976
          /^X\(\/\).*/{ s//\1/; q; }
 
5977
          s/.*/./; q'`
 
5978
    { if $as_mkdir_p; then
 
5979
    mkdir -p $dirpart/$fdir
 
5980
  else
 
5981
    as_dir=$dirpart/$fdir
 
5982
    as_dirs=
 
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 ||
 
5991
echo X"$as_dir" |
 
5992
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
5993
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
5994
          /^X\(\/\/\)$/{ s//\1/; q; }
 
5995
          /^X\(\/\).*/{ s//\1/; q; }
 
5996
          s/.*/./; q'`
 
5997
    done
 
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; }; }; }
 
6002
 
 
6003
    # echo "creating $dirpart/$file"
 
6004
    echo '# dummy' > "$dirpart/$file"
 
6005
  done
 
6006
done
 
6007
 ;;
 
6008
  esac
 
6009
done
 
6010
_ACEOF
 
6011
 
 
6012
cat >>$CONFIG_STATUS <<\_ACEOF
 
6013
 
 
6014
{ (exit 0); exit 0; }
 
6015
_ACEOF
 
6016
chmod +x $CONFIG_STATUS
 
6017
ac_clean_files=$ac_clean_files_save
 
6018
 
 
6019
 
 
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
 
6029
  ac_cs_success=:
 
6030
  ac_config_status_args=
 
6031
  test "$silent" = yes &&
 
6032
    ac_config_status_args="$ac_config_status_args --quiet"
 
6033
  exec 5>/dev/null
 
6034
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 
6035
  exec 5>>config.log
 
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; }
 
6039
fi
 
6040