~ubuntu-branches/ubuntu/edgy/gnurobbo/edgy

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Lukasz Jachowicz
  • Date: 2004-07-28 16:26:39 UTC
  • Revision ID: james.westby@ubuntu.com-20040728162639-27r5ufn149xopskq
Tags: upstream-0.57
ImportĀ upstreamĀ versionĀ 0.57

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.54.
 
4
#
 
5
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
 
6
# Free Software Foundation, Inc.
 
7
# This configure script is free software; the Free Software Foundation
 
8
# gives unlimited permission to copy, distribute and modify it.
 
9
## --------------------- ##
 
10
## M4sh Initialization.  ##
 
11
## --------------------- ##
 
12
 
 
13
# Be Bourne compatible
 
14
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
15
  emulate sh
 
16
  NULLCMD=:
 
17
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
18
  # is contrary to our usage.  Disable this feature.
 
19
  alias -g '${1+"$@"}'='"$@"'
 
20
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
 
21
  set -o posix
 
22
fi
 
23
 
 
24
# Support unset when possible.
 
25
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
 
26
  as_unset=unset
 
27
else
 
28
  as_unset=false
 
29
fi
 
30
 
 
31
 
 
32
# Work around bugs in pre-3.0 UWIN ksh.
 
33
$as_unset ENV MAIL MAILPATH
 
34
PS1='$ '
 
35
PS2='> '
 
36
PS4='+ '
 
37
 
 
38
# NLS nuisances.
 
39
for as_var in LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE LC_NUMERIC LC_MESSAGES LC_TIME
 
40
do
 
41
  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
 
42
    eval $as_var=C; export $as_var
 
43
  else
 
44
    $as_unset $as_var
 
45
  fi
 
46
done
 
47
 
 
48
# Required to use basename.
 
49
if expr a : '\(a\)' >/dev/null 2>&1; then
 
50
  as_expr=expr
 
51
else
 
52
  as_expr=false
 
53
fi
 
54
 
 
55
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
56
  as_basename=basename
 
57
else
 
58
  as_basename=false
 
59
fi
 
60
 
 
61
 
 
62
# Name of the executable.
 
63
as_me=`$as_basename "$0" ||
 
64
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
65
         X"$0" : 'X\(//\)$' \| \
 
66
         X"$0" : 'X\(/\)$' \| \
 
67
         .     : '\(.\)' 2>/dev/null ||
 
68
echo X/"$0" |
 
69
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
 
70
          /^X\/\(\/\/\)$/{ s//\1/; q; }
 
71
          /^X\/\(\/\).*/{ s//\1/; q; }
 
72
          s/.*/./; q'`
 
73
 
 
74
 
 
75
# PATH needs CR, and LINENO needs CR and PATH.
 
76
# Avoid depending upon Character Ranges.
 
77
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
78
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
79
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
80
as_cr_digits='0123456789'
 
81
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
82
 
 
83
# The user is always right.
 
84
if test "${PATH_SEPARATOR+set}" != set; then
 
85
  echo "#! /bin/sh" >conftest.sh
 
86
  echo  "exit 0"   >>conftest.sh
 
87
  chmod +x conftest.sh
 
88
  if (PATH="/nonexistent;."; conftest.sh) >/dev/null 2>&1; then
 
89
    PATH_SEPARATOR=';'
 
90
  else
 
91
    PATH_SEPARATOR=:
 
92
  fi
 
93
  rm -f conftest.sh
 
94
fi
 
95
 
 
96
 
 
97
  as_lineno_1=$LINENO
 
98
  as_lineno_2=$LINENO
 
99
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
 
100
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
101
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
 
102
  # Find who we are.  Look in the path if we contain no path at all
 
103
  # relative or not.
 
104
  case $0 in
 
105
    *[\\/]* ) as_myself=$0 ;;
 
106
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
107
for as_dir in $PATH
 
108
do
 
109
  IFS=$as_save_IFS
 
110
  test -z "$as_dir" && as_dir=.
 
111
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
112
done
 
113
 
 
114
       ;;
 
115
  esac
 
116
  # We did not find ourselves, most probably we were run as `sh COMMAND'
 
117
  # in which case we are not to be found in the path.
 
118
  if test "x$as_myself" = x; then
 
119
    as_myself=$0
 
120
  fi
 
121
  if test ! -f "$as_myself"; then
 
122
    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
 
123
   { (exit 1); exit 1; }; }
 
124
  fi
 
125
  case $CONFIG_SHELL in
 
126
  '')
 
127
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
128
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
129
do
 
130
  IFS=$as_save_IFS
 
131
  test -z "$as_dir" && as_dir=.
 
132
  for as_base in sh bash ksh sh5; do
 
133
         case $as_dir in
 
134
         /*)
 
135
           if ("$as_dir/$as_base" -c '
 
136
  as_lineno_1=$LINENO
 
137
  as_lineno_2=$LINENO
 
138
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
 
139
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
140
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
 
141
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
 
142
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
 
143
             CONFIG_SHELL=$as_dir/$as_base
 
144
             export CONFIG_SHELL
 
145
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
 
146
           fi;;
 
147
         esac
 
148
       done
 
149
done
 
150
;;
 
151
  esac
 
152
 
 
153
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
 
154
  # uniformly replaced by the line number.  The first 'sed' inserts a
 
155
  # line-number line before each line; the second 'sed' does the real
 
156
  # work.  The second script uses 'N' to pair each line-number line
 
157
  # with the numbered line, and appends trailing '-' during
 
158
  # substitution so that $LINENO is not a special case at line end.
 
159
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
 
160
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
 
161
  sed '=' <$as_myself |
 
162
    sed '
 
163
      N
 
164
      s,$,-,
 
165
      : loop
 
166
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
167
      t loop
 
168
      s,-$,,
 
169
      s,^['$as_cr_digits']*\n,,
 
170
    ' >$as_me.lineno &&
 
171
  chmod +x $as_me.lineno ||
 
172
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
173
   { (exit 1); exit 1; }; }
 
174
 
 
175
  # Don't try to exec as it changes $[0], causing all sort of problems
 
176
  # (the dirname of $[0] is not the place where we might find the
 
177
  # original and so on.  Autoconf is especially sensible to this).
 
178
  . ./$as_me.lineno
 
179
  # Exit status is that of the last command.
 
180
  exit
 
181
}
 
182
 
 
183
 
 
184
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
 
185
  *c*,-n*) ECHO_N= ECHO_C='
 
186
' ECHO_T='      ' ;;
 
187
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
 
188
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
189
esac
 
190
 
 
191
if expr a : '\(a\)' >/dev/null 2>&1; then
 
192
  as_expr=expr
 
193
else
 
194
  as_expr=false
 
195
fi
 
196
 
 
197
rm -f conf$$ conf$$.exe conf$$.file
 
198
echo >conf$$.file
 
199
if ln -s conf$$.file conf$$ 2>/dev/null; then
 
200
  # We could just check for DJGPP; but this test a) works b) is more generic
 
201
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
 
202
  if test -f conf$$.exe; then
 
203
    # Don't use ln at all; we don't have any links
 
204
    as_ln_s='cp -p'
 
205
  else
 
206
    as_ln_s='ln -s'
 
207
  fi
 
208
elif ln conf$$.file conf$$ 2>/dev/null; then
 
209
  as_ln_s=ln
 
210
else
 
211
  as_ln_s='cp -p'
 
212
fi
 
213
rm -f conf$$ conf$$.exe conf$$.file
 
214
 
 
215
if mkdir -p . 2>/dev/null; then
 
216
  as_mkdir_p=:
 
217
else
 
218
  as_mkdir_p=false
 
219
fi
 
220
 
 
221
as_executable_p="test -f"
 
222
 
 
223
# Sed expression to map a string onto a valid CPP name.
 
224
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
 
225
 
 
226
# Sed expression to map a string onto a valid variable name.
 
227
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
 
228
 
 
229
 
 
230
# IFS
 
231
# We need space, tab and new line, in precisely that order.
 
232
as_nl='
 
233
'
 
234
IFS="   $as_nl"
 
235
 
 
236
# CDPATH.
 
237
$as_unset CDPATH
 
238
 
 
239
 
 
240
# Name of the host.
 
241
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 
242
# so uname gets run too.
 
243
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
 
244
 
 
245
exec 6>&1
 
246
 
 
247
#
 
248
# Initializations.
 
249
#
 
250
ac_default_prefix=/usr/local
 
251
ac_config_libobj_dir=.
 
252
cross_compiling=no
 
253
subdirs=
 
254
MFLAGS=
 
255
MAKEFLAGS=
 
256
SHELL=${CONFIG_SHELL-/bin/sh}
 
257
 
 
258
# Maximum number of lines to put in a shell here document.
 
259
# This variable seems obsolete.  It should probably be removed, and
 
260
# only ac_max_sed_lines should be used.
 
261
: ${ac_max_here_lines=38}
 
262
 
 
263
# Identity of this package.
 
264
PACKAGE_NAME=
 
265
PACKAGE_TARNAME=
 
266
PACKAGE_VERSION=
 
267
PACKAGE_STRING=
 
268
PACKAGE_BUGREPORT=
 
269
 
 
270
ac_unique_file="game.c"
 
271
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 CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE LN_S CPP EGREP LIBOBJS LTLIBOBJS'
 
272
ac_subst_files=''
 
273
 
 
274
# Initialize some variables set by options.
 
275
ac_init_help=
 
276
ac_init_version=false
 
277
# The variables have the same names as the options, with
 
278
# dashes changed to underlines.
 
279
cache_file=/dev/null
 
280
exec_prefix=NONE
 
281
no_create=
 
282
no_recursion=
 
283
prefix=NONE
 
284
program_prefix=NONE
 
285
program_suffix=NONE
 
286
program_transform_name=s,x,x,
 
287
silent=
 
288
site=
 
289
srcdir=
 
290
verbose=
 
291
x_includes=NONE
 
292
x_libraries=NONE
 
293
 
 
294
# Installation directory options.
 
295
# These are left unexpanded so users can "make install exec_prefix=/foo"
 
296
# and all the variables that are supposed to be based on exec_prefix
 
297
# by default will actually change.
 
298
# Use braces instead of parens because sh, perl, etc. also accept them.
 
299
bindir='${exec_prefix}/bin'
 
300
sbindir='${exec_prefix}/sbin'
 
301
libexecdir='${exec_prefix}/libexec'
 
302
datadir='${prefix}/share'
 
303
sysconfdir='${prefix}/etc'
 
304
sharedstatedir='${prefix}/com'
 
305
localstatedir='${prefix}/var'
 
306
libdir='${exec_prefix}/lib'
 
307
includedir='${prefix}/include'
 
308
oldincludedir='/usr/include'
 
309
infodir='${prefix}/info'
 
310
mandir='${prefix}/man'
 
311
 
 
312
ac_prev=
 
313
for ac_option
 
314
do
 
315
  # If the previous option needs an argument, assign it.
 
316
  if test -n "$ac_prev"; then
 
317
    eval "$ac_prev=\$ac_option"
 
318
    ac_prev=
 
319
    continue
 
320
  fi
 
321
 
 
322
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
 
323
 
 
324
  # Accept the important Cygnus configure options, so we can diagnose typos.
 
325
 
 
326
  case $ac_option in
 
327
 
 
328
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
 
329
    ac_prev=bindir ;;
 
330
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
 
331
    bindir=$ac_optarg ;;
 
332
 
 
333
  -build | --build | --buil | --bui | --bu)
 
334
    ac_prev=build_alias ;;
 
335
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
 
336
    build_alias=$ac_optarg ;;
 
337
 
 
338
  -cache-file | --cache-file | --cache-fil | --cache-fi \
 
339
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
 
340
    ac_prev=cache_file ;;
 
341
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
 
342
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
 
343
    cache_file=$ac_optarg ;;
 
344
 
 
345
  --config-cache | -C)
 
346
    cache_file=config.cache ;;
 
347
 
 
348
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
 
349
    ac_prev=datadir ;;
 
350
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
 
351
  | --da=*)
 
352
    datadir=$ac_optarg ;;
 
353
 
 
354
  -disable-* | --disable-*)
 
355
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
356
    # Reject names that are not valid shell variable names.
 
357
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
358
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
359
   { (exit 1); exit 1; }; }
 
360
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
 
361
    eval "enable_$ac_feature=no" ;;
 
362
 
 
363
  -enable-* | --enable-*)
 
364
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
365
    # Reject names that are not valid shell variable names.
 
366
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
367
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
368
   { (exit 1); exit 1; }; }
 
369
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
 
370
    case $ac_option in
 
371
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
 
372
      *) ac_optarg=yes ;;
 
373
    esac
 
374
    eval "enable_$ac_feature='$ac_optarg'" ;;
 
375
 
 
376
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
 
377
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
 
378
  | --exec | --exe | --ex)
 
379
    ac_prev=exec_prefix ;;
 
380
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
 
381
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
 
382
  | --exec=* | --exe=* | --ex=*)
 
383
    exec_prefix=$ac_optarg ;;
 
384
 
 
385
  -gas | --gas | --ga | --g)
 
386
    # Obsolete; use --with-gas.
 
387
    with_gas=yes ;;
 
388
 
 
389
  -help | --help | --hel | --he | -h)
 
390
    ac_init_help=long ;;
 
391
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
 
392
    ac_init_help=recursive ;;
 
393
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
 
394
    ac_init_help=short ;;
 
395
 
 
396
  -host | --host | --hos | --ho)
 
397
    ac_prev=host_alias ;;
 
398
  -host=* | --host=* | --hos=* | --ho=*)
 
399
    host_alias=$ac_optarg ;;
 
400
 
 
401
  -includedir | --includedir | --includedi | --included | --include \
 
402
  | --includ | --inclu | --incl | --inc)
 
403
    ac_prev=includedir ;;
 
404
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
 
405
  | --includ=* | --inclu=* | --incl=* | --inc=*)
 
406
    includedir=$ac_optarg ;;
 
407
 
 
408
  -infodir | --infodir | --infodi | --infod | --info | --inf)
 
409
    ac_prev=infodir ;;
 
410
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
 
411
    infodir=$ac_optarg ;;
 
412
 
 
413
  -libdir | --libdir | --libdi | --libd)
 
414
    ac_prev=libdir ;;
 
415
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
 
416
    libdir=$ac_optarg ;;
 
417
 
 
418
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 
419
  | --libexe | --libex | --libe)
 
420
    ac_prev=libexecdir ;;
 
421
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 
422
  | --libexe=* | --libex=* | --libe=*)
 
423
    libexecdir=$ac_optarg ;;
 
424
 
 
425
  -localstatedir | --localstatedir | --localstatedi | --localstated \
 
426
  | --localstate | --localstat | --localsta | --localst \
 
427
  | --locals | --local | --loca | --loc | --lo)
 
428
    ac_prev=localstatedir ;;
 
429
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 
430
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
 
431
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
 
432
    localstatedir=$ac_optarg ;;
 
433
 
 
434
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 
435
    ac_prev=mandir ;;
 
436
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 
437
    mandir=$ac_optarg ;;
 
438
 
 
439
  -nfp | --nfp | --nf)
 
440
    # Obsolete; use --without-fp.
 
441
    with_fp=no ;;
 
442
 
 
443
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 
444
  | --no-cr | --no-c | -n)
 
445
    no_create=yes ;;
 
446
 
 
447
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 
448
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 
449
    no_recursion=yes ;;
 
450
 
 
451
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 
452
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 
453
  | --oldin | --oldi | --old | --ol | --o)
 
454
    ac_prev=oldincludedir ;;
 
455
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 
456
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 
457
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 
458
    oldincludedir=$ac_optarg ;;
 
459
 
 
460
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 
461
    ac_prev=prefix ;;
 
462
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 
463
    prefix=$ac_optarg ;;
 
464
 
 
465
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
 
466
  | --program-pre | --program-pr | --program-p)
 
467
    ac_prev=program_prefix ;;
 
468
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
 
469
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 
470
    program_prefix=$ac_optarg ;;
 
471
 
 
472
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
 
473
  | --program-suf | --program-su | --program-s)
 
474
    ac_prev=program_suffix ;;
 
475
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
 
476
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 
477
    program_suffix=$ac_optarg ;;
 
478
 
 
479
  -program-transform-name | --program-transform-name \
 
480
  | --program-transform-nam | --program-transform-na \
 
481
  | --program-transform-n | --program-transform- \
 
482
  | --program-transform | --program-transfor \
 
483
  | --program-transfo | --program-transf \
 
484
  | --program-trans | --program-tran \
 
485
  | --progr-tra | --program-tr | --program-t)
 
486
    ac_prev=program_transform_name ;;
 
487
  -program-transform-name=* | --program-transform-name=* \
 
488
  | --program-transform-nam=* | --program-transform-na=* \
 
489
  | --program-transform-n=* | --program-transform-=* \
 
490
  | --program-transform=* | --program-transfor=* \
 
491
  | --program-transfo=* | --program-transf=* \
 
492
  | --program-trans=* | --program-tran=* \
 
493
  | --progr-tra=* | --program-tr=* | --program-t=*)
 
494
    program_transform_name=$ac_optarg ;;
 
495
 
 
496
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
497
  | -silent | --silent | --silen | --sile | --sil)
 
498
    silent=yes ;;
 
499
 
 
500
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 
501
    ac_prev=sbindir ;;
 
502
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 
503
  | --sbi=* | --sb=*)
 
504
    sbindir=$ac_optarg ;;
 
505
 
 
506
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
 
507
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 
508
  | --sharedst | --shareds | --shared | --share | --shar \
 
509
  | --sha | --sh)
 
510
    ac_prev=sharedstatedir ;;
 
511
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 
512
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 
513
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 
514
  | --sha=* | --sh=*)
 
515
    sharedstatedir=$ac_optarg ;;
 
516
 
 
517
  -site | --site | --sit)
 
518
    ac_prev=site ;;
 
519
  -site=* | --site=* | --sit=*)
 
520
    site=$ac_optarg ;;
 
521
 
 
522
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 
523
    ac_prev=srcdir ;;
 
524
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 
525
    srcdir=$ac_optarg ;;
 
526
 
 
527
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 
528
  | --syscon | --sysco | --sysc | --sys | --sy)
 
529
    ac_prev=sysconfdir ;;
 
530
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 
531
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 
532
    sysconfdir=$ac_optarg ;;
 
533
 
 
534
  -target | --target | --targe | --targ | --tar | --ta | --t)
 
535
    ac_prev=target_alias ;;
 
536
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 
537
    target_alias=$ac_optarg ;;
 
538
 
 
539
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
 
540
    verbose=yes ;;
 
541
 
 
542
  -version | --version | --versio | --versi | --vers | -V)
 
543
    ac_init_version=: ;;
 
544
 
 
545
  -with-* | --with-*)
 
546
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
547
    # Reject names that are not valid shell variable names.
 
548
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
549
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
550
   { (exit 1); exit 1; }; }
 
551
    ac_package=`echo $ac_package| sed 's/-/_/g'`
 
552
    case $ac_option in
 
553
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
 
554
      *) ac_optarg=yes ;;
 
555
    esac
 
556
    eval "with_$ac_package='$ac_optarg'" ;;
 
557
 
 
558
  -without-* | --without-*)
 
559
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
560
    # Reject names that are not valid shell variable names.
 
561
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
562
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
563
   { (exit 1); exit 1; }; }
 
564
    ac_package=`echo $ac_package | sed 's/-/_/g'`
 
565
    eval "with_$ac_package=no" ;;
 
566
 
 
567
  --x)
 
568
    # Obsolete; use --with-x.
 
569
    with_x=yes ;;
 
570
 
 
571
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 
572
  | --x-incl | --x-inc | --x-in | --x-i)
 
573
    ac_prev=x_includes ;;
 
574
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 
575
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 
576
    x_includes=$ac_optarg ;;
 
577
 
 
578
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
 
579
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 
580
    ac_prev=x_libraries ;;
 
581
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 
582
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 
583
    x_libraries=$ac_optarg ;;
 
584
 
 
585
  -*) { echo "$as_me: error: unrecognized option: $ac_option
 
586
Try \`$0 --help' for more information." >&2
 
587
   { (exit 1); exit 1; }; }
 
588
    ;;
 
589
 
 
590
  *=*)
 
591
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 
592
    # Reject names that are not valid shell variable names.
 
593
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
 
594
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
 
595
   { (exit 1); exit 1; }; }
 
596
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
 
597
    eval "$ac_envvar='$ac_optarg'"
 
598
    export $ac_envvar ;;
 
599
 
 
600
  *)
 
601
    # FIXME: should be removed in autoconf 3.0.
 
602
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
603
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
604
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
605
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
606
    ;;
 
607
 
 
608
  esac
 
609
done
 
610
 
 
611
if test -n "$ac_prev"; then
 
612
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 
613
  { echo "$as_me: error: missing argument to $ac_option" >&2
 
614
   { (exit 1); exit 1; }; }
 
615
fi
 
616
 
 
617
# Be sure to have absolute paths.
 
618
for ac_var in exec_prefix prefix
 
619
do
 
620
  eval ac_val=$`echo $ac_var`
 
621
  case $ac_val in
 
622
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
 
623
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
624
   { (exit 1); exit 1; }; };;
 
625
  esac
 
626
done
 
627
 
 
628
# Be sure to have absolute paths.
 
629
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
 
630
              localstatedir libdir includedir oldincludedir infodir mandir
 
631
do
 
632
  eval ac_val=$`echo $ac_var`
 
633
  case $ac_val in
 
634
    [\\/$]* | ?:[\\/]* ) ;;
 
635
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
636
   { (exit 1); exit 1; }; };;
 
637
  esac
 
638
done
 
639
 
 
640
# There might be people who depend on the old broken behavior: `$host'
 
641
# used to hold the argument of --host etc.
 
642
# FIXME: To remove some day.
 
643
build=$build_alias
 
644
host=$host_alias
 
645
target=$target_alias
 
646
 
 
647
# FIXME: To remove some day.
 
648
if test "x$host_alias" != x; then
 
649
  if test "x$build_alias" = x; then
 
650
    cross_compiling=maybe
 
651
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 
652
    If a cross compiler is detected then cross compile mode will be used." >&2
 
653
  elif test "x$build_alias" != "x$host_alias"; then
 
654
    cross_compiling=yes
 
655
  fi
 
656
fi
 
657
 
 
658
ac_tool_prefix=
 
659
test -n "$host_alias" && ac_tool_prefix=$host_alias-
 
660
 
 
661
test "$silent" = yes && exec 6>/dev/null
 
662
 
 
663
 
 
664
# Find the source files, if location was not specified.
 
665
if test -z "$srcdir"; then
 
666
  ac_srcdir_defaulted=yes
 
667
  # Try the directory containing this script, then its parent.
 
668
  ac_confdir=`(dirname "$0") 2>/dev/null ||
 
669
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
670
         X"$0" : 'X\(//\)[^/]' \| \
 
671
         X"$0" : 'X\(//\)$' \| \
 
672
         X"$0" : 'X\(/\)' \| \
 
673
         .     : '\(.\)' 2>/dev/null ||
 
674
echo X"$0" |
 
675
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
676
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
677
          /^X\(\/\/\)$/{ s//\1/; q; }
 
678
          /^X\(\/\).*/{ s//\1/; q; }
 
679
          s/.*/./; q'`
 
680
  srcdir=$ac_confdir
 
681
  if test ! -r $srcdir/$ac_unique_file; then
 
682
    srcdir=..
 
683
  fi
 
684
else
 
685
  ac_srcdir_defaulted=no
 
686
fi
 
687
if test ! -r $srcdir/$ac_unique_file; then
 
688
  if test "$ac_srcdir_defaulted" = yes; then
 
689
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
 
690
   { (exit 1); exit 1; }; }
 
