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