1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69.
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=
578PACKAGE_TARNAME=
579PACKAGE_VERSION=
580PACKAGE_STRING=
581PACKAGE_BUGREPORT=
582PACKAGE_URL=
583
584ac_unique_file="bibtex.mli"
585ac_subst_vars='LTLIBOBJS
586LIBOBJS
587enable_doc
588EXE
589CAMLLIB
590OCAMLVERSION
591OCAMLBEST
592PDFLATEX
593PERL
594OCAMLDEP
595OCAMLLEXDOTOPT
596OCAMLLEX
597OCAMLOPTDOTOPT
598OCAMLCDOTOPT
599OCAMLOPT
600OCAMLC
601target_alias
602host_alias
603build_alias
604LIBS
605ECHO_T
606ECHO_N
607ECHO_C
608DEFS
609mandir
610localedir
611libdir
612psdir
613pdfdir
614dvidir
615htmldir
616infodir
617docdir
618oldincludedir
619includedir
620runstatedir
621localstatedir
622sharedstatedir
623sysconfdir
624datadir
625datarootdir
626libexecdir
627sbindir
628bindir
629program_transform_name
630prefix
631exec_prefix
632PACKAGE_URL
633PACKAGE_BUGREPORT
634PACKAGE_STRING
635PACKAGE_VERSION
636PACKAGE_TARNAME
637PACKAGE_NAME
638PATH_SEPARATOR
639SHELL'
640ac_subst_files=''
641ac_user_opts='
642enable_option_checking
643enable_doc
644'
645      ac_precious_vars='build_alias
646host_alias
647target_alias'
648
649
650# Initialize some variables set by options.
651ac_init_help=
652ac_init_version=false
653ac_unrecognized_opts=
654ac_unrecognized_sep=
655# The variables have the same names as the options, with
656# dashes changed to underlines.
657cache_file=/dev/null
658exec_prefix=NONE
659no_create=
660no_recursion=
661prefix=NONE
662program_prefix=NONE
663program_suffix=NONE
664program_transform_name=s,x,x,
665silent=
666site=
667srcdir=
668verbose=
669x_includes=NONE
670x_libraries=NONE
671
672# Installation directory options.
673# These are left unexpanded so users can "make install exec_prefix=/foo"
674# and all the variables that are supposed to be based on exec_prefix
675# by default will actually change.
676# Use braces instead of parens because sh, perl, etc. also accept them.
677# (The list follows the same order as the GNU Coding Standards.)
678bindir='${exec_prefix}/bin'
679sbindir='${exec_prefix}/sbin'
680libexecdir='${exec_prefix}/libexec'
681datarootdir='${prefix}/share'
682datadir='${datarootdir}'
683sysconfdir='${prefix}/etc'
684sharedstatedir='${prefix}/com'
685localstatedir='${prefix}/var'
686runstatedir='${localstatedir}/run'
687includedir='${prefix}/include'
688oldincludedir='/usr/include'
689docdir='${datarootdir}/doc/${PACKAGE}'
690infodir='${datarootdir}/info'
691htmldir='${docdir}'
692dvidir='${docdir}'
693pdfdir='${docdir}'
694psdir='${docdir}'
695libdir='${exec_prefix}/lib'
696localedir='${datarootdir}/locale'
697mandir='${datarootdir}/man'
698
699ac_prev=
700ac_dashdash=
701for ac_option
702do
703  # If the previous option needs an argument, assign it.
704  if test -n "$ac_prev"; then
705    eval $ac_prev=\$ac_option
706    ac_prev=
707    continue
708  fi
709
710  case $ac_option in
711  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
712  *=)   ac_optarg= ;;
713  *)    ac_optarg=yes ;;
714  esac
715
716  # Accept the important Cygnus configure options, so we can diagnose typos.
717
718  case $ac_dashdash$ac_option in
719  --)
720    ac_dashdash=yes ;;
721
722  -bindir | --bindir | --bindi | --bind | --bin | --bi)
723    ac_prev=bindir ;;
724  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
725    bindir=$ac_optarg ;;
726
727  -build | --build | --buil | --bui | --bu)
728    ac_prev=build_alias ;;
729  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
730    build_alias=$ac_optarg ;;
731
732  -cache-file | --cache-file | --cache-fil | --cache-fi \
733  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
734    ac_prev=cache_file ;;
735  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
736  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
737    cache_file=$ac_optarg ;;
738
739  --config-cache | -C)
740    cache_file=config.cache ;;
741
742  -datadir | --datadir | --datadi | --datad)
743    ac_prev=datadir ;;
744  -datadir=* | --datadir=* | --datadi=* | --datad=*)
745    datadir=$ac_optarg ;;
746
747  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
748  | --dataroo | --dataro | --datar)
749    ac_prev=datarootdir ;;
750  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
751  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
752    datarootdir=$ac_optarg ;;
753
754  -disable-* | --disable-*)
755    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
756    # Reject names that are not valid shell variable names.
757    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
758      as_fn_error $? "invalid feature name: $ac_useropt"
759    ac_useropt_orig=$ac_useropt
760    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
761    case $ac_user_opts in
762      *"
763"enable_$ac_useropt"
764"*) ;;
765      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
766	 ac_unrecognized_sep=', ';;
767    esac
768    eval enable_$ac_useropt=no ;;
769
770  -docdir | --docdir | --docdi | --doc | --do)
771    ac_prev=docdir ;;
772  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
773    docdir=$ac_optarg ;;
774
775  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
776    ac_prev=dvidir ;;
777  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
778    dvidir=$ac_optarg ;;
779
780  -enable-* | --enable-*)
781    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
782    # Reject names that are not valid shell variable names.
783    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
784      as_fn_error $? "invalid feature name: $ac_useropt"
785    ac_useropt_orig=$ac_useropt
786    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
787    case $ac_user_opts in
788      *"
789"enable_$ac_useropt"
790"*) ;;
791      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
792	 ac_unrecognized_sep=', ';;
793    esac
794    eval enable_$ac_useropt=\$ac_optarg ;;
795
796  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
797  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
798  | --exec | --exe | --ex)
799    ac_prev=exec_prefix ;;
800  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
801  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
802  | --exec=* | --exe=* | --ex=*)
803    exec_prefix=$ac_optarg ;;
804
805  -gas | --gas | --ga | --g)
806    # Obsolete; use --with-gas.
807    with_gas=yes ;;
808
809  -help | --help | --hel | --he | -h)
810    ac_init_help=long ;;
811  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
812    ac_init_help=recursive ;;
813  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
814    ac_init_help=short ;;
815
816  -host | --host | --hos | --ho)
817    ac_prev=host_alias ;;
818  -host=* | --host=* | --hos=* | --ho=*)
819    host_alias=$ac_optarg ;;
820
821  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
822    ac_prev=htmldir ;;
823  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
824  | --ht=*)
825    htmldir=$ac_optarg ;;
826
827  -includedir | --includedir | --includedi | --included | --include \
828  | --includ | --inclu | --incl | --inc)
829    ac_prev=includedir ;;
830  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
831  | --includ=* | --inclu=* | --incl=* | --inc=*)
832    includedir=$ac_optarg ;;
833
834  -infodir | --infodir | --infodi | --infod | --info | --inf)
835    ac_prev=infodir ;;
836  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
837    infodir=$ac_optarg ;;
838
839  -libdir | --libdir | --libdi | --libd)
840    ac_prev=libdir ;;
841  -libdir=* | --libdir=* | --libdi=* | --libd=*)
842    libdir=$ac_optarg ;;
843
844  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
845  | --libexe | --libex | --libe)
846    ac_prev=libexecdir ;;
847  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
848  | --libexe=* | --libex=* | --libe=*)
849    libexecdir=$ac_optarg ;;
850
851  -localedir | --localedir | --localedi | --localed | --locale)
852    ac_prev=localedir ;;
853  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
854    localedir=$ac_optarg ;;
855
856  -localstatedir | --localstatedir | --localstatedi | --localstated \
857  | --localstate | --localstat | --localsta | --localst | --locals)
858    ac_prev=localstatedir ;;
859  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
860  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
861    localstatedir=$ac_optarg ;;
862
863  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
864    ac_prev=mandir ;;
865  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
866    mandir=$ac_optarg ;;
867
868  -nfp | --nfp | --nf)
869    # Obsolete; use --without-fp.
870    with_fp=no ;;
871
872  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
873  | --no-cr | --no-c | -n)
874    no_create=yes ;;
875
876  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
877  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
878    no_recursion=yes ;;
879
880  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
881  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
882  | --oldin | --oldi | --old | --ol | --o)
883    ac_prev=oldincludedir ;;
884  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
885  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
886  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
887    oldincludedir=$ac_optarg ;;
888
889  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
890    ac_prev=prefix ;;
891  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
892    prefix=$ac_optarg ;;
893
894  -program-prefix | --program-prefix | --program-prefi | --program-pref \
895  | --program-pre | --program-pr | --program-p)
896    ac_prev=program_prefix ;;
897  -program-prefix=* | --program-prefix=* | --program-prefi=* \
898  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
899    program_prefix=$ac_optarg ;;
900
901  -program-suffix | --program-suffix | --program-suffi | --program-suff \
902  | --program-suf | --program-su | --program-s)
903    ac_prev=program_suffix ;;
904  -program-suffix=* | --program-suffix=* | --program-suffi=* \
905  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
906    program_suffix=$ac_optarg ;;
907
908  -program-transform-name | --program-transform-name \
909  | --program-transform-nam | --program-transform-na \
910  | --program-transform-n | --program-transform- \
911  | --program-transform | --program-transfor \
912  | --program-transfo | --program-transf \
913  | --program-trans | --program-tran \
914  | --progr-tra | --program-tr | --program-t)
915    ac_prev=program_transform_name ;;
916  -program-transform-name=* | --program-transform-name=* \
917  | --program-transform-nam=* | --program-transform-na=* \
918  | --program-transform-n=* | --program-transform-=* \
919  | --program-transform=* | --program-transfor=* \
920  | --program-transfo=* | --program-transf=* \
921  | --program-trans=* | --program-tran=* \
922  | --progr-tra=* | --program-tr=* | --program-t=*)
923    program_transform_name=$ac_optarg ;;
924
925  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
926    ac_prev=pdfdir ;;
927  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
928    pdfdir=$ac_optarg ;;
929
930  -psdir | --psdir | --psdi | --psd | --ps)
931    ac_prev=psdir ;;
932  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
933    psdir=$ac_optarg ;;
934
935  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
936  | -silent | --silent | --silen | --sile | --sil)
937    silent=yes ;;
938
939  -runstatedir | --runstatedir | --runstatedi | --runstated \
940  | --runstate | --runstat | --runsta | --runst | --runs \
941  | --run | --ru | --r)
942    ac_prev=runstatedir ;;
943  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
944  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
945  | --run=* | --ru=* | --r=*)
946    runstatedir=$ac_optarg ;;
947
948  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
949    ac_prev=sbindir ;;
950  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
951  | --sbi=* | --sb=*)
952    sbindir=$ac_optarg ;;
953
954  -sharedstatedir | --sharedstatedir | --sharedstatedi \
955  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
956  | --sharedst | --shareds | --shared | --share | --shar \
957  | --sha | --sh)
958    ac_prev=sharedstatedir ;;
959  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
960  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
961  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
962  | --sha=* | --sh=*)
963    sharedstatedir=$ac_optarg ;;
964
965  -site | --site | --sit)
966    ac_prev=site ;;
967  -site=* | --site=* | --sit=*)
968    site=$ac_optarg ;;
969
970  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
971    ac_prev=srcdir ;;
972  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
973    srcdir=$ac_optarg ;;
974
975  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
976  | --syscon | --sysco | --sysc | --sys | --sy)
977    ac_prev=sysconfdir ;;
978  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
979  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
980    sysconfdir=$ac_optarg ;;
981
982  -target | --target | --targe | --targ | --tar | --ta | --t)
983    ac_prev=target_alias ;;
984  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
985    target_alias=$ac_optarg ;;
986
987  -v | -verbose | --verbose | --verbos | --verbo | --verb)
988    verbose=yes ;;
989
990  -version | --version | --versio | --versi | --vers | -V)
991    ac_init_version=: ;;
992
993  -with-* | --with-*)
994    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
995    # Reject names that are not valid shell variable names.
996    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
997      as_fn_error $? "invalid package name: $ac_useropt"
998    ac_useropt_orig=$ac_useropt
999    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1000    case $ac_user_opts in
1001      *"
1002"with_$ac_useropt"
1003"*) ;;
1004      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1005	 ac_unrecognized_sep=', ';;
1006    esac
1007    eval with_$ac_useropt=\$ac_optarg ;;
1008
1009  -without-* | --without-*)
1010    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1011    # Reject names that are not valid shell variable names.
1012    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1013      as_fn_error $? "invalid package name: $ac_useropt"
1014    ac_useropt_orig=$ac_useropt
1015    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1016    case $ac_user_opts in
1017      *"
1018"with_$ac_useropt"
1019"*) ;;
1020      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1021	 ac_unrecognized_sep=', ';;
1022    esac
1023    eval with_$ac_useropt=no ;;
1024
1025  --x)
1026    # Obsolete; use --with-x.
1027    with_x=yes ;;
1028
1029  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1030  | --x-incl | --x-inc | --x-in | --x-i)
1031    ac_prev=x_includes ;;
1032  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1033  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1034    x_includes=$ac_optarg ;;
1035
1036  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1037  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1038    ac_prev=x_libraries ;;
1039  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1040  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1041    x_libraries=$ac_optarg ;;
1042
1043  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1044Try \`$0 --help' for more information"
1045    ;;
1046
1047  *=*)
1048    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1049    # Reject names that are not valid shell variable names.
1050    case $ac_envvar in #(
1051      '' | [0-9]* | *[!_$as_cr_alnum]* )
1052      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1053    esac
1054    eval $ac_envvar=\$ac_optarg
1055    export $ac_envvar ;;
1056
1057  *)
1058    # FIXME: should be removed in autoconf 3.0.
1059    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1060    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1061      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1062    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1063    ;;
1064
1065  esac
1066done
1067
1068if test -n "$ac_prev"; then
1069  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1070  as_fn_error $? "missing argument to $ac_option"
1071fi
1072
1073if test -n "$ac_unrecognized_opts"; then
1074  case $enable_option_checking in
1075    no) ;;
1076    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1077    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1078  esac
1079fi
1080
1081# Check all directory arguments for consistency.
1082for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1083		datadir sysconfdir sharedstatedir localstatedir includedir \
1084		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1085		libdir localedir mandir runstatedir
1086do
1087  eval ac_val=\$$ac_var
1088  # Remove trailing slashes.
1089  case $ac_val in
1090    */ )
1091      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1092      eval $ac_var=\$ac_val;;
1093  esac
1094  # Be sure to have absolute directory names.
1095  case $ac_val in
1096    [\\/$]* | ?:[\\/]* )  continue;;
1097    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1098  esac
1099  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1100done
1101
1102# There might be people who depend on the old broken behavior: `$host'
1103# used to hold the argument of --host etc.
1104# FIXME: To remove some day.
1105build=$build_alias
1106host=$host_alias
1107target=$target_alias
1108
1109# FIXME: To remove some day.
1110if test "x$host_alias" != x; then
1111  if test "x$build_alias" = x; then
1112    cross_compiling=maybe
1113  elif test "x$build_alias" != "x$host_alias"; then
1114    cross_compiling=yes
1115  fi
1116fi
1117
1118ac_tool_prefix=
1119test -n "$host_alias" && ac_tool_prefix=$host_alias-
1120
1121test "$silent" = yes && exec 6>/dev/null
1122
1123
1124ac_pwd=`pwd` && test -n "$ac_pwd" &&
1125ac_ls_di=`ls -di .` &&
1126ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1127  as_fn_error $? "working directory cannot be determined"
1128test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1129  as_fn_error $? "pwd does not report name of working directory"
1130
1131
1132# Find the source files, if location was not specified.
1133if test -z "$srcdir"; then
1134  ac_srcdir_defaulted=yes
1135  # Try the directory containing this script, then the parent directory.
1136  ac_confdir=`$as_dirname -- "$as_myself" ||
1137$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1138	 X"$as_myself" : 'X\(//\)[^/]' \| \
1139	 X"$as_myself" : 'X\(//\)$' \| \
1140	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1141$as_echo X"$as_myself" |
1142    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1143	    s//\1/
1144	    q
1145	  }
1146	  /^X\(\/\/\)[^/].*/{
1147	    s//\1/
1148	    q
1149	  }
1150	  /^X\(\/\/\)$/{
1151	    s//\1/
1152	    q
1153	  }
1154	  /^X\(\/\).*/{
1155	    s//\1/
1156	    q
1157	  }
1158	  s/.*/./; q'`
1159  srcdir=$ac_confdir
1160  if test ! -r "$srcdir/$ac_unique_file"; then
1161    srcdir=..
1162  fi
1163else
1164  ac_srcdir_defaulted=no
1165fi
1166if test ! -r "$srcdir/$ac_unique_file"; then
1167  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1168  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1169fi
1170ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1171ac_abs_confdir=`(
1172	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1173	pwd)`
1174# When building in place, set srcdir=.
1175if test "$ac_abs_confdir" = "$ac_pwd"; then
1176  srcdir=.
1177fi
1178# Remove unnecessary trailing slashes from srcdir.
1179# Double slashes in file names in object file debugging info
1180# mess up M-x gdb in Emacs.
1181case $srcdir in
1182*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1183esac
1184for ac_var in $ac_precious_vars; do
1185  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1186  eval ac_env_${ac_var}_value=\$${ac_var}
1187  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1188  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1189done
1190
1191#
1192# Report the --help message.
1193#
1194if test "$ac_init_help" = "long"; then
1195  # Omit some internal or obsolete options to make the list less imposing.
1196  # This message is too long to be a string in the A/UX 3.1 sh.
1197  cat <<_ACEOF
1198\`configure' configures this package to adapt to many kinds of systems.
1199
1200Usage: $0 [OPTION]... [VAR=VALUE]...
1201
1202To assign environment variables (e.g., CC, CFLAGS...), specify them as
1203VAR=VALUE.  See below for descriptions of some of the useful variables.
1204
1205Defaults for the options are specified in brackets.
1206
1207Configuration:
1208  -h, --help              display this help and exit
1209      --help=short        display options specific to this package
1210      --help=recursive    display the short help of all the included packages
1211  -V, --version           display version information and exit
1212  -q, --quiet, --silent   do not print \`checking ...' messages
1213      --cache-file=FILE   cache test results in FILE [disabled]
1214  -C, --config-cache      alias for \`--cache-file=config.cache'
1215  -n, --no-create         do not create output files
1216      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1217
1218Installation directories:
1219  --prefix=PREFIX         install architecture-independent files in PREFIX
1220                          [$ac_default_prefix]
1221  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1222                          [PREFIX]
1223
1224By default, \`make install' will install all the files in
1225\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1226an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1227for instance \`--prefix=\$HOME'.
1228
1229For better control, use the options below.
1230
1231Fine tuning of the installation directories:
1232  --bindir=DIR            user executables [EPREFIX/bin]
1233  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1234  --libexecdir=DIR        program executables [EPREFIX/libexec]
1235  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1236  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1237  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1238  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1239  --libdir=DIR            object code libraries [EPREFIX/lib]
1240  --includedir=DIR        C header files [PREFIX/include]
1241  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1242  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1243  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1244  --infodir=DIR           info documentation [DATAROOTDIR/info]
1245  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1246  --mandir=DIR            man documentation [DATAROOTDIR/man]
1247  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
1248  --htmldir=DIR           html documentation [DOCDIR]
1249  --dvidir=DIR            dvi documentation [DOCDIR]
1250  --pdfdir=DIR            pdf documentation [DOCDIR]
1251  --psdir=DIR             ps documentation [DOCDIR]
1252_ACEOF
1253
1254  cat <<\_ACEOF
1255_ACEOF
1256fi
1257
1258if test -n "$ac_init_help"; then
1259
1260  cat <<\_ACEOF
1261
1262Optional Features:
1263  --disable-option-checking  ignore unrecognized --enable/--with options
1264  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1265  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1266  --enable-doc    build the PDF documentation
1267
1268Report bugs to the package provider.
1269_ACEOF
1270ac_status=$?
1271fi
1272
1273if test "$ac_init_help" = "recursive"; then
1274  # If there are subdirs, report their specific --help.
1275  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1276    test -d "$ac_dir" ||
1277      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1278      continue
1279    ac_builddir=.
1280
1281case "$ac_dir" in
1282.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1283*)
1284  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1285  # A ".." for each directory in $ac_dir_suffix.
1286  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1287  case $ac_top_builddir_sub in
1288  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1289  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1290  esac ;;
1291esac
1292ac_abs_top_builddir=$ac_pwd
1293ac_abs_builddir=$ac_pwd$ac_dir_suffix
1294# for backward compatibility:
1295ac_top_builddir=$ac_top_build_prefix
1296
1297case $srcdir in
1298  .)  # We are building in place.
1299    ac_srcdir=.
1300    ac_top_srcdir=$ac_top_builddir_sub
1301    ac_abs_top_srcdir=$ac_pwd ;;
1302  [\\/]* | ?:[\\/]* )  # Absolute name.
1303    ac_srcdir=$srcdir$ac_dir_suffix;
1304    ac_top_srcdir=$srcdir
1305    ac_abs_top_srcdir=$srcdir ;;
1306  *) # Relative name.
1307    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1308    ac_top_srcdir=$ac_top_build_prefix$srcdir
1309    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1310esac
1311ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1312
1313    cd "$ac_dir" || { ac_status=$?; continue; }
1314    # Check for guested configure.
1315    if test -f "$ac_srcdir/configure.gnu"; then
1316      echo &&
1317      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1318    elif test -f "$ac_srcdir/configure"; then
1319      echo &&
1320      $SHELL "$ac_srcdir/configure" --help=recursive
1321    else
1322      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1323    fi || ac_status=$?
1324    cd "$ac_pwd" || { ac_status=$?; break; }
1325  done
1326fi
1327
1328test -n "$ac_init_help" && exit $ac_status
1329if $ac_init_version; then
1330  cat <<\_ACEOF
1331configure
1332generated by GNU Autoconf 2.69
1333
1334Copyright (C) 2012 Free Software Foundation, Inc.
1335This configure script is free software; the Free Software Foundation
1336gives unlimited permission to copy, distribute and modify it.
1337_ACEOF
1338  exit
1339fi
1340
1341## ------------------------ ##
1342## Autoconf initialization. ##
1343## ------------------------ ##
1344cat >config.log <<_ACEOF
1345This file contains any messages produced by compilers while
1346running configure, to aid debugging if configure makes a mistake.
1347
1348It was created by $as_me, which was
1349generated by GNU Autoconf 2.69.  Invocation command line was
1350
1351  $ $0 $@
1352
1353_ACEOF
1354exec 5>>config.log
1355{
1356cat <<_ASUNAME
1357## --------- ##
1358## Platform. ##
1359## --------- ##
1360
1361hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1362uname -m = `(uname -m) 2>/dev/null || echo unknown`
1363uname -r = `(uname -r) 2>/dev/null || echo unknown`
1364uname -s = `(uname -s) 2>/dev/null || echo unknown`
1365uname -v = `(uname -v) 2>/dev/null || echo unknown`
1366
1367/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1368/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1369
1370/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1371/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1372/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1373/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1374/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1375/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1376/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1377
1378_ASUNAME
1379
1380as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1381for as_dir in $PATH
1382do
1383  IFS=$as_save_IFS
1384  test -z "$as_dir" && as_dir=.
1385    $as_echo "PATH: $as_dir"
1386  done
1387IFS=$as_save_IFS
1388
1389} >&5
1390
1391cat >&5 <<_ACEOF
1392
1393
1394## ----------- ##
1395## Core tests. ##
1396## ----------- ##
1397
1398_ACEOF
1399
1400
1401# Keep a trace of the command line.
1402# Strip out --no-create and --no-recursion so they do not pile up.
1403# Strip out --silent because we don't want to record it for future runs.
1404# Also quote any args containing shell meta-characters.
1405# Make two passes to allow for proper duplicate-argument suppression.
1406ac_configure_args=
1407ac_configure_args0=
1408ac_configure_args1=
1409ac_must_keep_next=false
1410for ac_pass in 1 2
1411do
1412  for ac_arg
1413  do
1414    case $ac_arg in
1415    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1416    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1417    | -silent | --silent | --silen | --sile | --sil)
1418      continue ;;
1419    *\'*)
1420      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1421    esac
1422    case $ac_pass in
1423    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1424    2)
1425      as_fn_append ac_configure_args1 " '$ac_arg'"
1426      if test $ac_must_keep_next = true; then
1427	ac_must_keep_next=false # Got value, back to normal.
1428      else
1429	case $ac_arg in
1430	  *=* | --config-cache | -C | -disable-* | --disable-* \
1431	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1432	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1433	  | -with-* | --with-* | -without-* | --without-* | --x)
1434	    case "$ac_configure_args0 " in
1435	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1436	    esac
1437	    ;;
1438	  -* ) ac_must_keep_next=true ;;
1439	esac
1440      fi
1441      as_fn_append ac_configure_args " '$ac_arg'"
1442      ;;
1443    esac
1444  done
1445done
1446{ ac_configure_args0=; unset ac_configure_args0;}
1447{ ac_configure_args1=; unset ac_configure_args1;}
1448
1449# When interrupted or exit'd, cleanup temporary files, and complete
1450# config.log.  We remove comments because anyway the quotes in there
1451# would cause problems or look ugly.
1452# WARNING: Use '\'' to represent an apostrophe within the trap.
1453# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1454trap 'exit_status=$?
1455  # Save into config.log some information that might help in debugging.
1456  {
1457    echo
1458
1459    $as_echo "## ---------------- ##
1460## Cache variables. ##
1461## ---------------- ##"
1462    echo
1463    # The following way of writing the cache mishandles newlines in values,
1464(
1465  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1466    eval ac_val=\$$ac_var
1467    case $ac_val in #(
1468    *${as_nl}*)
1469      case $ac_var in #(
1470      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1471$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1472      esac
1473      case $ac_var in #(
1474      _ | IFS | as_nl) ;; #(
1475      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1476      *) { eval $ac_var=; unset $ac_var;} ;;
1477      esac ;;
1478    esac
1479  done
1480  (set) 2>&1 |
1481    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1482    *${as_nl}ac_space=\ *)
1483      sed -n \
1484	"s/'\''/'\''\\\\'\'''\''/g;
1485	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1486      ;; #(
1487    *)
1488      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1489      ;;
1490    esac |
1491    sort
1492)
1493    echo
1494
1495    $as_echo "## ----------------- ##
1496## Output variables. ##
1497## ----------------- ##"
1498    echo
1499    for ac_var in $ac_subst_vars
1500    do
1501      eval ac_val=\$$ac_var
1502      case $ac_val in
1503      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1504      esac
1505      $as_echo "$ac_var='\''$ac_val'\''"
1506    done | sort
1507    echo
1508
1509    if test -n "$ac_subst_files"; then
1510      $as_echo "## ------------------- ##
1511## File substitutions. ##
1512## ------------------- ##"
1513      echo
1514      for ac_var in $ac_subst_files
1515      do
1516	eval ac_val=\$$ac_var
1517	case $ac_val in
1518	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1519	esac
1520	$as_echo "$ac_var='\''$ac_val'\''"
1521      done | sort
1522      echo
1523    fi
1524
1525    if test -s confdefs.h; then
1526      $as_echo "## ----------- ##
1527## confdefs.h. ##
1528## ----------- ##"
1529      echo
1530      cat confdefs.h
1531      echo
1532    fi
1533    test "$ac_signal" != 0 &&
1534      $as_echo "$as_me: caught signal $ac_signal"
1535    $as_echo "$as_me: exit $exit_status"
1536  } >&5
1537  rm -f core *.core core.conftest.* &&
1538    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1539    exit $exit_status
1540' 0
1541for ac_signal in 1 2 13 15; do
1542  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1543done
1544ac_signal=0
1545
1546# confdefs.h avoids OS command line length limits that DEFS can exceed.
1547rm -f -r conftest* confdefs.h
1548
1549$as_echo "/* confdefs.h */" > confdefs.h
1550
1551# Predefined preprocessor variables.
1552
1553cat >>confdefs.h <<_ACEOF
1554#define PACKAGE_NAME "$PACKAGE_NAME"
1555_ACEOF
1556
1557cat >>confdefs.h <<_ACEOF
1558#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1559_ACEOF
1560
1561cat >>confdefs.h <<_ACEOF
1562#define PACKAGE_VERSION "$PACKAGE_VERSION"
1563_ACEOF
1564
1565cat >>confdefs.h <<_ACEOF
1566#define PACKAGE_STRING "$PACKAGE_STRING"
1567_ACEOF
1568
1569cat >>confdefs.h <<_ACEOF
1570#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1571_ACEOF
1572
1573cat >>confdefs.h <<_ACEOF
1574#define PACKAGE_URL "$PACKAGE_URL"
1575_ACEOF
1576
1577
1578# Let the site file select an alternate cache file if it wants to.
1579# Prefer an explicitly selected file to automatically selected ones.
1580ac_site_file1=NONE
1581ac_site_file2=NONE
1582if test -n "$CONFIG_SITE"; then
1583  # We do not want a PATH search for config.site.
1584  case $CONFIG_SITE in #((
1585    -*)  ac_site_file1=./$CONFIG_SITE;;
1586    */*) ac_site_file1=$CONFIG_SITE;;
1587    *)   ac_site_file1=./$CONFIG_SITE;;
1588  esac
1589elif test "x$prefix" != xNONE; then
1590  ac_site_file1=$prefix/share/config.site
1591  ac_site_file2=$prefix/etc/config.site
1592else
1593  ac_site_file1=$ac_default_prefix/share/config.site
1594  ac_site_file2=$ac_default_prefix/etc/config.site
1595fi
1596for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1597do
1598  test "x$ac_site_file" = xNONE && continue
1599  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1600    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1601$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1602    sed 's/^/| /' "$ac_site_file" >&5
1603    . "$ac_site_file" \
1604      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1605$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1606as_fn_error $? "failed to load site script $ac_site_file
1607See \`config.log' for more details" "$LINENO" 5; }
1608  fi
1609done
1610
1611if test -r "$cache_file"; then
1612  # Some versions of bash will fail to source /dev/null (special files
1613  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
1614  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1615    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1616$as_echo "$as_me: loading cache $cache_file" >&6;}
1617    case $cache_file in
1618      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1619      *)                      . "./$cache_file";;
1620    esac
1621  fi
1622else
1623  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1624$as_echo "$as_me: creating cache $cache_file" >&6;}
1625  >$cache_file
1626fi
1627
1628# Check that the precious variables saved in the cache have kept the same
1629# value.
1630ac_cache_corrupted=false
1631for ac_var in $ac_precious_vars; do
1632  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1633  eval ac_new_set=\$ac_env_${ac_var}_set
1634  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1635  eval ac_new_val=\$ac_env_${ac_var}_value
1636  case $ac_old_set,$ac_new_set in
1637    set,)
1638      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1639$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1640      ac_cache_corrupted=: ;;
1641    ,set)
1642      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1643$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1644      ac_cache_corrupted=: ;;
1645    ,);;
1646    *)
1647      if test "x$ac_old_val" != "x$ac_new_val"; then
1648	# differences in whitespace do not lead to failure.
1649	ac_old_val_w=`echo x $ac_old_val`
1650	ac_new_val_w=`echo x $ac_new_val`
1651	if test "$ac_old_val_w" != "$ac_new_val_w"; then
1652	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1653$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1654	  ac_cache_corrupted=:
1655	else
1656	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1657$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1658	  eval $ac_var=\$ac_old_val
1659	fi
1660	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1661$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1662	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1663$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1664      fi;;
1665  esac
1666  # Pass precious variables to config.status.
1667  if test "$ac_new_set" = set; then
1668    case $ac_new_val in
1669    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1670    *) ac_arg=$ac_var=$ac_new_val ;;
1671    esac
1672    case " $ac_configure_args " in
1673      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1674      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1675    esac
1676  fi
1677done
1678if $ac_cache_corrupted; then
1679  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1680$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1681  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1682$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1683  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1684fi
1685## -------------------- ##
1686## Main body of script. ##
1687## -------------------- ##
1688
1689ac_ext=c
1690ac_cpp='$CPP $CPPFLAGS'
1691ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1692ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1693ac_compiler_gnu=$ac_cv_c_compiler_gnu
1694
1695
1696
1697# options
1698
1699# Check whether --enable-doc was given.
1700if test "${enable_doc+set}" = set; then :
1701  enableval=$enable_doc;
1702else
1703  enable_doc=yes
1704fi
1705
1706
1707# Check for Ocaml compilers
1708
1709# we first look for ocamlc in the path; if not present, we abort
1710# Extract the first word of "ocamlc", so it can be a program name with args.
1711set dummy ocamlc; ac_word=$2
1712{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1713$as_echo_n "checking for $ac_word... " >&6; }
1714if ${ac_cv_prog_OCAMLC+:} false; then :
1715  $as_echo_n "(cached) " >&6
1716else
1717  if test -n "$OCAMLC"; then
1718  ac_cv_prog_OCAMLC="$OCAMLC" # Let the user override the test.
1719else
1720as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1721for as_dir in $PATH
1722do
1723  IFS=$as_save_IFS
1724  test -z "$as_dir" && as_dir=.
1725    for ac_exec_ext in '' $ac_executable_extensions; do
1726  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1727    ac_cv_prog_OCAMLC="ocamlc"
1728    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1729    break 2
1730  fi
1731done
1732  done
1733IFS=$as_save_IFS
1734
1735  test -z "$ac_cv_prog_OCAMLC" && ac_cv_prog_OCAMLC="no"
1736fi
1737fi
1738OCAMLC=$ac_cv_prog_OCAMLC
1739if test -n "$OCAMLC"; then
1740  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLC" >&5
1741$as_echo "$OCAMLC" >&6; }
1742else
1743  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1744$as_echo "no" >&6; }
1745fi
1746
1747
1748if test "$OCAMLC" = no ; then
1749	as_fn_error $? "Cannot find ocamlc." "$LINENO" 5
1750fi
1751
1752# we extract Ocaml version number and library path
1753OCAMLVERSION=`$OCAMLC -v | sed -n -e 's|.*version *\(.*\)$|\1|p' `
1754echo "ocaml version is $OCAMLVERSION"
1755# IMPORTANT! do not use OCAMLLIB, because it is already set under Windows
1756CAMLLIB=`ocamlc -where`
1757echo "ocaml library path is $CAMLLIB"
1758
1759case $OCAMLVERSION in
1760  0.*|1.*|2.*|3.*|4.00*|4.01*|4.02*)
1761        as_fn_error $? "You need OCaml 4.03 or later" "$LINENO" 5;;
1762esac
1763
1764# then we look for ocamlopt; if not present, we issue a warning
1765# if the version is not the same, we also discard it
1766# we set OCAMLBEST to "opt" or "byte", whether ocamlopt is available or not
1767# Extract the first word of "ocamlopt", so it can be a program name with args.
1768set dummy ocamlopt; ac_word=$2
1769{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1770$as_echo_n "checking for $ac_word... " >&6; }
1771if ${ac_cv_prog_OCAMLOPT+:} false; then :
1772  $as_echo_n "(cached) " >&6
1773else
1774  if test -n "$OCAMLOPT"; then
1775  ac_cv_prog_OCAMLOPT="$OCAMLOPT" # Let the user override the test.
1776else
1777as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1778for as_dir in $PATH
1779do
1780  IFS=$as_save_IFS
1781  test -z "$as_dir" && as_dir=.
1782    for ac_exec_ext in '' $ac_executable_extensions; do
1783  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1784    ac_cv_prog_OCAMLOPT="ocamlopt"
1785    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1786    break 2
1787  fi
1788done
1789  done
1790IFS=$as_save_IFS
1791
1792  test -z "$ac_cv_prog_OCAMLOPT" && ac_cv_prog_OCAMLOPT="no"
1793fi
1794fi
1795OCAMLOPT=$ac_cv_prog_OCAMLOPT
1796if test -n "$OCAMLOPT"; then
1797  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLOPT" >&5
1798$as_echo "$OCAMLOPT" >&6; }
1799else
1800  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1801$as_echo "no" >&6; }
1802fi
1803
1804
1805OCAMLBEST=byte
1806if test "$OCAMLOPT" = no ; then
1807	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find ocamlopt; bytecode compilation only." >&5
1808$as_echo "$as_me: WARNING: Cannot find ocamlopt; bytecode compilation only." >&2;}
1809else
1810	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking ocamlopt version" >&5
1811$as_echo_n "checking ocamlopt version... " >&6; }
1812	TMPVERSION=`$OCAMLOPT -v | sed -n -e 's|.*version *\(.*\)$|\1|p' `
1813	if test "$TMPVERSION" != "$OCAMLVERSION" ; then
1814	    { $as_echo "$as_me:${as_lineno-$LINENO}: result: differs from ocamlc; ocamlopt discarded." >&5
1815$as_echo "differs from ocamlc; ocamlopt discarded." >&6; }
1816	    OCAMLOPT=no
1817	else
1818	    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
1819$as_echo "ok" >&6; }
1820	    OCAMLBEST=opt
1821	fi
1822fi
1823
1824# checking for ocamlc.opt
1825# Extract the first word of "ocamlc.opt", so it can be a program name with args.
1826set dummy ocamlc.opt; ac_word=$2
1827{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1828$as_echo_n "checking for $ac_word... " >&6; }
1829if ${ac_cv_prog_OCAMLCDOTOPT+:} false; then :
1830  $as_echo_n "(cached) " >&6
1831else
1832  if test -n "$OCAMLCDOTOPT"; then
1833  ac_cv_prog_OCAMLCDOTOPT="$OCAMLCDOTOPT" # Let the user override the test.
1834else
1835as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1836for as_dir in $PATH
1837do
1838  IFS=$as_save_IFS
1839  test -z "$as_dir" && as_dir=.
1840    for ac_exec_ext in '' $ac_executable_extensions; do
1841  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1842    ac_cv_prog_OCAMLCDOTOPT="ocamlc.opt"
1843    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1844    break 2
1845  fi
1846done
1847  done
1848IFS=$as_save_IFS
1849
1850  test -z "$ac_cv_prog_OCAMLCDOTOPT" && ac_cv_prog_OCAMLCDOTOPT="no"
1851fi
1852fi
1853OCAMLCDOTOPT=$ac_cv_prog_OCAMLCDOTOPT
1854if test -n "$OCAMLCDOTOPT"; then
1855  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLCDOTOPT" >&5
1856$as_echo "$OCAMLCDOTOPT" >&6; }
1857else
1858  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1859$as_echo "no" >&6; }
1860fi
1861
1862
1863if test "$OCAMLCDOTOPT" != no ; then
1864	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking ocamlc.opt version" >&5
1865$as_echo_n "checking ocamlc.opt version... " >&6; }
1866	TMPVERSION=`$OCAMLCDOTOPT -v | sed -n -e 's|.*version *\(.*\)$|\1|p' `
1867	if test "$TMPVERSION" != "$OCAMLVERSION" ; then
1868	    { $as_echo "$as_me:${as_lineno-$LINENO}: result: differs from ocamlc; ocamlc.opt discarded." >&5
1869$as_echo "differs from ocamlc; ocamlc.opt discarded." >&6; }
1870	else
1871	    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
1872$as_echo "ok" >&6; }
1873	    OCAMLC=$OCAMLCDOTOPT
1874	fi
1875fi
1876
1877# checking for ocamlopt.opt
1878if test "$OCAMLOPT" != no ; then
1879    # Extract the first word of "ocamlopt.opt", so it can be a program name with args.
1880set dummy ocamlopt.opt; ac_word=$2
1881{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1882$as_echo_n "checking for $ac_word... " >&6; }
1883if ${ac_cv_prog_OCAMLOPTDOTOPT+:} false; then :
1884  $as_echo_n "(cached) " >&6
1885else
1886  if test -n "$OCAMLOPTDOTOPT"; then
1887  ac_cv_prog_OCAMLOPTDOTOPT="$OCAMLOPTDOTOPT" # Let the user override the test.
1888else
1889as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1890for as_dir in $PATH
1891do
1892  IFS=$as_save_IFS
1893  test -z "$as_dir" && as_dir=.
1894    for ac_exec_ext in '' $ac_executable_extensions; do
1895  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1896    ac_cv_prog_OCAMLOPTDOTOPT="ocamlopt.opt"
1897    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1898    break 2
1899  fi
1900done
1901  done
1902IFS=$as_save_IFS
1903
1904  test -z "$ac_cv_prog_OCAMLOPTDOTOPT" && ac_cv_prog_OCAMLOPTDOTOPT="no"
1905fi
1906fi
1907OCAMLOPTDOTOPT=$ac_cv_prog_OCAMLOPTDOTOPT
1908if test -n "$OCAMLOPTDOTOPT"; then
1909  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLOPTDOTOPT" >&5
1910$as_echo "$OCAMLOPTDOTOPT" >&6; }
1911else
1912  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1913$as_echo "no" >&6; }
1914fi
1915
1916
1917    if test "$OCAMLOPTDOTOPT" != no ; then
1918	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking ocamlc.opt version" >&5
1919$as_echo_n "checking ocamlc.opt version... " >&6; }
1920	TMPVER=`$OCAMLOPTDOTOPT -v | sed -n -e 's|.*version *\(.*\)$|\1|p' `
1921	if test "$TMPVER" != "$OCAMLVERSION" ; then
1922	    { $as_echo "$as_me:${as_lineno-$LINENO}: result: differs from ocamlc; ocamlopt.opt discarded." >&5
1923$as_echo "differs from ocamlc; ocamlopt.opt discarded." >&6; }
1924	else
1925	    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
1926$as_echo "ok" >&6; }
1927	    OCAMLOPT=$OCAMLOPTDOTOPT
1928	fi
1929    fi
1930fi
1931
1932# Extract the first word of "ocamllex", so it can be a program name with args.
1933set dummy ocamllex; ac_word=$2
1934{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1935$as_echo_n "checking for $ac_word... " >&6; }
1936if ${ac_cv_prog_OCAMLLEX+:} false; then :
1937  $as_echo_n "(cached) " >&6
1938else
1939  if test -n "$OCAMLLEX"; then
1940  ac_cv_prog_OCAMLLEX="$OCAMLLEX" # Let the user override the test.
1941else
1942as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1943for as_dir in $PATH
1944do
1945  IFS=$as_save_IFS
1946  test -z "$as_dir" && as_dir=.
1947    for ac_exec_ext in '' $ac_executable_extensions; do
1948  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1949    ac_cv_prog_OCAMLLEX="ocamllex"
1950    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1951    break 2
1952  fi
1953done
1954  done
1955IFS=$as_save_IFS
1956
1957  test -z "$ac_cv_prog_OCAMLLEX" && ac_cv_prog_OCAMLLEX="no"
1958fi
1959fi
1960OCAMLLEX=$ac_cv_prog_OCAMLLEX
1961if test -n "$OCAMLLEX"; then
1962  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEX" >&5
1963$as_echo "$OCAMLLEX" >&6; }
1964else
1965  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1966$as_echo "no" >&6; }
1967fi
1968
1969
1970if test "$OCAMLLEX" = no ; then
1971    as_fn_error $? "Cannot find ocamllex." "$LINENO" 5
1972else
1973    # Extract the first word of "ocamllex.opt", so it can be a program name with args.
1974set dummy ocamllex.opt; ac_word=$2
1975{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1976$as_echo_n "checking for $ac_word... " >&6; }
1977if ${ac_cv_prog_OCAMLLEXDOTOPT+:} false; then :
1978  $as_echo_n "(cached) " >&6
1979else
1980  if test -n "$OCAMLLEXDOTOPT"; then
1981  ac_cv_prog_OCAMLLEXDOTOPT="$OCAMLLEXDOTOPT" # Let the user override the test.
1982else
1983as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1984for as_dir in $PATH
1985do
1986  IFS=$as_save_IFS
1987  test -z "$as_dir" && as_dir=.
1988    for ac_exec_ext in '' $ac_executable_extensions; do
1989  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1990    ac_cv_prog_OCAMLLEXDOTOPT="ocamllex.opt"
1991    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1992    break 2
1993  fi
1994done
1995  done
1996IFS=$as_save_IFS
1997
1998  test -z "$ac_cv_prog_OCAMLLEXDOTOPT" && ac_cv_prog_OCAMLLEXDOTOPT="no"
1999fi
2000fi
2001OCAMLLEXDOTOPT=$ac_cv_prog_OCAMLLEXDOTOPT
2002if test -n "$OCAMLLEXDOTOPT"; then
2003  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEXDOTOPT" >&5
2004$as_echo "$OCAMLLEXDOTOPT" >&6; }
2005else
2006  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2007$as_echo "no" >&6; }
2008fi
2009
2010
2011    if test "$OCAMLLEXDOTOPT" != no ; then
2012	OCAMLLEX=$OCAMLLEXDOTOPT
2013    fi
2014fi
2015
2016# ocamldep should also be present in the path
2017# Extract the first word of "ocamldep", so it can be a program name with args.
2018set dummy ocamldep; ac_word=$2
2019{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2020$as_echo_n "checking for $ac_word... " >&6; }
2021if ${ac_cv_prog_OCAMLDEP+:} false; then :
2022  $as_echo_n "(cached) " >&6
2023else
2024  if test -n "$OCAMLDEP"; then
2025  ac_cv_prog_OCAMLDEP="$OCAMLDEP" # Let the user override the test.
2026else
2027as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2028for as_dir in $PATH
2029do
2030  IFS=$as_save_IFS
2031  test -z "$as_dir" && as_dir=.
2032    for ac_exec_ext in '' $ac_executable_extensions; do
2033  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2034    ac_cv_prog_OCAMLDEP="ocamldep"
2035    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2036    break 2
2037  fi
2038done
2039  done
2040IFS=$as_save_IFS
2041
2042  test -z "$ac_cv_prog_OCAMLDEP" && ac_cv_prog_OCAMLDEP="no"
2043fi
2044fi
2045OCAMLDEP=$ac_cv_prog_OCAMLDEP
2046if test -n "$OCAMLDEP"; then
2047  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLDEP" >&5
2048$as_echo "$OCAMLDEP" >&6; }
2049else
2050  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2051$as_echo "no" >&6; }
2052fi
2053
2054
2055if test "$OCAMLC" = no ; then
2056	as_fn_error $? "Cannot find ocamldep." "$LINENO" 5
2057fi
2058
2059# where is perl
2060# Extract the first word of "perl", so it can be a program name with args.
2061set dummy perl; ac_word=$2
2062{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2063$as_echo_n "checking for $ac_word... " >&6; }
2064if ${ac_cv_path_PERL+:} false; then :
2065  $as_echo_n "(cached) " >&6
2066else
2067  case $PERL in
2068  [\\/]* | ?:[\\/]*)
2069  ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
2070  ;;
2071  *)
2072  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2073for as_dir in $PATH
2074do
2075  IFS=$as_save_IFS
2076  test -z "$as_dir" && as_dir=.
2077    for ac_exec_ext in '' $ac_executable_extensions; do
2078  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2079    ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
2080    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2081    break 2
2082  fi
2083done
2084  done
2085IFS=$as_save_IFS
2086
2087  test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="/usr/bin/perl"
2088  ;;
2089esac
2090fi
2091PERL=$ac_cv_path_PERL
2092if test -n "$PERL"; then
2093  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
2094$as_echo "$PERL" >&6; }
2095else
2096  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2097$as_echo "no" >&6; }
2098fi
2099
2100
2101
2102# platform
2103{ $as_echo "$as_me:${as_lineno-$LINENO}: checking platform" >&5
2104$as_echo_n "checking platform... " >&6; }
2105if echo "Sys.os_type;;" | ocaml | grep -q Win32; then
2106    { $as_echo "$as_me:${as_lineno-$LINENO}: result: win32" >&5
2107$as_echo "win32" >&6; }
2108    OCAMLWIN32=yes
2109    EXE=.exe
2110else
2111    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not win32" >&5
2112$as_echo "not win32" >&6; }
2113    OCAMLWIN32=no
2114    EXE=
2115fi
2116
2117if test "$enable_doc" = yes ; then
2118    # Extract the first word of "pdflatex", so it can be a program name with args.
2119set dummy pdflatex; ac_word=$2
2120{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2121$as_echo_n "checking for $ac_word... " >&6; }
2122if ${ac_cv_prog_PDFLATEX+:} false; then :
2123  $as_echo_n "(cached) " >&6
2124else
2125  if test -n "$PDFLATEX"; then
2126  ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
2127else
2128as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2129for as_dir in $PATH
2130do
2131  IFS=$as_save_IFS
2132  test -z "$as_dir" && as_dir=.
2133    for ac_exec_ext in '' $ac_executable_extensions; do
2134  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2135    ac_cv_prog_PDFLATEX="pdflatex"
2136    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2137    break 2
2138  fi
2139done
2140  done
2141IFS=$as_save_IFS
2142
2143  test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
2144fi
2145fi
2146PDFLATEX=$ac_cv_prog_PDFLATEX
2147if test -n "$PDFLATEX"; then
2148  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
2149$as_echo "$PDFLATEX" >&6; }
2150else
2151  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2152$as_echo "no" >&6; }
2153fi
2154
2155
2156    if test "$PDFLATEX" = no ; then
2157	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find pdflatex; documentation disabled." >&5
2158$as_echo "$as_me: WARNING: Cannot find pdflatex; documentation disabled." >&2;}
2159	enable_doc=no
2160    fi
2161fi
2162
2163# substitutions to perform
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175# Finally create all the generated files
2176ac_config_files="$ac_config_files Makefile aux2bib"
2177
2178cat >confcache <<\_ACEOF
2179# This file is a shell script that caches the results of configure
2180# tests run on this system so they can be shared between configure
2181# scripts and configure runs, see configure's option --config-cache.
2182# It is not useful on other systems.  If it contains results you don't
2183# want to keep, you may remove or edit it.
2184#
2185# config.status only pays attention to the cache file if you give it
2186# the --recheck option to rerun configure.
2187#
2188# `ac_cv_env_foo' variables (set or unset) will be overridden when
2189# loading this file, other *unset* `ac_cv_foo' will be assigned the
2190# following values.
2191
2192_ACEOF
2193
2194# The following way of writing the cache mishandles newlines in values,
2195# but we know of no workaround that is simple, portable, and efficient.
2196# So, we kill variables containing newlines.
2197# Ultrix sh set writes to stderr and can't be redirected directly,
2198# and sets the high bit in the cache file unless we assign to the vars.
2199(
2200  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2201    eval ac_val=\$$ac_var
2202    case $ac_val in #(
2203    *${as_nl}*)
2204      case $ac_var in #(
2205      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2206$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2207      esac
2208      case $ac_var in #(
2209      _ | IFS | as_nl) ;; #(
2210      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2211      *) { eval $ac_var=; unset $ac_var;} ;;
2212      esac ;;
2213    esac
2214  done
2215
2216  (set) 2>&1 |
2217    case $as_nl`(ac_space=' '; set) 2>&1` in #(
2218    *${as_nl}ac_space=\ *)
2219      # `set' does not quote correctly, so add quotes: double-quote
2220      # substitution turns \\\\ into \\, and sed turns \\ into \.
2221      sed -n \
2222	"s/'/'\\\\''/g;
2223	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2224      ;; #(
2225    *)
2226      # `set' quotes correctly as required by POSIX, so do not add quotes.
2227      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2228      ;;
2229    esac |
2230    sort
2231) |
2232  sed '
2233     /^ac_cv_env_/b end
2234     t clear
2235     :clear
2236     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2237     t end
2238     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2239     :end' >>confcache
2240if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2241  if test -w "$cache_file"; then
2242    if test "x$cache_file" != "x/dev/null"; then
2243      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2244$as_echo "$as_me: updating cache $cache_file" >&6;}
2245      if test ! -f "$cache_file" || test -h "$cache_file"; then
2246	cat confcache >"$cache_file"
2247      else
2248        case $cache_file in #(
2249        */* | ?:*)
2250	  mv -f confcache "$cache_file"$$ &&
2251	  mv -f "$cache_file"$$ "$cache_file" ;; #(
2252        *)
2253	  mv -f confcache "$cache_file" ;;
2254	esac
2255      fi
2256    fi
2257  else
2258    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2259$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2260  fi
2261fi
2262rm -f confcache
2263
2264test "x$prefix" = xNONE && prefix=$ac_default_prefix
2265# Let make expand exec_prefix.
2266test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2267
2268# Transform confdefs.h into DEFS.
2269# Protect against shell expansion while executing Makefile rules.
2270# Protect against Makefile macro expansion.
2271#
2272# If the first sed substitution is executed (which looks for macros that
2273# take arguments), then branch to the quote section.  Otherwise,
2274# look for a macro that doesn't take arguments.
2275ac_script='
2276:mline
2277/\\$/{
2278 N
2279 s,\\\n,,
2280 b mline
2281}
2282t clear
2283:clear
2284s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
2285t quote
2286s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
2287t quote
2288b any
2289:quote
2290s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2291s/\[/\\&/g
2292s/\]/\\&/g
2293s/\$/$$/g
2294H
2295:any
2296${
2297	g
2298	s/^\n//
2299	s/\n/ /g
2300	p
2301}
2302'
2303DEFS=`sed -n "$ac_script" confdefs.h`
2304
2305
2306ac_libobjs=
2307ac_ltlibobjs=
2308U=
2309for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2310  # 1. Remove the extension, and $U if already installed.
2311  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2312  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2313  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
2314  #    will be set to the directory where LIBOBJS objects are built.
2315  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2316  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2317done
2318LIBOBJS=$ac_libobjs
2319
2320LTLIBOBJS=$ac_ltlibobjs
2321
2322
2323
2324: "${CONFIG_STATUS=./config.status}"
2325ac_write_fail=0
2326ac_clean_files_save=$ac_clean_files
2327ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2328{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2329$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2330as_write_fail=0
2331cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2332#! $SHELL
2333# Generated by $as_me.
2334# Run this file to recreate the current configuration.
2335# Compiler output produced by configure, useful for debugging
2336# configure, is in config.log if it exists.
2337
2338debug=false
2339ac_cs_recheck=false
2340ac_cs_silent=false
2341
2342SHELL=\${CONFIG_SHELL-$SHELL}
2343export SHELL
2344_ASEOF
2345cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2346## -------------------- ##
2347## M4sh Initialization. ##
2348## -------------------- ##
2349
2350# Be more Bourne compatible
2351DUALCASE=1; export DUALCASE # for MKS sh
2352if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2353  emulate sh
2354  NULLCMD=:
2355  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2356  # is contrary to our usage.  Disable this feature.
2357  alias -g '${1+"$@"}'='"$@"'
2358  setopt NO_GLOB_SUBST
2359else
2360  case `(set -o) 2>/dev/null` in #(
2361  *posix*) :
2362    set -o posix ;; #(
2363  *) :
2364     ;;
2365esac
2366fi
2367
2368
2369as_nl='
2370'
2371export as_nl
2372# Printing a long string crashes Solaris 7 /usr/bin/printf.
2373as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2374as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2375as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2376# Prefer a ksh shell builtin over an external printf program on Solaris,
2377# but without wasting forks for bash or zsh.
2378if test -z "$BASH_VERSION$ZSH_VERSION" \
2379    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2380  as_echo='print -r --'
2381  as_echo_n='print -rn --'
2382elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2383  as_echo='printf %s\n'
2384  as_echo_n='printf %s'
2385else
2386  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2387    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2388    as_echo_n='/usr/ucb/echo -n'
2389  else
2390    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2391    as_echo_n_body='eval
2392      arg=$1;
2393      case $arg in #(
2394      *"$as_nl"*)
2395	expr "X$arg" : "X\\(.*\\)$as_nl";
2396	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2397      esac;
2398      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2399    '
2400    export as_echo_n_body
2401    as_echo_n='sh -c $as_echo_n_body as_echo'
2402  fi
2403  export as_echo_body
2404  as_echo='sh -c $as_echo_body as_echo'
2405fi
2406
2407# The user is always right.
2408if test "${PATH_SEPARATOR+set}" != set; then
2409  PATH_SEPARATOR=:
2410  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2411    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2412      PATH_SEPARATOR=';'
2413  }
2414fi
2415
2416
2417# IFS
2418# We need space, tab and new line, in precisely that order.  Quoting is
2419# there to prevent editors from complaining about space-tab.
2420# (If _AS_PATH_WALK were called with IFS unset, it would disable word
2421# splitting by setting IFS to empty value.)
2422IFS=" ""	$as_nl"
2423
2424# Find who we are.  Look in the path if we contain no directory separator.
2425as_myself=
2426case $0 in #((
2427  *[\\/]* ) as_myself=$0 ;;
2428  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2429for as_dir in $PATH
2430do
2431  IFS=$as_save_IFS
2432  test -z "$as_dir" && as_dir=.
2433    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2434  done
2435IFS=$as_save_IFS
2436
2437     ;;
2438esac
2439# We did not find ourselves, most probably we were run as `sh COMMAND'
2440# in which case we are not to be found in the path.
2441if test "x$as_myself" = x; then
2442  as_myself=$0
2443fi
2444if test ! -f "$as_myself"; then
2445  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2446  exit 1
2447fi
2448
2449# Unset variables that we do not need and which cause bugs (e.g. in
2450# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
2451# suppresses any "Segmentation fault" message there.  '((' could
2452# trigger a bug in pdksh 5.2.14.
2453for as_var in BASH_ENV ENV MAIL MAILPATH
2454do eval test x\${$as_var+set} = xset \
2455  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2456done
2457PS1='$ '
2458PS2='> '
2459PS4='+ '
2460
2461# NLS nuisances.
2462LC_ALL=C
2463export LC_ALL
2464LANGUAGE=C
2465export LANGUAGE
2466
2467# CDPATH.
2468(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2469
2470
2471# as_fn_error STATUS ERROR [LINENO LOG_FD]
2472# ----------------------------------------
2473# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2474# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2475# script with STATUS, using 1 if that was 0.
2476as_fn_error ()
2477{
2478  as_status=$1; test $as_status -eq 0 && as_status=1
2479  if test "$4"; then
2480    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2481    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
2482  fi
2483  $as_echo "$as_me: error: $2" >&2
2484  as_fn_exit $as_status
2485} # as_fn_error
2486
2487
2488# as_fn_set_status STATUS
2489# -----------------------
2490# Set $? to STATUS, without forking.
2491as_fn_set_status ()
2492{
2493  return $1
2494} # as_fn_set_status
2495
2496# as_fn_exit STATUS
2497# -----------------
2498# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2499as_fn_exit ()
2500{
2501  set +e
2502  as_fn_set_status $1
2503  exit $1
2504} # as_fn_exit
2505
2506# as_fn_unset VAR
2507# ---------------
2508# Portably unset VAR.
2509as_fn_unset ()
2510{
2511  { eval $1=; unset $1;}
2512}
2513as_unset=as_fn_unset
2514# as_fn_append VAR VALUE
2515# ----------------------
2516# Append the text in VALUE to the end of the definition contained in VAR. Take
2517# advantage of any shell optimizations that allow amortized linear growth over
2518# repeated appends, instead of the typical quadratic growth present in naive
2519# implementations.
2520if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
2521  eval 'as_fn_append ()
2522  {
2523    eval $1+=\$2
2524  }'
2525else
2526  as_fn_append ()
2527  {
2528    eval $1=\$$1\$2
2529  }
2530fi # as_fn_append
2531
2532# as_fn_arith ARG...
2533# ------------------
2534# Perform arithmetic evaluation on the ARGs, and store the result in the
2535# global $as_val. Take advantage of shells that can avoid forks. The arguments
2536# must be portable across $(()) and expr.
2537if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
2538  eval 'as_fn_arith ()
2539  {
2540    as_val=$(( $* ))
2541  }'
2542else
2543  as_fn_arith ()
2544  {
2545    as_val=`expr "$@" || test $? -eq 1`
2546  }
2547fi # as_fn_arith
2548
2549
2550if expr a : '\(a\)' >/dev/null 2>&1 &&
2551   test "X`expr 00001 : '.*\(...\)'`" = X001; then
2552  as_expr=expr
2553else
2554  as_expr=false
2555fi
2556
2557if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2558  as_basename=basename
2559else
2560  as_basename=false
2561fi
2562
2563if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2564  as_dirname=dirname
2565else
2566  as_dirname=false
2567fi
2568
2569as_me=`$as_basename -- "$0" ||
2570$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2571	 X"$0" : 'X\(//\)$' \| \
2572	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2573$as_echo X/"$0" |
2574    sed '/^.*\/\([^/][^/]*\)\/*$/{
2575	    s//\1/
2576	    q
2577	  }
2578	  /^X\/\(\/\/\)$/{
2579	    s//\1/
2580	    q
2581	  }
2582	  /^X\/\(\/\).*/{
2583	    s//\1/
2584	    q
2585	  }
2586	  s/.*/./; q'`
2587
2588# Avoid depending upon Character Ranges.
2589as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2590as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2591as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2592as_cr_digits='0123456789'
2593as_cr_alnum=$as_cr_Letters$as_cr_digits
2594
2595ECHO_C= ECHO_N= ECHO_T=
2596case `echo -n x` in #(((((
2597-n*)
2598  case `echo 'xy\c'` in
2599  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
2600  xy)  ECHO_C='\c';;
2601  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
2602       ECHO_T='	';;
2603  esac;;
2604*)
2605  ECHO_N='-n';;
2606esac
2607
2608rm -f conf$$ conf$$.exe conf$$.file
2609if test -d conf$$.dir; then
2610  rm -f conf$$.dir/conf$$.file
2611else
2612  rm -f conf$$.dir
2613  mkdir conf$$.dir 2>/dev/null
2614fi
2615if (echo >conf$$.file) 2>/dev/null; then
2616  if ln -s conf$$.file conf$$ 2>/dev/null; then
2617    as_ln_s='ln -s'
2618    # ... but there are two gotchas:
2619    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2620    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2621    # In both cases, we have to default to `cp -pR'.
2622    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2623      as_ln_s='cp -pR'
2624  elif ln conf$$.file conf$$ 2>/dev/null; then
2625    as_ln_s=ln
2626  else
2627    as_ln_s='cp -pR'
2628  fi
2629else
2630  as_ln_s='cp -pR'
2631fi
2632rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2633rmdir conf$$.dir 2>/dev/null
2634
2635
2636# as_fn_mkdir_p
2637# -------------
2638# Create "$as_dir" as a directory, including parents if necessary.
2639as_fn_mkdir_p ()
2640{
2641
2642  case $as_dir in #(
2643  -*) as_dir=./$as_dir;;
2644  esac
2645  test -d "$as_dir" || eval $as_mkdir_p || {
2646    as_dirs=
2647    while :; do
2648      case $as_dir in #(
2649      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2650      *) as_qdir=$as_dir;;
2651      esac
2652      as_dirs="'$as_qdir' $as_dirs"
2653      as_dir=`$as_dirname -- "$as_dir" ||
2654$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2655	 X"$as_dir" : 'X\(//\)[^/]' \| \
2656	 X"$as_dir" : 'X\(//\)$' \| \
2657	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2658$as_echo X"$as_dir" |
2659    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2660	    s//\1/
2661	    q
2662	  }
2663	  /^X\(\/\/\)[^/].*/{
2664	    s//\1/
2665	    q
2666	  }
2667	  /^X\(\/\/\)$/{
2668	    s//\1/
2669	    q
2670	  }
2671	  /^X\(\/\).*/{
2672	    s//\1/
2673	    q
2674	  }
2675	  s/.*/./; q'`
2676      test -d "$as_dir" && break
2677    done
2678    test -z "$as_dirs" || eval "mkdir $as_dirs"
2679  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
2680
2681
2682} # as_fn_mkdir_p
2683if mkdir -p . 2>/dev/null; then
2684  as_mkdir_p='mkdir -p "$as_dir"'
2685else
2686  test -d ./-p && rmdir ./-p
2687  as_mkdir_p=false
2688fi
2689
2690
2691# as_fn_executable_p FILE
2692# -----------------------
2693# Test if FILE is an executable regular file.
2694as_fn_executable_p ()
2695{
2696  test -f "$1" && test -x "$1"
2697} # as_fn_executable_p
2698as_test_x='test -x'
2699as_executable_p=as_fn_executable_p
2700
2701# Sed expression to map a string onto a valid CPP name.
2702as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2703
2704# Sed expression to map a string onto a valid variable name.
2705as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2706
2707
2708exec 6>&1
2709## ----------------------------------- ##
2710## Main body of $CONFIG_STATUS script. ##
2711## ----------------------------------- ##
2712_ASEOF
2713test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
2714
2715cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2716# Save the log message, to keep $0 and so on meaningful, and to
2717# report actual input values of CONFIG_FILES etc. instead of their
2718# values after options handling.
2719ac_log="
2720This file was extended by $as_me, which was
2721generated by GNU Autoconf 2.69.  Invocation command line was
2722
2723  CONFIG_FILES    = $CONFIG_FILES
2724  CONFIG_HEADERS  = $CONFIG_HEADERS
2725  CONFIG_LINKS    = $CONFIG_LINKS
2726  CONFIG_COMMANDS = $CONFIG_COMMANDS
2727  $ $0 $@
2728
2729on `(hostname || uname -n) 2>/dev/null | sed 1q`
2730"
2731
2732_ACEOF
2733
2734case $ac_config_files in *"
2735"*) set x $ac_config_files; shift; ac_config_files=$*;;
2736esac
2737
2738
2739
2740cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2741# Files that config.status was made for.
2742config_files="$ac_config_files"
2743
2744_ACEOF
2745
2746cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2747ac_cs_usage="\
2748\`$as_me' instantiates files and other configuration actions
2749from templates according to the current configuration.  Unless the files
2750and actions are specified as TAGs, all are instantiated by default.
2751
2752Usage: $0 [OPTION]... [TAG]...
2753
2754  -h, --help       print this help, then exit
2755  -V, --version    print version number and configuration settings, then exit
2756      --config     print configuration, then exit
2757  -q, --quiet, --silent
2758                   do not print progress messages
2759  -d, --debug      don't remove temporary files
2760      --recheck    update $as_me by reconfiguring in the same conditions
2761      --file=FILE[:TEMPLATE]
2762                   instantiate the configuration file FILE
2763
2764Configuration files:
2765$config_files
2766
2767Report bugs to the package provider."
2768
2769_ACEOF
2770cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2771ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
2772ac_cs_version="\\
2773config.status
2774configured by $0, generated by GNU Autoconf 2.69,
2775  with options \\"\$ac_cs_config\\"
2776
2777Copyright (C) 2012 Free Software Foundation, Inc.
2778This config.status script is free software; the Free Software Foundation
2779gives unlimited permission to copy, distribute and modify it."
2780
2781ac_pwd='$ac_pwd'
2782srcdir='$srcdir'
2783test -n "\$AWK" || AWK=awk
2784_ACEOF
2785
2786cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2787# The default lists apply if the user does not specify any file.
2788ac_need_defaults=:
2789while test $# != 0
2790do
2791  case $1 in
2792  --*=?*)
2793    ac_option=`expr "X$1" : 'X\([^=]*\)='`
2794    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2795    ac_shift=:
2796    ;;
2797  --*=)
2798    ac_option=`expr "X$1" : 'X\([^=]*\)='`
2799    ac_optarg=
2800    ac_shift=:
2801    ;;
2802  *)
2803    ac_option=$1
2804    ac_optarg=$2
2805    ac_shift=shift
2806    ;;
2807  esac
2808
2809  case $ac_option in
2810  # Handling of the options.
2811  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2812    ac_cs_recheck=: ;;
2813  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2814    $as_echo "$ac_cs_version"; exit ;;
2815  --config | --confi | --conf | --con | --co | --c )
2816    $as_echo "$ac_cs_config"; exit ;;
2817  --debug | --debu | --deb | --de | --d | -d )
2818    debug=: ;;
2819  --file | --fil | --fi | --f )
2820    $ac_shift
2821    case $ac_optarg in
2822    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
2823    '') as_fn_error $? "missing file argument" ;;
2824    esac
2825    as_fn_append CONFIG_FILES " '$ac_optarg'"
2826    ac_need_defaults=false;;
2827  --he | --h |  --help | --hel | -h )
2828    $as_echo "$ac_cs_usage"; exit ;;
2829  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2830  | -silent | --silent | --silen | --sile | --sil | --si | --s)
2831    ac_cs_silent=: ;;
2832
2833  # This is an error.
2834  -*) as_fn_error $? "unrecognized option: \`$1'
2835Try \`$0 --help' for more information." ;;
2836
2837  *) as_fn_append ac_config_targets " $1"
2838     ac_need_defaults=false ;;
2839
2840  esac
2841  shift
2842done
2843
2844ac_configure_extra_args=
2845
2846if $ac_cs_silent; then
2847  exec 6>/dev/null
2848  ac_configure_extra_args="$ac_configure_extra_args --silent"
2849fi
2850
2851_ACEOF
2852cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2853if \$ac_cs_recheck; then
2854  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2855  shift
2856  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
2857  CONFIG_SHELL='$SHELL'
2858  export CONFIG_SHELL
2859  exec "\$@"
2860fi
2861
2862_ACEOF
2863cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2864exec 5>>config.log
2865{
2866  echo
2867  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2868## Running $as_me. ##
2869_ASBOX
2870  $as_echo "$ac_log"
2871} >&5
2872
2873_ACEOF
2874cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2875_ACEOF
2876
2877cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2878
2879# Handling of arguments.
2880for ac_config_target in $ac_config_targets
2881do
2882  case $ac_config_target in
2883    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2884    "aux2bib") CONFIG_FILES="$CONFIG_FILES aux2bib" ;;
2885
2886  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
2887  esac
2888done
2889
2890
2891# If the user did not use the arguments to specify the items to instantiate,
2892# then the envvar interface is used.  Set only those that are not.
2893# We use the long form for the default assignment because of an extremely
2894# bizarre bug on SunOS 4.1.3.
2895if $ac_need_defaults; then
2896  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2897fi
2898
2899# Have a temporary directory for convenience.  Make it in the build tree
2900# simply because there is no reason against having it here, and in addition,
2901# creating and moving files from /tmp can sometimes cause problems.
2902# Hook for its removal unless debugging.
2903# Note that there is a small window in which the directory will not be cleaned:
2904# after its creation but before its name has been assigned to `$tmp'.
2905$debug ||
2906{
2907  tmp= ac_tmp=
2908  trap 'exit_status=$?
2909  : "${ac_tmp:=$tmp}"
2910  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
2911' 0
2912  trap 'as_fn_exit 1' 1 2 13 15
2913}
2914# Create a (secure) tmp directory for tmp files.
2915
2916{
2917  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
2918  test -d "$tmp"
2919}  ||
2920{
2921  tmp=./conf$$-$RANDOM
2922  (umask 077 && mkdir "$tmp")
2923} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
2924ac_tmp=$tmp
2925
2926# Set up the scripts for CONFIG_FILES section.
2927# No need to generate them if there are no CONFIG_FILES.
2928# This happens for instance with `./config.status config.h'.
2929if test -n "$CONFIG_FILES"; then
2930
2931
2932ac_cr=`echo X | tr X '\015'`
2933# On cygwin, bash can eat \r inside `` if the user requested igncr.
2934# But we know of no other shell where ac_cr would be empty at this
2935# point, so we can use a bashism as a fallback.
2936if test "x$ac_cr" = x; then
2937  eval ac_cr=\$\'\\r\'
2938fi
2939ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
2940if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
2941  ac_cs_awk_cr='\\r'
2942else
2943  ac_cs_awk_cr=$ac_cr
2944fi
2945
2946echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
2947_ACEOF
2948
2949
2950{
2951  echo "cat >conf$$subs.awk <<_ACEOF" &&
2952  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
2953  echo "_ACEOF"
2954} >conf$$subs.sh ||
2955  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
2956ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
2957ac_delim='%!_!# '
2958for ac_last_try in false false false false false :; do
2959  . ./conf$$subs.sh ||
2960    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
2961
2962  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
2963  if test $ac_delim_n = $ac_delim_num; then
2964    break
2965  elif $ac_last_try; then
2966    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
2967  else
2968    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
2969  fi
2970done
2971rm -f conf$$subs.sh
2972
2973cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2974cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
2975_ACEOF
2976sed -n '
2977h
2978s/^/S["/; s/!.*/"]=/
2979p
2980g
2981s/^[^!]*!//
2982:repl
2983t repl
2984s/'"$ac_delim"'$//
2985t delim
2986:nl
2987h
2988s/\(.\{148\}\)..*/\1/
2989t more1
2990s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
2991p
2992n
2993b repl
2994:more1
2995s/["\\]/\\&/g; s/^/"/; s/$/"\\/
2996p
2997g
2998s/.\{148\}//
2999t nl
3000:delim
3001h
3002s/\(.\{148\}\)..*/\1/
3003t more2
3004s/["\\]/\\&/g; s/^/"/; s/$/"/
3005p
3006b
3007:more2
3008s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3009p
3010g
3011s/.\{148\}//
3012t delim
3013' <conf$$subs.awk | sed '
3014/^[^""]/{
3015  N
3016  s/\n//
3017}
3018' >>$CONFIG_STATUS || ac_write_fail=1
3019rm -f conf$$subs.awk
3020cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3021_ACAWK
3022cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3023  for (key in S) S_is_set[key] = 1
3024  FS = ""
3025
3026}
3027{
3028  line = $ 0
3029  nfields = split(line, field, "@")
3030  substed = 0
3031  len = length(field[1])
3032  for (i = 2; i < nfields; i++) {
3033    key = field[i]
3034    keylen = length(key)
3035    if (S_is_set[key]) {
3036      value = S[key]
3037      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3038      len += length(value) + length(field[++i])
3039      substed = 1
3040    } else
3041      len += 1 + keylen
3042  }
3043
3044  print line
3045}
3046
3047_ACAWK
3048_ACEOF
3049cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3050if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3051  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3052else
3053  cat
3054fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3055  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3056_ACEOF
3057
3058# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3059# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3060# trailing colons and then remove the whole line if VPATH becomes empty
3061# (actually we leave an empty line to preserve line numbers).
3062if test "x$srcdir" = x.; then
3063  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
3064h
3065s///
3066s/^/:/
3067s/[	 ]*$/:/
3068s/:\$(srcdir):/:/g
3069s/:\${srcdir}:/:/g
3070s/:@srcdir@:/:/g
3071s/^:*//
3072s/:*$//
3073x
3074s/\(=[	 ]*\).*/\1/
3075G
3076s/\n//
3077s/^[^=]*=[	 ]*$//
3078}'
3079fi
3080
3081cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3082fi # test -n "$CONFIG_FILES"
3083
3084
3085eval set X "  :F $CONFIG_FILES      "
3086shift
3087for ac_tag
3088do
3089  case $ac_tag in
3090  :[FHLC]) ac_mode=$ac_tag; continue;;
3091  esac
3092  case $ac_mode$ac_tag in
3093  :[FHL]*:*);;
3094  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
3095  :[FH]-) ac_tag=-:-;;
3096  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3097  esac
3098  ac_save_IFS=$IFS
3099  IFS=:
3100  set x $ac_tag
3101  IFS=$ac_save_IFS
3102  shift
3103  ac_file=$1
3104  shift
3105
3106  case $ac_mode in
3107  :L) ac_source=$1;;
3108  :[FH])
3109    ac_file_inputs=
3110    for ac_f
3111    do
3112      case $ac_f in
3113      -) ac_f="$ac_tmp/stdin";;
3114      *) # Look for the file first in the build tree, then in the source tree
3115	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
3116	 # because $ac_f cannot contain `:'.
3117	 test -f "$ac_f" ||
3118	   case $ac_f in
3119	   [\\/$]*) false;;
3120	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3121	   esac ||
3122	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3123      esac
3124      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3125      as_fn_append ac_file_inputs " '$ac_f'"
3126    done
3127
3128    # Let's still pretend it is `configure' which instantiates (i.e., don't
3129    # use $as_me), people would be surprised to read:
3130    #    /* config.h.  Generated by config.status.  */
3131    configure_input='Generated from '`
3132	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3133	`' by configure.'
3134    if test x"$ac_file" != x-; then
3135      configure_input="$ac_file.  $configure_input"
3136      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3137$as_echo "$as_me: creating $ac_file" >&6;}
3138    fi
3139    # Neutralize special characters interpreted by sed in replacement strings.
3140    case $configure_input in #(
3141    *\&* | *\|* | *\\* )
3142       ac_sed_conf_input=`$as_echo "$configure_input" |
3143       sed 's/[\\\\&|]/\\\\&/g'`;; #(
3144    *) ac_sed_conf_input=$configure_input;;
3145    esac
3146
3147    case $ac_tag in
3148    *:-:* | *:-) cat >"$ac_tmp/stdin" \
3149      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
3150    esac
3151    ;;
3152  esac
3153
3154  ac_dir=`$as_dirname -- "$ac_file" ||
3155$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3156	 X"$ac_file" : 'X\(//\)[^/]' \| \
3157	 X"$ac_file" : 'X\(//\)$' \| \
3158	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3159$as_echo X"$ac_file" |
3160    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3161	    s//\1/
3162	    q
3163	  }
3164	  /^X\(\/\/\)[^/].*/{
3165	    s//\1/
3166	    q
3167	  }
3168	  /^X\(\/\/\)$/{
3169	    s//\1/
3170	    q
3171	  }
3172	  /^X\(\/\).*/{
3173	    s//\1/
3174	    q
3175	  }
3176	  s/.*/./; q'`
3177  as_dir="$ac_dir"; as_fn_mkdir_p
3178  ac_builddir=.
3179
3180case "$ac_dir" in
3181.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3182*)
3183  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3184  # A ".." for each directory in $ac_dir_suffix.
3185  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3186  case $ac_top_builddir_sub in
3187  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3188  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3189  esac ;;
3190esac
3191ac_abs_top_builddir=$ac_pwd
3192ac_abs_builddir=$ac_pwd$ac_dir_suffix
3193# for backward compatibility:
3194ac_top_builddir=$ac_top_build_prefix
3195
3196case $srcdir in
3197  .)  # We are building in place.
3198    ac_srcdir=.
3199    ac_top_srcdir=$ac_top_builddir_sub
3200    ac_abs_top_srcdir=$ac_pwd ;;
3201  [\\/]* | ?:[\\/]* )  # Absolute name.
3202    ac_srcdir=$srcdir$ac_dir_suffix;
3203    ac_top_srcdir=$srcdir
3204    ac_abs_top_srcdir=$srcdir ;;
3205  *) # Relative name.
3206    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3207    ac_top_srcdir=$ac_top_build_prefix$srcdir
3208    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3209esac
3210ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3211
3212
3213  case $ac_mode in
3214  :F)
3215  #
3216  # CONFIG_FILE
3217  #
3218
3219_ACEOF
3220
3221cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3222# If the template does not know about datarootdir, expand it.
3223# FIXME: This hack should be removed a few years after 2.60.
3224ac_datarootdir_hack=; ac_datarootdir_seen=
3225ac_sed_dataroot='
3226/datarootdir/ {
3227  p
3228  q
3229}
3230/@datadir@/p
3231/@docdir@/p
3232/@infodir@/p
3233/@localedir@/p
3234/@mandir@/p'
3235case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3236*datarootdir*) ac_datarootdir_seen=yes;;
3237*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3238  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3239$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3240_ACEOF
3241cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3242  ac_datarootdir_hack='
3243  s&@datadir@&$datadir&g
3244  s&@docdir@&$docdir&g
3245  s&@infodir@&$infodir&g
3246  s&@localedir@&$localedir&g
3247  s&@mandir@&$mandir&g
3248  s&\\\${datarootdir}&$datarootdir&g' ;;
3249esac
3250_ACEOF
3251
3252# Neutralize VPATH when `$srcdir' = `.'.
3253# Shell code in configure.ac might set extrasub.
3254# FIXME: do we really want to maintain this feature?
3255cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3256ac_sed_extra="$ac_vpsub
3257$extrasub
3258_ACEOF
3259cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3260:t
3261/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3262s|@configure_input@|$ac_sed_conf_input|;t t
3263s&@top_builddir@&$ac_top_builddir_sub&;t t
3264s&@top_build_prefix@&$ac_top_build_prefix&;t t
3265s&@srcdir@&$ac_srcdir&;t t
3266s&@abs_srcdir@&$ac_abs_srcdir&;t t
3267s&@top_srcdir@&$ac_top_srcdir&;t t
3268s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3269s&@builddir@&$ac_builddir&;t t
3270s&@abs_builddir@&$ac_abs_builddir&;t t
3271s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3272$ac_datarootdir_hack
3273"
3274eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
3275  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3276
3277test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3278  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
3279  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
3280      "$ac_tmp/out"`; test -z "$ac_out"; } &&
3281  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3282which seems to be undefined.  Please make sure it is defined" >&5
3283$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3284which seems to be undefined.  Please make sure it is defined" >&2;}
3285
3286  rm -f "$ac_tmp/stdin"
3287  case $ac_file in
3288  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
3289  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
3290  esac \
3291  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3292 ;;
3293
3294
3295
3296  esac
3297
3298done # for ac_tag
3299
3300
3301as_fn_exit 0
3302_ACEOF
3303ac_clean_files=$ac_clean_files_save
3304
3305test $ac_write_fail = 0 ||
3306  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
3307
3308
3309# configure is writing to config.log, and then calls config.status.
3310# config.status does its own redirection, appending to config.log.
3311# Unfortunately, on DOS this fails, as config.log is still kept open
3312# by configure, so config.status won't be able to write to it; its
3313# output is simply discarded.  So we exec the FD to /dev/null,
3314# effectively closing config.log, so it can be properly (re)opened and
3315# appended to by config.status.  When coming back to configure, we
3316# need to make the FD available again.
3317if test "$no_create" != yes; then
3318  ac_cs_success=:
3319  ac_config_status_args=
3320  test "$silent" = yes &&
3321    ac_config_status_args="$ac_config_status_args --quiet"
3322  exec 5>/dev/null
3323  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3324  exec 5>>config.log
3325  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3326  # would make configure fail if this is the last instruction.
3327  $ac_cs_success || as_fn_exit 1
3328fi
3329if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3330  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3331$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
3332fi
3333
3334chmod a+x aux2bib
3335chmod a-w Makefile
3336