691
  else
 
692
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
693
   { (exit 1); exit 1; }; }
 
694
  fi
 
695
fi
 
696
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
 
697
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
 
698
   { (exit 1); exit 1; }; }
 
699
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
 
700
ac_env_build_alias_set=${build_alias+set}
 
701
ac_env_build_alias_value=$build_alias
 
702
ac_cv_env_build_alias_set=${build_alias+set}
 
703
ac_cv_env_build_alias_value=$build_alias
 
704
ac_env_host_alias_set=${host_alias+set}
 
705
ac_env_host_alias_value=$host_alias
 
706
ac_cv_env_host_alias_set=${host_alias+set}
 
707
ac_cv_env_host_alias_value=$host_alias
 
708
ac_env_target_alias_set=${target_alias+set}
 
709
ac_env_target_alias_value=$target_alias
 
710
ac_cv_env_target_alias_set=${target_alias+set}
 
711
ac_cv_env_target_alias_value=$target_alias
 
712
ac_env_CC_set=${CC+set}
 
713
ac_env_CC_value=$CC
 
714
ac_cv_env_CC_set=${CC+set}
 
715
ac_cv_env_CC_value=$CC
 
716
ac_env_CFLAGS_set=${CFLAGS+set}
 
717
ac_env_CFLAGS_value=$CFLAGS
 
718
ac_cv_env_CFLAGS_set=${CFLAGS+set}
 
719
ac_cv_env_CFLAGS_value=$CFLAGS
 
720
ac_env_LDFLAGS_set=${LDFLAGS+set}
 
721
ac_env_LDFLAGS_value=$LDFLAGS
 
722
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
 
723
ac_cv_env_LDFLAGS_value=$LDFLAGS
 
724
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
 
725
ac_env_CPPFLAGS_value=$CPPFLAGS
 
726
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
 
727
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
 
728
ac_env_CPP_set=${CPP+set}
 
729
ac_env_CPP_value=$CPP
 
730
ac_cv_env_CPP_set=${CPP+set}
 
731
ac_cv_env_CPP_value=$CPP
 
732
 
 
733
#
 
734
# Report the --help message.
 
735
#
 
736
if test "$ac_init_help" = "long"; then
 
737
  # Omit some internal or obsolete options to make the list less imposing.
 
738
  # This message is too long to be a string in the A/UX 3.1 sh.
 
739
  cat <<_ACEOF
 
740
\`configure' configures this package to adapt to many kinds of systems.
 
741
 
 
742
Usage: $0 [OPTION]... [VAR=VALUE]...
 
743
 
 
744
To assign environment variables (e.g., CC, CFLAGS...), specify them as
 
745
VAR=VALUE.  See below for descriptions of some of the useful variables.
 
746
 
 
747
Defaults for the options are specified in brackets.
 
748
 
 
749
Configuration:
 
750
  -h, --help              display this help and exit
 
751
      --help=short        display options specific to this package
 
752
      --help=recursive    display the short help of all the included packages
 
753
  -V, --version           display version information and exit
 
754
  -q, --quiet, --silent   do not print \`checking...' messages
 
755
      --cache-file=FILE   cache test results in FILE [disabled]
 
756
  -C, --config-cache      alias for \`--cache-file=config.cache'
 
757
  -n, --no-create         do not create output files
 
758
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 
759
 
 
760
_ACEOF
 
761
 
 
762
  cat <<_ACEOF
 
763
Installation directories:
 
764
  --prefix=PREFIX         install architecture-independent files in PREFIX
 
765
                          [$ac_default_prefix]
 
766
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 
767
                          [PREFIX]
 
768
 
 
769
By default, \`make install' will install all the files in
 
770
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 
771
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 
772
for instance \`--prefix=\$HOME'.
 
773
 
 
774
For better control, use the options below.
 
775
 
 
776
Fine tuning of the installation directories:
 
777
  --bindir=DIR           user executables [EPREFIX/bin]
 
778
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
 
779
  --libexecdir=DIR       program executables [EPREFIX/libexec]
 
780
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
 
781
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
 
782
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
 
783
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
 
784
  --libdir=DIR           object code libraries [EPREFIX/lib]
 
785
  --includedir=DIR       C header files [PREFIX/include]
 
786
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
 
787
  --infodir=DIR          info documentation [PREFIX/info]
 
788
  --mandir=DIR           man documentation [PREFIX/man]
 
789
_ACEOF
 
790
 
 
791
  cat <<\_ACEOF
 
792
 
 
793
Program names:
 
794
  --program-prefix=PREFIX            prepend PREFIX to installed program names
 
795
  --program-suffix=SUFFIX            append SUFFIX to installed program names
 
796
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 
797
_ACEOF
 
798
fi
 
799
 
 
800
if test -n "$ac_init_help"; then
 
801
 
 
802
  cat <<\_ACEOF
 
803
 
 
804
Optional Features:
 
805
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 
806
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 
807
  --disable-dependency-tracking Speeds up one-time builds
 
808
  --enable-dependency-tracking  Do not reject slow dependency extractors
 
809
 
 
810
Some influential environment variables:
 
811
  CC          C compiler command
 
812
  CFLAGS      C compiler flags
 
813
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 
814
              nonstandard directory <lib dir>
 
815
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
 
816
              headers in a nonstandard directory <include dir>
 
817
  CPP         C preprocessor
 
818
 
 
819
Use these variables to override the choices made by `configure' or to help
 
820
it to find libraries and programs with nonstandard names/locations.
 
821
 
 
822
_ACEOF
 
823
fi
 
824
 
 
825
if test "$ac_init_help" = "recursive"; then
 
826
  # If there are subdirs, report their specific --help.
 
827
  ac_popdir=`pwd`
 
828
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 
829
    test -d $ac_dir || continue
 
830
    ac_builddir=.
 
831
 
 
832
if test "$ac_dir" != .; then
 
833
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
834
  # A "../" for each directory in $ac_dir_suffix.
 
835
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
 
836
else
 
837
  ac_dir_suffix= ac_top_builddir=
 
838
fi
 
839
 
 
840
case $srcdir in
 
841
  .)  # No --srcdir option.  We are building in place.
 
842
    ac_srcdir=.
 
843
    if test -z "$ac_top_builddir"; then
 
844
       ac_top_srcdir=.
 
845
    else
 
846
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
 
847
    fi ;;
 
848
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
849
    ac_srcdir=$srcdir$ac_dir_suffix;
 
850
    ac_top_srcdir=$srcdir ;;
 
851
  *) # Relative path.
 
852
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
 
853
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
 
854
esac
 
855
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
 
856
# absolute.
 
857
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
 
858
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
 
859
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
 
860
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
 
861
 
 
862
    cd $ac_dir
 
863
    # Check for guested configure; otherwise get Cygnus style configure.
 
864
    if test -f $ac_srcdir/configure.gnu; then
 
865
      echo
 
866
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
 
867
    elif test -f $ac_srcdir/configure; then
 
868
      echo
 
869
      $SHELL $ac_srcdir/configure  --help=recursive
 
870
    elif test -f $ac_srcdir/configure.ac ||
 
871
           test -f $ac_srcdir/configure.in; then
 
872
      echo
 
873
      $ac_configure --help
 
874
    else
 
875
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
876
    fi
 
877
    cd $ac_popdir
 
878
  done
 
879
fi
 
880
 
 
881
test -n "$ac_init_help" && exit 0
 
882
if $ac_init_version; then
 
883
  cat <<\_ACEOF
 
884
 
 
885
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
 
886
Free Software Foundation, Inc.
 
887
This configure script is free software; the Free Software Foundation
 
888
gives unlimited permission to copy, distribute and modify it.
 
889
_ACEOF
 
890
  exit 0
 
891
fi
 
892
exec 5>config.log
 
893
cat >&5 <<_ACEOF
 
894
This file contains any messages produced by compilers while
 
895
running configure, to aid debugging if configure makes a mistake.
 
896
 
 
897
It was created by $as_me, which was
 
898
generated by GNU Autoconf 2.54.  Invocation command line was
 
899
 
 
900
  $ $0 $@
 
901
 
 
902
_ACEOF
 
903
{
 
904
cat <<_ASUNAME
 
905
## --------- ##
 
906
## Platform. ##
 
907
## --------- ##
 
908
 
 
909
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 
910
uname -m = `(uname -m) 2>/dev/null || echo unknown`
 
911
uname -r = `(uname -r) 2>/dev/null || echo unknown`
 
912
uname -s = `(uname -s) 2>/dev/null || echo unknown`
 
913
uname -v = `(uname -v) 2>/dev/null || echo unknown`
 
914
 
 
915
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 
916
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 
917
 
 
918
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 
919
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 
920
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 
921
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
 
922
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 
923
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 
924
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 
925
 
 
926
_ASUNAME
 
927
 
 
928
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
929
for as_dir in $PATH
 
930
do
 
931
  IFS=$as_save_IFS
 
932
  test -z "$as_dir" && as_dir=.
 
933
  echo "PATH: $as_dir"
 
934
done
 
935
 
 
936
} >&5
 
937
 
 
938
cat >&5 <<_ACEOF
 
939
 
 
940
 
 
941
## ----------- ##
 
942
## Core tests. ##
 
943
## ----------- ##
 
944
 
 
945
_ACEOF
 
946
 
 
947
 
 
948
# Keep a trace of the command line.
 
949
# Strip out --no-create and --no-recursion so they do not pile up.
 
950
# Also quote any args containing shell meta-characters.
 
951
ac_configure_args=
 
952
ac_sep=
 
953
for ac_arg
 
954
do
 
955
  case $ac_arg in
 
956
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 
957
  | --no-cr | --no-c | -n ) continue ;;
 
958
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 
959
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 
960
    continue ;;
 
961
  *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 
962
    ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
963
  esac
 
964
  ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
 
965
  # Get rid of the leading space.
 
966
  ac_sep=" "
 
967
done
 
968
 
 
969
# When interrupted or exit'd, cleanup temporary files, and complete
 
970
# config.log.  We remove comments because anyway the quotes in there
 
971
# would cause problems or look ugly.
 
972
# WARNING: Be sure not to use single quotes in there, as some shells,
 
973
# such as our DU 5.0 friend, will then `close' the trap.
 
974
trap 'exit_status=$?
 
975
  # Save into config.log some information that might help in debugging.
 
976
  {
 
977
    echo
 
978
 
 
979
    cat <<\_ASBOX
 
980
## ---------------- ##
 
981
## Cache variables. ##
 
982
## ---------------- ##
 
983
_ASBOX
 
984
    echo
 
985
    # The following way of writing the cache mishandles newlines in values,
 
986
{
 
987
  (set) 2>&1 |
 
988
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
 
989
    *ac_space=\ *)
 
990
      sed -n \
 
991
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
 
992
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
 
993
      ;;
 
994
    *)
 
995
      sed -n \
 
996
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
997
      ;;
 
998
    esac;
 
999
}
 
1000
    echo
 
1001
 
 
1002
    cat <<\_ASBOX
 
1003
## ----------------- ##
 
1004
## Output variables. ##
 
1005
## ----------------- ##
 
1006
_ASBOX
 
1007
    echo
 
1008
    for ac_var in $ac_subst_vars
 
1009
    do
 
1010
      eval ac_val=$`echo $ac_var`
 
1011
      echo "$ac_var='"'"'$ac_val'"'"'"
 
1012
    done | sort
 
1013
    echo
 
1014
 
 
1015
    if test -n "$ac_subst_files"; then
 
1016
      cat <<\_ASBOX
 
1017
## ------------- ##
 
1018
## Output files. ##
 
1019
## ------------- ##
 
1020
_ASBOX
 
1021
      echo
 
1022
      for ac_var in $ac_subst_files
 
1023
      do
 
1024
        eval ac_val=$`echo $ac_var`
 
1025
        echo "$ac_var='"'"'$ac_val'"'"'"
 
1026
      done | sort
 
1027
      echo
 
1028
    fi
 
1029
 
 
1030
    if test -s confdefs.h; then
 
1031
      cat <<\_ASBOX
 
1032
## ----------- ##
 
1033
## confdefs.h. ##
 
1034
## ----------- ##
 
1035
_ASBOX
 
1036
      echo
 
1037
      sed "/^$/d" confdefs.h | sort
 
1038
      echo
 
1039
    fi
 
1040
    test "$ac_signal" != 0 &&
 
1041
      echo "$as_me: caught signal $ac_signal"
 
1042
    echo "$as_me: exit $exit_status"
 
1043
  } >&5
 
1044
  rm -f core core.* *.core &&
 
1045
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 
1046
    exit $exit_status
 
1047
     ' 0
 
1048
for ac_signal in 1 2 13 15; do
 
1049
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
1050
done
 
1051
ac_signal=0
 
1052
 
 
1053
# confdefs.h avoids OS command line length limits that DEFS can exceed.
 
1054
rm -rf conftest* confdefs.h
 
1055
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
 
1056
echo >confdefs.h
 
1057
 
 
1058
# Predefined preprocessor variables.
 
1059
 
 
1060
cat >>confdefs.h <<_ACEOF
 
1061
#define PACKAGE_NAME "$PACKAGE_NAME"
 
1062
_ACEOF
 
1063
 
 
1064
 
 
1065
cat >>confdefs.h <<_ACEOF
 
1066
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 
1067
_ACEOF
 
1068
 
 
1069
 
 
1070
cat >>confdefs.h <<_ACEOF
 
1071
#define PACKAGE_VERSION "$PACKAGE_VERSION"
 
1072
_ACEOF
 
1073
 
 
1074
 
 
1075
cat >>confdefs.h <<_ACEOF
 
1076
#define PACKAGE_STRING "$PACKAGE_STRING"
 
1077
_ACEOF
 
1078
 
 
1079
 
 
1080
cat >>confdefs.h <<_ACEOF
 
1081
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 
1082
_ACEOF
 
1083
 
 
1084
 
 
1085
# Let the site file select an alternate cache file if it wants to.
 
1086
# Prefer explicitly selected file to automatically selected ones.
 
1087
if test -z "$CONFIG_SITE"; then
 
1088
  if test "x$prefix" != xNONE; then
 
1089
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
 
1090
  else
 
1091
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
 
1092
  fi
 
1093
fi
 
1094
for ac_site_file in $CONFIG_SITE; do
 
1095
  if test -r "$ac_site_file"; then
 
1096
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
1097
echo "$as_me: loading site script $ac_site_file" >&6;}
 
1098
    sed 's/^/| /' "$ac_site_file" >&5
 
1099
    . "$ac_site_file"
 
1100
  fi
 
1101
done
 
1102
 
 
1103
if test -r "$cache_file"; then
 
1104
  # Some versions of bash will fail to source /dev/null (special
 
1105
  # files actually), so we avoid doing that.
 
1106
  if test -f "$cache_file"; then
 
1107
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
1108
echo "$as_me: loading cache $cache_file" >&6;}
 
1109
    case $cache_file in
 
1110
      [\\/]* | ?:[\\/]* ) . $cache_file;;
 
1111
      *)                      . ./$cache_file;;
 
1112
    esac
 
1113
  fi
 
1114
else
 
1115
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
1116
echo "$as_me: creating cache $cache_file" >&6;}
 
1117
  >$cache_file
 
1118
fi
 
1119
 
 
1120
# Check that the precious variables saved in the cache have kept the same
 
1121
# value.
 
1122
ac_cache_corrupted=false
 
