1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for regex2dfa 0.0.1.
4#
5#
6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7#
8#
9# This configure script is free software; the Free Software Foundation
10# gives unlimited permission to copy, distribute and modify it.
11## -------------------- ##
12## M4sh Initialization. ##
13## -------------------- ##
14
15# Be more Bourne compatible
16DUALCASE=1; export DUALCASE # for MKS sh
17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18  emulate sh
19  NULLCMD=:
20  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21  # is contrary to our usage.  Disable this feature.
22  alias -g '${1+"$@"}'='"$@"'
23  setopt NO_GLOB_SUBST
24else
25  case `(set -o) 2>/dev/null` in #(
26  *posix*) :
27    set -o posix ;; #(
28  *) :
29     ;;
30esac
31fi
32
33
34as_nl='
35'
36export as_nl
37# Printing a long string crashes Solaris 7 /usr/bin/printf.
38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41# Prefer a ksh shell builtin over an external printf program on Solaris,
42# but without wasting forks for bash or zsh.
43if test -z "$BASH_VERSION$ZSH_VERSION" \
44    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45  as_echo='print -r --'
46  as_echo_n='print -rn --'
47elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48  as_echo='printf %s\n'
49  as_echo_n='printf %s'
50else
51  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53    as_echo_n='/usr/ucb/echo -n'
54  else
55    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56    as_echo_n_body='eval
57      arg=$1;
58      case $arg in #(
59      *"$as_nl"*)
60	expr "X$arg" : "X\\(.*\\)$as_nl";
61	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62      esac;
63      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64    '
65    export as_echo_n_body
66    as_echo_n='sh -c $as_echo_n_body as_echo'
67  fi
68  export as_echo_body
69  as_echo='sh -c $as_echo_body as_echo'
70fi
71
72# The user is always right.
73if test "${PATH_SEPARATOR+set}" != set; then
74  PATH_SEPARATOR=:
75  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77      PATH_SEPARATOR=';'
78  }
79fi
80
81
82# IFS
83# We need space, tab and new line, in precisely that order.  Quoting is
84# there to prevent editors from complaining about space-tab.
85# (If _AS_PATH_WALK were called with IFS unset, it would disable word
86# splitting by setting IFS to empty value.)
87IFS=" ""	$as_nl"
88
89# Find who we are.  Look in the path if we contain no directory separator.
90as_myself=
91case $0 in #((
92  *[\\/]* ) as_myself=$0 ;;
93  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94for as_dir in $PATH
95do
96  IFS=$as_save_IFS
97  test -z "$as_dir" && as_dir=.
98    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99  done
100IFS=$as_save_IFS
101
102     ;;
103esac
104# We did not find ourselves, most probably we were run as `sh COMMAND'
105# in which case we are not to be found in the path.
106if test "x$as_myself" = x; then
107  as_myself=$0
108fi
109if test ! -f "$as_myself"; then
110  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111  exit 1
112fi
113
114# Unset variables that we do not need and which cause bugs (e.g. in
115# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
116# suppresses any "Segmentation fault" message there.  '((' could
117# trigger a bug in pdksh 5.2.14.
118for as_var in BASH_ENV ENV MAIL MAILPATH
119do eval test x\${$as_var+set} = xset \
120  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121done
122PS1='$ '
123PS2='> '
124PS4='+ '
125
126# NLS nuisances.
127LC_ALL=C
128export LC_ALL
129LANGUAGE=C
130export LANGUAGE
131
132# CDPATH.
133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
135# Use a proper internal environment variable to ensure we don't fall
136  # into an infinite loop, continuously re-executing ourselves.
137  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138    _as_can_reexec=no; export _as_can_reexec;
139    # We cannot yet assume a decent shell, so we have to provide a
140# neutralization value for shells without unset; and this also
141# works around shells that cannot unset nonexistent variables.
142# Preserve -v and -x to the replacement shell.
143BASH_ENV=/dev/null
144ENV=/dev/null
145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146case $- in # ((((
147  *v*x* | *x*v* ) as_opts=-vx ;;
148  *v* ) as_opts=-v ;;
149  *x* ) as_opts=-x ;;
150  * ) as_opts= ;;
151esac
152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153# Admittedly, this is quite paranoid, since all the known shells bail
154# out after a failed `exec'.
155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156as_fn_exit 255
157  fi
158  # We don't want this to propagate to other subprocesses.
159          { _as_can_reexec=; unset _as_can_reexec;}
160if test "x$CONFIG_SHELL" = x; then
161  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162  emulate sh
163  NULLCMD=:
164  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165  # is contrary to our usage.  Disable this feature.
166  alias -g '\${1+\"\$@\"}'='\"\$@\"'
167  setopt NO_GLOB_SUBST
168else
169  case \`(set -o) 2>/dev/null\` in #(
170  *posix*) :
171    set -o posix ;; #(
172  *) :
173     ;;
174esac
175fi
176"
177  as_required="as_fn_return () { (exit \$1); }
178as_fn_success () { as_fn_return 0; }
179as_fn_failure () { as_fn_return 1; }
180as_fn_ret_success () { return 0; }
181as_fn_ret_failure () { return 1; }
182
183exitcode=0
184as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189
190else
191  exitcode=1; echo positional parameters were not saved.
192fi
193test x\$exitcode = x0 || exit 1
194test -x / || exit 1"
195  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
199  if (eval "$as_required") 2>/dev/null; then :
200  as_have_required=yes
201else
202  as_have_required=no
203fi
204  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
205
206else
207  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
208as_found=false
209for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
210do
211  IFS=$as_save_IFS
212  test -z "$as_dir" && as_dir=.
213  as_found=:
214  case $as_dir in #(
215	 /*)
216	   for as_base in sh bash ksh sh5; do
217	     # Try only shells that exist, to save several forks.
218	     as_shell=$as_dir/$as_base
219	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
220		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
221  CONFIG_SHELL=$as_shell as_have_required=yes
222		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
223  break 2
224fi
225fi
226	   done;;
227       esac
228  as_found=false
229done
230$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
231	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
232  CONFIG_SHELL=$SHELL as_have_required=yes
233fi; }
234IFS=$as_save_IFS
235
236
237      if test "x$CONFIG_SHELL" != x; then :
238  export CONFIG_SHELL
239             # We cannot yet assume a decent shell, so we have to provide a
240# neutralization value for shells without unset; and this also
241# works around shells that cannot unset nonexistent variables.
242# Preserve -v and -x to the replacement shell.
243BASH_ENV=/dev/null
244ENV=/dev/null
245(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
246case $- in # ((((
247  *v*x* | *x*v* ) as_opts=-vx ;;
248  *v* ) as_opts=-v ;;
249  *x* ) as_opts=-x ;;
250  * ) as_opts= ;;
251esac
252exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
253# Admittedly, this is quite paranoid, since all the known shells bail
254# out after a failed `exec'.
255$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
256exit 255
257fi
258
259    if test x$as_have_required = xno; then :
260  $as_echo "$0: This script requires a shell more modern than all"
261  $as_echo "$0: the shells that I found on your system."
262  if test x${ZSH_VERSION+set} = xset ; then
263    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
264    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
265  else
266    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
267$0: including any error possibly output before this
268$0: message. Then install a modern shell, or manually run
269$0: the script under such a shell if you do have one."
270  fi
271  exit 1
272fi
273fi
274fi
275SHELL=${CONFIG_SHELL-/bin/sh}
276export SHELL
277# Unset more variables known to interfere with behavior of common tools.
278CLICOLOR_FORCE= GREP_OPTIONS=
279unset CLICOLOR_FORCE GREP_OPTIONS
280
281## --------------------- ##
282## M4sh Shell Functions. ##
283## --------------------- ##
284# as_fn_unset VAR
285# ---------------
286# Portably unset VAR.
287as_fn_unset ()
288{
289  { eval $1=; unset $1;}
290}
291as_unset=as_fn_unset
292
293# as_fn_set_status STATUS
294# -----------------------
295# Set $? to STATUS, without forking.
296as_fn_set_status ()
297{
298  return $1
299} # as_fn_set_status
300
301# as_fn_exit STATUS
302# -----------------
303# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
304as_fn_exit ()
305{
306  set +e
307  as_fn_set_status $1
308  exit $1
309} # as_fn_exit
310
311# as_fn_mkdir_p
312# -------------
313# Create "$as_dir" as a directory, including parents if necessary.
314as_fn_mkdir_p ()
315{
316
317  case $as_dir in #(
318  -*) as_dir=./$as_dir;;
319  esac
320  test -d "$as_dir" || eval $as_mkdir_p || {
321    as_dirs=
322    while :; do
323      case $as_dir in #(
324      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
325      *) as_qdir=$as_dir;;
326      esac
327      as_dirs="'$as_qdir' $as_dirs"
328      as_dir=`$as_dirname -- "$as_dir" ||
329$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
330	 X"$as_dir" : 'X\(//\)[^/]' \| \
331	 X"$as_dir" : 'X\(//\)$' \| \
332	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
333$as_echo X"$as_dir" |
334    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335	    s//\1/
336	    q
337	  }
338	  /^X\(\/\/\)[^/].*/{
339	    s//\1/
340	    q
341	  }
342	  /^X\(\/\/\)$/{
343	    s//\1/
344	    q
345	  }
346	  /^X\(\/\).*/{
347	    s//\1/
348	    q
349	  }
350	  s/.*/./; q'`
351      test -d "$as_dir" && break
352    done
353    test -z "$as_dirs" || eval "mkdir $as_dirs"
354  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
355
356
357} # as_fn_mkdir_p
358
359# as_fn_executable_p FILE
360# -----------------------
361# Test if FILE is an executable regular file.
362as_fn_executable_p ()
363{
364  test -f "$1" && test -x "$1"
365} # as_fn_executable_p
366# as_fn_append VAR VALUE
367# ----------------------
368# Append the text in VALUE to the end of the definition contained in VAR. Take
369# advantage of any shell optimizations that allow amortized linear growth over
370# repeated appends, instead of the typical quadratic growth present in naive
371# implementations.
372if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
373  eval 'as_fn_append ()
374  {
375    eval $1+=\$2
376  }'
377else
378  as_fn_append ()
379  {
380    eval $1=\$$1\$2
381  }
382fi # as_fn_append
383
384# as_fn_arith ARG...
385# ------------------
386# Perform arithmetic evaluation on the ARGs, and store the result in the
387# global $as_val. Take advantage of shells that can avoid forks. The arguments
388# must be portable across $(()) and expr.
389if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
390  eval 'as_fn_arith ()
391  {
392    as_val=$(( $* ))
393  }'
394else
395  as_fn_arith ()
396  {
397    as_val=`expr "$@" || test $? -eq 1`
398  }
399fi # as_fn_arith
400
401
402# as_fn_error STATUS ERROR [LINENO LOG_FD]
403# ----------------------------------------
404# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
405# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
406# script with STATUS, using 1 if that was 0.
407as_fn_error ()
408{
409  as_status=$1; test $as_status -eq 0 && as_status=1
410  if test "$4"; then
411    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
412    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
413  fi
414  $as_echo "$as_me: error: $2" >&2
415  as_fn_exit $as_status
416} # as_fn_error
417
418if expr a : '\(a\)' >/dev/null 2>&1 &&
419   test "X`expr 00001 : '.*\(...\)'`" = X001; then
420  as_expr=expr
421else
422  as_expr=false
423fi
424
425if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
426  as_basename=basename
427else
428  as_basename=false
429fi
430
431if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
432  as_dirname=dirname
433else
434  as_dirname=false
435fi
436
437as_me=`$as_basename -- "$0" ||
438$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
439	 X"$0" : 'X\(//\)$' \| \
440	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
441$as_echo X/"$0" |
442    sed '/^.*\/\([^/][^/]*\)\/*$/{
443	    s//\1/
444	    q
445	  }
446	  /^X\/\(\/\/\)$/{
447	    s//\1/
448	    q
449	  }
450	  /^X\/\(\/\).*/{
451	    s//\1/
452	    q
453	  }
454	  s/.*/./; q'`
455
456# Avoid depending upon Character Ranges.
457as_cr_letters='abcdefghijklmnopqrstuvwxyz'
458as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
459as_cr_Letters=$as_cr_letters$as_cr_LETTERS
460as_cr_digits='0123456789'
461as_cr_alnum=$as_cr_Letters$as_cr_digits
462
463
464  as_lineno_1=$LINENO as_lineno_1a=$LINENO
465  as_lineno_2=$LINENO as_lineno_2a=$LINENO
466  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
467  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
468  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
469  sed -n '
470    p
471    /[$]LINENO/=
472  ' <$as_myself |
473    sed '
474      s/[$]LINENO.*/&-/
475      t lineno
476      b
477      :lineno
478      N
479      :loop
480      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
481      t loop
482      s/-\n.*//
483    ' >$as_me.lineno &&
484  chmod +x "$as_me.lineno" ||
485    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
486
487  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
488  # already done that, so ensure we don't try to do so again and fall
489  # in an infinite loop.  This has already happened in practice.
490  _as_can_reexec=no; export _as_can_reexec
491  # Don't try to exec as it changes $[0], causing all sort of problems
492  # (the dirname of $[0] is not the place where we might find the
493  # original and so on.  Autoconf is especially sensitive to this).
494  . "./$as_me.lineno"
495  # Exit status is that of the last command.
496  exit
497}
498
499ECHO_C= ECHO_N= ECHO_T=
500case `echo -n x` in #(((((
501-n*)
502  case `echo 'xy\c'` in
503  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
504  xy)  ECHO_C='\c';;
505  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
506       ECHO_T='	';;
507  esac;;
508*)
509  ECHO_N='-n';;
510esac
511
512rm -f conf$$ conf$$.exe conf$$.file
513if test -d conf$$.dir; then
514  rm -f conf$$.dir/conf$$.file
515else
516  rm -f conf$$.dir
517  mkdir conf$$.dir 2>/dev/null
518fi
519if (echo >conf$$.file) 2>/dev/null; then
520  if ln -s conf$$.file conf$$ 2>/dev/null; then
521    as_ln_s='ln -s'
522    # ... but there are two gotchas:
523    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
524    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
525    # In both cases, we have to default to `cp -pR'.
526    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
527      as_ln_s='cp -pR'
528  elif ln conf$$.file conf$$ 2>/dev/null; then
529    as_ln_s=ln
530  else
531    as_ln_s='cp -pR'
532  fi
533else
534  as_ln_s='cp -pR'
535fi
536rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
537rmdir conf$$.dir 2>/dev/null
538
539if mkdir -p . 2>/dev/null; then
540  as_mkdir_p='mkdir -p "$as_dir"'
541else
542  test -d ./-p && rmdir ./-p
543  as_mkdir_p=false
544fi
545
546as_test_x='test -x'
547as_executable_p=as_fn_executable_p
548
549# Sed expression to map a string onto a valid CPP name.
550as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
551
552# Sed expression to map a string onto a valid variable name.
553as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554
555
556test -n "$DJDIR" || exec 7<&0 </dev/null
557exec 6>&1
558
559# Name of the host.
560# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
561# so uname gets run too.
562ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
563
564#
565# Initializations.
566#
567ac_default_prefix=/usr/local
568ac_clean_files=
569ac_config_libobj_dir=.
570LIBOBJS=
571cross_compiling=no
572subdirs=
573MFLAGS=
574MAKEFLAGS=
575
576# Identity of this package.
577PACKAGE_NAME='regex2dfa'
578PACKAGE_TARNAME='regex2dfa'
579PACKAGE_VERSION='0.0.1'
580PACKAGE_STRING='regex2dfa 0.0.1'
581PACKAGE_BUGREPORT=''
582PACKAGE_URL=''
583
584ac_subst_vars='LTLIBOBJS
585LIBOBJS
586target_alias
587host_alias
588build_alias
589LIBS
590ECHO_T
591ECHO_N
592ECHO_C
593DEFS
594mandir
595localedir
596libdir
597psdir
598pdfdir
599dvidir
600htmldir
601infodir
602docdir
603oldincludedir
604includedir
605localstatedir
606sharedstatedir
607sysconfdir
608datadir
609datarootdir
610libexecdir
611sbindir
612bindir
613program_transform_name
614prefix
615exec_prefix
616PACKAGE_URL
617PACKAGE_BUGREPORT
618PACKAGE_STRING
619PACKAGE_VERSION
620PACKAGE_TARNAME
621PACKAGE_NAME
622PATH_SEPARATOR
623SHELL'
624ac_subst_files=''
625ac_user_opts='
626enable_option_checking
627'
628      ac_precious_vars='build_alias
629host_alias
630target_alias'
631
632
633# Initialize some variables set by options.
634ac_init_help=
635ac_init_version=false
636ac_unrecognized_opts=
637ac_unrecognized_sep=
638# The variables have the same names as the options, with
639# dashes changed to underlines.
640cache_file=/dev/null
641exec_prefix=NONE
642no_create=
643no_recursion=
644prefix=NONE
645program_prefix=NONE
646program_suffix=NONE
647program_transform_name=s,x,x,
648silent=
649site=
650srcdir=
651verbose=
652x_includes=NONE
653x_libraries=NONE
654
655# Installation directory options.
656# These are left unexpanded so users can "make install exec_prefix=/foo"
657# and all the variables that are supposed to be based on exec_prefix
658# by default will actually change.
659# Use braces instead of parens because sh, perl, etc. also accept them.
660# (The list follows the same order as the GNU Coding Standards.)
661bindir='${exec_prefix}/bin'
662sbindir='${exec_prefix}/sbin'
663libexecdir='${exec_prefix}/libexec'
664datarootdir='${prefix}/share'
665datadir='${datarootdir}'
666sysconfdir='${prefix}/etc'
667sharedstatedir='${prefix}/com'
668localstatedir='${prefix}/var'
669includedir='${prefix}/include'
670oldincludedir='/usr/include'
671docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
672infodir='${datarootdir}/info'
673htmldir='${docdir}'
674dvidir='${docdir}'
675pdfdir='${docdir}'
676psdir='${docdir}'
677libdir='${exec_prefix}/lib'
678localedir='${datarootdir}/locale'
679mandir='${datarootdir}/man'
680
681ac_prev=
682ac_dashdash=
683for ac_option
684do
685  # If the previous option needs an argument, assign it.
686  if test -n "$ac_prev"; then
687    eval $ac_prev=\$ac_option
688    ac_prev=
689    continue
690  fi
691
692  case $ac_option in
693  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
694  *=)   ac_optarg= ;;
695  *)    ac_optarg=yes ;;
696  esac
697
698  # Accept the important Cygnus configure options, so we can diagnose typos.
699
700  case $ac_dashdash$ac_option in
701  --)
702    ac_dashdash=yes ;;
703
704  -bindir | --bindir | --bindi | --bind | --bin | --bi)
705    ac_prev=bindir ;;
706  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
707    bindir=$ac_optarg ;;
708
709  -build | --build | --buil | --bui | --bu)
710    ac_prev=build_alias ;;
711  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
712    build_alias=$ac_optarg ;;
713
714  -cache-file | --cache-file | --cache-fil | --cache-fi \
715  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
716    ac_prev=cache_file ;;
717  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
718  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
719    cache_file=$ac_optarg ;;
720
721  --config-cache | -C)
722    cache_file=config.cache ;;
723
724  -datadir | --datadir | --datadi | --datad)
725    ac_prev=datadir ;;
726  -datadir=* | --datadir=* | --datadi=* | --datad=*)
727    datadir=$ac_optarg ;;
728
729  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
730  | --dataroo | --dataro | --datar)
731    ac_prev=datarootdir ;;
732  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
733  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
734    datarootdir=$ac_optarg ;;
735
736  -disable-* | --disable-*)
737    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
738    # Reject names that are not valid shell variable names.
739    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
740      as_fn_error $? "invalid feature name: $ac_useropt"
741    ac_useropt_orig=$ac_useropt
742    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
743    case $ac_user_opts in
744      *"
745"enable_$ac_useropt"
746"*) ;;
747      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
748	 ac_unrecognized_sep=', ';;
749    esac
750    eval enable_$ac_useropt=no ;;
751
752  -docdir | --docdir | --docdi | --doc | --do)
753    ac_prev=docdir ;;
754  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
755    docdir=$ac_optarg ;;
756
757  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
758    ac_prev=dvidir ;;
759  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
760    dvidir=$ac_optarg ;;
761
762  -enable-* | --enable-*)
763    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
764    # Reject names that are not valid shell variable names.
765    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
766      as_fn_error $? "invalid feature name: $ac_useropt"
767    ac_useropt_orig=$ac_useropt
768    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
769    case $ac_user_opts in
770      *"
771"enable_$ac_useropt"
772"*) ;;
773      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
774	 ac_unrecognized_sep=', ';;
775    esac
776    eval enable_$ac_useropt=\$ac_optarg ;;
777
778  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
779  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
780  | --exec | --exe | --ex)
781    ac_prev=exec_prefix ;;
782  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
783  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
784  | --exec=* | --exe=* | --ex=*)
785    exec_prefix=$ac_optarg ;;
786
787  -gas | --gas | --ga | --g)
788    # Obsolete; use --with-gas.
789    with_gas=yes ;;
790
791  -help | --help | --hel | --he | -h)
792    ac_init_help=long ;;
793  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
794    ac_init_help=recursive ;;
795  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
796    ac_init_help=short ;;
797
798  -host | --host | --hos | --ho)
799    ac_prev=host_alias ;;
800  -host=* | --host=* | --hos=* | --ho=*)
801    host_alias=$ac_optarg ;;
802
803  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
804    ac_prev=htmldir ;;
805  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
806  | --ht=*)
807    htmldir=$ac_optarg ;;
808
809  -includedir | --includedir | --includedi | --included | --include \
810  | --includ | --inclu | --incl | --inc)
811    ac_prev=includedir ;;
812  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
813  | --includ=* | --inclu=* | --incl=* | --inc=*)
814    includedir=$ac_optarg ;;
815
816  -infodir | --infodir | --infodi | --infod | --info | --inf)
817    ac_prev=infodir ;;
818  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
819    infodir=$ac_optarg ;;
820
821  -libdir | --libdir | --libdi | --libd)
822    ac_prev=libdir ;;
823  -libdir=* | --libdir=* | --libdi=* | --libd=*)
824    libdir=$ac_optarg ;;
825
826  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
827  | --libexe | --libex | --libe)
828    ac_prev=libexecdir ;;
829  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
830  | --libexe=* | --libex=* | --libe=*)
831    libexecdir=$ac_optarg ;;
832
833  -localedir | --localedir | --localedi | --localed | --locale)
834    ac_prev=localedir ;;
835  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
836    localedir=$ac_optarg ;;
837
838  -localstatedir | --localstatedir | --localstatedi | --localstated \
839  | --localstate | --localstat | --localsta | --localst | --locals)
840    ac_prev=localstatedir ;;
841  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
842  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
843    localstatedir=$ac_optarg ;;
844
845  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
846    ac_prev=mandir ;;
847  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
848    mandir=$ac_optarg ;;
849
850  -nfp | --nfp | --nf)
851    # Obsolete; use --without-fp.
852    with_fp=no ;;
853
854  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
855  | --no-cr | --no-c | -n)
856    no_create=yes ;;
857
858  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
859  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
860    no_recursion=yes ;;
861
862  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
863  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
864  | --oldin | --oldi | --old | --ol | --o)
865    ac_prev=oldincludedir ;;
866  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
867  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
868  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
869    oldincludedir=$ac_optarg ;;
870
871  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
872    ac_prev=prefix ;;
873  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
874    prefix=$ac_optarg ;;
875
876  -program-prefix | --program-prefix | --program-prefi | --program-pref \
877  | --program-pre | --program-pr | --program-p)
878    ac_prev=program_prefix ;;
879  -program-prefix=* | --program-prefix=* | --program-prefi=* \
880  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
881    program_prefix=$ac_optarg ;;
882
883  -program-suffix | --program-suffix | --program-suffi | --program-suff \
884  | --program-suf | --program-su | --program-s)
885    ac_prev=program_suffix ;;
886  -program-suffix=* | --program-suffix=* | --program-suffi=* \
887  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
888    program_suffix=$ac_optarg ;;
889
890  -program-transform-name | --program-transform-name \
891  | --program-transform-nam | --program-transform-na \
892  | --program-transform-n | --program-transform- \
893  | --program-transform | --program-transfor \
894  | --program-transfo | --program-transf \
895  | --program-trans | --program-tran \
896  | --progr-tra | --program-tr | --program-t)
897    ac_prev=program_transform_name ;;
898  -program-transform-name=* | --program-transform-name=* \
899  | --program-transform-nam=* | --program-transform-na=* \
900  | --program-transform-n=* | --program-transform-=* \
901  | --program-transform=* | --program-transfor=* \
902  | --program-transfo=* | --program-transf=* \
903  | --program-trans=* | --program-tran=* \
904  | --progr-tra=* | --program-tr=* | --program-t=*)
905    program_transform_name=$ac_optarg ;;
906
907  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
908    ac_prev=pdfdir ;;
909  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
910    pdfdir=$ac_optarg ;;
911
912  -psdir | --psdir | --psdi | --psd | --ps)
913    ac_prev=psdir ;;
914  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
915    psdir=$ac_optarg ;;
916
917  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
918  | -silent | --silent | --silen | --sile | --sil)
919    silent=yes ;;
920
921  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
922    ac_prev=sbindir ;;
923  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
924  | --sbi=* | --sb=*)
925    sbindir=$ac_optarg ;;
926
927  -sharedstatedir | --sharedstatedir | --sharedstatedi \
928  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
929  | --sharedst | --shareds | --shared | --share | --shar \
930  | --sha | --sh)
931    ac_prev=sharedstatedir ;;
932  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
933  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
934  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
935  | --sha=* | --sh=*)
936    sharedstatedir=$ac_optarg ;;
937
938  -site | --site | --sit)
939    ac_prev=site ;;
940  -site=* | --site=* | --sit=*)
941    site=$ac_optarg ;;
942
943  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
944    ac_prev=srcdir ;;
945  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
946    srcdir=$ac_optarg ;;
947
948  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
949  | --syscon | --sysco | --sysc | --sys | --sy)
950    ac_prev=sysconfdir ;;
951  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
952  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
953    sysconfdir=$ac_optarg ;;
954
955  -target | --target | --targe | --targ | --tar | --ta | --t)
956    ac_prev=target_alias ;;
957  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
958    target_alias=$ac_optarg ;;
959
960  -v | -verbose | --verbose | --verbos | --verbo | --verb)
961    verbose=yes ;;
962
963  -version | --version | --versio | --versi | --vers | -V)
964    ac_init_version=: ;;
965
966  -with-* | --with-*)
967    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
968    # Reject names that are not valid shell variable names.
969    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
970      as_fn_error $? "invalid package name: $ac_useropt"
971    ac_useropt_orig=$ac_useropt
972    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
973    case $ac_user_opts in
974      *"
975"with_$ac_useropt"
976"*) ;;
977      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
978	 ac_unrecognized_sep=', ';;
979    esac
980    eval with_$ac_useropt=\$ac_optarg ;;
981
982  -without-* | --without-*)
983    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
984    # Reject names that are not valid shell variable names.
985    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
986      as_fn_error $? "invalid package name: $ac_useropt"
987    ac_useropt_orig=$ac_useropt
988    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
989    case $ac_user_opts in
990      *"
991"with_$ac_useropt"
992"*) ;;
993      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
994	 ac_unrecognized_sep=', ';;
995    esac
996    eval with_$ac_useropt=no ;;
997
998  --x)
999    # Obsolete; use --with-x.
1000    with_x=yes ;;
1001
1002  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1003  | --x-incl | --x-inc | --x-in | --x-i)
1004    ac_prev=x_includes ;;
1005  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1006  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1007    x_includes=$ac_optarg ;;
1008
1009  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1010  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1011    ac_prev=x_libraries ;;
1012  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1013  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1014    x_libraries=$ac_optarg ;;
1015
1016  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1017Try \`$0 --help' for more information"
1018    ;;
1019
1020  *=*)
1021    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1022    # Reject names that are not valid shell variable names.
1023    case $ac_envvar in #(
1024      '' | [0-9]* | *[!_$as_cr_alnum]* )
1025      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1026    esac
1027    eval $ac_envvar=\$ac_optarg
1028    export $ac_envvar ;;
1029
1030  *)
1031    # FIXME: should be removed in autoconf 3.0.
1032    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1033    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1034      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1035    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1036    ;;
1037
1038  esac
1039done
1040
1041if test -n "$ac_prev"; then
1042  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1043  as_fn_error $? "missing argument to $ac_option"
1044fi
1045
1046if test -n "$ac_unrecognized_opts"; then
1047  case $enable_option_checking in
1048    no) ;;
1049    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1050    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1051  esac
1052fi
1053
1054# Check all directory arguments for consistency.
1055for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1056		datadir sysconfdir sharedstatedir localstatedir includedir \
1057		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1058		libdir localedir mandir
1059do
1060  eval ac_val=\$$ac_var
1061  # Remove trailing slashes.
1062  case $ac_val in
1063    */ )
1064      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1065      eval $ac_var=\$ac_val;;
1066  esac
1067  # Be sure to have absolute directory names.
1068  case $ac_val in
1069    [\\/$]* | ?:[\\/]* )  continue;;
1070    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1071  esac
1072  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1073done
1074
1075# There might be people who depend on the old broken behavior: `$host'
1076# used to hold the argument of --host etc.
1077# FIXME: To remove some day.
1078build=$build_alias
1079host=$host_alias
1080target=$target_alias
1081
1082# FIXME: To remove some day.
1083if test "x$host_alias" != x; then
1084  if test "x$build_alias" = x; then
1085    cross_compiling=maybe
1086  elif test "x$build_alias" != "x$host_alias"; then
1087    cross_compiling=yes
1088  fi
1089fi
1090
1091ac_tool_prefix=
1092test -n "$host_alias" && ac_tool_prefix=$host_alias-
1093
1094test "$silent" = yes && exec 6>/dev/null
1095
1096
1097ac_pwd=`pwd` && test -n "$ac_pwd" &&
1098ac_ls_di=`ls -di .` &&
1099ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1100  as_fn_error $? "working directory cannot be determined"
1101test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1102  as_fn_error $? "pwd does not report name of working directory"
1103
1104
1105# Find the source files, if location was not specified.
1106if test -z "$srcdir"; then
1107  ac_srcdir_defaulted=yes
1108  # Try the directory containing this script, then the parent directory.
1109  ac_confdir=`$as_dirname -- "$as_myself" ||
1110$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1111	 X"$as_myself" : 'X\(//\)[^/]' \| \
1112	 X"$as_myself" : 'X\(//\)$' \| \
1113	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1114$as_echo X"$as_myself" |
1115    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1116	    s//\1/
1117	    q
1118	  }
1119	  /^X\(\/\/\)[^/].*/{
1120	    s//\1/
1121	    q
1122	  }
1123	  /^X\(\/\/\)$/{
1124	    s//\1/
1125	    q
1126	  }
1127	  /^X\(\/\).*/{
1128	    s//\1/
1129	    q
1130	  }
1131	  s/.*/./; q'`
1132  srcdir=$ac_confdir
1133  if test ! -r "$srcdir/$ac_unique_file"; then
1134    srcdir=..
1135  fi
1136else
1137  ac_srcdir_defaulted=no
1138fi
1139if test ! -r "$srcdir/$ac_unique_file"; then
1140  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1141  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1142fi
1143ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1144ac_abs_confdir=`(
1145	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1146	pwd)`
1147# When building in place, set srcdir=.
1148if test "$ac_abs_confdir" = "$ac_pwd"; then
1149  srcdir=.
1150fi
1151# Remove unnecessary trailing slashes from srcdir.
1152# Double slashes in file names in object file debugging info
1153# mess up M-x gdb in Emacs.
1154case $srcdir in
1155*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1156esac
1157for ac_var in $ac_precious_vars; do
1158  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1159  eval ac_env_${ac_var}_value=\$${ac_var}
1160  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1161  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1162done
1163
1164#
1165# Report the --help message.
1166#
1167if test "$ac_init_help" = "long"; then
1168  # Omit some internal or obsolete options to make the list less imposing.
1169  # This message is too long to be a string in the A/UX 3.1 sh.
1170  cat <<_ACEOF
1171\`configure' configures regex2dfa 0.0.1 to adapt to many kinds of systems.
1172
1173Usage: $0 [OPTION]... [VAR=VALUE]...
1174
1175To assign environment variables (e.g., CC, CFLAGS...), specify them as
1176VAR=VALUE.  See below for descriptions of some of the useful variables.
1177
1178Defaults for the options are specified in brackets.
1179
1180Configuration:
1181  -h, --help              display this help and exit
1182      --help=short        display options specific to this package
1183      --help=recursive    display the short help of all the included packages
1184  -V, --version           display version information and exit
1185  -q, --quiet, --silent   do not print \`checking ...' messages
1186      --cache-file=FILE   cache test results in FILE [disabled]
1187  -C, --config-cache      alias for \`--cache-file=config.cache'
1188  -n, --no-create         do not create output files
1189      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1190
1191Installation directories:
1192  --prefix=PREFIX         install architecture-independent files in PREFIX
1193                          [$ac_default_prefix]
1194  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1195                          [PREFIX]
1196
1197By default, \`make install' will install all the files in
1198\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1199an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1200for instance \`--prefix=\$HOME'.
1201
1202For better control, use the options below.
1203
1204Fine tuning of the installation directories:
1205  --bindir=DIR            user executables [EPREFIX/bin]
1206  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1207  --libexecdir=DIR        program executables [EPREFIX/libexec]
1208  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1209  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1210  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1211  --libdir=DIR            object code libraries [EPREFIX/lib]
1212  --includedir=DIR        C header files [PREFIX/include]
1213  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1214  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1215  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1216  --infodir=DIR           info documentation [DATAROOTDIR/info]
1217  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1218  --mandir=DIR            man documentation [DATAROOTDIR/man]
1219  --docdir=DIR            documentation root [DATAROOTDIR/doc/regex2dfa]
1220  --htmldir=DIR           html documentation [DOCDIR]
1221  --dvidir=DIR            dvi documentation [DOCDIR]
1222  --pdfdir=DIR            pdf documentation [DOCDIR]
1223  --psdir=DIR             ps documentation [DOCDIR]
1224_ACEOF
1225
1226  cat <<\_ACEOF
1227_ACEOF
1228fi
1229
1230if test -n "$ac_init_help"; then
1231  case $ac_init_help in
1232     short | recursive ) echo "Configuration of regex2dfa 0.0.1:";;
1233   esac
1234  cat <<\_ACEOF
1235
1236Report bugs to the package provider.
1237_ACEOF
1238ac_status=$?
1239fi
1240
1241if test "$ac_init_help" = "recursive"; then
1242  # If there are subdirs, report their specific --help.
1243  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1244    test -d "$ac_dir" ||
1245      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1246      continue
1247    ac_builddir=.
1248
1249case "$ac_dir" in
1250.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1251*)
1252  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1253  # A ".." for each directory in $ac_dir_suffix.
1254  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1255  case $ac_top_builddir_sub in
1256  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1257  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1258  esac ;;
1259esac
1260ac_abs_top_builddir=$ac_pwd
1261ac_abs_builddir=$ac_pwd$ac_dir_suffix
1262# for backward compatibility:
1263ac_top_builddir=$ac_top_build_prefix
1264
1265case $srcdir in
1266  .)  # We are building in place.
1267    ac_srcdir=.
1268    ac_top_srcdir=$ac_top_builddir_sub
1269    ac_abs_top_srcdir=$ac_pwd ;;
1270  [\\/]* | ?:[\\/]* )  # Absolute name.
1271    ac_srcdir=$srcdir$ac_dir_suffix;
1272    ac_top_srcdir=$srcdir
1273    ac_abs_top_srcdir=$srcdir ;;
1274  *) # Relative name.
1275    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1276    ac_top_srcdir=$ac_top_build_prefix$srcdir
1277    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1278esac
1279ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1280
1281    cd "$ac_dir" || { ac_status=$?; continue; }
1282    # Check for guested configure.
1283    if test -f "$ac_srcdir/configure.gnu"; then
1284      echo &&
1285      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1286    elif test -f "$ac_srcdir/configure"; then
1287      echo &&
1288      $SHELL "$ac_srcdir/configure" --help=recursive
1289    else
1290      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1291    fi || ac_status=$?
1292    cd "$ac_pwd" || { ac_status=$?; break; }
1293  done
1294fi
1295
1296test -n "$ac_init_help" && exit $ac_status
1297if $ac_init_version; then
1298  cat <<\_ACEOF
1299regex2dfa configure 0.0.1
1300generated by GNU Autoconf 2.69
1301
1302Copyright (C) 2012 Free Software Foundation, Inc.
1303This configure script is free software; the Free Software Foundation
1304gives unlimited permission to copy, distribute and modify it.
1305_ACEOF
1306  exit
1307fi
1308
1309## ------------------------ ##
1310## Autoconf initialization. ##
1311## ------------------------ ##
1312cat >config.log <<_ACEOF
1313This file contains any messages produced by compilers while
1314running configure, to aid debugging if configure makes a mistake.
1315
1316It was created by regex2dfa $as_me 0.0.1, which was
1317generated by GNU Autoconf 2.69.  Invocation command line was
1318
1319  $ $0 $@
1320
1321_ACEOF
1322exec 5>>config.log
1323{
1324cat <<_ASUNAME
1325## --------- ##
1326## Platform. ##
1327## --------- ##
1328
1329hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1330uname -m = `(uname -m) 2>/dev/null || echo unknown`
1331uname -r = `(uname -r) 2>/dev/null || echo unknown`
1332uname -s = `(uname -s) 2>/dev/null || echo unknown`
1333uname -v = `(uname -v) 2>/dev/null || echo unknown`
1334
1335/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1336/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1337
1338/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1339/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1340/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1341/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1342/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1343/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1344/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1345
1346_ASUNAME
1347
1348as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1349for as_dir in $PATH
1350do
1351  IFS=$as_save_IFS
1352  test -z "$as_dir" && as_dir=.
1353    $as_echo "PATH: $as_dir"
1354  done
1355IFS=$as_save_IFS
1356
1357} >&5
1358
1359cat >&5 <<_ACEOF
1360
1361
1362## ----------- ##
1363## Core tests. ##
1364## ----------- ##
1365
1366_ACEOF
1367
1368
1369# Keep a trace of the command line.
1370# Strip out --no-create and --no-recursion so they do not pile up.
1371# Strip out --silent because we don't want to record it for future runs.
1372# Also quote any args containing shell meta-characters.
1373# Make two passes to allow for proper duplicate-argument suppression.
1374ac_configure_args=
1375ac_configure_args0=
1376ac_configure_args1=
1377ac_must_keep_next=false
1378for ac_pass in 1 2
1379do
1380  for ac_arg
1381  do
1382    case $ac_arg in
1383    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1384    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1385    | -silent | --silent | --silen | --sile | --sil)
1386      continue ;;
1387    *\'*)
1388      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1389    esac
1390    case $ac_pass in
1391    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1392    2)
1393      as_fn_append ac_configure_args1 " '$ac_arg'"
1394      if test $ac_must_keep_next = true; then
1395	ac_must_keep_next=false # Got value, back to normal.
1396      else
1397	case $ac_arg in
1398	  *=* | --config-cache | -C | -disable-* | --disable-* \
1399	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1400	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1401	  | -with-* | --with-* | -without-* | --without-* | --x)
1402	    case "$ac_configure_args0 " in
1403	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1404	    esac
1405	    ;;
1406	  -* ) ac_must_keep_next=true ;;
1407	esac
1408      fi
1409      as_fn_append ac_configure_args " '$ac_arg'"
1410      ;;
1411    esac
1412  done
1413done
1414{ ac_configure_args0=; unset ac_configure_args0;}
1415{ ac_configure_args1=; unset ac_configure_args1;}
1416
1417# When interrupted or exit'd, cleanup temporary files, and complete
1418# config.log.  We remove comments because anyway the quotes in there
1419# would cause problems or look ugly.
1420# WARNING: Use '\'' to represent an apostrophe within the trap.
1421# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1422trap 'exit_status=$?
1423  # Save into config.log some information that might help in debugging.
1424  {
1425    echo
1426
1427    $as_echo "## ---------------- ##
1428## Cache variables. ##
1429## ---------------- ##"
1430    echo
1431    # The following way of writing the cache mishandles newlines in values,
1432(
1433  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1434    eval ac_val=\$$ac_var
1435    case $ac_val in #(
1436    *${as_nl}*)
1437      case $ac_var in #(
1438      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1439$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1440      esac
1441      case $ac_var in #(
1442      _ | IFS | as_nl) ;; #(
1443      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1444      *) { eval $ac_var=; unset $ac_var;} ;;
1445      esac ;;
1446    esac
1447  done
1448  (set) 2>&1 |
1449    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1450    *${as_nl}ac_space=\ *)
1451      sed -n \
1452	"s/'\''/'\''\\\\'\'''\''/g;
1453	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1454      ;; #(
1455    *)
1456      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1457      ;;
1458    esac |
1459    sort
1460)
1461    echo
1462
1463    $as_echo "## ----------------- ##
1464## Output variables. ##
1465## ----------------- ##"
1466    echo
1467    for ac_var in $ac_subst_vars
1468    do
1469      eval ac_val=\$$ac_var
1470      case $ac_val in
1471      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1472      esac
1473      $as_echo "$ac_var='\''$ac_val'\''"
1474    done | sort
1475    echo
1476
1477    if test -n "$ac_subst_files"; then
1478      $as_echo "## ------------------- ##
1479## File substitutions. ##
1480## ------------------- ##"
1481      echo
1482      for ac_var in $ac_subst_files
1483      do
1484	eval ac_val=\$$ac_var
1485	case $ac_val in
1486	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1487	esac
1488	$as_echo "$ac_var='\''$ac_val'\''"
1489      done | sort
1490      echo
1491    fi
1492
1493    if test -s confdefs.h; then
1494      $as_echo "## ----------- ##
1495## confdefs.h. ##
1496## ----------- ##"
1497      echo
1498      cat confdefs.h
1499      echo
1500    fi
1501    test "$ac_signal" != 0 &&
1502      $as_echo "$as_me: caught signal $ac_signal"
1503    $as_echo "$as_me: exit $exit_status"
1504  } >&5
1505  rm -f core *.core core.conftest.* &&
1506    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1507    exit $exit_status
1508' 0
1509for ac_signal in 1 2 13 15; do
1510  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1511done
1512ac_signal=0
1513
1514# confdefs.h avoids OS command line length limits that DEFS can exceed.
1515rm -f -r conftest* confdefs.h
1516
1517$as_echo "/* confdefs.h */" > confdefs.h
1518
1519# Predefined preprocessor variables.
1520
1521cat >>confdefs.h <<_ACEOF
1522#define PACKAGE_NAME "$PACKAGE_NAME"
1523_ACEOF
1524
1525cat >>confdefs.h <<_ACEOF
1526#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1527_ACEOF
1528
1529cat >>confdefs.h <<_ACEOF
1530#define PACKAGE_VERSION "$PACKAGE_VERSION"
1531_ACEOF
1532
1533cat >>confdefs.h <<_ACEOF
1534#define PACKAGE_STRING "$PACKAGE_STRING"
1535_ACEOF
1536
1537cat >>confdefs.h <<_ACEOF
1538#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1539_ACEOF
1540
1541cat >>confdefs.h <<_ACEOF
1542#define PACKAGE_URL "$PACKAGE_URL"
1543_ACEOF
1544
1545
1546# Let the site file select an alternate cache file if it wants to.
1547# Prefer an explicitly selected file to automatically selected ones.
1548ac_site_file1=NONE
1549ac_site_file2=NONE
1550if test -n "$CONFIG_SITE"; then
1551  # We do not want a PATH search for config.site.
1552  case $CONFIG_SITE in #((
1553    -*)  ac_site_file1=./$CONFIG_SITE;;
1554    */*) ac_site_file1=$CONFIG_SITE;;
1555    *)   ac_site_file1=./$CONFIG_SITE;;
1556  esac
1557elif test "x$prefix" != xNONE; then
1558  ac_site_file1=$prefix/share/config.site
1559  ac_site_file2=$prefix/etc/config.site
1560else
1561  ac_site_file1=$ac_default_prefix/share/config.site
1562  ac_site_file2=$ac_default_prefix/etc/config.site
1563fi
1564for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1565do
1566  test "x$ac_site_file" = xNONE && continue
1567  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1568    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1569$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1570    sed 's/^/| /' "$ac_site_file" >&5
1571    . "$ac_site_file" \
1572      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1573$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1574as_fn_error $? "failed to load site script $ac_site_file
1575See \`config.log' for more details" "$LINENO" 5; }
1576  fi
1577done
1578
1579if test -r "$cache_file"; then
1580  # Some versions of bash will fail to source /dev/null (special files
1581  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
1582  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1583    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1584$as_echo "$as_me: loading cache $cache_file" >&6;}
1585    case $cache_file in
1586      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1587      *)                      . "./$cache_file";;
1588    esac
1589  fi
1590else
1591  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1592$as_echo "$as_me: creating cache $cache_file" >&6;}
1593  >$cache_file
1594fi
1595
1596# Check that the precious variables saved in the cache have kept the same
1597# value.
1598ac_cache_corrupted=false
1599for ac_var in $ac_precious_vars; do
1600  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1601  eval ac_new_set=\$ac_env_${ac_var}_set
1602  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1603  eval ac_new_val=\$ac_env_${ac_var}_value
1604  case $ac_old_set,$ac_new_set in
1605    set,)
1606      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1607$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1608      ac_cache_corrupted=: ;;
1609    ,set)
1610      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1611$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1612      ac_cache_corrupted=: ;;
1613    ,);;
1614    *)
1615      if test "x$ac_old_val" != "x$ac_new_val"; then
1616	# differences in whitespace do not lead to failure.
1617	ac_old_val_w=`echo x $ac_old_val`
1618	ac_new_val_w=`echo x $ac_new_val`
1619	if test "$ac_old_val_w" != "$ac_new_val_w"; then
1620	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1621$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1622	  ac_cache_corrupted=:
1623	else
1624	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1625$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1626	  eval $ac_var=\$ac_old_val
1627	fi
1628	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1629$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1630	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1631$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1632      fi;;
1633  esac
1634  # Pass precious variables to config.status.
1635  if test "$ac_new_set" = set; then
1636    case $ac_new_val in
1637    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1638    *) ac_arg=$ac_var=$ac_new_val ;;
1639    esac
1640    case " $ac_configure_args " in
1641      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1642      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1643    esac
1644  fi
1645done
1646if $ac_cache_corrupted; then
1647  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1648$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1649  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1650$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1651  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1652fi
1653## -------------------- ##
1654## Main body of script. ##
1655## -------------------- ##
1656
1657ac_ext=c
1658ac_cpp='$CPP $CPPFLAGS'
1659ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1660ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1661ac_compiler_gnu=$ac_cv_c_compiler_gnu
1662
1663
1664
1665{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for third_party/openfst/Makefile" >&5
1666$as_echo_n "checking for third_party/openfst/Makefile... " >&6; }
1667if ${ac_cv_file_third_party_openfst_Makefile+:} false; then :
1668  $as_echo_n "(cached) " >&6
1669else
1670  test "$cross_compiling" = yes &&
1671  as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
1672if test -r "third_party/openfst/Makefile"; then
1673  ac_cv_file_third_party_openfst_Makefile=yes
1674else
1675  ac_cv_file_third_party_openfst_Makefile=no
1676fi
1677fi
1678{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file_third_party_openfst_Makefile" >&5
1679$as_echo "$ac_cv_file_third_party_openfst_Makefile" >&6; }
1680if test "x$ac_cv_file_third_party_openfst_Makefile" = xyes; then :
1681
1682else
1683  cd third_party/openfst && ./configure --enable-bin --enable-static --disable-shared && cd ../..
1684fi
1685
1686
1687ac_config_files="$ac_config_files Makefile"
1688
1689
1690cat >confcache <<\_ACEOF
1691# This file is a shell script that caches the results of configure
1692# tests run on this system so they can be shared between configure
1693# scripts and configure runs, see configure's option --config-cache.
1694# It is not useful on other systems.  If it contains results you don't
1695# want to keep, you may remove or edit it.
1696#
1697# config.status only pays attention to the cache file if you give it
1698# the --recheck option to rerun configure.
1699#
1700# `ac_cv_env_foo' variables (set or unset) will be overridden when
1701# loading this file, other *unset* `ac_cv_foo' will be assigned the
1702# following values.
1703
1704_ACEOF
1705
1706# The following way of writing the cache mishandles newlines in values,
1707# but we know of no workaround that is simple, portable, and efficient.
1708# So, we kill variables containing newlines.
1709# Ultrix sh set writes to stderr and can't be redirected directly,
1710# and sets the high bit in the cache file unless we assign to the vars.
1711(
1712  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
1713    eval ac_val=\$$ac_var
1714    case $ac_val in #(
1715    *${as_nl}*)
1716      case $ac_var in #(
1717      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1718$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1719      esac
1720      case $ac_var in #(
1721      _ | IFS | as_nl) ;; #(
1722      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1723      *) { eval $ac_var=; unset $ac_var;} ;;
1724      esac ;;
1725    esac
1726  done
1727
1728  (set) 2>&1 |
1729    case $as_nl`(ac_space=' '; set) 2>&1` in #(
1730    *${as_nl}ac_space=\ *)
1731      # `set' does not quote correctly, so add quotes: double-quote
1732      # substitution turns \\\\ into \\, and sed turns \\ into \.
1733      sed -n \
1734	"s/'/'\\\\''/g;
1735	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1736      ;; #(
1737    *)
1738      # `set' quotes correctly as required by POSIX, so do not add quotes.
1739      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1740      ;;
1741    esac |
1742    sort
1743) |
1744  sed '
1745     /^ac_cv_env_/b end
1746     t clear
1747     :clear
1748     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1749     t end
1750     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1751     :end' >>confcache
1752if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
1753  if test -w "$cache_file"; then
1754    if test "x$cache_file" != "x/dev/null"; then
1755      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
1756$as_echo "$as_me: updating cache $cache_file" >&6;}
1757      if test ! -f "$cache_file" || test -h "$cache_file"; then
1758	cat confcache >"$cache_file"
1759      else
1760        case $cache_file in #(
1761        */* | ?:*)
1762	  mv -f confcache "$cache_file"$$ &&
1763	  mv -f "$cache_file"$$ "$cache_file" ;; #(
1764        *)
1765	  mv -f confcache "$cache_file" ;;
1766	esac
1767      fi
1768    fi
1769  else
1770    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
1771$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1772  fi
1773fi
1774rm -f confcache
1775
1776test "x$prefix" = xNONE && prefix=$ac_default_prefix
1777# Let make expand exec_prefix.
1778test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1779
1780# Transform confdefs.h into DEFS.
1781# Protect against shell expansion while executing Makefile rules.
1782# Protect against Makefile macro expansion.
1783#
1784# If the first sed substitution is executed (which looks for macros that
1785# take arguments), then branch to the quote section.  Otherwise,
1786# look for a macro that doesn't take arguments.
1787ac_script='
1788:mline
1789/\\$/{
1790 N
1791 s,\\\n,,
1792 b mline
1793}
1794t clear
1795:clear
1796s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
1797t quote
1798s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
1799t quote
1800b any
1801:quote
1802s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
1803s/\[/\\&/g
1804s/\]/\\&/g
1805s/\$/$$/g
1806H
1807:any
1808${
1809	g
1810	s/^\n//
1811	s/\n/ /g
1812	p
1813}
1814'
1815DEFS=`sed -n "$ac_script" confdefs.h`
1816
1817
1818ac_libobjs=
1819ac_ltlibobjs=
1820U=
1821for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
1822  # 1. Remove the extension, and $U if already installed.
1823  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
1824  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
1825  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
1826  #    will be set to the directory where LIBOBJS objects are built.
1827  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
1828  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
1829done
1830LIBOBJS=$ac_libobjs
1831
1832LTLIBOBJS=$ac_ltlibobjs
1833
1834
1835
1836: "${CONFIG_STATUS=./config.status}"
1837ac_write_fail=0
1838ac_clean_files_save=$ac_clean_files
1839ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1840{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
1841$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
1842as_write_fail=0
1843cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
1844#! $SHELL
1845# Generated by $as_me.
1846# Run this file to recreate the current configuration.
1847# Compiler output produced by configure, useful for debugging
1848# configure, is in config.log if it exists.
1849
1850debug=false
1851ac_cs_recheck=false
1852ac_cs_silent=false
1853
1854SHELL=\${CONFIG_SHELL-$SHELL}
1855export SHELL
1856_ASEOF
1857cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
1858## -------------------- ##
1859## M4sh Initialization. ##
1860## -------------------- ##
1861
1862# Be more Bourne compatible
1863DUALCASE=1; export DUALCASE # for MKS sh
1864if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1865  emulate sh
1866  NULLCMD=:
1867  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1868  # is contrary to our usage.  Disable this feature.
1869  alias -g '${1+"$@"}'='"$@"'
1870  setopt NO_GLOB_SUBST
1871else
1872  case `(set -o) 2>/dev/null` in #(
1873  *posix*) :
1874    set -o posix ;; #(
1875  *) :
1876     ;;
1877esac
1878fi
1879
1880
1881as_nl='
1882'
1883export as_nl
1884# Printing a long string crashes Solaris 7 /usr/bin/printf.
1885as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
1886as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
1887as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
1888# Prefer a ksh shell builtin over an external printf program on Solaris,
1889# but without wasting forks for bash or zsh.
1890if test -z "$BASH_VERSION$ZSH_VERSION" \
1891    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
1892  as_echo='print -r --'
1893  as_echo_n='print -rn --'
1894elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
1895  as_echo='printf %s\n'
1896  as_echo_n='printf %s'
1897else
1898  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
1899    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
1900    as_echo_n='/usr/ucb/echo -n'
1901  else
1902    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
1903    as_echo_n_body='eval
1904      arg=$1;
1905      case $arg in #(
1906      *"$as_nl"*)
1907	expr "X$arg" : "X\\(.*\\)$as_nl";
1908	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
1909      esac;
1910      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
1911    '
1912    export as_echo_n_body
1913    as_echo_n='sh -c $as_echo_n_body as_echo'
1914  fi
1915  export as_echo_body
1916  as_echo='sh -c $as_echo_body as_echo'
1917fi
1918
1919# The user is always right.
1920if test "${PATH_SEPARATOR+set}" != set; then
1921  PATH_SEPARATOR=:
1922  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
1923    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
1924      PATH_SEPARATOR=';'
1925  }
1926fi
1927
1928
1929# IFS
1930# We need space, tab and new line, in precisely that order.  Quoting is
1931# there to prevent editors from complaining about space-tab.
1932# (If _AS_PATH_WALK were called with IFS unset, it would disable word
1933# splitting by setting IFS to empty value.)
1934IFS=" ""	$as_nl"
1935
1936# Find who we are.  Look in the path if we contain no directory separator.
1937as_myself=
1938case $0 in #((
1939  *[\\/]* ) as_myself=$0 ;;
1940  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1941for as_dir in $PATH
1942do
1943  IFS=$as_save_IFS
1944  test -z "$as_dir" && as_dir=.
1945    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1946  done
1947IFS=$as_save_IFS
1948
1949     ;;
1950esac
1951# We did not find ourselves, most probably we were run as `sh COMMAND'
1952# in which case we are not to be found in the path.
1953if test "x$as_myself" = x; then
1954  as_myself=$0
1955fi
1956if test ! -f "$as_myself"; then
1957  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1958  exit 1
1959fi
1960
1961# Unset variables that we do not need and which cause bugs (e.g. in
1962# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
1963# suppresses any "Segmentation fault" message there.  '((' could
1964# trigger a bug in pdksh 5.2.14.
1965for as_var in BASH_ENV ENV MAIL MAILPATH
1966do eval test x\${$as_var+set} = xset \
1967  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
1968done
1969PS1='$ '
1970PS2='> '
1971PS4='+ '
1972
1973# NLS nuisances.
1974LC_ALL=C
1975export LC_ALL
1976LANGUAGE=C
1977export LANGUAGE
1978
1979# CDPATH.
1980(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
1981
1982
1983# as_fn_error STATUS ERROR [LINENO LOG_FD]
1984# ----------------------------------------
1985# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
1986# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
1987# script with STATUS, using 1 if that was 0.
1988as_fn_error ()
1989{
1990  as_status=$1; test $as_status -eq 0 && as_status=1
1991  if test "$4"; then
1992    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1993    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
1994  fi
1995  $as_echo "$as_me: error: $2" >&2
1996  as_fn_exit $as_status
1997} # as_fn_error
1998
1999
2000# as_fn_set_status STATUS
2001# -----------------------
2002# Set $? to STATUS, without forking.
2003as_fn_set_status ()
2004{
2005  return $1
2006} # as_fn_set_status
2007
2008# as_fn_exit STATUS
2009# -----------------
2010# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2011as_fn_exit ()
2012{
2013  set +e
2014  as_fn_set_status $1
2015  exit $1
2016} # as_fn_exit
2017
2018# as_fn_unset VAR
2019# ---------------
2020# Portably unset VAR.
2021as_fn_unset ()
2022{
2023  { eval $1=; unset $1;}
2024}
2025as_unset=as_fn_unset
2026# as_fn_append VAR VALUE
2027# ----------------------
2028# Append the text in VALUE to the end of the definition contained in VAR. Take
2029# advantage of any shell optimizations that allow amortized linear growth over
2030# repeated appends, instead of the typical quadratic growth present in naive
2031# implementations.
2032if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
2033  eval 'as_fn_append ()
2034  {
2035    eval $1+=\$2
2036  }'
2037else
2038  as_fn_append ()
2039  {
2040    eval $1=\$$1\$2
2041  }
2042fi # as_fn_append
2043
2044# as_fn_arith ARG...
2045# ------------------
2046# Perform arithmetic evaluation on the ARGs, and store the result in the
2047# global $as_val. Take advantage of shells that can avoid forks. The arguments
2048# must be portable across $(()) and expr.
2049if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
2050  eval 'as_fn_arith ()
2051  {
2052    as_val=$(( $* ))
2053  }'
2054else
2055  as_fn_arith ()
2056  {
2057    as_val=`expr "$@" || test $? -eq 1`
2058  }
2059fi # as_fn_arith
2060
2061
2062if expr a : '\(a\)' >/dev/null 2>&1 &&
2063   test "X`expr 00001 : '.*\(...\)'`" = X001; then
2064  as_expr=expr
2065else
2066  as_expr=false
2067fi
2068
2069if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2070  as_basename=basename
2071else
2072  as_basename=false
2073fi
2074
2075if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2076  as_dirname=dirname
2077else
2078  as_dirname=false
2079fi
2080
2081as_me=`$as_basename -- "$0" ||
2082$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2083	 X"$0" : 'X\(//\)$' \| \
2084	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2085$as_echo X/"$0" |
2086    sed '/^.*\/\([^/][^/]*\)\/*$/{
2087	    s//\1/
2088	    q
2089	  }
2090	  /^X\/\(\/\/\)$/{
2091	    s//\1/
2092	    q
2093	  }
2094	  /^X\/\(\/\).*/{
2095	    s//\1/
2096	    q
2097	  }
2098	  s/.*/./; q'`
2099
2100# Avoid depending upon Character Ranges.
2101as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2102as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2103as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2104as_cr_digits='0123456789'
2105as_cr_alnum=$as_cr_Letters$as_cr_digits
2106
2107ECHO_C= ECHO_N= ECHO_T=
2108case `echo -n x` in #(((((
2109-n*)
2110  case `echo 'xy\c'` in
2111  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
2112  xy)  ECHO_C='\c';;
2113  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
2114       ECHO_T='	';;
2115  esac;;
2116*)
2117  ECHO_N='-n';;
2118esac
2119
2120rm -f conf$$ conf$$.exe conf$$.file
2121if test -d conf$$.dir; then
2122  rm -f conf$$.dir/conf$$.file
2123else
2124  rm -f conf$$.dir
2125  mkdir conf$$.dir 2>/dev/null
2126fi
2127if (echo >conf$$.file) 2>/dev/null; then
2128  if ln -s conf$$.file conf$$ 2>/dev/null; then
2129    as_ln_s='ln -s'
2130    # ... but there are two gotchas:
2131    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2132    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2133    # In both cases, we have to default to `cp -pR'.
2134    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2135      as_ln_s='cp -pR'
2136  elif ln conf$$.file conf$$ 2>/dev/null; then
2137    as_ln_s=ln
2138  else
2139    as_ln_s='cp -pR'
2140  fi
2141else
2142  as_ln_s='cp -pR'
2143fi
2144rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2145rmdir conf$$.dir 2>/dev/null
2146
2147
2148# as_fn_mkdir_p
2149# -------------
2150# Create "$as_dir" as a directory, including parents if necessary.
2151as_fn_mkdir_p ()
2152{
2153
2154  case $as_dir in #(
2155  -*) as_dir=./$as_dir;;
2156  esac
2157  test -d "$as_dir" || eval $as_mkdir_p || {
2158    as_dirs=
2159    while :; do
2160      case $as_dir in #(
2161      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2162      *) as_qdir=$as_dir;;
2163      esac
2164      as_dirs="'$as_qdir' $as_dirs"
2165      as_dir=`$as_dirname -- "$as_dir" ||
2166$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2167	 X"$as_dir" : 'X\(//\)[^/]' \| \
2168	 X"$as_dir" : 'X\(//\)$' \| \
2169	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2170$as_echo X"$as_dir" |
2171    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2172	    s//\1/
2173	    q
2174	  }
2175	  /^X\(\/\/\)[^/].*/{
2176	    s//\1/
2177	    q
2178	  }
2179	  /^X\(\/\/\)$/{
2180	    s//\1/
2181	    q
2182	  }
2183	  /^X\(\/\).*/{
2184	    s//\1/
2185	    q
2186	  }
2187	  s/.*/./; q'`
2188      test -d "$as_dir" && break
2189    done
2190    test -z "$as_dirs" || eval "mkdir $as_dirs"
2191  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
2192
2193
2194} # as_fn_mkdir_p
2195if mkdir -p . 2>/dev/null; then
2196  as_mkdir_p='mkdir -p "$as_dir"'
2197else
2198  test -d ./-p && rmdir ./-p
2199  as_mkdir_p=false
2200fi
2201
2202
2203# as_fn_executable_p FILE
2204# -----------------------
2205# Test if FILE is an executable regular file.
2206as_fn_executable_p ()
2207{
2208  test -f "$1" && test -x "$1"
2209} # as_fn_executable_p
2210as_test_x='test -x'
2211as_executable_p=as_fn_executable_p
2212
2213# Sed expression to map a string onto a valid CPP name.
2214as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2215
2216# Sed expression to map a string onto a valid variable name.
2217as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2218
2219
2220exec 6>&1
2221## ----------------------------------- ##
2222## Main body of $CONFIG_STATUS script. ##
2223## ----------------------------------- ##
2224_ASEOF
2225test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
2226
2227cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2228# Save the log message, to keep $0 and so on meaningful, and to
2229# report actual input values of CONFIG_FILES etc. instead of their
2230# values after options handling.
2231ac_log="
2232This file was extended by regex2dfa $as_me 0.0.1, which was
2233generated by GNU Autoconf 2.69.  Invocation command line was
2234
2235  CONFIG_FILES    = $CONFIG_FILES
2236  CONFIG_HEADERS  = $CONFIG_HEADERS
2237  CONFIG_LINKS    = $CONFIG_LINKS
2238  CONFIG_COMMANDS = $CONFIG_COMMANDS
2239  $ $0 $@
2240
2241on `(hostname || uname -n) 2>/dev/null | sed 1q`
2242"
2243
2244_ACEOF
2245
2246case $ac_config_files in *"
2247"*) set x $ac_config_files; shift; ac_config_files=$*;;
2248esac
2249
2250
2251
2252cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2253# Files that config.status was made for.
2254config_files="$ac_config_files"
2255
2256_ACEOF
2257
2258cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2259ac_cs_usage="\
2260\`$as_me' instantiates files and other configuration actions
2261from templates according to the current configuration.  Unless the files
2262and actions are specified as TAGs, all are instantiated by default.
2263
2264Usage: $0 [OPTION]... [TAG]...
2265
2266  -h, --help       print this help, then exit
2267  -V, --version    print version number and configuration settings, then exit
2268      --config     print configuration, then exit
2269  -q, --quiet, --silent
2270                   do not print progress messages
2271  -d, --debug      don't remove temporary files
2272      --recheck    update $as_me by reconfiguring in the same conditions
2273      --file=FILE[:TEMPLATE]
2274                   instantiate the configuration file FILE
2275
2276Configuration files:
2277$config_files
2278
2279Report bugs to the package provider."
2280
2281_ACEOF
2282cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2283ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
2284ac_cs_version="\\
2285regex2dfa config.status 0.0.1
2286configured by $0, generated by GNU Autoconf 2.69,
2287  with options \\"\$ac_cs_config\\"
2288
2289Copyright (C) 2012 Free Software Foundation, Inc.
2290This config.status script is free software; the Free Software Foundation
2291gives unlimited permission to copy, distribute and modify it."
2292
2293ac_pwd='$ac_pwd'
2294srcdir='$srcdir'
2295test -n "\$AWK" || AWK=awk
2296_ACEOF
2297
2298cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2299# The default lists apply if the user does not specify any file.
2300ac_need_defaults=:
2301while test $# != 0
2302do
2303  case $1 in
2304  --*=?*)
2305    ac_option=`expr "X$1" : 'X\([^=]*\)='`
2306    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2307    ac_shift=:
2308    ;;
2309  --*=)
2310    ac_option=`expr "X$1" : 'X\([^=]*\)='`
2311    ac_optarg=
2312    ac_shift=:
2313    ;;
2314  *)
2315    ac_option=$1
2316    ac_optarg=$2
2317    ac_shift=shift
2318    ;;
2319  esac
2320
2321  case $ac_option in
2322  # Handling of the options.
2323  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2324    ac_cs_recheck=: ;;
2325  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2326    $as_echo "$ac_cs_version"; exit ;;
2327  --config | --confi | --conf | --con | --co | --c )
2328    $as_echo "$ac_cs_config"; exit ;;
2329  --debug | --debu | --deb | --de | --d | -d )
2330    debug=: ;;
2331  --file | --fil | --fi | --f )
2332    $ac_shift
2333    case $ac_optarg in
2334    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
2335    '') as_fn_error $? "missing file argument" ;;
2336    esac
2337    as_fn_append CONFIG_FILES " '$ac_optarg'"
2338    ac_need_defaults=false;;
2339  --he | --h |  --help | --hel | -h )
2340    $as_echo "$ac_cs_usage"; exit ;;
2341  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2342  | -silent | --silent | --silen | --sile | --sil | --si | --s)
2343    ac_cs_silent=: ;;
2344
2345  # This is an error.
2346  -*) as_fn_error $? "unrecognized option: \`$1'
2347Try \`$0 --help' for more information." ;;
2348
2349  *) as_fn_append ac_config_targets " $1"
2350     ac_need_defaults=false ;;
2351
2352  esac
2353  shift
2354done
2355
2356ac_configure_extra_args=
2357
2358if $ac_cs_silent; then
2359  exec 6>/dev/null
2360  ac_configure_extra_args="$ac_configure_extra_args --silent"
2361fi
2362
2363_ACEOF
2364cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2365if \$ac_cs_recheck; then
2366  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2367  shift
2368  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
2369  CONFIG_SHELL='$SHELL'
2370  export CONFIG_SHELL
2371  exec "\$@"
2372fi
2373
2374_ACEOF
2375cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2376exec 5>>config.log
2377{
2378  echo
2379  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2380## Running $as_me. ##
2381_ASBOX
2382  $as_echo "$ac_log"
2383} >&5
2384
2385_ACEOF
2386cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2387_ACEOF
2388
2389cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2390
2391# Handling of arguments.
2392for ac_config_target in $ac_config_targets
2393do
2394  case $ac_config_target in
2395    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2396
2397  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
2398  esac
2399done
2400
2401
2402# If the user did not use the arguments to specify the items to instantiate,
2403# then the envvar interface is used.  Set only those that are not.
2404# We use the long form for the default assignment because of an extremely
2405# bizarre bug on SunOS 4.1.3.
2406if $ac_need_defaults; then
2407  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2408fi
2409
2410# Have a temporary directory for convenience.  Make it in the build tree
2411# simply because there is no reason against having it here, and in addition,
2412# creating and moving files from /tmp can sometimes cause problems.
2413# Hook for its removal unless debugging.
2414# Note that there is a small window in which the directory will not be cleaned:
2415# after its creation but before its name has been assigned to `$tmp'.
2416$debug ||
2417{
2418  tmp= ac_tmp=
2419  trap 'exit_status=$?
2420  : "${ac_tmp:=$tmp}"
2421  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
2422' 0
2423  trap 'as_fn_exit 1' 1 2 13 15
2424}
2425# Create a (secure) tmp directory for tmp files.
2426
2427{
2428  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
2429  test -d "$tmp"
2430}  ||
2431{
2432  tmp=./conf$$-$RANDOM
2433  (umask 077 && mkdir "$tmp")
2434} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
2435ac_tmp=$tmp
2436
2437# Set up the scripts for CONFIG_FILES section.
2438# No need to generate them if there are no CONFIG_FILES.
2439# This happens for instance with `./config.status config.h'.
2440if test -n "$CONFIG_FILES"; then
2441
2442
2443ac_cr=`echo X | tr X '\015'`
2444# On cygwin, bash can eat \r inside `` if the user requested igncr.
2445# But we know of no other shell where ac_cr would be empty at this
2446# point, so we can use a bashism as a fallback.
2447if test "x$ac_cr" = x; then
2448  eval ac_cr=\$\'\\r\'
2449fi
2450ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
2451if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
2452  ac_cs_awk_cr='\\r'
2453else
2454  ac_cs_awk_cr=$ac_cr
2455fi
2456
2457echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
2458_ACEOF
2459
2460
2461{
2462  echo "cat >conf$$subs.awk <<_ACEOF" &&
2463  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
2464  echo "_ACEOF"
2465} >conf$$subs.sh ||
2466  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
2467ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
2468ac_delim='%!_!# '
2469for ac_last_try in false false false false false :; do
2470  . ./conf$$subs.sh ||
2471    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
2472
2473  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
2474  if test $ac_delim_n = $ac_delim_num; then
2475    break
2476  elif $ac_last_try; then
2477    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
2478  else
2479    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
2480  fi
2481done
2482rm -f conf$$subs.sh
2483
2484cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2485cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
2486_ACEOF
2487sed -n '
2488h
2489s/^/S["/; s/!.*/"]=/
2490p
2491g
2492s/^[^!]*!//
2493:repl
2494t repl
2495s/'"$ac_delim"'$//
2496t delim
2497:nl
2498h
2499s/\(.\{148\}\)..*/\1/
2500t more1
2501s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
2502p
2503n
2504b repl
2505:more1
2506s/["\\]/\\&/g; s/^/"/; s/$/"\\/
2507p
2508g
2509s/.\{148\}//
2510t nl
2511:delim
2512h
2513s/\(.\{148\}\)..*/\1/
2514t more2
2515s/["\\]/\\&/g; s/^/"/; s/$/"/
2516p
2517b
2518:more2
2519s/["\\]/\\&/g; s/^/"/; s/$/"\\/
2520p
2521g
2522s/.\{148\}//
2523t delim
2524' <conf$$subs.awk | sed '
2525/^[^""]/{
2526  N
2527  s/\n//
2528}
2529' >>$CONFIG_STATUS || ac_write_fail=1
2530rm -f conf$$subs.awk
2531cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2532_ACAWK
2533cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
2534  for (key in S) S_is_set[key] = 1
2535  FS = ""
2536
2537}
2538{
2539  line = $ 0
2540  nfields = split(line, field, "@")
2541  substed = 0
2542  len = length(field[1])
2543  for (i = 2; i < nfields; i++) {
2544    key = field[i]
2545    keylen = length(key)
2546    if (S_is_set[key]) {
2547      value = S[key]
2548      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
2549      len += length(value) + length(field[++i])
2550      substed = 1
2551    } else
2552      len += 1 + keylen
2553  }
2554
2555  print line
2556}
2557
2558_ACAWK
2559_ACEOF
2560cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2561if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
2562  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
2563else
2564  cat
2565fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
2566  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
2567_ACEOF
2568
2569# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
2570# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
2571# trailing colons and then remove the whole line if VPATH becomes empty
2572# (actually we leave an empty line to preserve line numbers).
2573if test "x$srcdir" = x.; then
2574  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
2575h
2576s///
2577s/^/:/
2578s/[	 ]*$/:/
2579s/:\$(srcdir):/:/g
2580s/:\${srcdir}:/:/g
2581s/:@srcdir@:/:/g
2582s/^:*//
2583s/:*$//
2584x
2585s/\(=[	 ]*\).*/\1/
2586G
2587s/\n//
2588s/^[^=]*=[	 ]*$//
2589}'
2590fi
2591
2592cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2593fi # test -n "$CONFIG_FILES"
2594
2595
2596eval set X "  :F $CONFIG_FILES      "
2597shift
2598for ac_tag
2599do
2600  case $ac_tag in
2601  :[FHLC]) ac_mode=$ac_tag; continue;;
2602  esac
2603  case $ac_mode$ac_tag in
2604  :[FHL]*:*);;
2605  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
2606  :[FH]-) ac_tag=-:-;;
2607  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
2608  esac
2609  ac_save_IFS=$IFS
2610  IFS=:
2611  set x $ac_tag
2612  IFS=$ac_save_IFS
2613  shift
2614  ac_file=$1
2615  shift
2616
2617  case $ac_mode in
2618  :L) ac_source=$1;;
2619  :[FH])
2620    ac_file_inputs=
2621    for ac_f
2622    do
2623      case $ac_f in
2624      -) ac_f="$ac_tmp/stdin";;
2625      *) # Look for the file first in the build tree, then in the source tree
2626	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
2627	 # because $ac_f cannot contain `:'.
2628	 test -f "$ac_f" ||
2629	   case $ac_f in
2630	   [\\/$]*) false;;
2631	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
2632	   esac ||
2633	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
2634      esac
2635      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
2636      as_fn_append ac_file_inputs " '$ac_f'"
2637    done
2638
2639    # Let's still pretend it is `configure' which instantiates (i.e., don't
2640    # use $as_me), people would be surprised to read:
2641    #    /* config.h.  Generated by config.status.  */
2642    configure_input='Generated from '`
2643	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
2644	`' by configure.'
2645    if test x"$ac_file" != x-; then
2646      configure_input="$ac_file.  $configure_input"
2647      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
2648$as_echo "$as_me: creating $ac_file" >&6;}
2649    fi
2650    # Neutralize special characters interpreted by sed in replacement strings.
2651    case $configure_input in #(
2652    *\&* | *\|* | *\\* )
2653       ac_sed_conf_input=`$as_echo "$configure_input" |
2654       sed 's/[\\\\&|]/\\\\&/g'`;; #(
2655    *) ac_sed_conf_input=$configure_input;;
2656    esac
2657
2658    case $ac_tag in
2659    *:-:* | *:-) cat >"$ac_tmp/stdin" \
2660      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
2661    esac
2662    ;;
2663  esac
2664
2665  ac_dir=`$as_dirname -- "$ac_file" ||
2666$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2667	 X"$ac_file" : 'X\(//\)[^/]' \| \
2668	 X"$ac_file" : 'X\(//\)$' \| \
2669	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
2670$as_echo X"$ac_file" |
2671    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2672	    s//\1/
2673	    q
2674	  }
2675	  /^X\(\/\/\)[^/].*/{
2676	    s//\1/
2677	    q
2678	  }
2679	  /^X\(\/\/\)$/{
2680	    s//\1/
2681	    q
2682	  }
2683	  /^X\(\/\).*/{
2684	    s//\1/
2685	    q
2686	  }
2687	  s/.*/./; q'`
2688  as_dir="$ac_dir"; as_fn_mkdir_p
2689  ac_builddir=.
2690
2691case "$ac_dir" in
2692.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2693*)
2694  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2695  # A ".." for each directory in $ac_dir_suffix.
2696  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2697  case $ac_top_builddir_sub in
2698  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2699  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2700  esac ;;
2701esac
2702ac_abs_top_builddir=$ac_pwd
2703ac_abs_builddir=$ac_pwd$ac_dir_suffix
2704# for backward compatibility:
2705ac_top_builddir=$ac_top_build_prefix
2706
2707case $srcdir in
2708  .)  # We are building in place.
2709    ac_srcdir=.
2710    ac_top_srcdir=$ac_top_builddir_sub
2711    ac_abs_top_srcdir=$ac_pwd ;;
2712  [\\/]* | ?:[\\/]* )  # Absolute name.
2713    ac_srcdir=$srcdir$ac_dir_suffix;
2714    ac_top_srcdir=$srcdir
2715    ac_abs_top_srcdir=$srcdir ;;
2716  *) # Relative name.
2717    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2718    ac_top_srcdir=$ac_top_build_prefix$srcdir
2719    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2720esac
2721ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2722
2723
2724  case $ac_mode in
2725  :F)
2726  #
2727  # CONFIG_FILE
2728  #
2729
2730_ACEOF
2731
2732cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2733# If the template does not know about datarootdir, expand it.
2734# FIXME: This hack should be removed a few years after 2.60.
2735ac_datarootdir_hack=; ac_datarootdir_seen=
2736ac_sed_dataroot='
2737/datarootdir/ {
2738  p
2739  q
2740}
2741/@datadir@/p
2742/@docdir@/p
2743/@infodir@/p
2744/@localedir@/p
2745/@mandir@/p'
2746case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
2747*datarootdir*) ac_datarootdir_seen=yes;;
2748*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
2749  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
2750$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
2751_ACEOF
2752cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2753  ac_datarootdir_hack='
2754  s&@datadir@&$datadir&g
2755  s&@docdir@&$docdir&g
2756  s&@infodir@&$infodir&g
2757  s&@localedir@&$localedir&g
2758  s&@mandir@&$mandir&g
2759  s&\\\${datarootdir}&$datarootdir&g' ;;
2760esac
2761_ACEOF
2762
2763# Neutralize VPATH when `$srcdir' = `.'.
2764# Shell code in configure.ac might set extrasub.
2765# FIXME: do we really want to maintain this feature?
2766cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2767ac_sed_extra="$ac_vpsub
2768$extrasub
2769_ACEOF
2770cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2771:t
2772/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2773s|@configure_input@|$ac_sed_conf_input|;t t
2774s&@top_builddir@&$ac_top_builddir_sub&;t t
2775s&@top_build_prefix@&$ac_top_build_prefix&;t t
2776s&@srcdir@&$ac_srcdir&;t t
2777s&@abs_srcdir@&$ac_abs_srcdir&;t t
2778s&@top_srcdir@&$ac_top_srcdir&;t t
2779s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
2780s&@builddir@&$ac_builddir&;t t
2781s&@abs_builddir@&$ac_abs_builddir&;t t
2782s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
2783$ac_datarootdir_hack
2784"
2785eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
2786  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
2787
2788test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
2789  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
2790  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
2791      "$ac_tmp/out"`; test -z "$ac_out"; } &&
2792  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
2793which seems to be undefined.  Please make sure it is defined" >&5
2794$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
2795which seems to be undefined.  Please make sure it is defined" >&2;}
2796
2797  rm -f "$ac_tmp/stdin"
2798  case $ac_file in
2799  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
2800  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
2801  esac \
2802  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
2803 ;;
2804
2805
2806
2807  esac
2808
2809done # for ac_tag
2810
2811
2812as_fn_exit 0
2813_ACEOF
2814ac_clean_files=$ac_clean_files_save
2815
2816test $ac_write_fail = 0 ||
2817  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
2818
2819
2820# configure is writing to config.log, and then calls config.status.
2821# config.status does its own redirection, appending to config.log.
2822# Unfortunately, on DOS this fails, as config.log is still kept open
2823# by configure, so config.status won't be able to write to it; its
2824# output is simply discarded.  So we exec the FD to /dev/null,
2825# effectively closing config.log, so it can be properly (re)opened and
2826# appended to by config.status.  When coming back to configure, we
2827# need to make the FD available again.
2828if test "$no_create" != yes; then
2829  ac_cs_success=:
2830  ac_config_status_args=
2831  test "$silent" = yes &&
2832    ac_config_status_args="$ac_config_status_args --quiet"
2833  exec 5>/dev/null
2834  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
2835  exec 5>>config.log
2836  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2837  # would make configure fail if this is the last instruction.
2838  $ac_cs_success || as_fn_exit 1
2839fi
2840if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
2841  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
2842$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
2843fi
2844
2845