~ubuntu-branches/ubuntu/feisty/apache2/feisty

« back to all changes in this revision

Viewing changes to srclib/pcre/configure

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Barth
  • Date: 2006-12-09 21:05:45 UTC
  • mfrom: (0.6.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20061209210545-h70s0xaqc2v8vqr2
Tags: 2.2.3-3.2
* Non-maintainer upload.
* 043_ajp_connection_reuse: Patch from upstream Bugzilla, fixing a critical
  issue with regard to connection reuse in mod_proxy_ajp.
  Closes: #396265

Show diffs side-by-side

added added

removed removed

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