1123
for ac_var in `(set) 2>&1 |
 
1124
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
1125
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
 
1126
  eval ac_new_set=\$ac_env_${ac_var}_set
 
1127
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
 
1128
  eval ac_new_val="\$ac_env_${ac_var}_value"
 
1129
  case $ac_old_set,$ac_new_set in
 
1130
    set,)
 
1131
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
1132
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
1133
      ac_cache_corrupted=: ;;
 
1134
    ,set)
 
1135
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
1136
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
1137
      ac_cache_corrupted=: ;;
 
1138
    ,);;
 
1139
    *)
 
1140
      if test "x$ac_old_val" != "x$ac_new_val"; then
 
1141
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
1142
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
1143
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
 
1144
echo "$as_me:   former value:  $ac_old_val" >&2;}
 
1145
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
 
1146
echo "$as_me:   current value: $ac_new_val" >&2;}
 
1147
        ac_cache_corrupted=:
 
1148
      fi;;
 
1149
  esac
 
1150
  # Pass precious variables to config.status.
 
1151
  if test "$ac_new_set" = set; then
 
1152
    case $ac_new_val in
 
1153
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 
1154
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1155
    *) ac_arg=$ac_var=$ac_new_val ;;
 
1156
    esac
 
1157
    case " $ac_configure_args " in
 
1158
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 
1159
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
1160
    esac
 
1161
  fi
 
1162
done
 
1163
if $ac_cache_corrupted; then
 
1164
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
1165
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
1166
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
 
1167
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
 
1168
   { (exit 1); exit 1; }; }
 
1169
fi
 
1170
 
 
1171
ac_ext=c
 
1172
ac_cpp='$CPP $CPPFLAGS'
 
1173
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
1174
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
1175
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
1176
 
 
1177
 
 
1178
 
 
1179
 
 
1180
 
 
1181
 
 
1182
 
 
1183
 
 
1184
 
 
1185
 
 
1186
 
 
1187
 
 
1188
 
 
1189
 
 
1190
 
 
1191
 
 
1192
 
 
1193
 
 
1194
 
 
1195
am__api_version="1.7"
 
1196
ac_aux_dir=
 
1197
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
 
1198
  if test -f $ac_dir/install-sh; then
 
1199
    ac_aux_dir=$ac_dir
 
1200
    ac_install_sh="$ac_aux_dir/install-sh -c"
 
1201
    break
 
1202
  elif test -f $ac_dir/install.sh; then
 
1203
    ac_aux_dir=$ac_dir
 
1204
    ac_install_sh="$ac_aux_dir/install.sh -c"
 
1205
    break
 
1206
  elif test -f $ac_dir/shtool; then
 
1207
    ac_aux_dir=$ac_dir
 
1208
    ac_install_sh="$ac_aux_dir/shtool install -c"
 
1209
    break
 
1210
  fi
 
1211
done
 
1212
if test -z "$ac_aux_dir"; then
 
1213
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
 
1214
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
 
1215
   { (exit 1); exit 1; }; }
 
1216
fi
 
1217
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
 
1218
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
 
1219
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
 
1220
 
 
1221
# Find a good install program.  We prefer a C program (faster),
 
1222
# so one script is as good as another.  But avoid the broken or
 
1223
# incompatible versions:
 
1224
# SysV /etc/install, /usr/sbin/install
 
1225
# SunOS /usr/etc/install
 
1226
# IRIX /sbin/install
 
1227
# AIX /bin/install
 
1228
# AmigaOS /C/install, which installs bootblocks on floppy discs
 
1229
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 
1230
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
 
1231
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
1232
# ./install, which can be erroneously created by make from ./install.sh.
 
1233
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
1234
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
1235
if test -z "$INSTALL"; then
 
1236
if test "${ac_cv_path_install+set}" = set; then
 
1237
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1238
else
 
1239
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1240
for as_dir in $PATH
 
1241
do
 
1242
  IFS=$as_save_IFS
 
1243
  test -z "$as_dir" && as_dir=.
 
1244
  # Account for people who put trailing slashes in PATH elements.
 
1245
case $as_dir/ in
 
1246
  ./ | .// | /cC/* | \
 
1247
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
1248
  /usr/ucb/* ) ;;
 
1249
  *)
 
1250
    # OSF1 and SCO ODT 3.0 have their own names for install.
 
1251
    # Don't use installbsd from OSF since it installs stuff as root
 
1252
    # by default.
 
1253
    for ac_prog in ginstall scoinst install; do
 
1254
      for ac_exec_ext in '' $ac_executable_extensions; do
 
1255
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
1256
          if test $ac_prog = install &&
 
1257
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
1258
            # AIX install.  It has an incompatible calling convention.
 
1259
            :
 
1260
          elif test $ac_prog = install &&
 
1261
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
1262
            # program-specific install script used by HP pwplus--don't use.
 
1263
            :
 
1264
          else
 
1265
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
1266
            break 3
 
1267
          fi
 
1268
        fi
 
1269
      done
 
1270
    done
 
1271
    ;;
 
1272
esac
 
1273
done
 
1274
 
 
1275
 
 
1276
fi
 
1277
  if test "${ac_cv_path_install+set}" = set; then
 
1278
    INSTALL=$ac_cv_path_install
 
1279
  else
 
1280
    # As a last resort, use the slow shell script.  We don't cache a
 
1281
    # path for INSTALL within a source directory, because that will
 
1282
    # break other packages using the cache if that directory is
 
1283
    # removed, or if the path is relative.
 
1284
    INSTALL=$ac_install_sh
 
1285
  fi
 
1286
fi
 
1287
echo "$as_me:$LINENO: result: $INSTALL" >&5
 
1288
echo "${ECHO_T}$INSTALL" >&6
 
1289
 
 
1290
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 
1291
# It thinks the first close brace ends the variable substitution.
 
1292
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 
1293
 
 
1294
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 
1295
 
 
1296
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
1297
 
 
1298
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
1299
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
 
1300
# Just in case
 
1301
sleep 1
 
1302
echo timestamp > conftest.file
 
1303
# Do `set' in a subshell so we don't clobber the current shell's
 
1304
# arguments.  Must try -L first in case configure is actually a
 
1305
# symlink; some systems play weird games with the mod time of symlinks
 
1306
# (eg FreeBSD returns the mod time of the symlink's containing
 
1307
# directory).
 
1308
if (
 
1309
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
1310
   if test "$*" = "X"; then
 
1311
      # -L didn't work.
 
1312
      set X `ls -t $srcdir/configure conftest.file`
 
1313
   fi
 
1314
   rm -f conftest.file
 
1315
   if test "$*" != "X $srcdir/configure conftest.file" \
 
1316
      && test "$*" != "X conftest.file $srcdir/configure"; then
 
1317
 
 
1318
      # If neither matched, then we have a broken ls.  This can happen
 
1319
      # if, for instance, CONFIG_SHELL is bash and it inherits a
 
1320
      # broken ls alias from the environment.  This has actually
 
1321
      # happened.  Such a system could not be considered "sane".
 
1322
      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
 
1323
alias in your environment" >&5
 
1324
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
 
1325
alias in your environment" >&2;}
 
1326
   { (exit 1); exit 1; }; }
 
1327
   fi
 
1328
 
 
1329
   test "$2" = conftest.file
 
1330
   )
 
1331
then
 
1332
   # Ok.
 
1333
   :
 
1334
else
 
1335
   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
 
1336
Check your system clock" >&5
 
1337
echo "$as_me: error: newly created file is older than distributed files!
 
1338
Check your system clock" >&2;}
 
1339
   { (exit 1); exit 1; }; }
 
1340
fi
 
1341
echo "$as_me:$LINENO: result: yes" >&5
 
1342
echo "${ECHO_T}yes" >&6
 
1343
test "$program_prefix" != NONE &&
 
1344
  program_transform_name="s,^,$program_prefix,;$program_transform_name"
 
1345
# Use a double $ so make ignores it.
 
1346
test "$program_suffix" != NONE &&
 
1347
  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
 
1348
# Double any \ or $.  echo might interpret backslashes.
 
1349
# By default was `s,x,x', remove it if useless.
 
1350
cat <<\_ACEOF >conftest.sed
 
1351
s/[\\$]/&&/g;s/;s,x,x,$//
 
1352
_ACEOF
 
1353
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
 
1354
rm conftest.sed
 
1355
 
 
1356
 
 
1357
# expand $ac_aux_dir to an absolute path
 
1358
am_aux_dir=`cd $ac_aux_dir && pwd`
 
1359
 
 
1360
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
1361
# Use eval to expand $SHELL
 
1362
if eval "$MISSING --run true"; then
 
1363
  am_missing_run="$MISSING --run "
 
1364
else
 
1365
  am_missing_run=
 
1366
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
1367
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
1368
fi
 
1369
 
 
1370
for ac_prog in gawk mawk nawk awk
 
1371
do
 
1372
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
1373
set dummy $ac_prog; ac_word=$2
 
1374
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1375
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1376
if test "${ac_cv_prog_AWK+set}" = set; then
 
1377
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1378
else
 
1379
  if test -n "$AWK"; then
 
1380
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
 
1381
else
 
1382
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1383
for as_dir in $PATH
 
1384
do
 
1385
  IFS=$as_save_IFS
 
1386
  test -z "$as_dir" && as_dir=.
 
1387
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1388
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1389
    ac_cv_prog_AWK="$ac_prog"
 
1390
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1391
    break 2
 
1392
  fi
 
1393
done
 
1394
done
 
1395
 
 
1396
fi
 
1397
fi
 
1398
AWK=$ac_cv_prog_AWK
 
1399
if test -n "$AWK"; then
 
1400
  echo "$as_me:$LINENO: result: $AWK" >&5
 
1401
echo "${ECHO_T}$AWK" >&6
 
1402
else
 
1403
  echo "$as_me:$LINENO: result: no" >&5
 
1404
echo "${ECHO_T}no" >&6
 
1405
fi
 
1406
 
 
1407
  test -n "$AWK" && break
 
1408
done
 
1409
 
 
1410
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
 
1411
echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
 
1412
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
 
1413
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 
1414
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1415
else
 
1416
  cat >conftest.make <<\_ACEOF
 
1417
all:
 
1418
        @echo 'ac_maketemp="${MAKE}"'
 
1419
_ACEOF
 
1420
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
1421
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
 
1422
if test -n "$ac_maketemp"; then
 
1423
  eval ac_cv_prog_make_${ac_make}_set=yes
 
1424
else
 
1425
  eval ac_cv_prog_make_${ac_make}_set=no
 
1426
fi
 
1427
rm -f conftest.make
 
1428
fi
 
1429
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
 
1430
  echo "$as_me:$LINENO: result: yes" >&5
 
1431
echo "${ECHO_T}yes" >&6
 
1432
  SET_MAKE=
 
1433
else
 
1434
  echo "$as_me:$LINENO: result: no" >&5
 
1435
echo "${ECHO_T}no" >&6
 
1436
  SET_MAKE="MAKE=${MAKE-make}"
 
1437
fi
 
1438
 
 
1439
 # test to see if srcdir already configured
 
1440
if test "`cd $srcdir && pwd`" != "`pwd`" &&
 
1441
   test -f $srcdir/config.status; then
 
1442
  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
 
1443
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
 
1444
   { (exit 1); exit 1; }; }
 
1445
fi
 
1446
 
 
1447
# test whether we have cygpath
 
1448
if test -z "$CYGPATH_W"; then
 
1449
  if (cygpath --version) >/dev/null 2>/dev/null; then
 
1450
    CYGPATH_W='cygpath -w'
 
1451
  else
 
1452
    CYGPATH_W=echo
 
1453
  fi
 
1454
fi
 
1455
 
 
1456
 
 
1457
# Define the identity of the package.
 
1458
 PACKAGE=gnurobbo
 
1459
 VERSION=0.57
 
1460
 
 
1461
 
 
1462
cat >>confdefs.h <<_ACEOF
 
1463
#define PACKAGE "$PACKAGE"
 
1464
_ACEOF
 
1465
 
 
1466
 
 
1467
cat >>confdefs.h <<_ACEOF
 
1468
#define VERSION "$VERSION"
 
1469
_ACEOF
 
1470
 
 
1471
# Some tools Automake needs.
 
1472
 
 
1473
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 
1474
 
 
1475
 
 
1476
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 
1477
 
 
1478
 
 
1479
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 
1480
 
 
1481
 
 
1482
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 
1483
 
 
1484
 
 
1485
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 
1486
 
 
1487
 
 
1488
AMTAR=${AMTAR-"${am_missing_run}tar"}
 
1489
 
 
1490
install_sh=${install_sh-"$am_aux_dir/install-sh"}
 
1491
 
 
1492
# Installed binaries are usually stripped using `strip' when the user
 
1493
# run `make install-strip'.  However `strip' might not be the right
 
1494
# tool to use in cross-compilation environments, therefore Automake
 
1495
# will honor the `STRIP' environment variable to overrule this program.
 
1496
if test "$cross_compiling" != no; then
 
1497
  if test -n "$ac_tool_prefix"; then
 
1498
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
1499
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
1500
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1501
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1502
if test "${ac_cv_prog_STRIP+set}" = set; then
 
1503
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1504
else
 
1505
  if test -n "$STRIP"; then
 
1506
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
1507
else
 
1508
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1509
for as_dir in $PATH
 
1510
do
 
1511
  IFS=$as_save_IFS
 
1512
  test -z "$as_dir" && as_dir=.
 
1513
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1514
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1515
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
1516
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1517
    break 2
 
1518
  fi
 
1519
done
 
1520
done
 
1521
 
 
1522
fi
 
1523
fi
 
1524
STRIP=$ac_cv_prog_STRIP
 
1525
if test -n "$STRIP"; then
 
1526
  echo "$as_me:$LINENO: result: $STRIP" >&5
 
1527
echo "${ECHO_T}$STRIP" >&6
 
1528
else
 
1529
  echo "$as_me:$LINENO: result: no" >&5
 
1530
echo "${ECHO_T}no" >&6
 
1531
fi
 
1532
 
 
1533
fi
 
1534
if test -z "$ac_cv_prog_STRIP"; then
 
1535
  ac_ct_STRIP=$STRIP
 
1536
  # Extract the first word of "strip", so it can be a program name with args.
 
1537
set dummy strip; ac_word=$2
 
1538
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1539
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1540
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
1541
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1542
else
 
1543
  if test -n "$ac_ct_STRIP"; then
 
1544
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
1545
else
 
1546
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1547
for as_dir in $PATH
 
1548
do
 
1549
  IFS=$as_save_IFS
 
1550
  test -z "$as_dir" && as_dir=.
 
1551
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1552
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1553
    ac_cv_prog_ac_ct_STRIP="strip"
 
1554
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1555
    break 2
 
1556
  fi
 
1557
done
 
1558
done
 
1559
 
 
1560
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
 
1561
fi
 
1562
fi
 
1563
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
1564
if test -n "$ac_ct_STRIP"; then
 
1565
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
1566
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
1567
else
 
1568
  echo "$as_me:$LINENO: result: no" >&5
 
1569
echo "${ECHO_T}no" >&6
 
1570
fi
 
1571
 
 
1572
  STRIP=$ac_ct_STRIP
 
1573
else
 
1574
  STRIP="$ac_cv_prog_STRIP"
 
1575
fi
 
1576
 
 
1577
fi
 
1578
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
 
1579
 
 
1580
# We need awk for the "check" target.  The system "awk" is bad on
 
1581
# some platforms.
 
1582
 
 
1583
 
 
1584
 
 
1585
          ac_config_headers="$ac_config_headers config.h"
 
1586
 
 
1587
 
 
1588
for ac_prog in gawk mawk nawk awk
 
1589
do
 
1590
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
1591
set dummy $ac_prog; ac_word=$2
 
1592
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1593
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1594
if test "${ac_cv_prog_AWK+set}" = set; then
 
1595
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1596
else
 
1597
  if test -n "$AWK"; then
 
1598
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
 
1599
else
 
1600
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1601
for as_dir in $PATH
 
1602
do
 
1603
  IFS=$as_save_IFS
 
1604
  test -z "$as_dir" && as_dir=.
 
1605
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1606
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1607
    ac_cv_prog_AWK="$ac_prog"
 
1608
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1609
    break 2
 
1610
  fi
 
1611
done
 
1612
done
 
1613
 
 
1614
fi
 
1615
fi
 
1616
AWK=$ac_cv_prog_AWK
 
1617
if test -n "$AWK"; then
 
1618
  echo "$as_me:$LINENO: result: $AWK" >&5
 
1619
echo "${ECHO_T}$AWK" >&6
 
1620
else
 
1621
  echo "$as_me:$LINENO: result: no" >&5
 
1622
echo "${ECHO_T}no" >&6
 
1623
fi
 
1624
 
 
1625
  test -n "$AWK" && break
 
1626
done
 
1627
 
 
1628
ac_ext=c
 
1629
ac_cpp='$CPP $CPPFLAGS'
 
1630
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
1631
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
1632
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
1633
if test -n "$ac_tool_prefix"; then
 
1634
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 
1635
set dummy ${ac_tool_prefix}gcc; ac_word=$2
 
1636
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1637
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1638
if test "${ac_cv_prog_CC+set}" = set; then
 
1639
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1640
else
 
1641
  if test -n "$CC"; then
 
1642
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
1643
else
 
1644
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1645
for as_dir in $PATH
 
1646
do
 
1647
  IFS=$as_save_IFS
 
1648
  test -z "$as_dir" && as_dir=.
 
1649
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1650
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1651
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 
1652
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1653
    break 2
 
1654
  fi
 
1655
done
 
1656
done
 
1657
 
 
1658
fi
 
1659
fi
 
1660
CC=$ac_cv_prog_CC
 
1661
if test -n "$CC"; then
 
1662
  echo "$as_me:$LINENO: result: $CC" >&5
 
1663
echo "${ECHO_T}$CC" >&6
 
1664
else
 
1665
  echo "$as_me:$LINENO: result: no" >&5
 
1666
echo "${ECHO_T}no" >&6
 
1667
fi
 
1668
 
 
1669
fi
 
1670
if test -z "$ac_cv_prog_CC"; then
 
1671
  ac_ct_CC=$CC
 
1672
  # Extract the first word of "gcc", so it can be a program name with args.
 
1673
set dummy gcc; ac_word=$2
 
1674
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1675
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1676
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
1677
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1678
else
 
1679
  if test -n "$ac_ct_CC"; then
 
1680
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
1681
else
 
1682
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1683
for as_dir in $PATH
 
1684
do
 
1685
  IFS=$as_save_IFS
 
1686
  test -z "$as_dir" && as_dir=.
 
1687
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1688
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1689
    ac_cv_prog_ac_ct_CC="gcc"
 
1690
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1691
    break 2
 
1692
  fi
 
1693
done
 
1694
done
 
1695
 
 
1696
fi
 
1697
fi
 
1698
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
1699
if test -n "$ac_ct_CC"; then
 
1700
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
1701
echo "${ECHO_T}$ac_ct_CC" >&6
 
1702
else
 
1703
  echo "$as_me:$LINENO: result: no" >&5
 
1704
echo "${ECHO_T}no" >&6
 
1705
fi
 
1706
 
 
1707
  CC=$ac_ct_CC
 
1708
else
 
1709
  CC="$ac_cv_prog_CC"
 
1710
fi
 
1711
 
 
1712
if test -z "$CC"; then
 
1713
  if test -n "$ac_tool_prefix"; then
 
1714
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
1715
set dummy ${ac_tool_prefix}cc; ac_word=$2
 
1716
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1717
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1718
if test "${ac_cv_prog_CC+set}" = set; then
 
1719
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1720
else
 
1721
  if test -n "$CC"; then
 
1722
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
1723
else
 
1724
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1725
for as_dir in $PATH
 
1726
do
 
1727
  IFS=$as_save_IFS
 
1728
  test -z "$as_dir" && as_dir=.
 
1729
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1730
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1731
    ac_cv_prog_CC="${ac_tool_prefix}cc"
 
1732
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1733
    break 2
 
1734
  fi
 
1735
done
 
1736
done
 
1737
 
 
1738
fi
 
1739
fi
 
1740
CC=$ac_cv_prog_CC
 
1741
if test -n "$CC"; then
 
1742
  echo "$as_me:$LINENO: result: $CC" >&5
 
1743
echo "${ECHO_T}$CC" >&6
 
1744
else
 
1745
  echo "$as_me:$LINENO: result: no" >&5
 
1746
echo "${ECHO_T}no" >&6
 
1747
fi
 
1748
 
 
1749
fi
 
1750
if test -z "$ac_cv_prog_CC"; then
 
1751
  ac_ct_CC=$CC
 
1752
  # Extract the first word of "cc", so it can be a program name with args.
 
1753
set dummy cc; ac_word=$2
 
1754
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1755
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1756
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
1757
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1758
else
 
1759
  if test -n "$ac_ct_CC"; then
 
1760
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
1761
else
 
1762
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1763
for as_dir in $PATH
 
1764
do
 
1765
  IFS=$as_save_IFS
 
1766
  test -z "$as_dir" && as_dir=.
 
1767
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1768
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1769
    ac_cv_prog_ac_ct_CC="cc"
 
1770
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1771
    break 2
 
1772
  fi
 
1773
done
 
1774
done
 
1775
 
 
1776
fi
 
1777
fi
 
1778
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
1779
if test -n "$ac_ct_CC"; then
 
1780
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
1781
echo "${ECHO_T}$ac_ct_CC" >&6
 
1782
else
 
1783
  echo "$as_me:$LINENO: result: no" >&5
 
1784
echo "${ECHO_T}no" >&6
 
1785
fi
 
1786
 
 
1787
  CC=$ac_ct_CC
 
1788
else
 
1789
  CC="$ac_cv_prog_CC"
 
1790
fi
 
1791
 
 
1792
fi
 
1793
if test -z "$CC"; then
 
1794
  # Extract the first word of "cc", so it can be a program name with args.
 
1795
set dummy cc; ac_word=$2
 
1796
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1797
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1798
if test "${ac_cv_prog_CC+set}" = set; then
 
1799
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1800
else
 
1801
  if test -n "$CC"; then
 
1802
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
1803
else
 
1804
  ac_prog_rejected=no
 
1805
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1806
for as_dir in $PATH
 
1807
do
 
1808
  IFS=$as_save_IFS
 
1809
  test -z "$as_dir" && as_dir=.
 
1810
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1811
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1812
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 
1813
       ac_prog_rejected=yes
 
1814
       continue
 
1815
     fi
 
1816
    ac_cv_prog_CC="cc"
 
1817
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1818
    break 2
 
1819
  fi
 
1820
done
 
1821
done
 
1822
 
 
1823
if test $ac_prog_rejected = yes; then
 
1824
  # We found a bogon in the path, so make sure we never use it.
 
1825
  set dummy $ac_cv_prog_CC
 
1826
  shift
 
1827
  if test $# != 0; then
 
1828
    # We chose a different compiler from the bogus one.
 
1829
    # However, it has the same basename, so the bogon will be chosen
 
1830
    # first if we set CC to just the basename; use the full file name.
 
1831
    shift
 
1832
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
1833
  fi
 
1834
fi
 
1835
fi
 
1836
fi
 
1837
CC=$ac_cv_prog_CC
 
1838
if test -n "$CC"; then
 
1839
  echo "$as_me:$LINENO: result: $CC" >&5
 
1840
echo "${ECHO_T}$CC" >&6
 
1841
else
 
1842
  echo "$as_me:$LINENO: result: no" >&5
 
1843
echo "${ECHO_T}no" >&6
 
1844
fi
 
1845
 
 
1846
fi
 
1847
if test -z "$CC"; then
 
1848
  if test -n "$ac_tool_prefix"; then
 
1849
  for ac_prog in cl
 
1850
  do
 
1851
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
1852
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
1853
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1854
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1855
if test "${ac_cv_prog_CC+set}" = set; then
 
1856
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1857
else
 
1858
  if test -n "$CC"; then
 
1859
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
1860
else
 
1861
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1862
for as_dir in $PATH
 
1863
do
 
1864
  IFS=$as_save_IFS
 
1865
  test -z "$as_dir" && as_dir=.
 
1866
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1867
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1868
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 
1869
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1870
    break 2
 
1871
  fi
 
1872
done
 
1873
done
 
1874
 
 
1875
fi
 
1876
fi
 
1877
CC=$ac_cv_prog_CC
 
1878
if test -n "$CC"; then
 
1879
  echo "$as_me:$LINENO: result: $CC" >&5
 
1880
echo "${ECHO_T}$CC" >&6
 
1881
else
 
1882
  echo "$as_me:$LINENO: result: no" >&5
 
1883
echo "${ECHO_T}no" >&6
 
1884
fi
 
1885
 
 
1886
    test -n "$CC" && break
 
1887
  done
 
1888
fi
 
1889
if test -z "$CC"; then
 
1890
  ac_ct_CC=$CC
 
1891
  for ac_prog in cl
 
1892
do
 
1893
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
1894
set dummy $ac_prog; ac_word=$2
 
1895
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1896
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1897
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
1898
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1899
else
 
1900
  if test -n "$ac_ct_CC"; then
 
1901
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
1902
else
 
1903
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1904
for as_dir in $PATH
 
1905
do
 
1906
  IFS=$as_save_IFS
 
1907
  test -z "$as_dir" && as_dir=.
 
1908
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1909
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1910
    ac_cv_prog_ac_ct_CC="$ac_prog"
 
1911
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1912
    break 2
 
1913
  fi
 
1914
done
 
1915
done
 
1916
 
 
1917
fi
 
1918
fi
 
1919
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
1920
if test -n "$ac_ct_CC"; then
 
1921
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
1922
echo "${ECHO_T}$ac_ct_CC" >&6
 
1923
else
 
1924
  echo "$as_me:$LINENO: result: no" >&5
 
1925
echo "${ECHO_T}no" >&6
 
1926
fi
 
1927
 
 
1928
  test -n "$ac_ct_CC" && break
 
1929
done
 
1930
 
 
1931
  CC=$ac_ct_CC
 
1932
fi
 
1933
 
 
1934
fi
 
1935
 
 
1936
 
 
1937
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
 
1938
echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
 
1939
   { (exit 1); exit 1; }; }
 
1940
 
 
1941
# Provide some information about the compiler.
 
1942
echo "$as_me:$LINENO:" \
 
1943
     "checking for C compiler version" >&5
 
1944
ac_compiler=`set X $ac_compile; echo $2`
 
1945
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
 
1946
  (eval $ac_compiler --version </dev/null >&5) 2>&5
 
1947
  ac_status=$?
 
1948
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
1949
  (exit $ac_status); }
 
1950
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
 
1951
  (eval $ac_compiler -v </dev/null >&5) 2>&5
 
1952
  ac_status=$?
 
1953
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
1954
  (exit $ac_status); }
 
1955
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
 
1956
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
1957
  ac_status=$?
 
1958
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
1959
  (exit $ac_status); }
 
1960
 
 
1961
cat >conftest.$ac_ext <<_ACEOF
 
1962
#line $LINENO "configure"
 
1963
#include "confdefs.h"
 
1964
 
 
1965
int
 
1966
main ()
 
1967
{
 
1968
 
 
1969
  ;
 
1970
  return 0;
 
1971
}
 
1972
_ACEOF
 
1973
ac_clean_files_save=$ac_clean_files
 
1974
ac_clean_files="$ac_clean_files a.out a.exe"
 
1975
# Try to create an executable without -o first, disregard a.out.
 
1976
# It will help us diagnose broken compilers, and finding out an intuition
 
1977
# of exeext.
 
1978
echo "$as_me:$LINENO: checking for C compiler default output" >&5
 
1979
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
 
1980
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
1981
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
 
1982
  (eval $ac_link_default) 2>&5
 
1983
  ac_status=$?
 
1984
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
1985
  (exit $ac_status); }; then
 
1986
  # Find the output, starting from the most likely.  This scheme is
 
1987
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
 
1988
# resort.
 
1989
 
 
1990
# Be careful to initialize this variable, since it used to be cached.
 
1991
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
 
1992
ac_cv_exeext=
 
1993
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.*; do
 
1994
  test -f "$ac_file" || continue
 
1995
  case $ac_file in
 
1996
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
 
1997
    a.out ) # We found the default executable, but exeext='' is most
 
1998
            # certainly right.
 
1999
            break;;
 
2000
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
2001
          # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
 
2002
          export ac_cv_exeext
 
2003
          break;;
 
2004
    * ) break;;
 
2005
  esac
 
2006
done
 
2007
else
 
2008
  echo "$as_me: failed program was:" >&5
 
2009
cat conftest.$ac_ext >&5
 
2010
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
 
2011
check \`config.log' for details." >&5
 
2012
echo "$as_me: error: C compiler cannot create executables
 
2013
check \`config.log' for details." >&2;}
 
2014
   { (exit 77); exit 77; }; }
 
2015
fi
 
2016
 
 
2017
ac_exeext=$ac_cv_exeext
 
2018
echo "$as_me:$LINENO: result: $ac_file" >&5
 
2019
echo "${ECHO_T}$ac_file" >&6
 
2020
 
 
2021
# Check the compiler produces executables we can run.  If not, either
 
2022
# the compiler is broken, or we cross compile.
 
2023
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
2024
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
 
2025
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
 
2026
# If not cross compiling, check that we can run a simple program.
 
2027
if test "$cross_compiling" != yes; then
 
2028
  if { ac_try='./$ac_file'
 
2029
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2030
  (eval $ac_try) 2>&5
 
2031
  ac_status=$?
 
2032
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2033
  (exit $ac_status); }; }; then
 
2034
    cross_compiling=no
 
2035
  else
 
2036
    if test "$cross_compiling" = maybe; then
 
2037
        cross_compiling=yes
 
2038
    else
 
2039
        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
 
2040
If you meant to cross compile, use \`--host'." >&5
 
2041
echo "$as_me: error: cannot run C compiled programs.
 
2042
If you meant to cross compile, use \`--host'." >&2;}
 
2043
   { (exit 1); exit 1; }; }
 
2044
    fi
 
2045
  fi
 
2046
fi
 
2047
echo "$as_me:$LINENO: result: yes" >&5
 
2048
echo "${ECHO_T}yes" >&6
 
2049
 
 
2050
rm -f a.out a.exe conftest$ac_cv_exeext
 
2051
ac_clean_files=$ac_clean_files_save
 
2052
# Check the compiler produces executables we can run.  If not, either
 
2053
# the compiler is broken, or we cross compile.
 
2054
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
2055
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
 
2056
echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
2057
echo "${ECHO_T}$cross_compiling" >&6
 
2058
 
 
2059
echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
2060
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
 
2061
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
2062
  (eval $ac_link) 2>&5
 
2063
  ac_status=$?
 
2064
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2065
  (exit $ac_status); }; then
 
2066
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
 
2067
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 
2068
# work properly (i.e., refer to `conftest.exe'), while it won't with
 
2069
# `rm'.
 
2070
for ac_file in conftest.exe conftest conftest.*; do
 
2071
  test -f "$ac_file" || continue
 
2072
  case $ac_file in
 
2073
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
 
2074
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
2075
          export ac_cv_exeext
 
2076
          break;;
 
2077
    * ) break;;
 
2078
  esac
 
2079
done
 
2080
else
 
2081
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
 
2082
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
 
2083
   { (exit 1); exit 1; }; }
 
2084
fi
 
2085
 
 
2086
rm -f conftest$ac_cv_exeext
 
2087
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
2088
echo "${ECHO_T}$ac_cv_exeext" >&6
 
2089
 
 
2090
rm -f conftest.$ac_ext
 
2091
EXEEXT=$ac_cv_exeext
 
2092
ac_exeext=$EXEEXT
 
2093
echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
2094
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
 
2095
if test "${ac_cv_objext+set}" = set; then
 
2096
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2097
else
 
2098
  cat >conftest.$ac_ext <<_ACEOF
 
2099
#line $LINENO "configure"
 
2100
#include "confdefs.h"
 
2101
 
 
2102
int
 
2103
main ()
 
2104
{
 
2105
 
 
2106
  ;
 
2107
  return 0;
 
2108
}
 
2109
_ACEOF
 
2110
rm -f conftest.o conftest.obj
 
2111
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2112
  (eval $ac_compile) 2>&5
 
2113
  ac_status=$?
 
2114
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2115
  (exit $ac_status); }; then
 
2116
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
 
2117
  case $ac_file in
 
2118
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
 
2119
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 
2120
       break;;
 
2121
  esac
 
2122
done
 
2123
else
 
2124
  echo "$as_me: failed program was:" >&5
 
2125
cat conftest.$ac_ext >&5
 
2126
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
 
2127
echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
 
2128
   { (exit 1); exit 1; }; }
 
2129
fi
 
2130
 
 
2131
rm -f conftest.$ac_cv_objext conftest.$ac_ext
 
2132
fi
 
2133
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
2134
echo "${ECHO_T}$ac_cv_objext" >&6
 
2135
OBJEXT=$ac_cv_objext
 
2136
ac_objext=$OBJEXT
 
2137
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
2138
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 
2139
if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
2140
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2141
else
 
2142
  cat >conftest.$ac_ext <<_ACEOF
 
2143
#line $LINENO "configure"
 
2144
#include "confdefs.h"
 
2145
 
 
2146
int
 
2147
main ()
 
2148
{
 
2149
#ifndef __GNUC__
 
2150
       choke me
 
2151
#endif
 
2152
 
 
2153
  ;
 
2154
  return 0;
 
2155
}
 
2156
_ACEOF
 
2157
rm -f conftest.$ac_objext
 
2158
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2159
  (eval $ac_compile) 2>&5
 
2160
  ac_status=$?
 
2161
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2162
  (exit $ac_status); } &&
 
2163
         { ac_try='test -s conftest.$ac_objext'
 
2164
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2165
  (eval $ac_try) 2>&5
 
2166
  ac_status=$?
 
2167
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2168
  (exit $ac_status); }; }; then
 
2169
  ac_compiler_gnu=yes
 
2170
else
 
2171
  echo "$as_me: failed program was:" >&5
 
2172
cat conftest.$ac_ext >&5
 
2173
ac_compiler_gnu=no
 
2174
fi
 
2175
rm -f conftest.$ac_objext conftest.$ac_ext
 
2176
ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
2177
 
 
2178
fi
 
2179
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
2180
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
 
2181
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
2182
ac_test_CFLAGS=${CFLAGS+set}
 
2183
ac_save_CFLAGS=$CFLAGS
 
2184
CFLAGS="-g"
 
2185
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
2186
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 
2187
if test "${ac_cv_prog_cc_g+set}" = set; then
 
2188
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2189
else
 
2190
  cat >conftest.$ac_ext <<_ACEOF
 
2191
#line $LINENO "configure"
 
2192
#include "confdefs.h"
 
2193
 
 
2194
int
 
2195
main ()
 
2196
{
 
2197
 
 
2198
  ;
 
2199
  return 0;
 
2200
}
 
2201
_ACEOF
 
2202
rm -f conftest.$ac_objext
 
2203
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2204
  (eval $ac_compile) 2>&5
 
2205
  ac_status=$?
 
2206
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2207
  (exit $ac_status); } &&
 
2208
         { ac_try='test -s conftest.$ac_objext'
 
2209
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2210
  (eval $ac_try) 2>&5
 
2211
  ac_status=$?
 
2212
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2213
  (exit $ac_status); }; }; then
 
2214
  ac_cv_prog_cc_g=yes
 
2215
else
 
2216
  echo "$as_me: failed program was:" >&5
 
2217
cat conftest.$ac_ext >&5
 
2218
ac_cv_prog_cc_g=no
 
2219
fi
 
2220
rm -f conftest.$ac_objext conftest.$ac_ext
 
2221
fi
 
2222
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
2223
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 
2224
if test "$ac_test_CFLAGS" = set; then
 
2225
  CFLAGS=$ac_save_CFLAGS
 
2226
elif test $ac_cv_prog_cc_g = yes; then
 
2227
  if test "$GCC" = yes; then
 
2228
    CFLAGS="-g -O2"
 
2229
  else
 
2230
    CFLAGS="-g"
 
2231
  fi
 
2232
else
 
2233
  if test "$GCC" = yes; then
 
2234
    CFLAGS="-O2"
 
2235
  else
 
2236
    CFLAGS=
 
2237
  fi
 
2238
fi
 
2239
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
 
2240
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
 
2241
if test "${ac_cv_prog_cc_stdc+set}" = set; then
 
2242
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2243
else
 
2244
  ac_cv_prog_cc_stdc=no
 
2245
ac_save_CC=$CC
 
2246
cat >conftest.$ac_ext <<_ACEOF
 
2247
#line $LINENO "configure"
 
2248
#include "confdefs.h"
 
2249
#include <stdarg.h>
 
2250
#include <stdio.h>
 
2251
#include <sys/types.h>
 
2252
#include <sys/stat.h>
 
2253
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
2254
struct buf { int x; };
 
2255
FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
2256
static char *e (p, i)
 
2257
     char **p;
 
2258
     int i;
 
2259
{
 
2260
  return p[i];
 
2261
}
 
2262
static char *f (char * (*g) (char **, int), char **p, ...)
 
2263
{
 
2264
  char *s;
 
2265
  va_list v;
 
2266
  va_start (v,p);
 
2267
  s = g (p, va_arg (v,int));
 
2268
  va_end (v);
 
2269
  return s;
 
2270
}
 
2271
int test (int i, double x);
 
2272
struct s1 {int (*f) (int a);};
 
2273
struct s2 {int (*f) (double a);};
 
2274
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
2275
int argc;
 
2276
char **argv;
 
2277
int
 
2278
main ()
 
2279
{
 
2280
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
2281
  ;
 
2282
  return 0;
 
2283
}
 
2284
_ACEOF
 
2285
# Don't try gcc -ansi; that turns off useful extensions and
 
2286
# breaks some systems' header files.
 
2287
# AIX                   -qlanglvl=ansi
 
2288
# Ultrix and OSF/1      -std1
 
2289
# HP-UX 10.20 and later -Ae
 
2290
# HP-UX older versions  -Aa -D_HPUX_SOURCE
 
2291
# SVR4                  -Xc -D__EXTENSIONS__
 
2292
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
2293
do
 
2294
  CC="$ac_save_CC $ac_arg"
 
2295
  rm -f conftest.$ac_objext
 
2296
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2297
  (eval $ac_compile) 2>&5
 
2298
  ac_status=$?
 
2299
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2300
  (exit $ac_status); } &&
 
2301
         { ac_try='test -s conftest.$ac_objext'
 
2302
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2303
  (eval $ac_try) 2>&5
 
2304
  ac_status=$?
 
2305
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2306
  (exit $ac_status); }; }; then
 
2307
  ac_cv_prog_cc_stdc=$ac_arg
 
2308
break
 
2309
else
 
2310
  echo "$as_me: failed program was:" >&5
 
2311
cat conftest.$ac_ext >&5
 
2312
fi
 
2313
rm -f conftest.$ac_objext
 
2314
done
 
2315
rm -f conftest.$ac_ext conftest.$ac_objext
 
2316
CC=$ac_save_CC
 
2317
 
 
2318
fi
 
2319
 
 
2320
case "x$ac_cv_prog_cc_stdc" in
 
2321
  x|xno)
 
2322
    echo "$as_me:$LINENO: result: none needed" >&5
 
2323
echo "${ECHO_T}none needed" >&6 ;;
 
2324
  *)
 
2325
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
 
2326
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
 
2327
    CC="$CC $ac_cv_prog_cc_stdc" ;;
 
2328
esac
 
2329
 
 
2330
# Some people use a C++ compiler to compile C.  Since we use `exit',
 
2331
# in C++ we need to declare it.  In case someone uses the same compiler
 
2332
# for both compiling C and C++ we need to have the C++ compiler decide
 
2333
# the declaration of exit, since it's the most demanding environment.
 
2334
cat >conftest.$ac_ext <<_ACEOF
 
2335
#ifndef __cplusplus
 
2336
  choke me
 
2337
#endif
 
2338
_ACEOF
 
2339
rm -f conftest.$ac_objext
 
2340
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2341
  (eval $ac_compile) 2>&5
 
2342
  ac_status=$?
 
2343
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2344
  (exit $ac_status); } &&
 
2345
         { ac_try='test -s conftest.$ac_objext'
 
2346
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2347
  (eval $ac_try) 2>&5
 
2348
  ac_status=$?
 
2349
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2350
  (exit $ac_status); }; }; then
 
2351
  for ac_declaration in \
 
2352
   ''\
 
2353
   '#include <stdlib.h>' \
 
2354
   'extern "C" void std::exit (int) throw (); using std::exit;' \
 
2355
   'extern "C" void std::exit (int); using std::exit;' \
 
2356
   'extern "C" void exit (int) throw ();' \
 
2357
   'extern "C" void exit (int);' \
 
2358
   'void exit (int);'
 
2359
do
 
2360
  cat >conftest.$ac_ext <<_ACEOF
 
2361
#line $LINENO "configure"
 
2362
#include "confdefs.h"
 
2363
#include <stdlib.h>
 
2364
$ac_declaration
 
2365
int
 
2366
main ()
 
2367
{
 
2368
exit (42);
 
2369
  ;
 
2370
  return 0;
 
2371
}
 
2372
_ACEOF
 
2373
rm -f conftest.$ac_objext
 
2374
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2375
  (eval $ac_compile) 2>&5
 
2376
  ac_status=$?
 
2377
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2378
  (exit $ac_status); } &&
 
2379
         { ac_try='test -s conftest.$ac_objext'
 
2380
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2381
  (eval $ac_try) 2>&5
 
2382
  ac_status=$?
 
2383
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2384
  (exit $ac_status); }; }; then
 
2385
  :
 
2386
else
 
2387
  echo "$as_me: failed program was:" >&5
 
2388
cat conftest.$ac_ext >&5
 
2389
continue
 
2390
fi
 
2391
rm -f conftest.$ac_objext conftest.$ac_ext
 
2392
  cat >conftest.$ac_ext <<_ACEOF
 
2393
#line $LINENO "configure"
 
2394
#include "confdefs.h"
 
2395
$ac_declaration
 
2396
int
 
2397
main ()
 
2398
{
 
2399
exit (42);
 
2400
  ;
 
2401
  return 0;
 
2402
}
 
2403
_ACEOF
 
2404
rm -f conftest.$ac_objext
 
2405
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2406
  (eval $ac_compile) 2>&5
 
2407
  ac_status=$?
 
2408
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2409
  (exit $ac_status); } &&
 
2410
         { ac_try='test -s conftest.$ac_objext'
 
2411
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2412
  (eval $ac_try) 2>&5
 
2413
  ac_status=$?
 
2414
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2415
  (exit $ac_status); }; }; then
 
2416
  break
 
2417
else
 
2418
  echo "$as_me: failed program was:" >&5
 
2419
cat conftest.$ac_ext >&5
 
2420
fi
 
2421
rm -f conftest.$ac_objext conftest.$ac_ext
 
2422
done
 
2423
rm -f conftest*
 
2424
if test -n "$ac_declaration"; then
 
2425
  echo '#ifdef __cplusplus' >>confdefs.h
 
2426
  echo $ac_declaration      >>confdefs.h
 
2427
  echo '#endif'             >>confdefs.h
 
2428
fi
 
2429
 
 
2430
else
 
2431
  echo "$as_me: failed program was:" >&5
 
2432
cat conftest.$ac_ext >&5
 
2433
fi
 
2434
rm -f conftest.$ac_objext conftest.$ac_ext
 
2435
ac_ext=c
 
2436
ac_cpp='$CPP $CPPFLAGS'
 
2437
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
2438
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
2439
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
2440
rm -f .deps 2>/dev/null
 
2441
mkdir .deps 2>/dev/null
 
2442
if test -d .deps; then
 
2443
  DEPDIR=.deps
 
2444
else
 
2445
  # MS-DOS does not allow filenames that begin with a dot.
 
2446
  DEPDIR=_deps
 
2447
fi
 
2448
rmdir .deps 2>/dev/null
 
2449
 
 
2450
 
 
2451
          ac_config_commands="$ac_config_commands depfiles"
 
2452
 
 
2453
 
 
2454
am_make=${MAKE-make}
 
2455
cat > confinc << 'END'
 
2456
doit:
 
2457
        @echo done
 
2458
END
 
2459
# If we don't find an include directive, just comment out the code.
 
2460
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
2461
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
 
2462
am__include="#"
 
2463
am__quote=
 
2464
_am_result=none
 
2465
# First try GNU make style include.
 
2466
echo "include confinc" > confmf
 
2467
# We grep out `Entering directory' and `Leaving directory'
 
2468
# messages which can occur if `w' ends up in MAKEFLAGS.
 
2469
# In particular we don't look at `^make:' because GNU make might
 
2470
# be invoked under some other name (usually "gmake"), in which
 
2471
# case it prints its new name instead of `make'.
 
2472
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
 
2473
   am__include=include
 
2474
   am__quote=
 
2475
   _am_result=GNU
 
2476
fi
 
2477
# Now try BSD make style include.
 
2478
if test "$am__include" = "#"; then
 
2479
   echo '.include "confinc"' > confmf
 
2480
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
 
2481
      am__include=.include
 
2482
      am__quote="\""
 
2483
      _am_result=BSD
 
2484
   fi
 
2485
fi
 
2486
 
 
2487
 
 
2488
echo "$as_me:$LINENO: result: $_am_result" >&5
 
2489
echo "${ECHO_T}$_am_result" >&6
 
2490
rm -f confinc confmf
 
2491
 
 
2492
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
 
2493
if test "${enable_dependency_tracking+set}" = set; then
 
2494
  enableval="$enable_dependency_tracking"
 
2495
 
 
2496
fi;
 
2497
if test "x$enable_dependency_tracking" != xno; then
 
2498
  am_depcomp="$ac_aux_dir/depcomp"
 
2499
  AMDEPBACKSLASH='\'
 
2500
fi
 
2501
 
 
2502
 
 
2503
if test "x$enable_dependency_tracking" != xno; then
 
2504
  AMDEP_TRUE=
 
2505
  AMDEP_FALSE='#'
 
2506
else
 
2507
  AMDEP_TRUE='#'
 
2508
  AMDEP_FALSE=
 
2509
fi
 
2510
 
 
2511
 
 
2512
 
 
2513
 
 
2514
depcc="$CC"   am_compiler_list=
 
2515
 
 
2516
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
2517
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
2518
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 
2519
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2520
else
 
2521
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
2522
  # We make a subdir and do the tests there.  Otherwise we can end up
 
2523
  # making bogus files that we don't know about and never remove.  For
 
2524
  # instance it was reported that on HP-UX the gcc test will end up
 
2525
  # making a dummy file named `D' -- because `-MD' means `put the output
 
2526
  # in D'.
 
2527
  mkdir conftest.dir
 
2528
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
2529
  # using a relative directory.
 
2530
  cp "$am_depcomp" conftest.dir
 
2531
  cd conftest.dir
 
2532
 
 
2533
  am_cv_CC_dependencies_compiler_type=none
 
2534
  if test "$am_compiler_list" = ""; then
 
2535
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
2536
  fi
 
2537
  for depmode in $am_compiler_list; do
 
2538
    # We need to recreate these files for each test, as the compiler may
 
2539
    # overwrite some of them when testing with obscure command lines.
 
2540
    # This happens at least with the AIX C compiler.
 
2541
    echo '#include "conftest.h"' > conftest.c
 
2542
    echo 'int i;' > conftest.h
 
2543
    echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
 
2544
 
 
2545
    case $depmode in
 
2546
    nosideeffect)
 
2547
      # after this tag, mechanisms are not by side-effect, so they'll
 
2548
      # only be used when explicitly requested
 
2549
      if test "x$enable_dependency_tracking" = xyes; then
 
2550
        continue
 
2551
      else
 
2552
        break
 
2553
      fi
 
2554
      ;;
 
2555
    none) break ;;
 
2556
    esac
 
2557
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
2558
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
2559
    # handle `-M -o', and we need to detect this.
 
2560
    if depmode=$depmode \
 
2561
       source=conftest.c object=conftest.o \
 
2562
       depfile=conftest.Po tmpdepfile=conftest.TPo \
 
2563
       $SHELL ./depcomp $depcc -c -o conftest.o conftest.c >/dev/null 2>&1 &&
 
2564
       grep conftest.h conftest.Po > /dev/null 2>&1 &&
 
2565
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
2566
      am_cv_CC_dependencies_compiler_type=$depmode
 
2567
      break
 
2568
    fi
 
2569
  done
 
2570
 
 
2571
  cd ..
 
2572
  rm -rf conftest.dir
 
2573
else
 
2574
  am_cv_CC_dependencies_compiler_type=none
 
2575
fi
 
2576
 
 
2577
fi
 
2578
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
2579
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
 
2580
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 
2581
 
 
2582
 
 
2583
 
 
2584
if
 
2585
  test "x$enable_dependency_tracking" != xno \
 
2586
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 
2587
  am__fastdepCC_TRUE=
 
2588
  am__fastdepCC_FALSE='#'
 
2589
else
 
2590
  am__fastdepCC_TRUE='#'
 
2591
  am__fastdepCC_FALSE=
 
2592
fi
 
2593
 
 
2594
 
 
2595
# Find a good install program.  We prefer a C program (faster),
 
2596
# so one script is as good as another.  But avoid the broken or
 
2597
# incompatible versions:
 
2598
# SysV /etc/install, /usr/sbin/install
 
2599
# SunOS /usr/etc/install
 
2600
# IRIX /sbin/install
 
2601
# AIX /bin/install
 
2602
# AmigaOS /C/install, which installs bootblocks on floppy discs
 
2603
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 
2604
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
 
2605
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
2606
# ./install, which can be erroneously created by make from ./install.sh.
 
2607
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2608
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
2609
if test -z "$INSTALL"; then
 
2610
if test "${ac_cv_path_install+set}" = set; then
 
2611
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2612
else
 
2613
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2614
for as_dir in $PATH
 
2615
do
 
2616
  IFS=$as_save_IFS
 
2617
  test -z "$as_dir" && as_dir=.
 
2618
  # Account for people who put trailing slashes in PATH elements.
 
2619
case $as_dir/ in
 
2620
  ./ | .// | /cC/* | \
 
2621
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
2622
  /usr/ucb/* ) ;;
 
2623
  *)
 
2624
    # OSF1 and SCO ODT 3.0 have their own names for install.
 
2625
    # Don't use installbsd from OSF since it installs stuff as root
 
2626
    # by default.
 
2627
    for ac_prog in ginstall scoinst install; do
 
2628
      for ac_exec_ext in '' $ac_executable_extensions; do
 
2629
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
2630
          if test $ac_prog = install &&
 
2631
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
2632
            # AIX install.  It has an incompatible calling convention.
 
2633
            :
 
2634
          elif test $ac_prog = install &&
 
2635
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
2636
            # program-specific install script used by HP pwplus--don't use.
 
2637
            :
 
2638
          else
 
2639
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
2640
            break 3
 
2641
          fi
 
2642
        fi
 
2643
      done
 
2644
    done
 
2645
    ;;
 
2646
esac
 
2647
done
 
2648
 
 
2649
 
 
2650
fi
 
2651
  if test "${ac_cv_path_install+set}" = set; then
 
2652
    INSTALL=$ac_cv_path_install
 
2653
  else
 
2654
    # As a last resort, use the slow shell script.  We don't cache a
 
2655
    # path for INSTALL within a source directory, because that will
 
2656
    # break other packages using the cache if that directory is
 
2657
    # removed, or if the path is relative.
 
2658
    INSTALL=$ac_install_sh
 
2659
  fi
 
2660
fi
 
2661
echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2662
echo "${ECHO_T}$INSTALL" >&6
 
2663
 
 
2664
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 
2665
# It thinks the first close brace ends the variable substitution.
 
2666
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 
2667
 
 
2668
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 
2669
 
 
2670
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
2671
 
 
2672
echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
2673
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
 
2674
LN_S=$as_ln_s
 
2675
if test "$LN_S" = "ln -s"; then
 
2676
  echo "$as_me:$LINENO: result: yes" >&5
 
2677
echo "${ECHO_T}yes" >&6
 
2678
else
 
2679
  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
2680
echo "${ECHO_T}no, using $LN_S" >&6
 
2681
fi
 
2682
 
 
2683
 
 
2684
ac_ext=c
 
2685
ac_cpp='$CPP $CPPFLAGS'
 
2686
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
2687
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
2688
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
2689
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
2690
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
 
2691
# On Suns, sometimes $CPP names a directory.
 
2692
if test -n "$CPP" && test -d "$CPP"; then
 
2693
  CPP=
 
2694
fi
 
2695
if test -z "$CPP"; then
 
2696
  if test "${ac_cv_prog_CPP+set}" = set; then
 
2697
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2698
else
 
2699
      # Double quotes because CPP needs to be expanded
 
2700
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 
2701
    do
 
2702
      ac_preproc_ok=false
 
2703
for ac_c_preproc_warn_flag in '' yes
 
2704
do
 
2705
  # Use a header file that comes with gcc, so configuring glibc
 
2706
  # with a fresh cross-compiler works.
 
2707
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
2708
  # not just through cpp. "Syntax error" is here to catch this case.
 
2709
  cat >conftest.$ac_ext <<_ACEOF
 
2710
#line $LINENO "configure"
 
2711
#include "confdefs.h"
 
2712
#include <assert.h>
 
2713
                     Syntax error
 
2714
_ACEOF
 
2715
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
2716
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
2717
  ac_status=$?
 
2718
  grep -v '^ *+' conftest.er1 >conftest.err
 
2719
  rm -f conftest.er1
 
2720
  cat conftest.err >&5
 
2721
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2722
  (exit $ac_status); } >/dev/null; then
 
2723
  if test -s conftest.err; then
 
2724
    ac_cpp_err=$ac_c_preproc_warn_flag
 
2725
  else
 
2726
    ac_cpp_err=
 
2727
  fi
 
2728
else
 
2729
  ac_cpp_err=yes
 
2730
fi
 
2731
if test -z "$ac_cpp_err"; then
 
2732
  :
 
2733
else
 
2734
  echo "$as_me: failed program was:" >&5
 
2735
  cat conftest.$ac_ext >&5
 
2736
  # Broken: fails on valid input.
 
2737
continue
 
2738
fi
 
2739
rm -f conftest.err conftest.$ac_ext
 
2740
 
 
2741
  # OK, works on sane cases.  Now check whether non-existent headers
 
2742
  # can be detected and how.
 
2743
  cat >conftest.$ac_ext <<_ACEOF
 
2744
#line $LINENO "configure"
 
2745
#include "confdefs.h"
 
2746
#include <ac_nonexistent.h>
 
2747
_ACEOF
 
2748
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
2749
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
2750
  ac_status=$?
 
2751
  grep -v '^ *+' conftest.er1 >conftest.err
 
2752
  rm -f conftest.er1
 
2753
  cat conftest.err >&5
 
2754
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2755
  (exit $ac_status); } >/dev/null; then
 
2756
  if test -s conftest.err; then
 
2757
    ac_cpp_err=$ac_c_preproc_warn_flag
 
2758
  else
 
2759
    ac_cpp_err=
 
2760
  fi
 
2761
else
 
2762
  ac_cpp_err=yes
 
2763
fi
 
2764
if test -z "$ac_cpp_err"; then
 
2765
  # Broken: success on invalid input.
 
2766
continue
 
2767
else
 
2768
  echo "$as_me: failed program was:" >&5
 
2769
  cat conftest.$ac_ext >&5
 
2770
  # Passes both tests.
 
2771
ac_preproc_ok=:
 
2772
break
 
2773
fi
 
2774
rm -f conftest.err conftest.$ac_ext
 
2775
 
 
2776
done
 
2777
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
2778
rm -f conftest.err conftest.$ac_ext
 
2779
if $ac_preproc_ok; then
 
2780
  break
 
2781
fi
 
2782
 
 
2783
    done
 
2784
    ac_cv_prog_CPP=$CPP
 
2785
 
 
2786
fi
 
2787
  CPP=$ac_cv_prog_CPP
 
2788
else
 
2789
  ac_cv_prog_CPP=$CPP
 
2790
fi
 
2791
echo "$as_me:$LINENO: result: $CPP" >&5
 
2792
echo "${ECHO_T}$CPP" >&6
 
2793
ac_preproc_ok=false
 
2794
for ac_c_preproc_warn_flag in '' yes
 
2795
do
 
2796
  # Use a header file that comes with gcc, so configuring glibc
 
2797
  # with a fresh cross-compiler works.
 
2798
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
2799
  # not just through cpp. "Syntax error" is here to catch this case.
 
2800
  cat >conftest.$ac_ext <<_ACEOF
 
2801
#line $LINENO "configure"
 
2802
#include "confdefs.h"
 
2803
#include <assert.h>
 
2804
                     Syntax error
 
2805
_ACEOF
 
2806
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
2807
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
2808
  ac_status=$?
 
2809
  grep -v '^ *+' conftest.er1 >conftest.err
 
2810
  rm -f conftest.er1
 
2811
  cat conftest.err >&5
 
2812
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2813
  (exit $ac_status); } >/dev/null; then
 
2814
  if test -s conftest.err; then
 
2815
    ac_cpp_err=$ac_c_preproc_warn_flag
 
2816
  else
 
2817
    ac_cpp_err=
 
2818
  fi
 
2819
else
 
2820
  ac_cpp_err=yes
 
2821
fi
 
2822
if test -z "$ac_cpp_err"; then
 
2823
  :
 
2824
else
 
2825
  echo "$as_me: failed program was:" >&5
 
2826
  cat conftest.$ac_ext >&5
 
2827
  # Broken: fails on valid input.
 
2828
continue
 
2829
fi
 
2830
rm -f conftest.err conftest.$ac_ext
 
2831
 
 
2832
  # OK, works on sane cases.  Now check whether non-existent headers
 
2833
  # can be detected and how.
 
2834
  cat >conftest.$ac_ext <<_ACEOF
 
2835
#line $LINENO "configure"
 
2836
#include "confdefs.h"
 
2837
#include <ac_nonexistent.h>
 
2838
_ACEOF
 
2839
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
2840
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
2841
  ac_status=$?
 
2842
  grep -v '^ *+' conftest.er1 >conftest.err
 
2843
  rm -f conftest.er1
 
2844
  cat conftest.err >&5
 
2845
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2846
  (exit $ac_status); } >/dev/null; then
 
2847
  if test -s conftest.err; then
 
2848
    ac_cpp_err=$ac_c_preproc_warn_flag
 
2849
  else
 
2850
    ac_cpp_err=
 
2851
  fi
 
2852
else
 
2853
  ac_cpp_err=yes
 
2854
fi
 
2855
if test -z "$ac_cpp_err"; then
 
2856
  # Broken: success on invalid input.
 
2857
continue
 
2858
else
 
2859
  echo "$as_me: failed program was:" >&5
 
2860
  cat conftest.$ac_ext >&5
 
2861
  # Passes both tests.
 
2862
ac_preproc_ok=:
 
2863
break
 
2864
fi
 
2865
rm -f conftest.err conftest.$ac_ext
 
2866
 
 
2867
done
 
2868
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
2869
rm -f conftest.err conftest.$ac_ext
 
2870
if $ac_preproc_ok; then
 
2871
  :
 
2872
else
 
2873
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
 
2874
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
 
2875
   { (exit 1); exit 1; }; }
 
2876
fi
 
2877
 
 
2878
ac_ext=c
 
2879
ac_cpp='$CPP $CPPFLAGS'
 
2880
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
2881
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
2882
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
2883
 
 
2884
 
 
2885
echo "$as_me:$LINENO: checking for egrep" >&5
 
2886
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
 
2887
if test "${ac_cv_prog_egrep+set}" = set; then
 
2888
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2889
else
 
2890
  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
 
2891
    then ac_cv_prog_egrep='grep -E'
 
2892
    else ac_cv_prog_egrep='egrep'
 
2893
    fi
 
2894
fi
 
2895
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
 
2896
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
 
2897
 EGREP=$ac_cv_prog_egrep
 
2898
 
 
2899
 
 
2900
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
2901
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 
2902
if test "${ac_cv_header_stdc+set}" = set; then
 
2903
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2904
else
 
2905
  cat >conftest.$ac_ext <<_ACEOF
 
2906
#line $LINENO "configure"
 
2907
#include "confdefs.h"
 
2908
#include <stdlib.h>
 
2909
#include <stdarg.h>
 
2910
#include <string.h>
 
2911
#include <float.h>
 
2912
 
 
2913
_ACEOF
 
2914
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
2915
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
2916
  ac_status=$?
 
2917
  grep -v '^ *+' conftest.er1 >conftest.err
 
2918
  rm -f conftest.er1
 
2919
  cat conftest.err >&5
 
2920
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2921
  (exit $ac_status); } >/dev/null; then
 
2922
  if test -s conftest.err; then
 
2923
    ac_cpp_err=$ac_c_preproc_warn_flag
 
2924
  else
 
2925
    ac_cpp_err=
 
2926
  fi
 
2927
else
 
2928
  ac_cpp_err=yes
 
2929
fi
 
2930
if test -z "$ac_cpp_err"; then
 
2931
  ac_cv_header_stdc=yes
 
2932
else
 
2933
  echo "$as_me: failed program was:" >&5
 
2934
  cat conftest.$ac_ext >&5
 
2935
  ac_cv_header_stdc=no
 
2936
fi
 
2937
rm -f conftest.err conftest.$ac_ext
 
2938
 
 
2939
if test $ac_cv_header_stdc = yes; then
 
2940
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
2941
  cat >conftest.$ac_ext <<_ACEOF
 
2942
#line $LINENO "configure"
 
2943
#include "confdefs.h"
 
2944
#include <string.h>
 
2945
 
 
2946
_ACEOF
 
2947
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
2948
  $EGREP "memchr" >/dev/null 2>&1; then
 
2949
  :
 
2950
else
 
2951
  ac_cv_header_stdc=no
 
2952
fi
 
2953
rm -f conftest*
 
2954
 
 
2955
fi
 
2956
 
 
2957
if test $ac_cv_header_stdc = yes; then
 
2958
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
2959
  cat >conftest.$ac_ext <<_ACEOF
 
2960
#line $LINENO "configure"
 
2961
#include "confdefs.h"
 
2962
#include <stdlib.h>
 
2963
 
 
2964
_ACEOF
 
2965
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
2966
  $EGREP "free" >/dev/null 2>&1; then
 
2967
  :
 
2968
else
 
2969
  ac_cv_header_stdc=no
 
2970
fi
 
2971
rm -f conftest*
 
2972
 
 
2973
fi
 
2974
 
 
2975
if test $ac_cv_header_stdc = yes; then
 
2976
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
2977
  if test "$cross_compiling" = yes; then
 
2978
  :
 
2979
else
 
2980
  cat >conftest.$ac_ext <<_ACEOF
 
2981
#line $LINENO "configure"
 
2982
#include "confdefs.h"
 
2983
#include <ctype.h>
 
2984
#if ((' ' & 0x0FF) == 0x020)
 
2985
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
2986
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
2987
#else
 
2988
# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
 
2989
                     || ('j' <= (c) && (c) <= 'r') \
 
2990
                     || ('s' <= (c) && (c) <= 'z'))
 
2991
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
2992
#endif
 
2993
 
 
2994
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
2995
int
 
2996
main ()
 
2997
{
 
2998
  int i;
 
2999
  for (i = 0; i < 256; i++)
 
3000
    if (XOR (islower (i), ISLOWER (i))
 
3001
        || toupper (i) != TOUPPER (i))
 
3002
      exit(2);
 
3003
  exit (0);
 
3004
}
 
3005
_ACEOF
 
3006
rm -f conftest$ac_exeext
 
3007
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
3008
  (eval $ac_link) 2>&5
 
3009
  ac_status=$?
 
3010
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3011
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
3012
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3013
  (eval $ac_try) 2>&5
 
3014
  ac_status=$?
 
3015
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3016
  (exit $ac_status); }; }; then
 
3017
  :
 
3018
else
 
3019
  echo "$as_me: program exited with status $ac_status" >&5
 
3020
echo "$as_me: failed program was:" >&5
 
3021
cat conftest.$ac_ext >&5
 
3022
( exit $ac_status )
 
3023
ac_cv_header_stdc=no
 
3024
fi
 
3025
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
3026
fi
 
3027
fi
 
3028
fi
 
3029
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
3030
echo "${ECHO_T}$ac_cv_header_stdc" >&6
 
3031
if test $ac_cv_header_stdc = yes; then
 
3032
 
 
3033
cat >>confdefs.h <<\_ACEOF
 
3034
#define STDC_HEADERS 1
 
3035
_ACEOF
 
3036
 
 
3037
fi
 
3038
 
 
3039
 
 
3040
 
 
3041
echo "$as_me:$LINENO: checking for main in -lSDL" >&5
 
3042
echo $ECHO_N "checking for main in -lSDL... $ECHO_C" >&6
 
3043
if test "${ac_cv_lib_SDL_main+set}" = set; then
 
3044
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3045
else
 
3046
  ac_check_lib_save_LIBS=$LIBS
 
3047
LIBS="-lSDL  $LIBS"
 
3048
cat >conftest.$ac_ext <<_ACEOF
 
3049
#line $LINENO "configure"
 
3050
#include "confdefs.h"
 
3051
 
 
3052
 
 
3053
int
 
3054
main ()
 
3055
{
 
3056
main ();
 
3057
  ;
 
3058
  return 0;
 
3059
}
 
3060
_ACEOF
 
3061
rm -f conftest.$ac_objext conftest$ac_exeext
 
3062
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
3063
  (eval $ac_link) 2>&5
 
3064
  ac_status=$?
 
3065
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3066
  (exit $ac_status); } &&
 
3067
         { ac_try='test -s conftest$ac_exeext'
 
3068
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3069
  (eval $ac_try) 2>&5
 
3070
  ac_status=$?
 
3071
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3072
  (exit $ac_status); }; }; then
 
3073
  ac_cv_lib_SDL_main=yes
 
3074
else
 
3075
  echo "$as_me: failed program was:" >&5
 
3076
cat conftest.$ac_ext >&5
 
3077
ac_cv_lib_SDL_main=no
 
3078
fi
 
3079
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
3080
LIBS=$ac_check_lib_save_LIBS
 
3081
fi
 
3082
echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_main" >&5
 
3083
echo "${ECHO_T}$ac_cv_lib_SDL_main" >&6
 
3084
if test $ac_cv_lib_SDL_main = yes; then
 
3085
  cat >>confdefs.h <<_ACEOF
 
3086
#define HAVE_LIBSDL 1
 
3087
_ACEOF
 
3088
 
 
3089
  LIBS="-lSDL $LIBS"
 
3090
 
 
3091
fi
 
3092
 
 
3093
 
 
3094
echo "$as_me:$LINENO: checking for main in -lSDL_ttf" >&5
 
3095
echo $ECHO_N "checking for main in -lSDL_ttf... $ECHO_C" >&6
 
3096
if test "${ac_cv_lib_SDL_ttf_main+set}" = set; then
 
3097
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3098
else
 
3099
  ac_check_lib_save_LIBS=$LIBS
 
3100
LIBS="-lSDL_ttf  $LIBS"
 
3101
cat >conftest.$ac_ext <<_ACEOF
 
3102
#line $LINENO "configure"
 
3103
#include "confdefs.h"
 
3104
 
 
3105
 
 
3106
int
 
3107
main ()
 
3108
{
 
3109
main ();
 
3110
  ;
 
3111
  return 0;
 
3112
}
 
3113
_ACEOF
 
3114
rm -f conftest.$ac_objext conftest$ac_exeext
 
3115
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
3116
  (eval $ac_link) 2>&5
 
3117
  ac_status=$?
 
3118
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3119
  (exit $ac_status); } &&
 
3120
         { ac_try='test -s conftest$ac_exeext'
 
3121
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3122
  (eval $ac_try) 2>&5
 
3123
  ac_status=$?
 
3124
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3125
  (exit $ac_status); }; }; then
 
3126
  ac_cv_lib_SDL_ttf_main=yes
 
3127
else
 
3128
  echo "$as_me: failed program was:" >&5
 
3129
cat conftest.$ac_ext >&5
 
3130
ac_cv_lib_SDL_ttf_main=no
 
3131
fi
 
3132
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
3133
LIBS=$ac_check_lib_save_LIBS
 
3134
fi
 
3135
echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_ttf_main" >&5
 
3136
echo "${ECHO_T}$ac_cv_lib_SDL_ttf_main" >&6
 
3137
if test $ac_cv_lib_SDL_ttf_main = yes; then
 
3138
  cat >>confdefs.h <<_ACEOF
 
3139
#define HAVE_LIBSDL_TTF 1
 
3140
_ACEOF
 
3141
 
 
3142
  LIBS="-lSDL_ttf $LIBS"
 
3143
 
 
3144
fi
 
3145
 
 
3146
 
 
3147
echo "$as_me:$LINENO: checking for main in -lpthread" >&5
 
3148
echo $ECHO_N "checking for main in -lpthread... $ECHO_C" >&6
 
3149
if test "${ac_cv_lib_pthread_main+set}" = set; then
 
3150
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3151
else
 
3152
  ac_check_lib_save_LIBS=$LIBS
 
3153
LIBS="-lpthread  $LIBS"
 
3154
cat >conftest.$ac_ext <<_ACEOF
 
3155
#line $LINENO "configure"
 
3156
#include "confdefs.h"
 
3157
 
 
3158
 
 
3159
int
 
3160
main ()
 
3161
{
 
3162
main ();
 
3163
  ;
 
3164
  return 0;
 
3165
}
 
3166
_ACEOF
 
3167
rm -f conftest.$ac_objext conftest$ac_exeext
 
3168
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
3169
  (eval $ac_link) 2>&5
 
3170
  ac_status=$?
 
3171
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3172
  (exit $ac_status); } &&
 
3173
         { ac_try='test -s conftest$ac_exeext'
 
3174
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3175
  (eval $ac_try) 2>&5
 
3176
  ac_status=$?
 
3177
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3178
  (exit $ac_status); }; }; then
 
3179
  ac_cv_lib_pthread_main=yes
 
3180
else
 
3181
  echo "$as_me: failed program was:" >&5
 
3182
cat conftest.$ac_ext >&5
 
3183
ac_cv_lib_pthread_main=no
 
3184
fi
 
3185
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
3186
LIBS=$ac_check_lib_save_LIBS
 
3187
fi
 
3188
echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_main" >&5
 
3189
echo "${ECHO_T}$ac_cv_lib_pthread_main" >&6
 
3190
if test $ac_cv_lib_pthread_main = yes; then
 
3191
  cat >>confdefs.h <<_ACEOF
 
3192
#define HAVE_LIBPTHREAD 1
 
3193
_ACEOF
 
3194
 
 
3195
  LIBS="-lpthread $LIBS"
 
3196
 
 
3197
fi
 
3198
 
 
3199
 
 
3200
if test "x${prefix}" = "xNONE"; then
 
3201
 
 
3202
 
 
3203
cat >>confdefs.h <<_ACEOF
 
3204
#define PACKAGE_DATA_DIR "${ac_default_prefix}/share/${PACKAGE}/"
 
3205
_ACEOF
 
3206
 
 
3207
else
 
3208
 
 
3209
cat >>confdefs.h <<_ACEOF
 
3210
#define PACKAGE_DATA_DIR "${prefix}/share/${PACKAGE}/"
 
3211
_ACEOF
 
3212
 
 
3213
fi
 
3214
 
 
3215
 
 
3216
 
 
3217
 
 
3218
for ac_func in atexit
 
3219
do
 
3220
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
3221
echo "$as_me:$LINENO: checking for $ac_func" >&5
 
3222
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 
3223
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
3224
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3225
else
 
3226
  cat >conftest.$ac_ext <<_ACEOF
 
3227
#line $LINENO "configure"
 
3228
#include "confdefs.h"
 
3229
/* System header to define __stub macros and hopefully few prototypes,
 
3230
    which can conflict with char $ac_func (); below.  */
 
3231
#include <assert.h>
 
3232
/* Override any gcc2 internal prototype to avoid an error.  */
 
3233
#ifdef __cplusplus
 
3234
extern "C"
 
3235
#endif
 
3236
/* We use char because int might match the return type of a gcc2
 
3237
   builtin and then its argument prototype would still apply.  */
 
3238
char $ac_func ();
 
3239
char (*f) ();
 
3240
 
 
3241
int
 
3242
main ()
 
3243
{
 
3244
/* The GNU C library defines this for functions which it implements
 
3245
    to always fail with ENOSYS.  Some functions are actually named
 
3246
    something starting with __ and the normal name is an alias.  */
 
3247
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
3248
choke me
 
3249
#else
 
3250
f = $ac_func;
 
3251
#endif
 
3252
 
 
3253
  ;
 
3254
  return 0;
 
3255
}
 
3256
_ACEOF
 
3257
rm -f conftest.$ac_objext conftest$ac_exeext
 
3258
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
3259
  (eval $ac_link) 2>&5
 
3260
  ac_status=$?
 
3261
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3262
  (exit $ac_status); } &&
 
3263
         { ac_try='test -s conftest$ac_exeext'
 
3264
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3265
  (eval $ac_try) 2>&5
 
3266
  ac_status=$?
 
3267
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3268
  (exit $ac_status); }; }; then
 
3269
  eval "$as_ac_var=yes"
 
3270
else
 
3271
  echo "$as_me: failed program was:" >&5
 
3272
cat conftest.$ac_ext >&5
 
3273
eval "$as_ac_var=no"
 
3274
fi
 
3275
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
3276
fi
 
3277
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
 
3278
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
3279
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
3280
  cat >>confdefs.h <<_ACEOF
 
3281
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
3282
_ACEOF
 
3283
 
 
3284
fi
 
3285
done
 
3286
 
 
3287
 
 
3288
          ac_config_files="$ac_config_files Makefile"
 
3289
 
 
3290
cat >confcache <<\_ACEOF
 
3291
# This file is a shell script that caches the results of configure
 
3292
# tests run on this system so they can be shared between configure
 
3293
# scripts and configure runs, see configure's option --config-cache.
 
3294
# It is not useful on other systems.  If it contains results you don't
 
3295
# want to keep, you may remove or edit it.
 
3296
#
 
3297
# config.status only pays attention to the cache file if you give it
 
3298
# the --recheck option to rerun configure.
 
3299
#
 
3300
# `ac_cv_env_foo' variables (set or unset) will be overridden when
 
3301
# loading this file, other *unset* `ac_cv_foo' will be assigned the
 
3302
# following values.
 
3303
 
 
3304
_ACEOF
 
3305
 
 
3306
# The following way of writing the cache mishandles newlines in values,
 
3307
# but we know of no workaround that is simple, portable, and efficient.
 
3308
# So, don't put newlines in cache variables' values.
 
3309
# Ultrix sh set writes to stderr and can't be redirected directly,
 
3310
# and sets the high bit in the cache file unless we assign to the vars.
 
3311
{
 
3312
  (set) 2>&1 |
 
3313
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
 
3314
    *ac_space=\ *)
 
3315
      # `set' does not quote correctly, so add quotes (double-quote
 
3316
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
3317
      sed -n \
 
3318
        "s/'/'\\\\''/g;
 
3319
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 
3320
      ;;
 
3321
    *)
 
3322
      # `set' quotes correctly as required by POSIX, so do not add quotes.
 
3323
      sed -n \
 
3324
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
3325
      ;;
 
3326
    esac;
 
3327
} |
 
3328
  sed '
 
3329
     t clear
 
3330
     : clear
 
3331
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 
3332
     t end
 
3333
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
3334
     : end' >>confcache
 
3335
if cmp -s $cache_file confcache; then :; else
 
3336
  if test -w $cache_file; then
 
3337
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
 
3338
    cat confcache >$cache_file
 
3339
  else
 
3340
    echo "not updating unwritable cache $cache_file"
 
3341
  fi
 
3342
fi
 
3343
rm -f confcache
 
3344
 
 
3345
test "x$prefix" = xNONE && prefix=$ac_default_prefix
 
3346
# Let make expand exec_prefix.
 
3347
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 
3348
 
 
3349
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
3350
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
3351
# trailing colons and then remove the whole line if VPATH becomes empty
 
3352
# (actually we leave an empty line to preserve line numbers).
 
3353
if test "x$srcdir" = x.; then
 
3354
  ac_vpsub='/^[         ]*VPATH[        ]*=/{
 
3355
s/:*\$(srcdir):*/:/;
 
3356
s/:*\${srcdir}:*/:/;
 
3357
s/:*@srcdir@:*/:/;
 
3358
s/^\([^=]*=[    ]*\):*/\1/;
 
3359
s/:*$//;
 
3360
s/^[^=]*=[      ]*$//;
 
3361
}'
 
3362
fi
 
3363
 
 
3364
DEFS=-DHAVE_CONFIG_H
 
3365
 
 
3366
ac_libobjs=
 
3367
ac_ltlibobjs=
 
3368
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 
3369
  # 1. Remove the extension, and $U if already installed.
 
3370
  ac_i=`echo "$ac_i" |
 
3371
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
 
3372
  # 2. Add them.
 
3373
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
 
3374
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
 
3375
done
 
3376
LIBOBJS=$ac_libobjs
 
3377
 
 
3378
LTLIBOBJS=$ac_ltlibobjs
 
3379
 
 
3380
 
 
3381
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
 
3382
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
 
3383
Usually this means the macro was only invoked conditionally." >&5
 
3384
echo "$as_me: error: conditional \"AMDEP\" was never defined.
 
3385
Usually this means the macro was only invoked conditionally." >&2;}
 
3386
   { (exit 1); exit 1; }; }
 
3387
fi
 
3388
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
3389
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 
3390
Usually this means the macro was only invoked conditionally." >&5
 
3391
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 
3392
Usually this means the macro was only invoked conditionally." >&2;}
 
3393
   { (exit 1); exit 1; }; }
 
3394
fi
 
3395
 
 
3396
: ${CONFIG_STATUS=./config.status}
 
3397
ac_clean_files_save=$ac_clean_files
 
3398
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 
3399
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
3400
echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
3401
cat >$CONFIG_STATUS <<_ACEOF
 
3402
#! $SHELL
 
3403
# Generated by $as_me.
 
3404
# Run this file to recreate the current configuration.
 
3405
# Compiler output produced by configure, useful for debugging
 
3406
# configure, is in config.log if it exists.
 
3407
 
 
3408
debug=false
 
3409
SHELL=\${CONFIG_SHELL-$SHELL}
 
3410
_ACEOF
 
3411
 
 
3412
cat >>$CONFIG_STATUS <<\_ACEOF
 
3413
## --------------------- ##
 
3414
## M4sh Initialization.  ##
 
3415
## --------------------- ##
 
3416
 
 
3417
# Be Bourne compatible
 
3418
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
3419
  emulate sh
 
3420
  NULLCMD=:
 
3421
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
3422
  # is contrary to our usage.  Disable this feature.
 
3423
  alias -g '${1+"$@"}'='"$@"'
 
3424
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
 
3425
  set -o posix
 
3426
fi
 
3427
 
 
3428
# Support unset when possible.
 
3429
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
 
3430
  as_unset=unset
 
3431
else
 
3432
  as_unset=false
 
3433
fi
 
3434
 
 
3435
 
 
3436
# Work around bugs in pre-3.0 UWIN ksh.
 
3437
$as_unset ENV MAIL MAILPATH
 
3438
PS1='$ '
 
3439
PS2='> '
 
3440
PS4='+ '
 
3441
 
 
3442
# NLS nuisances.
 
3443
for as_var in LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE LC_NUMERIC LC_MESSAGES LC_TIME
 
3444
do
 
3445
  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
 
3446
    eval $as_var=C; export $as_var
 
3447
  else
 
3448
    $as_unset $as_var
 
3449
  fi
 
3450
done
 
3451
 
 
3452
# Required to use basename.
 
3453
if expr a : '\(a\)' >/dev/null 2>&1; then
 
3454
  as_expr=expr
 
3455
else
 
3456
  as_expr=false
 
3457
fi
 
3458
 
 
3459
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
3460
  as_basename=basename
 
3461
else
 
3462
  as_basename=false
 
3463
fi
 
3464
 
 
3465
 
 
3466
# Name of the executable.
 
3467
as_me=`$as_basename "$0" ||
 
3468
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
3469
         X"$0" : 'X\(//\)$' \| \
 
3470
         X"$0" : 'X\(/\)$' \| \
 
3471
         .     : '\(.\)' 2>/dev/null ||
 
3472
echo X/"$0" |
 
3473
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
 
3474
          /^X\/\(\/\/\)$/{ s//\1/; q; }
 
3475
          /^X\/\(\/\).*/{ s//\1/; q; }
 
3476
          s/.*/./; q'`
 
3477
 
 
3478
 
 
3479
# PATH needs CR, and LINENO needs CR and PATH.
 
3480
# Avoid depending upon Character Ranges.
 
3481
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
3482
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
3483
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
3484
as_cr_digits='0123456789'
 
3485
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
3486
 
 
3487
# The user is always right.
 
3488
if test "${PATH_SEPARATOR+set}" != set; then
 
3489
  echo "#! /bin/sh" >conftest.sh
 
3490
  echo  "exit 0"   >>conftest.sh
 
3491
  chmod +x conftest.sh
 
3492
  if (PATH="/nonexistent;."; conftest.sh) >/dev/null 2>&1; then
 
3493
    PATH_SEPARATOR=';'
 
3494
  else
 
3495
    PATH_SEPARATOR=:
 
3496
  fi
 
3497
  rm -f conftest.sh
 
3498
fi
 
3499
 
 
3500
 
 
3501
  as_lineno_1=$LINENO
 
3502
  as_lineno_2=$LINENO
 
3503
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
 
3504
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
3505
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
 
3506
  # Find who we are.  Look in the path if we contain no path at all
 
3507
  # relative or not.
 
3508
  case $0 in
 
3509
    *[\\/]* ) as_myself=$0 ;;
 
3510
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3511
for as_dir in $PATH
 
3512
do
 
3513
  IFS=$as_save_IFS
 
3514
  test -z "$as_dir" && as_dir=.
 
3515
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
3516
done
 
3517
 
 
3518
       ;;
 
3519
  esac
 
3520
  # We did not find ourselves, most probably we were run as `sh COMMAND'
 
3521
  # in which case we are not to be found in the path.
 
3522
  if test "x$as_myself" = x; then
 
3523
    as_myself=$0
 
3524
  fi
 
3525
  if test ! -f "$as_myself"; then
 
3526
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
 
3527
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
 
3528
   { (exit 1); exit 1; }; }
 
3529
  fi
 
3530
  case $CONFIG_SHELL in
 
3531
  '')
 
3532
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3533
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
3534
do
 
3535
  IFS=$as_save_IFS
 
3536
  test -z "$as_dir" && as_dir=.
 
3537
  for as_base in sh bash ksh sh5; do
 
3538
         case $as_dir in
 
3539
         /*)
 
3540
           if ("$as_dir/$as_base" -c '
 
3541
  as_lineno_1=$LINENO
 
3542
  as_lineno_2=$LINENO
 
3543
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
 
3544
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
3545
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
 
3546
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
 
3547
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
 
3548
             CONFIG_SHELL=$as_dir/$as_base
 
3549
             export CONFIG_SHELL
 
3550
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
 
3551
           fi;;
 
3552
         esac
 
3553
       done
 
3554
done
 
3555
;;
 
3556
  esac
 
3557
 
 
3558
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
 
3559
  # uniformly replaced by the line number.  The first 'sed' inserts a
 
3560
  # line-number line before each line; the second 'sed' does the real
 
3561
  # work.  The second script uses 'N' to pair each line-number line
 
3562
  # with the numbered line, and appends trailing '-' during
 
3563
  # substitution so that $LINENO is not a special case at line end.
 
3564
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
 
3565
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
 
3566
  sed '=' <$as_myself |
 
3567
    sed '
 
3568
      N
 
3569
      s,$,-,
 
3570
      : loop
 
3571
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
3572
      t loop
 
3573
      s,-$,,
 
3574
      s,^['$as_cr_digits']*\n,,
 
3575
    ' >$as_me.lineno &&
 
3576
  chmod +x $as_me.lineno ||
 
3577
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
 
3578
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
 
3579
   { (exit 1); exit 1; }; }
 
3580
 
 
3581
  # Don't try to exec as it changes $[0], causing all sort of problems
 
3582
  # (the dirname of $[0] is not the place where we might find the
 
3583
  # original and so on.  Autoconf is especially sensible to this).
 
3584
  . ./$as_me.lineno
 
3585
  # Exit status is that of the last command.
 
3586
  exit
 
3587
}
 
3588
 
 
3589
 
 
3590
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
 
3591
  *c*,-n*) ECHO_N= ECHO_C='
 
3592
' ECHO_T='      ' ;;
 
3593
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
 
3594
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
3595
esac
 
3596
 
 
3597
if expr a : '\(a\)' >/dev/null 2>&1; then
 
3598
  as_expr=expr
 
3599
else
 
3600
  as_expr=false
 
3601
fi
 
3602
 
 
3603
rm -f conf$$ conf$$.exe conf$$.file
 
3604
echo >conf$$.file
 
3605
if ln -s conf$$.file conf$$ 2>/dev/null; then
 
3606
  # We could just check for DJGPP; but this test a) works b) is more generic
 
3607
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
 
3608
  if test -f conf$$.exe; then
 
3609
    # Don't use ln at all; we don't have any links
 
3610
    as_ln_s='cp -p'
 
3611
  else
 
3612
    as_ln_s='ln -s'
 
3613
  fi
 
3614
elif ln conf$$.file conf$$ 2>/dev/null; then
 
3615
  as_ln_s=ln
 
3616
else
 
3617
  as_ln_s='cp -p'
 
3618
fi
 
3619
rm -f conf$$ conf$$.exe conf$$.file
 
3620
 
 
3621
if mkdir -p . 2>/dev/null; then
 
3622
  as_mkdir_p=:
 
3623
else
 
3624
  as_mkdir_p=false
 
3625
fi
 
3626
 
 
3627
as_executable_p="test -f"
 
3628
 
 
3629
# Sed expression to map a string onto a valid CPP name.
 
3630
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
 
3631
 
 
3632
# Sed expression to map a string onto a valid variable name.
 
3633
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
 
3634
 
 
3635
 
 
3636
# IFS
 
3637
# We need space, tab and new line, in precisely that order.
 
3638
as_nl='
 
3639
'
 
3640
IFS="   $as_nl"
 
3641
 
 
3642
# CDPATH.
 
3643
$as_unset CDPATH
 
3644
 
 
3645
exec 6>&1
 
3646
 
 
3647
# Open the log real soon, to keep \$[0] and so on meaningful, and to
 
3648
# report actual input values of CONFIG_FILES etc. instead of their
 
3649
# values after options handling.  Logging --version etc. is OK.
 
3650
exec 5>>config.log
 
3651
{
 
3652
  echo
 
3653
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
3654
## Running $as_me. ##
 
3655
_ASBOX
 
3656
} >&5
 
3657
cat >&5 <<_CSEOF
 
3658
 
 
3659
This file was extended by $as_me, which was
 
3660
generated by GNU Autoconf 2.54.  Invocation command line was
 
3661
 
 
3662
  CONFIG_FILES    = $CONFIG_FILES
 
3663
  CONFIG_HEADERS  = $CONFIG_HEADERS
 
3664
  CONFIG_LINKS    = $CONFIG_LINKS
 
3665
  CONFIG_COMMANDS = $CONFIG_COMMANDS
 
3666
  $ $0 $@
 
3667
 
 
3668
_CSEOF
 
3669
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
 
3670
echo >&5
 
3671
_ACEOF
 
3672
 
 
3673
# Files that config.status was made for.
 
3674
if test -n "$ac_config_files"; then
 
3675
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
 
3676
fi
 
3677
 
 
3678
if test -n "$ac_config_headers"; then
 
3679
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
 
3680
fi
 
3681
 
 
3682
if test -n "$ac_config_links"; then
 
3683
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
 
3684
fi
 
3685
 
 
3686
if test -n "$ac_config_commands"; then
 
3687
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
 
3688
fi
 
3689
 
 
3690
cat >>$CONFIG_STATUS <<\_ACEOF
 
3691
 
 
3692
ac_cs_usage="\
 
3693
\`$as_me' instantiates files from templates according to the
 
3694
current configuration.
 
3695
 
 
3696
Usage: $0 [OPTIONS] [FILE]...
 
3697
 
 
3698
  -h, --help       print this help, then exit
 
3699
  -V, --version    print version number, then exit
 
3700
  -d, --debug      don't remove temporary files
 
3701
      --recheck    update $as_me by reconfiguring in the same conditions
 
3702
  --file=FILE[:TEMPLATE]
 
3703
                   instantiate the configuration file FILE
 
3704
  --header=FILE[:TEMPLATE]
 
3705
                   instantiate the configuration header FILE
 
3706
 
 
3707
Configuration files:
 
3708
$config_files
 
3709
 
 
3710
Configuration headers:
 
3711
$config_headers
 
3712
 
 
3713
Configuration commands:
 
3714
$config_commands
 
3715
 
 
3716
Report bugs to <bug-autoconf@gnu.org>."
 
3717
_ACEOF
 
3718
 
 
3719
cat >>$CONFIG_STATUS <<_ACEOF
 
3720
ac_cs_version="\\
 
3721
config.status
 
3722
configured by $0, generated by GNU Autoconf 2.54,
 
3723
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 
3724
 
 
3725
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
 
3726
Free Software Foundation, Inc.
 
3727
This config.status script is free software; the Free Software Foundation
 
3728
gives unlimited permission to copy, distribute and modify it."
 
3729
srcdir=$srcdir
 
3730
INSTALL="$INSTALL"
 
3731
_ACEOF
 
3732
 
 
3733
cat >>$CONFIG_STATUS <<\_ACEOF
 
3734
# If no file are specified by the user, then we need to provide default
 
3735
# value.  By we need to know if files were specified by the user.
 
3736
ac_need_defaults=:
 
3737
while test $# != 0
 
3738
do
 
3739
  case $1 in
 
3740
  --*=*)
 
3741
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
 
3742
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
 
3743
    ac_shift=:
 
3744
    ;;
 
3745
  -*)
 
3746
    ac_option=$1
 
3747
    ac_optarg=$2
 
3748
    ac_shift=shift
 
3749
    ;;
 
3750
  *) # This is not an option, so the user has probably given explicit
 
3751
     # arguments.
 
3752
     ac_option=$1
 
3753
     ac_need_defaults=false;;
 
3754
  esac
 
3755
 
 
3756
  case $ac_option in
 
3757
  # Handling of the options.
 
3758
_ACEOF
 
3759
cat >>$CONFIG_STATUS <<_ACEOF
 
3760
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 
3761
    echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
 
3762
    exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
 
3763
_ACEOF
 
3764
cat >>$CONFIG_STATUS <<\_ACEOF
 
3765
  --version | --vers* | -V )
 
3766
    echo "$ac_cs_version"; exit 0 ;;
 
3767
  --he | --h)
 
3768
    # Conflict between --help and --header
 
3769
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
 
3770
Try \`$0 --help' for more information." >&5
 
3771
echo "$as_me: error: ambiguous option: $1
 
3772
Try \`$0 --help' for more information." >&2;}
 
3773
   { (exit 1); exit 1; }; };;
 
3774
  --help | --hel | -h )
 
3775
    echo "$ac_cs_usage"; exit 0 ;;
 
3776
  --debug | --d* | -d )
 
3777
    debug=: ;;
 
3778
  --file | --fil | --fi | --f )
 
3779
    $ac_shift
 
3780
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
 
3781
    ac_need_defaults=false;;
 
3782
  --header | --heade | --head | --hea )
 
3783
    $ac_shift
 
3784
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
 
3785
    ac_need_defaults=false;;
 
3786
 
 
3787
  # This is an error.
 
3788
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
 
3789
Try \`$0 --help' for more information." >&5
 
3790
echo "$as_me: error: unrecognized option: $1
 
3791
Try \`$0 --help' for more information." >&2;}
 
3792
   { (exit 1); exit 1; }; } ;;
 
3793
 
 
3794
  *) ac_config_targets="$ac_config_targets $1" ;;
 
3795
 
 
3796
  esac
 
3797
  shift
 
3798
done
 
3799
 
 
3800
_ACEOF
 
3801
 
 
3802
cat >>$CONFIG_STATUS <<_ACEOF
 
3803
#
 
3804
# INIT-COMMANDS section.
 
3805
#
 
3806
 
 
3807
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 
3808
 
 
3809
_ACEOF
 
3810
 
 
3811
 
 
3812
 
 
3813
cat >>$CONFIG_STATUS <<\_ACEOF
 
3814
for ac_config_target in $ac_config_targets
 
3815
do
 
3816
  case "$ac_config_target" in
 
3817
  # Handling of arguments.
 
3818
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
3819
  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
3820
  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
3821
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
 
3822
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
 
3823
   { (exit 1); exit 1; }; };;
 
3824
  esac
 
3825
done
 
3826
 
 
3827
# If the user did not use the arguments to specify the items to instantiate,
 
3828
# then the envvar interface is used.  Set only those that are not.
 
3829
# We use the long form for the default assignment because of an extremely
 
3830
# bizarre bug on SunOS 4.1.3.
 
3831
if $ac_need_defaults; then
 
3832
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 
3833
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
 
3834
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
 
3835
fi
 
3836
 
 
3837
# Create a temporary directory, and hook for its removal unless debugging.
 
3838
$debug ||
 
3839
{
 
3840
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
 
3841
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
3842
}
 
3843
 
 
3844
# Create a (secure) tmp directory for tmp files.
 
3845
: ${TMPDIR=/tmp}
 
3846
{
 
3847
  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
 
3848
  test -n "$tmp" && test -d "$tmp"
 
3849
}  ||
 
3850
{
 
3851
  tmp=$TMPDIR/cs$$-$RANDOM
 
3852
  (umask 077 && mkdir $tmp)
 
3853
} ||
 
3854
{
 
3855
   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
 
3856
   { (exit 1); exit 1; }
 
3857
}
 
3858
 
 
3859
_ACEOF
 
3860
 
 
3861
cat >>$CONFIG_STATUS <<_ACEOF
 
3862
 
 
3863
#
 
3864
# CONFIG_FILES section.
 
3865
#
 
3866
 
 
3867
# No need to generate the scripts if there are no CONFIG_FILES.
 
3868
# This happens for instance when ./config.status config.h
 
3869
if test -n "\$CONFIG_FILES"; then
 
3870
  # Protect against being on the right side of a sed subst in config.status.
 
3871
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
 
3872
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
 
3873
s,@SHELL@,$SHELL,;t t
 
3874
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
 
3875
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
 
3876
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
 
3877
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
 
3878
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
 
3879
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
 
3880
s,@exec_prefix@,$exec_prefix,;t t
 
3881
s,@prefix@,$prefix,;t t
 
3882
s,@program_transform_name@,$program_transform_name,;t t
 
3883
s,@bindir@,$bindir,;t t
 
3884
s,@sbindir@,$sbindir,;t t
 
3885
s,@libexecdir@,$libexecdir,;t t
 
3886
s,@datadir@,$datadir,;t t
 
3887
s,@sysconfdir@,$sysconfdir,;t t
 
3888
s,@sharedstatedir@,$sharedstatedir,;t t
 
3889
s,@localstatedir@,$localstatedir,;t t
 
3890
s,@libdir@,$libdir,;t t
 
3891
s,@includedir@,$includedir,;t t
 
3892
s,@oldincludedir@,$oldincludedir,;t t
 
3893
s,@infodir@,$infodir,;t t
 
3894
s,@mandir@,$mandir,;t t
 
3895
s,@build_alias@,$build_alias,;t t
 
3896
s,@host_alias@,$host_alias,;t t
 
3897
s,@target_alias@,$target_alias,;t t
 
3898
s,@DEFS@,$DEFS,;t t
 
3899
s,@ECHO_C@,$ECHO_C,;t t
 
3900
s,@ECHO_N@,$ECHO_N,;t t
 
3901
s,@ECHO_T@,$ECHO_T,;t t
 
3902
s,@LIBS@,$LIBS,;t t
 
3903
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
 
3904
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
 
3905
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
 
3906
s,@CYGPATH_W@,$CYGPATH_W,;t t
 
3907
s,@PACKAGE@,$PACKAGE,;t t
 
3908
s,@VERSION@,$VERSION,;t t
 
3909
s,@ACLOCAL@,$ACLOCAL,;t t
 
3910
s,@AUTOCONF@,$AUTOCONF,;t t
 
3911
s,@AUTOMAKE@,$AUTOMAKE,;t t
 
3912
s,@AUTOHEADER@,$AUTOHEADER,;t t
 
3913
s,@MAKEINFO@,$MAKEINFO,;t t
 
3914
s,@AMTAR@,$AMTAR,;t t
 
3915
s,@install_sh@,$install_sh,;t t
 
3916
s,@STRIP@,$STRIP,;t t
 
3917
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
 
3918
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
 
3919
s,@AWK@,$AWK,;t t
 
3920
s,@SET_MAKE@,$SET_MAKE,;t t
 
3921
s,@CC@,$CC,;t t
 
3922
s,@CFLAGS@,$CFLAGS,;t t
 
3923
s,@LDFLAGS@,$LDFLAGS,;t t
 
3924
s,@CPPFLAGS@,$CPPFLAGS,;t t
 
3925
s,@ac_ct_CC@,$ac_ct_CC,;t t
 
3926
s,@EXEEXT@,$EXEEXT,;t t
 
3927
s,@OBJEXT@,$OBJEXT,;t t
 
3928
s,@DEPDIR@,$DEPDIR,;t t
 
3929
s,@am__include@,$am__include,;t t
 
3930
s,@am__quote@,$am__quote,;t t
 
3931
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
 
3932
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
 
3933
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
 
3934
s,@CCDEPMODE@,$CCDEPMODE,;t t
 
3935
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
 
3936
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
 
3937
s,@LN_S@,$LN_S,;t t
 
3938
s,@CPP@,$CPP,;t t
 
3939
s,@EGREP@,$EGREP,;t t
 
3940
s,@LIBOBJS@,$LIBOBJS,;t t
 
3941
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
 
3942
CEOF
 
3943
 
 
3944
_ACEOF
 
3945
 
 
3946
  cat >>$CONFIG_STATUS <<\_ACEOF
 
3947
  # Split the substitutions into bite-sized pieces for seds with
 
3948
  # small command number limits, like on Digital OSF/1 and HP-UX.
 
3949
  ac_max_sed_lines=48
 
3950
  ac_sed_frag=1 # Number of current file.
 
3951
  ac_beg=1 # First line for current file.
 
3952
  ac_end=$ac_max_sed_lines # Line after last line for current file.
 
3953
  ac_more_lines=:
 
3954
  ac_sed_cmds=
 
3955
  while $ac_more_lines; do
 
3956
    if test $ac_beg -gt 1; then
 
3957
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
 
3958
    else
 
3959
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
 
3960
    fi
 
3961
    if test ! -s $tmp/subs.frag; then
 
3962
      ac_more_lines=false
 
3963
    else
 
3964
      # The purpose of the label and of the branching condition is to
 
3965
      # speed up the sed processing (if there are no `@' at all, there
 
3966
      # is no need to browse any of the substitutions).
 
3967
      # These are the two extra sed commands mentioned above.
 
3968
      (echo ':t
 
3969
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
 
3970
      if test -z "$ac_sed_cmds"; then
 
3971
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
 
3972
      else
 
3973
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
 
3974
      fi
 
3975
      ac_sed_frag=`expr $ac_sed_frag + 1`
 
3976
      ac_beg=$ac_end
 
3977
      ac_end=`expr $ac_end + $ac_max_sed_lines`
 
3978
    fi
 
3979
  done
 
3980
  if test -z "$ac_sed_cmds"; then
 
3981
    ac_sed_cmds=cat
 
3982
  fi
 
3983
fi # test -n "$CONFIG_FILES"
 
3984
 
 
3985
_ACEOF
 
3986
cat >>$CONFIG_STATUS <<\_ACEOF
 
3987
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
 
3988
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
 
3989
  case $ac_file in
 
3990
  - | *:- | *:-:* ) # input from stdin
 
3991
        cat >$tmp/stdin
 
3992
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
3993
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
3994
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
3995
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
3996
  * )   ac_file_in=$ac_file.in ;;
 
3997
  esac
 
3998
 
 
3999
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
 
4000
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 
4001
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
4002
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
4003
         X"$ac_file" : 'X\(//\)$' \| \
 
4004
         X"$ac_file" : 'X\(/\)' \| \
 
4005
         .     : '\(.\)' 2>/dev/null ||
 
4006
echo X"$ac_file" |
 
4007
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
4008
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
4009
          /^X\(\/\/\)$/{ s//\1/; q; }
 
4010
          /^X\(\/\).*/{ s//\1/; q; }
 
4011
          s/.*/./; q'`
 
4012
  { if $as_mkdir_p; then
 
4013
    mkdir -p "$ac_dir"
 
4014
  else
 
4015
    as_dir="$ac_dir"
 
4016
    as_dirs=
 
4017
    while test ! -d "$as_dir"; do
 
4018
      as_dirs="$as_dir $as_dirs"
 
4019
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
4020
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
4021
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
4022
         X"$as_dir" : 'X\(//\)$' \| \
 
4023
         X"$as_dir" : 'X\(/\)' \| \
 
4024
         .     : '\(.\)' 2>/dev/null ||
 
4025
echo X"$as_dir" |
 
4026
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
4027
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
4028
          /^X\(\/\/\)$/{ s//\1/; q; }
 
4029
          /^X\(\/\).*/{ s//\1/; q; }
 
4030
          s/.*/./; q'`
 
4031
    done
 
4032
    test ! -n "$as_dirs" || mkdir $as_dirs
 
4033
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
 
4034
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
4035
   { (exit 1); exit 1; }; }; }
 
4036
 
 
4037
  ac_builddir=.
 
4038
 
 
4039
if test "$ac_dir" != .; then
 
4040
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
4041
  # A "../" for each directory in $ac_dir_suffix.
 
4042
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
 
4043
else
 
4044
  ac_dir_suffix= ac_top_builddir=
 
4045
fi
 
4046
 
 
4047
case $srcdir in
 
4048
  .)  # No --srcdir option.  We are building in place.
 
4049
    ac_srcdir=.
 
4050
    if test -z "$ac_top_builddir"; then
 
4051
       ac_top_srcdir=.
 
4052
    else
 
4053
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
 
4054
    fi ;;
 
4055
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
4056
    ac_srcdir=$srcdir$ac_dir_suffix;
 
4057
    ac_top_srcdir=$srcdir ;;
 
4058
  *) # Relative path.
 
4059
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
 
4060
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
 
4061
esac
 
4062
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
 
4063
# absolute.
 
4064
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
 
4065
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
 
4066
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
 
4067
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
 
4068
 
 
4069
 
 
4070
  case $INSTALL in
 
4071
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 
4072
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
 
4073
  esac
 
4074
 
 
4075
  if test x"$ac_file" != x-; then
 
4076
    { echo "$as_me:$LINENO: creating $ac_file" >&5
 
4077
echo "$as_me: creating $ac_file" >&6;}
 
4078
    rm -f "$ac_file"
 
4079
  fi
 
4080
  # Let's still pretend it is `configure' which instantiates (i.e., don't
 
4081
  # use $as_me), people would be surprised to read:
 
4082
  #    /* config.h.  Generated by config.status.  */
 
4083
  if test x"$ac_file" = x-; then
 
4084
    configure_input=
 
4085
  else
 
4086
    configure_input="$ac_file.  "
 
4087
  fi
 
4088
  configure_input=$configure_input"Generated from `echo $ac_file_in |
 
4089
                                     sed 's,.*/,,'` by configure."
 
4090
 
 
4091
  # First look for the input files in the build tree, otherwise in the
 
4092
  # src tree.
 
4093
  ac_file_inputs=`IFS=:
 
4094
    for f in $ac_file_in; do
 
4095
      case $f in
 
4096
      -) echo $tmp/stdin ;;
 
4097
      [\\/$]*)
 
4098
         # Absolute (can't be DOS-style, as IFS=:)
 
4099
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
4100
echo "$as_me: error: cannot find input file: $f" >&2;}
 
4101
   { (exit 1); exit 1; }; }
 
4102
         echo $f;;
 
4103
      *) # Relative
 
4104
         if test -f "$f"; then
 
4105
           # Build tree
 
4106
           echo $f
 
4107
         elif test -f "$srcdir/$f"; then
 
4108
           # Source tree
 
4109
           echo $srcdir/$f
 
4110
         else
 
4111
           # /dev/null tree
 
4112
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
4113
echo "$as_me: error: cannot find input file: $f" >&2;}
 
4114
   { (exit 1); exit 1; }; }
 
4115
         fi;;
 
4116
      esac
 
4117
    done` || { (exit 1); exit 1; }
 
4118
_ACEOF
 
4119
cat >>$CONFIG_STATUS <<_ACEOF
 
4120
  sed "$ac_vpsub
 
4121
$extrasub
 
4122
_ACEOF
 
4123
cat >>$CONFIG_STATUS <<\_ACEOF
 
4124
:t
 
4125
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
4126
s,@configure_input@,$configure_input,;t t
 
4127
s,@srcdir@,$ac_srcdir,;t t
 
4128
s,@abs_srcdir@,$ac_abs_srcdir,;t t
 
4129
s,@top_srcdir@,$ac_top_srcdir,;t t
 
4130
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
 
4131
s,@builddir@,$ac_builddir,;t t
 
4132
s,@abs_builddir@,$ac_abs_builddir,;t t
 
4133
s,@top_builddir@,$ac_top_builddir,;t t
 
4134
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
 
4135
s,@INSTALL@,$ac_INSTALL,;t t
 
4136
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
 
4137
  rm -f $tmp/stdin
 
4138
  if test x"$ac_file" != x-; then
 
4139
    mv $tmp/out $ac_file
 
4140
  else
 
4141
    cat $tmp/out
 
4142
    rm -f $tmp/out
 
4143
  fi
 
4144
 
 
4145
done
 
4146
_ACEOF
 
4147
cat >>$CONFIG_STATUS <<\_ACEOF
 
4148
 
 
4149
#
 
4150
# CONFIG_HEADER section.
 
4151
#
 
4152
 
 
4153
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
 
4154
# NAME is the cpp macro being defined and VALUE is the value it is being given.
 
4155
#
 
4156
# ac_d sets the value in "#define NAME VALUE" lines.
 
4157
ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
 
4158
ac_dB='[        ].*$,\1#\2'
 
4159
ac_dC=' '
 
4160
ac_dD=',;t'
 
4161
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
 
4162
ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
 
4163
ac_uB='$,\1#\2define\3'
 
4164
ac_uC=' '
 
4165
ac_uD=',;t'
 
4166
 
 
4167
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
 
4168
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
 
4169
  case $ac_file in
 
4170
  - | *:- | *:-:* ) # input from stdin
 
4171
        cat >$tmp/stdin
 
4172
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
4173
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
4174
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
4175
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
4176
  * )   ac_file_in=$ac_file.in ;;
 
4177
  esac
 
4178
 
 
4179
  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
 
4180
echo "$as_me: creating $ac_file" >&6;}
 
4181
 
 
4182
  # First look for the input files in the build tree, otherwise in the
 
4183
  # src tree.
 
4184
  ac_file_inputs=`IFS=:
 
4185
    for f in $ac_file_in; do
 
4186
      case $f in
 
4187
      -) echo $tmp/stdin ;;
 
4188
      [\\/$]*)
 
4189
         # Absolute (can't be DOS-style, as IFS=:)
 
4190
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
4191
echo "$as_me: error: cannot find input file: $f" >&2;}
 
4192
   { (exit 1); exit 1; }; }
 
4193
         echo $f;;
 
4194
      *) # Relative
 
4195
         if test -f "$f"; then
 
4196
           # Build tree
 
4197
           echo $f
 
4198
         elif test -f "$srcdir/$f"; then
 
4199
           # Source tree
 
4200
           echo $srcdir/$f
 
4201
         else
 
4202
           # /dev/null tree
 
4203
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
4204
echo "$as_me: error: cannot find input file: $f" >&2;}
 
4205
   { (exit 1); exit 1; }; }
 
4206
         fi;;
 
4207
      esac
 
4208
    done` || { (exit 1); exit 1; }
 
4209
  # Remove the trailing spaces.
 
4210
  sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
 
4211
 
 
4212
_ACEOF
 
4213
 
 
4214
# Transform confdefs.h into two sed scripts, `conftest.defines' and
 
4215
# `conftest.undefs', that substitutes the proper values into
 
4216
# config.h.in to produce config.h.  The first handles `#define'
 
4217
# templates, and the second `#undef' templates.
 
4218
# And first: Protect against being on the right side of a sed subst in
 
4219
# config.status.  Protect against being in an unquoted here document
 
4220
# in config.status.
 
4221
rm -f conftest.defines conftest.undefs
 
4222
# Using a here document instead of a string reduces the quoting nightmare.
 
4223
# Putting comments in sed scripts is not portable.
 
4224
#
 
4225
# `end' is used to avoid that the second main sed command (meant for
 
4226
# 0-ary CPP macros) applies to n-ary macro definitions.
 
4227
# See the Autoconf documentation for `clear'.
 
4228
cat >confdef2sed.sed <<\_ACEOF
 
4229
s/[\\&,]/\\&/g
 
4230
s,[\\$`],\\&,g
 
4231
t clear
 
4232
: clear
 
4233
s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
 
4234
t end
 
4235
s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
 
4236
: end
 
4237
_ACEOF
 
4238
# If some macros were called several times there might be several times
 
4239
# the same #defines, which is useless.  Nevertheless, we may not want to
 
4240
# sort them, since we want the *last* AC-DEFINE to be honored.
 
4241
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
 
4242
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
 
4243
rm -f confdef2sed.sed
 
4244
 
 
4245
# This sed command replaces #undef with comments.  This is necessary, for
 
4246
# example, in the case of _POSIX_SOURCE, which is predefined and required
 
4247
# on some systems where configure will not decide to define it.
 
4248
cat >>conftest.undefs <<\_ACEOF
 
4249
s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
 
4250
_ACEOF
 
4251
 
 
4252
# Break up conftest.defines because some shells have a limit on the size
 
4253
# of here documents, and old seds have small limits too (100 cmds).
 
4254
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
 
4255
echo '  if grep "^[     ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
 
4256
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
 
4257
echo '  :' >>$CONFIG_STATUS
 
4258
rm -f conftest.tail
 
4259
while grep . conftest.defines >/dev/null
 
4260
do
 
4261
  # Write a limited-size here document to $tmp/defines.sed.
 
4262
  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
 
4263
  # Speed up: don't consider the non `#define' lines.
 
4264
  echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
 
4265
  # Work around the forget-to-reset-the-flag bug.
 
4266
  echo 't clr' >>$CONFIG_STATUS
 
4267
  echo ': clr' >>$CONFIG_STATUS
 
4268
  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
 
4269
  echo 'CEOF
 
4270
  sed -f $tmp/defines.sed $tmp/in >$tmp/out
 
4271
  rm -f $tmp/in
 
4272
  mv $tmp/out $tmp/in
 
4273
' >>$CONFIG_STATUS
 
4274
  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
 
4275
  rm -f conftest.defines
 
4276
  mv conftest.tail conftest.defines
 
4277
done
 
4278
rm -f conftest.defines
 
4279
echo '  fi # grep' >>$CONFIG_STATUS
 
4280
echo >>$CONFIG_STATUS
 
4281
 
 
4282
# Break up conftest.undefs because some shells have a limit on the size
 
4283
# of here documents, and old seds have small limits too (100 cmds).
 
4284
echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
 
4285
rm -f conftest.tail
 
4286
while grep . conftest.undefs >/dev/null
 
4287
do
 
4288
  # Write a limited-size here document to $tmp/undefs.sed.
 
4289
  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
 
4290
  # Speed up: don't consider the non `#undef'
 
4291
  echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
 
4292
  # Work around the forget-to-reset-the-flag bug.
 
4293
  echo 't clr' >>$CONFIG_STATUS
 
4294
  echo ': clr' >>$CONFIG_STATUS
 
4295
  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
 
4296
  echo 'CEOF
 
4297
  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
 
4298
  rm -f $tmp/in
 
4299
  mv $tmp/out $tmp/in
 
4300
' >>$CONFIG_STATUS
 
4301
  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
 
4302
  rm -f conftest.undefs
 
4303
  mv conftest.tail conftest.undefs
 
4304
done
 
4305
rm -f conftest.undefs
 
4306
 
 
4307
cat >>$CONFIG_STATUS <<\_ACEOF
 
4308
  # Let's still pretend it is `configure' which instantiates (i.e., don't
 
4309
  # use $as_me), people would be surprised to read:
 
4310
  #    /* config.h.  Generated by config.status.  */
 
4311
  if test x"$ac_file" = x-; then
 
4312
    echo "/* Generated by configure.  */" >$tmp/config.h
 
4313
  else
 
4314
    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
 
4315
  fi
 
4316
  cat $tmp/in >>$tmp/config.h
 
4317
  rm -f $tmp/in
 
4318
  if test x"$ac_file" != x-; then
 
4319
    if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
 
4320
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 
4321
echo "$as_me: $ac_file is unchanged" >&6;}
 
4322
    else
 
4323
      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 
4324
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
4325
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
4326
         X"$ac_file" : 'X\(//\)$' \| \
 
4327
         X"$ac_file" : 'X\(/\)' \| \
 
4328
         .     : '\(.\)' 2>/dev/null ||
 
4329
echo X"$ac_file" |
 
4330
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
4331
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
4332
          /^X\(\/\/\)$/{ s//\1/; q; }
 
4333
          /^X\(\/\).*/{ s//\1/; q; }
 
4334
          s/.*/./; q'`
 
4335
      { if $as_mkdir_p; then
 
4336
    mkdir -p "$ac_dir"
 
4337
  else
 
4338
    as_dir="$ac_dir"
 
4339
    as_dirs=
 
4340
    while test ! -d "$as_dir"; do
 
4341
      as_dirs="$as_dir $as_dirs"
 
4342
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
4343
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
4344
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
4345
         X"$as_dir" : 'X\(//\)$' \| \
 
4346
         X"$as_dir" : 'X\(/\)' \| \
 
4347
         .     : '\(.\)' 2>/dev/null ||
 
4348
echo X"$as_dir" |
 
4349
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
4350
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
4351
          /^X\(\/\/\)$/{ s//\1/; q; }
 
4352
          /^X\(\/\).*/{ s//\1/; q; }
 
4353
          s/.*/./; q'`
 
4354
    done
 
4355
    test ! -n "$as_dirs" || mkdir $as_dirs
 
4356
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
 
4357
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
4358
   { (exit 1); exit 1; }; }; }
 
4359
 
 
4360
      rm -f $ac_file
 
4361
      mv $tmp/config.h $ac_file
 
4362
    fi
 
4363
  else
 
4364
    cat $tmp/config.h
 
4365
    rm -f $tmp/config.h
 
4366
  fi
 
4367
_am_stamp_count=`expr ${_am_stamp_count-0} + 1`
 
4368
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
 
4369
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
4370
         X$ac_file : 'X\(//\)[^/]' \| \
 
4371
         X$ac_file : 'X\(//\)$' \| \
 
4372
         X$ac_file : 'X\(/\)' \| \
 
4373
         .     : '\(.\)' 2>/dev/null ||
 
4374
echo X$ac_file |
 
4375
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
4376
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
4377
          /^X\(\/\/\)$/{ s//\1/; q; }
 
4378
          /^X\(\/\).*/{ s//\1/; q; }
 
4379
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
4380
done
 
4381
_ACEOF
 
4382
cat >>$CONFIG_STATUS <<\_ACEOF
 
4383
 
 
4384
#
 
4385
# CONFIG_COMMANDS section.
 
4386
#
 
4387
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
 
4388
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
 
4389
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
4390
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
 
4391
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
4392
         X"$ac_dest" : 'X\(//\)[^/]' \| \
 
4393
         X"$ac_dest" : 'X\(//\)$' \| \
 
4394
         X"$ac_dest" : 'X\(/\)' \| \
 
4395
         .     : '\(.\)' 2>/dev/null ||
 
4396
echo X"$ac_dest" |
 
4397
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
4398
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
4399
          /^X\(\/\/\)$/{ s//\1/; q; }
 
4400
          /^X\(\/\).*/{ s//\1/; q; }
 
4401
          s/.*/./; q'`
 
4402
  ac_builddir=.
 
4403
 
 
4404
if test "$ac_dir" != .; then
 
4405
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
4406
  # A "../" for each directory in $ac_dir_suffix.
 
4407
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
 
4408
else
 
4409
  ac_dir_suffix= ac_top_builddir=
 
4410
fi
 
4411
 
 
4412
case $srcdir in
 
4413
  .)  # No --srcdir option.  We are building in place.
 
4414
    ac_srcdir=.
 
4415
    if test -z "$ac_top_builddir"; then
 
4416
       ac_top_srcdir=.
 
4417
    else
 
4418
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
 
4419
    fi ;;
 
4420
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
4421
    ac_srcdir=$srcdir$ac_dir_suffix;
 
4422
    ac_top_srcdir=$srcdir ;;
 
4423
  *) # Relative path.
 
4424
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
 
4425
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
 
4426
esac
 
4427
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
 
4428
# absolute.
 
4429
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
 
4430
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
 
4431
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
 
4432
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
 
4433
 
 
4434
 
 
4435
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
 
4436
echo "$as_me: executing $ac_dest commands" >&6;}
 
4437
  case $ac_dest in
 
4438
    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
 
4439
  # Strip MF so we end up with the name of the file.
 
4440
  mf=`echo "$mf" | sed -e 's/:.*$//'`
 
4441
  # Check whether this is an Automake generated Makefile or not.
 
4442
  # We used to match only the files named `Makefile.in', but
 
4443
  # some people rename them; so instead we look at the file content.
 
4444
  # Grep'ing the first line is not enough: some people post-process
 
4445
  # each Makefile.in and add a new line on top of each file to say so.
 
4446
  # So let's grep whole file.
 
4447
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
 
4448
    dirpart=`(dirname "$mf") 2>/dev/null ||
 
4449
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
4450
         X"$mf" : 'X\(//\)[^/]' \| \
 
4451
         X"$mf" : 'X\(//\)$' \| \
 
4452
         X"$mf" : 'X\(/\)' \| \
 
4453
         .     : '\(.\)' 2>/dev/null ||
 
4454
echo X"$mf" |
 
4455
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
4456
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
4457
          /^X\(\/\/\)$/{ s//\1/; q; }
 
4458
          /^X\(\/\).*/{ s//\1/; q; }
 
4459
          s/.*/./; q'`
 
4460
  else
 
4461
    continue
 
4462
  fi
 
4463
  grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
 
4464
  # Extract the definition of DEP_FILES from the Makefile without
 
4465
  # running `make'.
 
4466
  DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
 
4467
  test -z "$DEPDIR" && continue
 
4468
  # When using ansi2knr, U may be empty or an underscore; expand it
 
4469
  U=`sed -n -e '/^U = / s///p' < "$mf"`
 
4470
  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
 
4471
  # We invoke sed twice because it is the simplest approach to
 
4472
  # changing $(DEPDIR) to its actual value in the expansion.
 
4473
  for file in `sed -n -e '
 
4474
    /^DEP_FILES = .*\\\\$/ {
 
4475
      s/^DEP_FILES = //
 
4476
      :loop
 
4477
        s/\\\\$//
 
4478
        p
 
4479
        n
 
4480
        /\\\\$/ b loop
 
4481
      p
 
4482
    }
 
4483
    /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
 
4484
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
4485
    # Make sure the directory exists.
 
4486
    test -f "$dirpart/$file" && continue
 
4487
    fdir=`(dirname "$file") 2>/dev/null ||
 
4488
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
4489
         X"$file" : 'X\(//\)[^/]' \| \
 
4490
         X"$file" : 'X\(//\)$' \| \
 
4491
         X"$file" : 'X\(/\)' \| \
 
4492
         .     : '\(.\)' 2>/dev/null ||
 
4493
echo X"$file" |
 
4494
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
4495
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
4496
          /^X\(\/\/\)$/{ s//\1/; q; }
 
4497
          /^X\(\/\).*/{ s//\1/; q; }
 
4498
          s/.*/./; q'`
 
4499
    { if $as_mkdir_p; then
 
4500
    mkdir -p $dirpart/$fdir
 
4501
  else
 
4502
    as_dir=$dirpart/$fdir
 
4503
    as_dirs=
 
4504
    while test ! -d "$as_dir"; do
 
4505
      as_dirs="$as_dir $as_dirs"
 
4506
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
4507
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
4508
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
4509
         X"$as_dir" : 'X\(//\)$' \| \
 
4510
         X"$as_dir" : 'X\(/\)' \| \
 
4511
         .     : '\(.\)' 2>/dev/null ||
 
4512
echo X"$as_dir" |
 
4513
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
4514
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
4515
          /^X\(\/\/\)$/{ s//\1/; q; }
 
4516
          /^X\(\/\).*/{ s//\1/; q; }
 
4517
          s/.*/./; q'`
 
4518
    done
 
4519
    test ! -n "$as_dirs" || mkdir $as_dirs
 
4520
  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
 
4521
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
 
4522
   { (exit 1); exit 1; }; }; }
 
4523
 
 
4524
    # echo "creating $dirpart/$file"
 
4525
    echo '# dummy' > "$dirpart/$file"
 
4526
  done
 
4527
done
 
4528
 ;;
 
4529
  esac
 
4530
done
 
4531
_ACEOF
 
4532
 
 
4533
cat >>$CONFIG_STATUS <<\_ACEOF
 
4534
 
 
4535
{ (exit 0); exit 0; }
 
4536
_ACEOF
 
4537
chmod +x $CONFIG_STATUS
 
4538
ac_clean_files=$ac_clean_files_save
 
4539
 
 
4540
 
 
4541
# configure is writing to config.log, and then calls config.status.
 
4542
# config.status does its own redirection, appending to config.log.
 
4543
# Unfortunately, on DOS this fails, as config.log is still kept open
 
4544
# by configure, so config.status won't be able to write to it; its
 
4545
# output is simply discarded.  So we exec the FD to /dev/null,
 
4546
# effectively closing config.log, so it can be properly (re)opened and
 
4547
# appended to by config.status.  When coming back to configure, we
 
4548
# need to make the FD available again.
 
4549
if test "$no_create" != yes; then
 
4550
  ac_cs_success=:
 
4551
  exec 5>/dev/null
 
4552
  $SHELL $CONFIG_STATUS || ac_cs_success=false
 
4553
  exec 5>>config.log
 
4554
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
 
4555
  # would make configure fail if this is the last instruction.
 
4556
  $ac_cs_success || { (exit 1); exit 1; }
 
4557
fi
 
4558