]> matita.cs.unibo.it Git - pkg-cerco/acc.git/blob - configure
Package description and copyright added.
[pkg-cerco/acc.git] / configure
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
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if 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
24 else
25   case `(set -o) 2>/dev/null` in #(
26   *posix*) :
27     set -o posix ;; #(
28   *) :
29      ;;
30 esac
31 fi
32
33
34 as_nl='
35 '
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_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.
43 if 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 --'
47 elif (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'
50 else
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'
70 fi
71
72 # The user is always right.
73 if 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   }
79 fi
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.)
87 IFS=" ""        $as_nl"
88
89 # Find who we are.  Look in the path if we contain no directory separator.
90 as_myself=
91 case $0 in #((
92   *[\\/]* ) as_myself=$0 ;;
93   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94 for as_dir in $PATH
95 do
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
100 IFS=$as_save_IFS
101
102      ;;
103 esac
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.
106 if test "x$as_myself" = x; then
107   as_myself=$0
108 fi
109 if test ! -f "$as_myself"; then
110   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111   exit 1
112 fi
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.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121 done
122 PS1='$ '
123 PS2='> '
124 PS4='+ '
125
126 # NLS nuisances.
127 LC_ALL=C
128 export LC_ALL
129 LANGUAGE=C
130 export 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.
143 BASH_ENV=/dev/null
144 ENV=/dev/null
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146 case $- in # ((((
147   *v*x* | *x*v* ) as_opts=-vx ;;
148   *v* ) as_opts=-v ;;
149   *x* ) as_opts=-x ;;
150   * ) as_opts= ;;
151 esac
152 exec $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
156 as_fn_exit 255
157   fi
158   # We don't want this to propagate to other subprocesses.
159           { _as_can_reexec=; unset _as_can_reexec;}
160 if 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
168 else
169   case \`(set -o) 2>/dev/null\` in #(
170   *posix*) :
171     set -o posix ;; #(
172   *) :
173      ;;
174 esac
175 fi
176 "
177   as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
182
183 exitcode=0
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189
190 else
191   exitcode=1; echo positional parameters were not saved.
192 fi
193 test x\$exitcode = x0 || exit 1
194 test -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
201 else
202   as_have_required=no
203 fi
204   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
205
206 else
207   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
208 as_found=false
209 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
210 do
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
224 fi
225 fi
226            done;;
227        esac
228   as_found=false
229 done
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
233 fi; }
234 IFS=$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.
243 BASH_ENV=/dev/null
244 ENV=/dev/null
245 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
246 case $- in # ((((
247   *v*x* | *x*v* ) as_opts=-vx ;;
248   *v* ) as_opts=-v ;;
249   *x* ) as_opts=-x ;;
250   * ) as_opts= ;;
251 esac
252 exec $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
256 exit 255
257 fi
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
272 fi
273 fi
274 fi
275 SHELL=${CONFIG_SHELL-/bin/sh}
276 export SHELL
277 # Unset more variables known to interfere with behavior of common tools.
278 CLICOLOR_FORCE= GREP_OPTIONS=
279 unset CLICOLOR_FORCE GREP_OPTIONS
280
281 ## --------------------- ##
282 ## M4sh Shell Functions. ##
283 ## --------------------- ##
284 # as_fn_unset VAR
285 # ---------------
286 # Portably unset VAR.
287 as_fn_unset ()
288 {
289   { eval $1=; unset $1;}
290 }
291 as_unset=as_fn_unset
292
293 # as_fn_set_status STATUS
294 # -----------------------
295 # Set $? to STATUS, without forking.
296 as_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.
304 as_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.
314 as_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.
362 as_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.
372 if (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   }'
377 else
378   as_fn_append ()
379   {
380     eval $1=\$$1\$2
381   }
382 fi # 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.
389 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
390   eval 'as_fn_arith ()
391   {
392     as_val=$(( $* ))
393   }'
394 else
395   as_fn_arith ()
396   {
397     as_val=`expr "$@" || test $? -eq 1`
398   }
399 fi # 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.
407 as_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
418 if expr a : '\(a\)' >/dev/null 2>&1 &&
419    test "X`expr 00001 : '.*\(...\)'`" = X001; then
420   as_expr=expr
421 else
422   as_expr=false
423 fi
424
425 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
426   as_basename=basename
427 else
428   as_basename=false
429 fi
430
431 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
432   as_dirname=dirname
433 else
434   as_dirname=false
435 fi
436
437 as_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.
457 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
458 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
459 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
460 as_cr_digits='0123456789'
461 as_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
499 ECHO_C= ECHO_N= ECHO_T=
500 case `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';;
510 esac
511
512 rm -f conf$$ conf$$.exe conf$$.file
513 if test -d conf$$.dir; then
514   rm -f conf$$.dir/conf$$.file
515 else
516   rm -f conf$$.dir
517   mkdir conf$$.dir 2>/dev/null
518 fi
519 if (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
533 else
534   as_ln_s='cp -pR'
535 fi
536 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
537 rmdir conf$$.dir 2>/dev/null
538
539 if mkdir -p . 2>/dev/null; then
540   as_mkdir_p='mkdir -p "$as_dir"'
541 else
542   test -d ./-p && rmdir ./-p
543   as_mkdir_p=false
544 fi
545
546 as_test_x='test -x'
547 as_executable_p=as_fn_executable_p
548
549 # Sed expression to map a string onto a valid CPP name.
550 as_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.
553 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554
555
556 test -n "$DJDIR" || exec 7<&0 </dev/null
557 exec 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.
562 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
563
564 #
565 # Initializations.
566 #
567 ac_default_prefix=/usr/local
568 ac_clean_files=
569 ac_config_libobj_dir=.
570 LIBOBJS=
571 cross_compiling=no
572 subdirs=
573 MFLAGS=
574 MAKEFLAGS=
575
576 # Identity of this package.
577 PACKAGE_NAME=
578 PACKAGE_TARNAME=
579 PACKAGE_VERSION=
580 PACKAGE_STRING=
581 PACKAGE_BUGREPORT=
582 PACKAGE_URL=
583
584 ac_unique_file="configure.ac"
585 ac_subst_vars='LTLIBOBJS
586 LIBOBJS
587 HAVE_OCLOSURE
588 JS_OF_OCAML
589 OCAMLBUILD
590 target_alias
591 host_alias
592 build_alias
593 LIBS
594 ECHO_T
595 ECHO_N
596 ECHO_C
597 DEFS
598 mandir
599 localedir
600 libdir
601 psdir
602 pdfdir
603 dvidir
604 htmldir
605 infodir
606 docdir
607 oldincludedir
608 includedir
609 localstatedir
610 sharedstatedir
611 sysconfdir
612 datadir
613 datarootdir
614 libexecdir
615 sbindir
616 bindir
617 program_transform_name
618 prefix
619 exec_prefix
620 PACKAGE_URL
621 PACKAGE_BUGREPORT
622 PACKAGE_STRING
623 PACKAGE_VERSION
624 PACKAGE_TARNAME
625 PACKAGE_NAME
626 PATH_SEPARATOR
627 SHELL'
628 ac_subst_files=''
629 ac_user_opts='
630 enable_option_checking
631 with_webapp
632 '
633       ac_precious_vars='build_alias
634 host_alias
635 target_alias'
636
637
638 # Initialize some variables set by options.
639 ac_init_help=
640 ac_init_version=false
641 ac_unrecognized_opts=
642 ac_unrecognized_sep=
643 # The variables have the same names as the options, with
644 # dashes changed to underlines.
645 cache_file=/dev/null
646 exec_prefix=NONE
647 no_create=
648 no_recursion=
649 prefix=NONE
650 program_prefix=NONE
651 program_suffix=NONE
652 program_transform_name=s,x,x,
653 silent=
654 site=
655 srcdir=
656 verbose=
657 x_includes=NONE
658 x_libraries=NONE
659
660 # Installation directory options.
661 # These are left unexpanded so users can "make install exec_prefix=/foo"
662 # and all the variables that are supposed to be based on exec_prefix
663 # by default will actually change.
664 # Use braces instead of parens because sh, perl, etc. also accept them.
665 # (The list follows the same order as the GNU Coding Standards.)
666 bindir='${exec_prefix}/bin'
667 sbindir='${exec_prefix}/sbin'
668 libexecdir='${exec_prefix}/libexec'
669 datarootdir='${prefix}/share'
670 datadir='${datarootdir}'
671 sysconfdir='${prefix}/etc'
672 sharedstatedir='${prefix}/com'
673 localstatedir='${prefix}/var'
674 includedir='${prefix}/include'
675 oldincludedir='/usr/include'
676 docdir='${datarootdir}/doc/${PACKAGE}'
677 infodir='${datarootdir}/info'
678 htmldir='${docdir}'
679 dvidir='${docdir}'
680 pdfdir='${docdir}'
681 psdir='${docdir}'
682 libdir='${exec_prefix}/lib'
683 localedir='${datarootdir}/locale'
684 mandir='${datarootdir}/man'
685
686 ac_prev=
687 ac_dashdash=
688 for ac_option
689 do
690   # If the previous option needs an argument, assign it.
691   if test -n "$ac_prev"; then
692     eval $ac_prev=\$ac_option
693     ac_prev=
694     continue
695   fi
696
697   case $ac_option in
698   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
699   *=)   ac_optarg= ;;
700   *)    ac_optarg=yes ;;
701   esac
702
703   # Accept the important Cygnus configure options, so we can diagnose typos.
704
705   case $ac_dashdash$ac_option in
706   --)
707     ac_dashdash=yes ;;
708
709   -bindir | --bindir | --bindi | --bind | --bin | --bi)
710     ac_prev=bindir ;;
711   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
712     bindir=$ac_optarg ;;
713
714   -build | --build | --buil | --bui | --bu)
715     ac_prev=build_alias ;;
716   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
717     build_alias=$ac_optarg ;;
718
719   -cache-file | --cache-file | --cache-fil | --cache-fi \
720   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
721     ac_prev=cache_file ;;
722   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
723   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
724     cache_file=$ac_optarg ;;
725
726   --config-cache | -C)
727     cache_file=config.cache ;;
728
729   -datadir | --datadir | --datadi | --datad)
730     ac_prev=datadir ;;
731   -datadir=* | --datadir=* | --datadi=* | --datad=*)
732     datadir=$ac_optarg ;;
733
734   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
735   | --dataroo | --dataro | --datar)
736     ac_prev=datarootdir ;;
737   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
738   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
739     datarootdir=$ac_optarg ;;
740
741   -disable-* | --disable-*)
742     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
743     # Reject names that are not valid shell variable names.
744     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
745       as_fn_error $? "invalid feature name: $ac_useropt"
746     ac_useropt_orig=$ac_useropt
747     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
748     case $ac_user_opts in
749       *"
750 "enable_$ac_useropt"
751 "*) ;;
752       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
753          ac_unrecognized_sep=', ';;
754     esac
755     eval enable_$ac_useropt=no ;;
756
757   -docdir | --docdir | --docdi | --doc | --do)
758     ac_prev=docdir ;;
759   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
760     docdir=$ac_optarg ;;
761
762   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
763     ac_prev=dvidir ;;
764   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
765     dvidir=$ac_optarg ;;
766
767   -enable-* | --enable-*)
768     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
769     # Reject names that are not valid shell variable names.
770     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
771       as_fn_error $? "invalid feature name: $ac_useropt"
772     ac_useropt_orig=$ac_useropt
773     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
774     case $ac_user_opts in
775       *"
776 "enable_$ac_useropt"
777 "*) ;;
778       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
779          ac_unrecognized_sep=', ';;
780     esac
781     eval enable_$ac_useropt=\$ac_optarg ;;
782
783   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
784   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
785   | --exec | --exe | --ex)
786     ac_prev=exec_prefix ;;
787   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
788   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
789   | --exec=* | --exe=* | --ex=*)
790     exec_prefix=$ac_optarg ;;
791
792   -gas | --gas | --ga | --g)
793     # Obsolete; use --with-gas.
794     with_gas=yes ;;
795
796   -help | --help | --hel | --he | -h)
797     ac_init_help=long ;;
798   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
799     ac_init_help=recursive ;;
800   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
801     ac_init_help=short ;;
802
803   -host | --host | --hos | --ho)
804     ac_prev=host_alias ;;
805   -host=* | --host=* | --hos=* | --ho=*)
806     host_alias=$ac_optarg ;;
807
808   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
809     ac_prev=htmldir ;;
810   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
811   | --ht=*)
812     htmldir=$ac_optarg ;;
813
814   -includedir | --includedir | --includedi | --included | --include \
815   | --includ | --inclu | --incl | --inc)
816     ac_prev=includedir ;;
817   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
818   | --includ=* | --inclu=* | --incl=* | --inc=*)
819     includedir=$ac_optarg ;;
820
821   -infodir | --infodir | --infodi | --infod | --info | --inf)
822     ac_prev=infodir ;;
823   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
824     infodir=$ac_optarg ;;
825
826   -libdir | --libdir | --libdi | --libd)
827     ac_prev=libdir ;;
828   -libdir=* | --libdir=* | --libdi=* | --libd=*)
829     libdir=$ac_optarg ;;
830
831   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
832   | --libexe | --libex | --libe)
833     ac_prev=libexecdir ;;
834   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
835   | --libexe=* | --libex=* | --libe=*)
836     libexecdir=$ac_optarg ;;
837
838   -localedir | --localedir | --localedi | --localed | --locale)
839     ac_prev=localedir ;;
840   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
841     localedir=$ac_optarg ;;
842
843   -localstatedir | --localstatedir | --localstatedi | --localstated \
844   | --localstate | --localstat | --localsta | --localst | --locals)
845     ac_prev=localstatedir ;;
846   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
847   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
848     localstatedir=$ac_optarg ;;
849
850   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
851     ac_prev=mandir ;;
852   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
853     mandir=$ac_optarg ;;
854
855   -nfp | --nfp | --nf)
856     # Obsolete; use --without-fp.
857     with_fp=no ;;
858
859   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
860   | --no-cr | --no-c | -n)
861     no_create=yes ;;
862
863   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
864   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
865     no_recursion=yes ;;
866
867   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
868   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
869   | --oldin | --oldi | --old | --ol | --o)
870     ac_prev=oldincludedir ;;
871   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
872   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
873   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
874     oldincludedir=$ac_optarg ;;
875
876   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
877     ac_prev=prefix ;;
878   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
879     prefix=$ac_optarg ;;
880
881   -program-prefix | --program-prefix | --program-prefi | --program-pref \
882   | --program-pre | --program-pr | --program-p)
883     ac_prev=program_prefix ;;
884   -program-prefix=* | --program-prefix=* | --program-prefi=* \
885   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
886     program_prefix=$ac_optarg ;;
887
888   -program-suffix | --program-suffix | --program-suffi | --program-suff \
889   | --program-suf | --program-su | --program-s)
890     ac_prev=program_suffix ;;
891   -program-suffix=* | --program-suffix=* | --program-suffi=* \
892   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
893     program_suffix=$ac_optarg ;;
894
895   -program-transform-name | --program-transform-name \
896   | --program-transform-nam | --program-transform-na \
897   | --program-transform-n | --program-transform- \
898   | --program-transform | --program-transfor \
899   | --program-transfo | --program-transf \
900   | --program-trans | --program-tran \
901   | --progr-tra | --program-tr | --program-t)
902     ac_prev=program_transform_name ;;
903   -program-transform-name=* | --program-transform-name=* \
904   | --program-transform-nam=* | --program-transform-na=* \
905   | --program-transform-n=* | --program-transform-=* \
906   | --program-transform=* | --program-transfor=* \
907   | --program-transfo=* | --program-transf=* \
908   | --program-trans=* | --program-tran=* \
909   | --progr-tra=* | --program-tr=* | --program-t=*)
910     program_transform_name=$ac_optarg ;;
911
912   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
913     ac_prev=pdfdir ;;
914   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
915     pdfdir=$ac_optarg ;;
916
917   -psdir | --psdir | --psdi | --psd | --ps)
918     ac_prev=psdir ;;
919   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
920     psdir=$ac_optarg ;;
921
922   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
923   | -silent | --silent | --silen | --sile | --sil)
924     silent=yes ;;
925
926   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
927     ac_prev=sbindir ;;
928   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
929   | --sbi=* | --sb=*)
930     sbindir=$ac_optarg ;;
931
932   -sharedstatedir | --sharedstatedir | --sharedstatedi \
933   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
934   | --sharedst | --shareds | --shared | --share | --shar \
935   | --sha | --sh)
936     ac_prev=sharedstatedir ;;
937   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
938   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
939   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
940   | --sha=* | --sh=*)
941     sharedstatedir=$ac_optarg ;;
942
943   -site | --site | --sit)
944     ac_prev=site ;;
945   -site=* | --site=* | --sit=*)
946     site=$ac_optarg ;;
947
948   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
949     ac_prev=srcdir ;;
950   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
951     srcdir=$ac_optarg ;;
952
953   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
954   | --syscon | --sysco | --sysc | --sys | --sy)
955     ac_prev=sysconfdir ;;
956   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
957   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
958     sysconfdir=$ac_optarg ;;
959
960   -target | --target | --targe | --targ | --tar | --ta | --t)
961     ac_prev=target_alias ;;
962   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
963     target_alias=$ac_optarg ;;
964
965   -v | -verbose | --verbose | --verbos | --verbo | --verb)
966     verbose=yes ;;
967
968   -version | --version | --versio | --versi | --vers | -V)
969     ac_init_version=: ;;
970
971   -with-* | --with-*)
972     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
973     # Reject names that are not valid shell variable names.
974     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
975       as_fn_error $? "invalid package name: $ac_useropt"
976     ac_useropt_orig=$ac_useropt
977     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
978     case $ac_user_opts in
979       *"
980 "with_$ac_useropt"
981 "*) ;;
982       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
983          ac_unrecognized_sep=', ';;
984     esac
985     eval with_$ac_useropt=\$ac_optarg ;;
986
987   -without-* | --without-*)
988     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
989     # Reject names that are not valid shell variable names.
990     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
991       as_fn_error $? "invalid package name: $ac_useropt"
992     ac_useropt_orig=$ac_useropt
993     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
994     case $ac_user_opts in
995       *"
996 "with_$ac_useropt"
997 "*) ;;
998       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
999          ac_unrecognized_sep=', ';;
1000     esac
1001     eval with_$ac_useropt=no ;;
1002
1003   --x)
1004     # Obsolete; use --with-x.
1005     with_x=yes ;;
1006
1007   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1008   | --x-incl | --x-inc | --x-in | --x-i)
1009     ac_prev=x_includes ;;
1010   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1011   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1012     x_includes=$ac_optarg ;;
1013
1014   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1015   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1016     ac_prev=x_libraries ;;
1017   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1018   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1019     x_libraries=$ac_optarg ;;
1020
1021   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1022 Try \`$0 --help' for more information"
1023     ;;
1024
1025   *=*)
1026     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1027     # Reject names that are not valid shell variable names.
1028     case $ac_envvar in #(
1029       '' | [0-9]* | *[!_$as_cr_alnum]* )
1030       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1031     esac
1032     eval $ac_envvar=\$ac_optarg
1033     export $ac_envvar ;;
1034
1035   *)
1036     # FIXME: should be removed in autoconf 3.0.
1037     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1038     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1039       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1040     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1041     ;;
1042
1043   esac
1044 done
1045
1046 if test -n "$ac_prev"; then
1047   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1048   as_fn_error $? "missing argument to $ac_option"
1049 fi
1050
1051 if test -n "$ac_unrecognized_opts"; then
1052   case $enable_option_checking in
1053     no) ;;
1054     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1055     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1056   esac
1057 fi
1058
1059 # Check all directory arguments for consistency.
1060 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1061                 datadir sysconfdir sharedstatedir localstatedir includedir \
1062                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1063                 libdir localedir mandir
1064 do
1065   eval ac_val=\$$ac_var
1066   # Remove trailing slashes.
1067   case $ac_val in
1068     */ )
1069       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1070       eval $ac_var=\$ac_val;;
1071   esac
1072   # Be sure to have absolute directory names.
1073   case $ac_val in
1074     [\\/$]* | ?:[\\/]* )  continue;;
1075     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1076   esac
1077   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1078 done
1079
1080 # There might be people who depend on the old broken behavior: `$host'
1081 # used to hold the argument of --host etc.
1082 # FIXME: To remove some day.
1083 build=$build_alias
1084 host=$host_alias
1085 target=$target_alias
1086
1087 # FIXME: To remove some day.
1088 if test "x$host_alias" != x; then
1089   if test "x$build_alias" = x; then
1090     cross_compiling=maybe
1091   elif test "x$build_alias" != "x$host_alias"; then
1092     cross_compiling=yes
1093   fi
1094 fi
1095
1096 ac_tool_prefix=
1097 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1098
1099 test "$silent" = yes && exec 6>/dev/null
1100
1101
1102 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1103 ac_ls_di=`ls -di .` &&
1104 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1105   as_fn_error $? "working directory cannot be determined"
1106 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1107   as_fn_error $? "pwd does not report name of working directory"
1108
1109
1110 # Find the source files, if location was not specified.
1111 if test -z "$srcdir"; then
1112   ac_srcdir_defaulted=yes
1113   # Try the directory containing this script, then the parent directory.
1114   ac_confdir=`$as_dirname -- "$as_myself" ||
1115 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1116          X"$as_myself" : 'X\(//\)[^/]' \| \
1117          X"$as_myself" : 'X\(//\)$' \| \
1118          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1119 $as_echo X"$as_myself" |
1120     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1121             s//\1/
1122             q
1123           }
1124           /^X\(\/\/\)[^/].*/{
1125             s//\1/
1126             q
1127           }
1128           /^X\(\/\/\)$/{
1129             s//\1/
1130             q
1131           }
1132           /^X\(\/\).*/{
1133             s//\1/
1134             q
1135           }
1136           s/.*/./; q'`
1137   srcdir=$ac_confdir
1138   if test ! -r "$srcdir/$ac_unique_file"; then
1139     srcdir=..
1140   fi
1141 else
1142   ac_srcdir_defaulted=no
1143 fi
1144 if test ! -r "$srcdir/$ac_unique_file"; then
1145   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1146   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1147 fi
1148 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1149 ac_abs_confdir=`(
1150         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1151         pwd)`
1152 # When building in place, set srcdir=.
1153 if test "$ac_abs_confdir" = "$ac_pwd"; then
1154   srcdir=.
1155 fi
1156 # Remove unnecessary trailing slashes from srcdir.
1157 # Double slashes in file names in object file debugging info
1158 # mess up M-x gdb in Emacs.
1159 case $srcdir in
1160 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1161 esac
1162 for ac_var in $ac_precious_vars; do
1163   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1164   eval ac_env_${ac_var}_value=\$${ac_var}
1165   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1166   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1167 done
1168
1169 #
1170 # Report the --help message.
1171 #
1172 if test "$ac_init_help" = "long"; then
1173   # Omit some internal or obsolete options to make the list less imposing.
1174   # This message is too long to be a string in the A/UX 3.1 sh.
1175   cat <<_ACEOF
1176 \`configure' configures this package to adapt to many kinds of systems.
1177
1178 Usage: $0 [OPTION]... [VAR=VALUE]...
1179
1180 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1181 VAR=VALUE.  See below for descriptions of some of the useful variables.
1182
1183 Defaults for the options are specified in brackets.
1184
1185 Configuration:
1186   -h, --help              display this help and exit
1187       --help=short        display options specific to this package
1188       --help=recursive    display the short help of all the included packages
1189   -V, --version           display version information and exit
1190   -q, --quiet, --silent   do not print \`checking ...' messages
1191       --cache-file=FILE   cache test results in FILE [disabled]
1192   -C, --config-cache      alias for \`--cache-file=config.cache'
1193   -n, --no-create         do not create output files
1194       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1195
1196 Installation directories:
1197   --prefix=PREFIX         install architecture-independent files in PREFIX
1198                           [$ac_default_prefix]
1199   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1200                           [PREFIX]
1201
1202 By default, \`make install' will install all the files in
1203 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1204 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1205 for instance \`--prefix=\$HOME'.
1206
1207 For better control, use the options below.
1208
1209 Fine tuning of the installation directories:
1210   --bindir=DIR            user executables [EPREFIX/bin]
1211   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1212   --libexecdir=DIR        program executables [EPREFIX/libexec]
1213   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1214   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1215   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1216   --libdir=DIR            object code libraries [EPREFIX/lib]
1217   --includedir=DIR        C header files [PREFIX/include]
1218   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1219   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1220   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1221   --infodir=DIR           info documentation [DATAROOTDIR/info]
1222   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1223   --mandir=DIR            man documentation [DATAROOTDIR/man]
1224   --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
1225   --htmldir=DIR           html documentation [DOCDIR]
1226   --dvidir=DIR            dvi documentation [DOCDIR]
1227   --pdfdir=DIR            pdf documentation [DOCDIR]
1228   --psdir=DIR             ps documentation [DOCDIR]
1229 _ACEOF
1230
1231   cat <<\_ACEOF
1232 _ACEOF
1233 fi
1234
1235 if test -n "$ac_init_help"; then
1236
1237   cat <<\_ACEOF
1238
1239 Optional Packages:
1240   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1241   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1242   --with-webapp           support the generation of a WEB application using
1243                           js_of_ocaml
1244
1245 Report bugs to the package provider.
1246 _ACEOF
1247 ac_status=$?
1248 fi
1249
1250 if test "$ac_init_help" = "recursive"; then
1251   # If there are subdirs, report their specific --help.
1252   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1253     test -d "$ac_dir" ||
1254       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1255       continue
1256     ac_builddir=.
1257
1258 case "$ac_dir" in
1259 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1260 *)
1261   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1262   # A ".." for each directory in $ac_dir_suffix.
1263   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1264   case $ac_top_builddir_sub in
1265   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1266   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1267   esac ;;
1268 esac
1269 ac_abs_top_builddir=$ac_pwd
1270 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1271 # for backward compatibility:
1272 ac_top_builddir=$ac_top_build_prefix
1273
1274 case $srcdir in
1275   .)  # We are building in place.
1276     ac_srcdir=.
1277     ac_top_srcdir=$ac_top_builddir_sub
1278     ac_abs_top_srcdir=$ac_pwd ;;
1279   [\\/]* | ?:[\\/]* )  # Absolute name.
1280     ac_srcdir=$srcdir$ac_dir_suffix;
1281     ac_top_srcdir=$srcdir
1282     ac_abs_top_srcdir=$srcdir ;;
1283   *) # Relative name.
1284     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1285     ac_top_srcdir=$ac_top_build_prefix$srcdir
1286     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1287 esac
1288 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1289
1290     cd "$ac_dir" || { ac_status=$?; continue; }
1291     # Check for guested configure.
1292     if test -f "$ac_srcdir/configure.gnu"; then
1293       echo &&
1294       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1295     elif test -f "$ac_srcdir/configure"; then
1296       echo &&
1297       $SHELL "$ac_srcdir/configure" --help=recursive
1298     else
1299       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1300     fi || ac_status=$?
1301     cd "$ac_pwd" || { ac_status=$?; break; }
1302   done
1303 fi
1304
1305 test -n "$ac_init_help" && exit $ac_status
1306 if $ac_init_version; then
1307   cat <<\_ACEOF
1308 configure
1309 generated by GNU Autoconf 2.69
1310
1311 Copyright (C) 2012 Free Software Foundation, Inc.
1312 This configure script is free software; the Free Software Foundation
1313 gives unlimited permission to copy, distribute and modify it.
1314 _ACEOF
1315   exit
1316 fi
1317
1318 ## ------------------------ ##
1319 ## Autoconf initialization. ##
1320 ## ------------------------ ##
1321 cat >config.log <<_ACEOF
1322 This file contains any messages produced by compilers while
1323 running configure, to aid debugging if configure makes a mistake.
1324
1325 It was created by $as_me, which was
1326 generated by GNU Autoconf 2.69.  Invocation command line was
1327
1328   $ $0 $@
1329
1330 _ACEOF
1331 exec 5>>config.log
1332 {
1333 cat <<_ASUNAME
1334 ## --------- ##
1335 ## Platform. ##
1336 ## --------- ##
1337
1338 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1339 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1340 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1341 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1342 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1343
1344 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1345 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1346
1347 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1348 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1349 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1350 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1351 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1352 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1353 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1354
1355 _ASUNAME
1356
1357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1358 for as_dir in $PATH
1359 do
1360   IFS=$as_save_IFS
1361   test -z "$as_dir" && as_dir=.
1362     $as_echo "PATH: $as_dir"
1363   done
1364 IFS=$as_save_IFS
1365
1366 } >&5
1367
1368 cat >&5 <<_ACEOF
1369
1370
1371 ## ----------- ##
1372 ## Core tests. ##
1373 ## ----------- ##
1374
1375 _ACEOF
1376
1377
1378 # Keep a trace of the command line.
1379 # Strip out --no-create and --no-recursion so they do not pile up.
1380 # Strip out --silent because we don't want to record it for future runs.
1381 # Also quote any args containing shell meta-characters.
1382 # Make two passes to allow for proper duplicate-argument suppression.
1383 ac_configure_args=
1384 ac_configure_args0=
1385 ac_configure_args1=
1386 ac_must_keep_next=false
1387 for ac_pass in 1 2
1388 do
1389   for ac_arg
1390   do
1391     case $ac_arg in
1392     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1393     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1394     | -silent | --silent | --silen | --sile | --sil)
1395       continue ;;
1396     *\'*)
1397       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1398     esac
1399     case $ac_pass in
1400     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1401     2)
1402       as_fn_append ac_configure_args1 " '$ac_arg'"
1403       if test $ac_must_keep_next = true; then
1404         ac_must_keep_next=false # Got value, back to normal.
1405       else
1406         case $ac_arg in
1407           *=* | --config-cache | -C | -disable-* | --disable-* \
1408           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1409           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1410           | -with-* | --with-* | -without-* | --without-* | --x)
1411             case "$ac_configure_args0 " in
1412               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1413             esac
1414             ;;
1415           -* ) ac_must_keep_next=true ;;
1416         esac
1417       fi
1418       as_fn_append ac_configure_args " '$ac_arg'"
1419       ;;
1420     esac
1421   done
1422 done
1423 { ac_configure_args0=; unset ac_configure_args0;}
1424 { ac_configure_args1=; unset ac_configure_args1;}
1425
1426 # When interrupted or exit'd, cleanup temporary files, and complete
1427 # config.log.  We remove comments because anyway the quotes in there
1428 # would cause problems or look ugly.
1429 # WARNING: Use '\'' to represent an apostrophe within the trap.
1430 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1431 trap 'exit_status=$?
1432   # Save into config.log some information that might help in debugging.
1433   {
1434     echo
1435
1436     $as_echo "## ---------------- ##
1437 ## Cache variables. ##
1438 ## ---------------- ##"
1439     echo
1440     # The following way of writing the cache mishandles newlines in values,
1441 (
1442   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1443     eval ac_val=\$$ac_var
1444     case $ac_val in #(
1445     *${as_nl}*)
1446       case $ac_var in #(
1447       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1448 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1449       esac
1450       case $ac_var in #(
1451       _ | IFS | as_nl) ;; #(
1452       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1453       *) { eval $ac_var=; unset $ac_var;} ;;
1454       esac ;;
1455     esac
1456   done
1457   (set) 2>&1 |
1458     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1459     *${as_nl}ac_space=\ *)
1460       sed -n \
1461         "s/'\''/'\''\\\\'\'''\''/g;
1462           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1463       ;; #(
1464     *)
1465       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1466       ;;
1467     esac |
1468     sort
1469 )
1470     echo
1471
1472     $as_echo "## ----------------- ##
1473 ## Output variables. ##
1474 ## ----------------- ##"
1475     echo
1476     for ac_var in $ac_subst_vars
1477     do
1478       eval ac_val=\$$ac_var
1479       case $ac_val in
1480       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1481       esac
1482       $as_echo "$ac_var='\''$ac_val'\''"
1483     done | sort
1484     echo
1485
1486     if test -n "$ac_subst_files"; then
1487       $as_echo "## ------------------- ##
1488 ## File substitutions. ##
1489 ## ------------------- ##"
1490       echo
1491       for ac_var in $ac_subst_files
1492       do
1493         eval ac_val=\$$ac_var
1494         case $ac_val in
1495         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1496         esac
1497         $as_echo "$ac_var='\''$ac_val'\''"
1498       done | sort
1499       echo
1500     fi
1501
1502     if test -s confdefs.h; then
1503       $as_echo "## ----------- ##
1504 ## confdefs.h. ##
1505 ## ----------- ##"
1506       echo
1507       cat confdefs.h
1508       echo
1509     fi
1510     test "$ac_signal" != 0 &&
1511       $as_echo "$as_me: caught signal $ac_signal"
1512     $as_echo "$as_me: exit $exit_status"
1513   } >&5
1514   rm -f core *.core core.conftest.* &&
1515     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1516     exit $exit_status
1517 ' 0
1518 for ac_signal in 1 2 13 15; do
1519   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1520 done
1521 ac_signal=0
1522
1523 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1524 rm -f -r conftest* confdefs.h
1525
1526 $as_echo "/* confdefs.h */" > confdefs.h
1527
1528 # Predefined preprocessor variables.
1529
1530 cat >>confdefs.h <<_ACEOF
1531 #define PACKAGE_NAME "$PACKAGE_NAME"
1532 _ACEOF
1533
1534 cat >>confdefs.h <<_ACEOF
1535 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1536 _ACEOF
1537
1538 cat >>confdefs.h <<_ACEOF
1539 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1540 _ACEOF
1541
1542 cat >>confdefs.h <<_ACEOF
1543 #define PACKAGE_STRING "$PACKAGE_STRING"
1544 _ACEOF
1545
1546 cat >>confdefs.h <<_ACEOF
1547 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1548 _ACEOF
1549
1550 cat >>confdefs.h <<_ACEOF
1551 #define PACKAGE_URL "$PACKAGE_URL"
1552 _ACEOF
1553
1554
1555 # Let the site file select an alternate cache file if it wants to.
1556 # Prefer an explicitly selected file to automatically selected ones.
1557 ac_site_file1=NONE
1558 ac_site_file2=NONE
1559 if test -n "$CONFIG_SITE"; then
1560   # We do not want a PATH search for config.site.
1561   case $CONFIG_SITE in #((
1562     -*)  ac_site_file1=./$CONFIG_SITE;;
1563     */*) ac_site_file1=$CONFIG_SITE;;
1564     *)   ac_site_file1=./$CONFIG_SITE;;
1565   esac
1566 elif test "x$prefix" != xNONE; then
1567   ac_site_file1=$prefix/share/config.site
1568   ac_site_file2=$prefix/etc/config.site
1569 else
1570   ac_site_file1=$ac_default_prefix/share/config.site
1571   ac_site_file2=$ac_default_prefix/etc/config.site
1572 fi
1573 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1574 do
1575   test "x$ac_site_file" = xNONE && continue
1576   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1577     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1578 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1579     sed 's/^/| /' "$ac_site_file" >&5
1580     . "$ac_site_file" \
1581       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1582 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1583 as_fn_error $? "failed to load site script $ac_site_file
1584 See \`config.log' for more details" "$LINENO" 5; }
1585   fi
1586 done
1587
1588 if test -r "$cache_file"; then
1589   # Some versions of bash will fail to source /dev/null (special files
1590   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
1591   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1592     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1593 $as_echo "$as_me: loading cache $cache_file" >&6;}
1594     case $cache_file in
1595       [\\/]* | ?:[\\/]* ) . "$cache_file";;
1596       *)                      . "./$cache_file";;
1597     esac
1598   fi
1599 else
1600   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1601 $as_echo "$as_me: creating cache $cache_file" >&6;}
1602   >$cache_file
1603 fi
1604
1605 # Check that the precious variables saved in the cache have kept the same
1606 # value.
1607 ac_cache_corrupted=false
1608 for ac_var in $ac_precious_vars; do
1609   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1610   eval ac_new_set=\$ac_env_${ac_var}_set
1611   eval ac_old_val=\$ac_cv_env_${ac_var}_value
1612   eval ac_new_val=\$ac_env_${ac_var}_value
1613   case $ac_old_set,$ac_new_set in
1614     set,)
1615       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1616 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1617       ac_cache_corrupted=: ;;
1618     ,set)
1619       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1620 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1621       ac_cache_corrupted=: ;;
1622     ,);;
1623     *)
1624       if test "x$ac_old_val" != "x$ac_new_val"; then
1625         # differences in whitespace do not lead to failure.
1626         ac_old_val_w=`echo x $ac_old_val`
1627         ac_new_val_w=`echo x $ac_new_val`
1628         if test "$ac_old_val_w" != "$ac_new_val_w"; then
1629           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1630 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1631           ac_cache_corrupted=:
1632         else
1633           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1634 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1635           eval $ac_var=\$ac_old_val
1636         fi
1637         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1638 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1639         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1640 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1641       fi;;
1642   esac
1643   # Pass precious variables to config.status.
1644   if test "$ac_new_set" = set; then
1645     case $ac_new_val in
1646     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1647     *) ac_arg=$ac_var=$ac_new_val ;;
1648     esac
1649     case " $ac_configure_args " in
1650       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1651       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1652     esac
1653   fi
1654 done
1655 if $ac_cache_corrupted; then
1656   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1657 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1658   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1659 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1660   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1661 fi
1662 ## -------------------- ##
1663 ## Main body of script. ##
1664 ## -------------------- ##
1665
1666 ac_ext=c
1667 ac_cpp='$CPP $CPPFLAGS'
1668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1671
1672
1673
1674 for ac_prog in ocamlbuild
1675 do
1676   # Extract the first word of "$ac_prog", so it can be a program name with args.
1677 set dummy $ac_prog; ac_word=$2
1678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1679 $as_echo_n "checking for $ac_word... " >&6; }
1680 if ${ac_cv_prog_OCAMLBUILD+:} false; then :
1681   $as_echo_n "(cached) " >&6
1682 else
1683   if test -n "$OCAMLBUILD"; then
1684   ac_cv_prog_OCAMLBUILD="$OCAMLBUILD" # Let the user override the test.
1685 else
1686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1687 for as_dir in $PATH
1688 do
1689   IFS=$as_save_IFS
1690   test -z "$as_dir" && as_dir=.
1691     for ac_exec_ext in '' $ac_executable_extensions; do
1692   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1693     ac_cv_prog_OCAMLBUILD="$ac_prog"
1694     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1695     break 2
1696   fi
1697 done
1698   done
1699 IFS=$as_save_IFS
1700
1701 fi
1702 fi
1703 OCAMLBUILD=$ac_cv_prog_OCAMLBUILD
1704 if test -n "$OCAMLBUILD"; then
1705   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLBUILD" >&5
1706 $as_echo "$OCAMLBUILD" >&6; }
1707 else
1708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1709 $as_echo "no" >&6; }
1710 fi
1711
1712
1713   test -n "$OCAMLBUILD" && break
1714 done
1715
1716
1717
1718
1719 # Check whether --with-webapp was given.
1720 if test "${with_webapp+set}" = set; then :
1721   withval=$with_webapp;
1722 else
1723   with_webapp=check
1724 fi
1725
1726
1727 echo "let parser_lib = \"`pwd`/lib\"" > myocamlbuild_config.ml
1728
1729 if test "x$with_webapp" != xno; then :
1730   for ac_prog in js_of_ocaml
1731 do
1732   # Extract the first word of "$ac_prog", so it can be a program name with args.
1733 set dummy $ac_prog; ac_word=$2
1734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1735 $as_echo_n "checking for $ac_word... " >&6; }
1736 if ${ac_cv_prog_JS_OF_OCAML+:} false; then :
1737   $as_echo_n "(cached) " >&6
1738 else
1739   if test -n "$JS_OF_OCAML"; then
1740   ac_cv_prog_JS_OF_OCAML="$JS_OF_OCAML" # Let the user override the test.
1741 else
1742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1743 for as_dir in $PATH
1744 do
1745   IFS=$as_save_IFS
1746   test -z "$as_dir" && as_dir=.
1747     for ac_exec_ext in '' $ac_executable_extensions; do
1748   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1749     ac_cv_prog_JS_OF_OCAML="$ac_prog"
1750     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1751     break 2
1752   fi
1753 done
1754   done
1755 IFS=$as_save_IFS
1756
1757 fi
1758 fi
1759 JS_OF_OCAML=$ac_cv_prog_JS_OF_OCAML
1760 if test -n "$JS_OF_OCAML"; then
1761   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JS_OF_OCAML" >&5
1762 $as_echo "$JS_OF_OCAML" >&6; }
1763 else
1764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1765 $as_echo "no" >&6; }
1766 fi
1767
1768
1769   test -n "$JS_OF_OCAML" && break
1770 done
1771
1772
1773        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for oclosure" >&5
1774 $as_echo_n "checking for oclosure... " >&6; }
1775        if sh configure-oclosure.sh; then
1776          HAVE_OCLOSURE=yes
1777
1778          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1779 $as_echo "yes" >&6; }
1780        fi
1781 fi
1782
1783 ac_config_files="$ac_config_files Makefile.variables"
1784
1785 cat >confcache <<\_ACEOF
1786 # This file is a shell script that caches the results of configure
1787 # tests run on this system so they can be shared between configure
1788 # scripts and configure runs, see configure's option --config-cache.
1789 # It is not useful on other systems.  If it contains results you don't
1790 # want to keep, you may remove or edit it.
1791 #
1792 # config.status only pays attention to the cache file if you give it
1793 # the --recheck option to rerun configure.
1794 #
1795 # `ac_cv_env_foo' variables (set or unset) will be overridden when
1796 # loading this file, other *unset* `ac_cv_foo' will be assigned the
1797 # following values.
1798
1799 _ACEOF
1800
1801 # The following way of writing the cache mishandles newlines in values,
1802 # but we know of no workaround that is simple, portable, and efficient.
1803 # So, we kill variables containing newlines.
1804 # Ultrix sh set writes to stderr and can't be redirected directly,
1805 # and sets the high bit in the cache file unless we assign to the vars.
1806 (
1807   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
1808     eval ac_val=\$$ac_var
1809     case $ac_val in #(
1810     *${as_nl}*)
1811       case $ac_var in #(
1812       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1813 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1814       esac
1815       case $ac_var in #(
1816       _ | IFS | as_nl) ;; #(
1817       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1818       *) { eval $ac_var=; unset $ac_var;} ;;
1819       esac ;;
1820     esac
1821   done
1822
1823   (set) 2>&1 |
1824     case $as_nl`(ac_space=' '; set) 2>&1` in #(
1825     *${as_nl}ac_space=\ *)
1826       # `set' does not quote correctly, so add quotes: double-quote
1827       # substitution turns \\\\ into \\, and sed turns \\ into \.
1828       sed -n \
1829         "s/'/'\\\\''/g;
1830           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1831       ;; #(
1832     *)
1833       # `set' quotes correctly as required by POSIX, so do not add quotes.
1834       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1835       ;;
1836     esac |
1837     sort
1838 ) |
1839   sed '
1840      /^ac_cv_env_/b end
1841      t clear
1842      :clear
1843      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1844      t end
1845      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1846      :end' >>confcache
1847 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
1848   if test -w "$cache_file"; then
1849     if test "x$cache_file" != "x/dev/null"; then
1850       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
1851 $as_echo "$as_me: updating cache $cache_file" >&6;}
1852       if test ! -f "$cache_file" || test -h "$cache_file"; then
1853         cat confcache >"$cache_file"
1854       else
1855         case $cache_file in #(
1856         */* | ?:*)
1857           mv -f confcache "$cache_file"$$ &&
1858           mv -f "$cache_file"$$ "$cache_file" ;; #(
1859         *)
1860           mv -f confcache "$cache_file" ;;
1861         esac
1862       fi
1863     fi
1864   else
1865     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
1866 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1867   fi
1868 fi
1869 rm -f confcache
1870
1871 test "x$prefix" = xNONE && prefix=$ac_default_prefix
1872 # Let make expand exec_prefix.
1873 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1874
1875 # Transform confdefs.h into DEFS.
1876 # Protect against shell expansion while executing Makefile rules.
1877 # Protect against Makefile macro expansion.
1878 #
1879 # If the first sed substitution is executed (which looks for macros that
1880 # take arguments), then branch to the quote section.  Otherwise,
1881 # look for a macro that doesn't take arguments.
1882 ac_script='
1883 :mline
1884 /\\$/{
1885  N
1886  s,\\\n,,
1887  b mline
1888 }
1889 t clear
1890 :clear
1891 s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
1892 t quote
1893 s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
1894 t quote
1895 b any
1896 :quote
1897 s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
1898 s/\[/\\&/g
1899 s/\]/\\&/g
1900 s/\$/$$/g
1901 H
1902 :any
1903 ${
1904         g
1905         s/^\n//
1906         s/\n/ /g
1907         p
1908 }
1909 '
1910 DEFS=`sed -n "$ac_script" confdefs.h`
1911
1912
1913 ac_libobjs=
1914 ac_ltlibobjs=
1915 U=
1916 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
1917   # 1. Remove the extension, and $U if already installed.
1918   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
1919   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
1920   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
1921   #    will be set to the directory where LIBOBJS objects are built.
1922   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
1923   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
1924 done
1925 LIBOBJS=$ac_libobjs
1926
1927 LTLIBOBJS=$ac_ltlibobjs
1928
1929
1930
1931 : "${CONFIG_STATUS=./config.status}"
1932 ac_write_fail=0
1933 ac_clean_files_save=$ac_clean_files
1934 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1935 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
1936 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
1937 as_write_fail=0
1938 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
1939 #! $SHELL
1940 # Generated by $as_me.
1941 # Run this file to recreate the current configuration.
1942 # Compiler output produced by configure, useful for debugging
1943 # configure, is in config.log if it exists.
1944
1945 debug=false
1946 ac_cs_recheck=false
1947 ac_cs_silent=false
1948
1949 SHELL=\${CONFIG_SHELL-$SHELL}
1950 export SHELL
1951 _ASEOF
1952 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
1953 ## -------------------- ##
1954 ## M4sh Initialization. ##
1955 ## -------------------- ##
1956
1957 # Be more Bourne compatible
1958 DUALCASE=1; export DUALCASE # for MKS sh
1959 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1960   emulate sh
1961   NULLCMD=:
1962   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1963   # is contrary to our usage.  Disable this feature.
1964   alias -g '${1+"$@"}'='"$@"'
1965   setopt NO_GLOB_SUBST
1966 else
1967   case `(set -o) 2>/dev/null` in #(
1968   *posix*) :
1969     set -o posix ;; #(
1970   *) :
1971      ;;
1972 esac
1973 fi
1974
1975
1976 as_nl='
1977 '
1978 export as_nl
1979 # Printing a long string crashes Solaris 7 /usr/bin/printf.
1980 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
1981 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
1982 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
1983 # Prefer a ksh shell builtin over an external printf program on Solaris,
1984 # but without wasting forks for bash or zsh.
1985 if test -z "$BASH_VERSION$ZSH_VERSION" \
1986     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
1987   as_echo='print -r --'
1988   as_echo_n='print -rn --'
1989 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
1990   as_echo='printf %s\n'
1991   as_echo_n='printf %s'
1992 else
1993   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
1994     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
1995     as_echo_n='/usr/ucb/echo -n'
1996   else
1997     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
1998     as_echo_n_body='eval
1999       arg=$1;
2000       case $arg in #(
2001       *"$as_nl"*)
2002         expr "X$arg" : "X\\(.*\\)$as_nl";
2003         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2004       esac;
2005       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2006     '
2007     export as_echo_n_body
2008     as_echo_n='sh -c $as_echo_n_body as_echo'
2009   fi
2010   export as_echo_body
2011   as_echo='sh -c $as_echo_body as_echo'
2012 fi
2013
2014 # The user is always right.
2015 if test "${PATH_SEPARATOR+set}" != set; then
2016   PATH_SEPARATOR=:
2017   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2018     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2019       PATH_SEPARATOR=';'
2020   }
2021 fi
2022
2023
2024 # IFS
2025 # We need space, tab and new line, in precisely that order.  Quoting is
2026 # there to prevent editors from complaining about space-tab.
2027 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2028 # splitting by setting IFS to empty value.)
2029 IFS=" ""        $as_nl"
2030
2031 # Find who we are.  Look in the path if we contain no directory separator.
2032 as_myself=
2033 case $0 in #((
2034   *[\\/]* ) as_myself=$0 ;;
2035   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2036 for as_dir in $PATH
2037 do
2038   IFS=$as_save_IFS
2039   test -z "$as_dir" && as_dir=.
2040     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2041   done
2042 IFS=$as_save_IFS
2043
2044      ;;
2045 esac
2046 # We did not find ourselves, most probably we were run as `sh COMMAND'
2047 # in which case we are not to be found in the path.
2048 if test "x$as_myself" = x; then
2049   as_myself=$0
2050 fi
2051 if test ! -f "$as_myself"; then
2052   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2053   exit 1
2054 fi
2055
2056 # Unset variables that we do not need and which cause bugs (e.g. in
2057 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
2058 # suppresses any "Segmentation fault" message there.  '((' could
2059 # trigger a bug in pdksh 5.2.14.
2060 for as_var in BASH_ENV ENV MAIL MAILPATH
2061 do eval test x\${$as_var+set} = xset \
2062   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2063 done
2064 PS1='$ '
2065 PS2='> '
2066 PS4='+ '
2067
2068 # NLS nuisances.
2069 LC_ALL=C
2070 export LC_ALL
2071 LANGUAGE=C
2072 export LANGUAGE
2073
2074 # CDPATH.
2075 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2076
2077
2078 # as_fn_error STATUS ERROR [LINENO LOG_FD]
2079 # ----------------------------------------
2080 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2081 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2082 # script with STATUS, using 1 if that was 0.
2083 as_fn_error ()
2084 {
2085   as_status=$1; test $as_status -eq 0 && as_status=1
2086   if test "$4"; then
2087     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2088     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
2089   fi
2090   $as_echo "$as_me: error: $2" >&2
2091   as_fn_exit $as_status
2092 } # as_fn_error
2093
2094
2095 # as_fn_set_status STATUS
2096 # -----------------------
2097 # Set $? to STATUS, without forking.
2098 as_fn_set_status ()
2099 {
2100   return $1
2101 } # as_fn_set_status
2102
2103 # as_fn_exit STATUS
2104 # -----------------
2105 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2106 as_fn_exit ()
2107 {
2108   set +e
2109   as_fn_set_status $1
2110   exit $1
2111 } # as_fn_exit
2112
2113 # as_fn_unset VAR
2114 # ---------------
2115 # Portably unset VAR.
2116 as_fn_unset ()
2117 {
2118   { eval $1=; unset $1;}
2119 }
2120 as_unset=as_fn_unset
2121 # as_fn_append VAR VALUE
2122 # ----------------------
2123 # Append the text in VALUE to the end of the definition contained in VAR. Take
2124 # advantage of any shell optimizations that allow amortized linear growth over
2125 # repeated appends, instead of the typical quadratic growth present in naive
2126 # implementations.
2127 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
2128   eval 'as_fn_append ()
2129   {
2130     eval $1+=\$2
2131   }'
2132 else
2133   as_fn_append ()
2134   {
2135     eval $1=\$$1\$2
2136   }
2137 fi # as_fn_append
2138
2139 # as_fn_arith ARG...
2140 # ------------------
2141 # Perform arithmetic evaluation on the ARGs, and store the result in the
2142 # global $as_val. Take advantage of shells that can avoid forks. The arguments
2143 # must be portable across $(()) and expr.
2144 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
2145   eval 'as_fn_arith ()
2146   {
2147     as_val=$(( $* ))
2148   }'
2149 else
2150   as_fn_arith ()
2151   {
2152     as_val=`expr "$@" || test $? -eq 1`
2153   }
2154 fi # as_fn_arith
2155
2156
2157 if expr a : '\(a\)' >/dev/null 2>&1 &&
2158    test "X`expr 00001 : '.*\(...\)'`" = X001; then
2159   as_expr=expr
2160 else
2161   as_expr=false
2162 fi
2163
2164 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2165   as_basename=basename
2166 else
2167   as_basename=false
2168 fi
2169
2170 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2171   as_dirname=dirname
2172 else
2173   as_dirname=false
2174 fi
2175
2176 as_me=`$as_basename -- "$0" ||
2177 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2178          X"$0" : 'X\(//\)$' \| \
2179          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2180 $as_echo X/"$0" |
2181     sed '/^.*\/\([^/][^/]*\)\/*$/{
2182             s//\1/
2183             q
2184           }
2185           /^X\/\(\/\/\)$/{
2186             s//\1/
2187             q
2188           }
2189           /^X\/\(\/\).*/{
2190             s//\1/
2191             q
2192           }
2193           s/.*/./; q'`
2194
2195 # Avoid depending upon Character Ranges.
2196 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2197 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2198 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2199 as_cr_digits='0123456789'
2200 as_cr_alnum=$as_cr_Letters$as_cr_digits
2201
2202 ECHO_C= ECHO_N= ECHO_T=
2203 case `echo -n x` in #(((((
2204 -n*)
2205   case `echo 'xy\c'` in
2206   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
2207   xy)  ECHO_C='\c';;
2208   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
2209        ECHO_T=' ';;
2210   esac;;
2211 *)
2212   ECHO_N='-n';;
2213 esac
2214
2215 rm -f conf$$ conf$$.exe conf$$.file
2216 if test -d conf$$.dir; then
2217   rm -f conf$$.dir/conf$$.file
2218 else
2219   rm -f conf$$.dir
2220   mkdir conf$$.dir 2>/dev/null
2221 fi
2222 if (echo >conf$$.file) 2>/dev/null; then
2223   if ln -s conf$$.file conf$$ 2>/dev/null; then
2224     as_ln_s='ln -s'
2225     # ... but there are two gotchas:
2226     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2227     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2228     # In both cases, we have to default to `cp -pR'.
2229     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2230       as_ln_s='cp -pR'
2231   elif ln conf$$.file conf$$ 2>/dev/null; then
2232     as_ln_s=ln
2233   else
2234     as_ln_s='cp -pR'
2235   fi
2236 else
2237   as_ln_s='cp -pR'
2238 fi
2239 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2240 rmdir conf$$.dir 2>/dev/null
2241
2242
2243 # as_fn_mkdir_p
2244 # -------------
2245 # Create "$as_dir" as a directory, including parents if necessary.
2246 as_fn_mkdir_p ()
2247 {
2248
2249   case $as_dir in #(
2250   -*) as_dir=./$as_dir;;
2251   esac
2252   test -d "$as_dir" || eval $as_mkdir_p || {
2253     as_dirs=
2254     while :; do
2255       case $as_dir in #(
2256       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2257       *) as_qdir=$as_dir;;
2258       esac
2259       as_dirs="'$as_qdir' $as_dirs"
2260       as_dir=`$as_dirname -- "$as_dir" ||
2261 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2262          X"$as_dir" : 'X\(//\)[^/]' \| \
2263          X"$as_dir" : 'X\(//\)$' \| \
2264          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2265 $as_echo X"$as_dir" |
2266     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2267             s//\1/
2268             q
2269           }
2270           /^X\(\/\/\)[^/].*/{
2271             s//\1/
2272             q
2273           }
2274           /^X\(\/\/\)$/{
2275             s//\1/
2276             q
2277           }
2278           /^X\(\/\).*/{
2279             s//\1/
2280             q
2281           }
2282           s/.*/./; q'`
2283       test -d "$as_dir" && break
2284     done
2285     test -z "$as_dirs" || eval "mkdir $as_dirs"
2286   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
2287
2288
2289 } # as_fn_mkdir_p
2290 if mkdir -p . 2>/dev/null; then
2291   as_mkdir_p='mkdir -p "$as_dir"'
2292 else
2293   test -d ./-p && rmdir ./-p
2294   as_mkdir_p=false
2295 fi
2296
2297
2298 # as_fn_executable_p FILE
2299 # -----------------------
2300 # Test if FILE is an executable regular file.
2301 as_fn_executable_p ()
2302 {
2303   test -f "$1" && test -x "$1"
2304 } # as_fn_executable_p
2305 as_test_x='test -x'
2306 as_executable_p=as_fn_executable_p
2307
2308 # Sed expression to map a string onto a valid CPP name.
2309 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2310
2311 # Sed expression to map a string onto a valid variable name.
2312 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2313
2314
2315 exec 6>&1
2316 ## ----------------------------------- ##
2317 ## Main body of $CONFIG_STATUS script. ##
2318 ## ----------------------------------- ##
2319 _ASEOF
2320 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
2321
2322 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2323 # Save the log message, to keep $0 and so on meaningful, and to
2324 # report actual input values of CONFIG_FILES etc. instead of their
2325 # values after options handling.
2326 ac_log="
2327 This file was extended by $as_me, which was
2328 generated by GNU Autoconf 2.69.  Invocation command line was
2329
2330   CONFIG_FILES    = $CONFIG_FILES
2331   CONFIG_HEADERS  = $CONFIG_HEADERS
2332   CONFIG_LINKS    = $CONFIG_LINKS
2333   CONFIG_COMMANDS = $CONFIG_COMMANDS
2334   $ $0 $@
2335
2336 on `(hostname || uname -n) 2>/dev/null | sed 1q`
2337 "
2338
2339 _ACEOF
2340
2341 case $ac_config_files in *"
2342 "*) set x $ac_config_files; shift; ac_config_files=$*;;
2343 esac
2344
2345
2346
2347 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2348 # Files that config.status was made for.
2349 config_files="$ac_config_files"
2350
2351 _ACEOF
2352
2353 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2354 ac_cs_usage="\
2355 \`$as_me' instantiates files and other configuration actions
2356 from templates according to the current configuration.  Unless the files
2357 and actions are specified as TAGs, all are instantiated by default.
2358
2359 Usage: $0 [OPTION]... [TAG]...
2360
2361   -h, --help       print this help, then exit
2362   -V, --version    print version number and configuration settings, then exit
2363       --config     print configuration, then exit
2364   -q, --quiet, --silent
2365                    do not print progress messages
2366   -d, --debug      don't remove temporary files
2367       --recheck    update $as_me by reconfiguring in the same conditions
2368       --file=FILE[:TEMPLATE]
2369                    instantiate the configuration file FILE
2370
2371 Configuration files:
2372 $config_files
2373
2374 Report bugs to the package provider."
2375
2376 _ACEOF
2377 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2378 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
2379 ac_cs_version="\\
2380 config.status
2381 configured by $0, generated by GNU Autoconf 2.69,
2382   with options \\"\$ac_cs_config\\"
2383
2384 Copyright (C) 2012 Free Software Foundation, Inc.
2385 This config.status script is free software; the Free Software Foundation
2386 gives unlimited permission to copy, distribute and modify it."
2387
2388 ac_pwd='$ac_pwd'
2389 srcdir='$srcdir'
2390 test -n "\$AWK" || AWK=awk
2391 _ACEOF
2392
2393 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2394 # The default lists apply if the user does not specify any file.
2395 ac_need_defaults=:
2396 while test $# != 0
2397 do
2398   case $1 in
2399   --*=?*)
2400     ac_option=`expr "X$1" : 'X\([^=]*\)='`
2401     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2402     ac_shift=:
2403     ;;
2404   --*=)
2405     ac_option=`expr "X$1" : 'X\([^=]*\)='`
2406     ac_optarg=
2407     ac_shift=:
2408     ;;
2409   *)
2410     ac_option=$1
2411     ac_optarg=$2
2412     ac_shift=shift
2413     ;;
2414   esac
2415
2416   case $ac_option in
2417   # Handling of the options.
2418   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2419     ac_cs_recheck=: ;;
2420   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2421     $as_echo "$ac_cs_version"; exit ;;
2422   --config | --confi | --conf | --con | --co | --c )
2423     $as_echo "$ac_cs_config"; exit ;;
2424   --debug | --debu | --deb | --de | --d | -d )
2425     debug=: ;;
2426   --file | --fil | --fi | --f )
2427     $ac_shift
2428     case $ac_optarg in
2429     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
2430     '') as_fn_error $? "missing file argument" ;;
2431     esac
2432     as_fn_append CONFIG_FILES " '$ac_optarg'"
2433     ac_need_defaults=false;;
2434   --he | --h |  --help | --hel | -h )
2435     $as_echo "$ac_cs_usage"; exit ;;
2436   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2437   | -silent | --silent | --silen | --sile | --sil | --si | --s)
2438     ac_cs_silent=: ;;
2439
2440   # This is an error.
2441   -*) as_fn_error $? "unrecognized option: \`$1'
2442 Try \`$0 --help' for more information." ;;
2443
2444   *) as_fn_append ac_config_targets " $1"
2445      ac_need_defaults=false ;;
2446
2447   esac
2448   shift
2449 done
2450
2451 ac_configure_extra_args=
2452
2453 if $ac_cs_silent; then
2454   exec 6>/dev/null
2455   ac_configure_extra_args="$ac_configure_extra_args --silent"
2456 fi
2457
2458 _ACEOF
2459 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2460 if \$ac_cs_recheck; then
2461   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2462   shift
2463   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
2464   CONFIG_SHELL='$SHELL'
2465   export CONFIG_SHELL
2466   exec "\$@"
2467 fi
2468
2469 _ACEOF
2470 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2471 exec 5>>config.log
2472 {
2473   echo
2474   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2475 ## Running $as_me. ##
2476 _ASBOX
2477   $as_echo "$ac_log"
2478 } >&5
2479
2480 _ACEOF
2481 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2482 _ACEOF
2483
2484 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2485
2486 # Handling of arguments.
2487 for ac_config_target in $ac_config_targets
2488 do
2489   case $ac_config_target in
2490     "Makefile.variables") CONFIG_FILES="$CONFIG_FILES Makefile.variables" ;;
2491
2492   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
2493   esac
2494 done
2495
2496
2497 # If the user did not use the arguments to specify the items to instantiate,
2498 # then the envvar interface is used.  Set only those that are not.
2499 # We use the long form for the default assignment because of an extremely
2500 # bizarre bug on SunOS 4.1.3.
2501 if $ac_need_defaults; then
2502   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2503 fi
2504
2505 # Have a temporary directory for convenience.  Make it in the build tree
2506 # simply because there is no reason against having it here, and in addition,
2507 # creating and moving files from /tmp can sometimes cause problems.
2508 # Hook for its removal unless debugging.
2509 # Note that there is a small window in which the directory will not be cleaned:
2510 # after its creation but before its name has been assigned to `$tmp'.
2511 $debug ||
2512 {
2513   tmp= ac_tmp=
2514   trap 'exit_status=$?
2515   : "${ac_tmp:=$tmp}"
2516   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
2517 ' 0
2518   trap 'as_fn_exit 1' 1 2 13 15
2519 }
2520 # Create a (secure) tmp directory for tmp files.
2521
2522 {
2523   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
2524   test -d "$tmp"
2525 }  ||
2526 {
2527   tmp=./conf$$-$RANDOM
2528   (umask 077 && mkdir "$tmp")
2529 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
2530 ac_tmp=$tmp
2531
2532 # Set up the scripts for CONFIG_FILES section.
2533 # No need to generate them if there are no CONFIG_FILES.
2534 # This happens for instance with `./config.status config.h'.
2535 if test -n "$CONFIG_FILES"; then
2536
2537
2538 ac_cr=`echo X | tr X '\015'`
2539 # On cygwin, bash can eat \r inside `` if the user requested igncr.
2540 # But we know of no other shell where ac_cr would be empty at this
2541 # point, so we can use a bashism as a fallback.
2542 if test "x$ac_cr" = x; then
2543   eval ac_cr=\$\'\\r\'
2544 fi
2545 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
2546 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
2547   ac_cs_awk_cr='\\r'
2548 else
2549   ac_cs_awk_cr=$ac_cr
2550 fi
2551
2552 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
2553 _ACEOF
2554
2555
2556 {
2557   echo "cat >conf$$subs.awk <<_ACEOF" &&
2558   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
2559   echo "_ACEOF"
2560 } >conf$$subs.sh ||
2561   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
2562 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
2563 ac_delim='%!_!# '
2564 for ac_last_try in false false false false false :; do
2565   . ./conf$$subs.sh ||
2566     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
2567
2568   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
2569   if test $ac_delim_n = $ac_delim_num; then
2570     break
2571   elif $ac_last_try; then
2572     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
2573   else
2574     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
2575   fi
2576 done
2577 rm -f conf$$subs.sh
2578
2579 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2580 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
2581 _ACEOF
2582 sed -n '
2583 h
2584 s/^/S["/; s/!.*/"]=/
2585 p
2586 g
2587 s/^[^!]*!//
2588 :repl
2589 t repl
2590 s/'"$ac_delim"'$//
2591 t delim
2592 :nl
2593 h
2594 s/\(.\{148\}\)..*/\1/
2595 t more1
2596 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
2597 p
2598 n
2599 b repl
2600 :more1
2601 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
2602 p
2603 g
2604 s/.\{148\}//
2605 t nl
2606 :delim
2607 h
2608 s/\(.\{148\}\)..*/\1/
2609 t more2
2610 s/["\\]/\\&/g; s/^/"/; s/$/"/
2611 p
2612 b
2613 :more2
2614 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
2615 p
2616 g
2617 s/.\{148\}//
2618 t delim
2619 ' <conf$$subs.awk | sed '
2620 /^[^""]/{
2621   N
2622   s/\n//
2623 }
2624 ' >>$CONFIG_STATUS || ac_write_fail=1
2625 rm -f conf$$subs.awk
2626 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2627 _ACAWK
2628 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
2629   for (key in S) S_is_set[key] = 1
2630   FS = "\a"
2631
2632 }
2633 {
2634   line = $ 0
2635   nfields = split(line, field, "@")
2636   substed = 0
2637   len = length(field[1])
2638   for (i = 2; i < nfields; i++) {
2639     key = field[i]
2640     keylen = length(key)
2641     if (S_is_set[key]) {
2642       value = S[key]
2643       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
2644       len += length(value) + length(field[++i])
2645       substed = 1
2646     } else
2647       len += 1 + keylen
2648   }
2649
2650   print line
2651 }
2652
2653 _ACAWK
2654 _ACEOF
2655 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2656 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
2657   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
2658 else
2659   cat
2660 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
2661   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
2662 _ACEOF
2663
2664 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
2665 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
2666 # trailing colons and then remove the whole line if VPATH becomes empty
2667 # (actually we leave an empty line to preserve line numbers).
2668 if test "x$srcdir" = x.; then
2669   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
2670 h
2671 s///
2672 s/^/:/
2673 s/[      ]*$/:/
2674 s/:\$(srcdir):/:/g
2675 s/:\${srcdir}:/:/g
2676 s/:@srcdir@:/:/g
2677 s/^:*//
2678 s/:*$//
2679 x
2680 s/\(=[   ]*\).*/\1/
2681 G
2682 s/\n//
2683 s/^[^=]*=[       ]*$//
2684 }'
2685 fi
2686
2687 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2688 fi # test -n "$CONFIG_FILES"
2689
2690
2691 eval set X "  :F $CONFIG_FILES      "
2692 shift
2693 for ac_tag
2694 do
2695   case $ac_tag in
2696   :[FHLC]) ac_mode=$ac_tag; continue;;
2697   esac
2698   case $ac_mode$ac_tag in
2699   :[FHL]*:*);;
2700   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
2701   :[FH]-) ac_tag=-:-;;
2702   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
2703   esac
2704   ac_save_IFS=$IFS
2705   IFS=:
2706   set x $ac_tag
2707   IFS=$ac_save_IFS
2708   shift
2709   ac_file=$1
2710   shift
2711
2712   case $ac_mode in
2713   :L) ac_source=$1;;
2714   :[FH])
2715     ac_file_inputs=
2716     for ac_f
2717     do
2718       case $ac_f in
2719       -) ac_f="$ac_tmp/stdin";;
2720       *) # Look for the file first in the build tree, then in the source tree
2721          # (if the path is not absolute).  The absolute path cannot be DOS-style,
2722          # because $ac_f cannot contain `:'.
2723          test -f "$ac_f" ||
2724            case $ac_f in
2725            [\\/$]*) false;;
2726            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
2727            esac ||
2728            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
2729       esac
2730       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
2731       as_fn_append ac_file_inputs " '$ac_f'"
2732     done
2733
2734     # Let's still pretend it is `configure' which instantiates (i.e., don't
2735     # use $as_me), people would be surprised to read:
2736     #    /* config.h.  Generated by config.status.  */
2737     configure_input='Generated from '`
2738           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
2739         `' by configure.'
2740     if test x"$ac_file" != x-; then
2741       configure_input="$ac_file.  $configure_input"
2742       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
2743 $as_echo "$as_me: creating $ac_file" >&6;}
2744     fi
2745     # Neutralize special characters interpreted by sed in replacement strings.
2746     case $configure_input in #(
2747     *\&* | *\|* | *\\* )
2748        ac_sed_conf_input=`$as_echo "$configure_input" |
2749        sed 's/[\\\\&|]/\\\\&/g'`;; #(
2750     *) ac_sed_conf_input=$configure_input;;
2751     esac
2752
2753     case $ac_tag in
2754     *:-:* | *:-) cat >"$ac_tmp/stdin" \
2755       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
2756     esac
2757     ;;
2758   esac
2759
2760   ac_dir=`$as_dirname -- "$ac_file" ||
2761 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2762          X"$ac_file" : 'X\(//\)[^/]' \| \
2763          X"$ac_file" : 'X\(//\)$' \| \
2764          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
2765 $as_echo X"$ac_file" |
2766     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2767             s//\1/
2768             q
2769           }
2770           /^X\(\/\/\)[^/].*/{
2771             s//\1/
2772             q
2773           }
2774           /^X\(\/\/\)$/{
2775             s//\1/
2776             q
2777           }
2778           /^X\(\/\).*/{
2779             s//\1/
2780             q
2781           }
2782           s/.*/./; q'`
2783   as_dir="$ac_dir"; as_fn_mkdir_p
2784   ac_builddir=.
2785
2786 case "$ac_dir" in
2787 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2788 *)
2789   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2790   # A ".." for each directory in $ac_dir_suffix.
2791   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2792   case $ac_top_builddir_sub in
2793   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2794   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2795   esac ;;
2796 esac
2797 ac_abs_top_builddir=$ac_pwd
2798 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2799 # for backward compatibility:
2800 ac_top_builddir=$ac_top_build_prefix
2801
2802 case $srcdir in
2803   .)  # We are building in place.
2804     ac_srcdir=.
2805     ac_top_srcdir=$ac_top_builddir_sub
2806     ac_abs_top_srcdir=$ac_pwd ;;
2807   [\\/]* | ?:[\\/]* )  # Absolute name.
2808     ac_srcdir=$srcdir$ac_dir_suffix;
2809     ac_top_srcdir=$srcdir
2810     ac_abs_top_srcdir=$srcdir ;;
2811   *) # Relative name.
2812     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2813     ac_top_srcdir=$ac_top_build_prefix$srcdir
2814     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2815 esac
2816 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2817
2818
2819   case $ac_mode in
2820   :F)
2821   #
2822   # CONFIG_FILE
2823   #
2824
2825 _ACEOF
2826
2827 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2828 # If the template does not know about datarootdir, expand it.
2829 # FIXME: This hack should be removed a few years after 2.60.
2830 ac_datarootdir_hack=; ac_datarootdir_seen=
2831 ac_sed_dataroot='
2832 /datarootdir/ {
2833   p
2834   q
2835 }
2836 /@datadir@/p
2837 /@docdir@/p
2838 /@infodir@/p
2839 /@localedir@/p
2840 /@mandir@/p'
2841 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
2842 *datarootdir*) ac_datarootdir_seen=yes;;
2843 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
2844   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
2845 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
2846 _ACEOF
2847 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2848   ac_datarootdir_hack='
2849   s&@datadir@&$datadir&g
2850   s&@docdir@&$docdir&g
2851   s&@infodir@&$infodir&g
2852   s&@localedir@&$localedir&g
2853   s&@mandir@&$mandir&g
2854   s&\\\${datarootdir}&$datarootdir&g' ;;
2855 esac
2856 _ACEOF
2857
2858 # Neutralize VPATH when `$srcdir' = `.'.
2859 # Shell code in configure.ac might set extrasub.
2860 # FIXME: do we really want to maintain this feature?
2861 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2862 ac_sed_extra="$ac_vpsub
2863 $extrasub
2864 _ACEOF
2865 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2866 :t
2867 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2868 s|@configure_input@|$ac_sed_conf_input|;t t
2869 s&@top_builddir@&$ac_top_builddir_sub&;t t
2870 s&@top_build_prefix@&$ac_top_build_prefix&;t t
2871 s&@srcdir@&$ac_srcdir&;t t
2872 s&@abs_srcdir@&$ac_abs_srcdir&;t t
2873 s&@top_srcdir@&$ac_top_srcdir&;t t
2874 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
2875 s&@builddir@&$ac_builddir&;t t
2876 s&@abs_builddir@&$ac_abs_builddir&;t t
2877 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
2878 $ac_datarootdir_hack
2879 "
2880 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
2881   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
2882
2883 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
2884   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
2885   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
2886       "$ac_tmp/out"`; test -z "$ac_out"; } &&
2887   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
2888 which seems to be undefined.  Please make sure it is defined" >&5
2889 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
2890 which seems to be undefined.  Please make sure it is defined" >&2;}
2891
2892   rm -f "$ac_tmp/stdin"
2893   case $ac_file in
2894   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
2895   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
2896   esac \
2897   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
2898  ;;
2899
2900
2901
2902   esac
2903
2904 done # for ac_tag
2905
2906
2907 as_fn_exit 0
2908 _ACEOF
2909 ac_clean_files=$ac_clean_files_save
2910
2911 test $ac_write_fail = 0 ||
2912   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
2913
2914
2915 # configure is writing to config.log, and then calls config.status.
2916 # config.status does its own redirection, appending to config.log.
2917 # Unfortunately, on DOS this fails, as config.log is still kept open
2918 # by configure, so config.status won't be able to write to it; its
2919 # output is simply discarded.  So we exec the FD to /dev/null,
2920 # effectively closing config.log, so it can be properly (re)opened and
2921 # appended to by config.status.  When coming back to configure, we
2922 # need to make the FD available again.
2923 if test "$no_create" != yes; then
2924   ac_cs_success=:
2925   ac_config_status_args=
2926   test "$silent" = yes &&
2927     ac_config_status_args="$ac_config_status_args --quiet"
2928   exec 5>/dev/null
2929   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
2930   exec 5>>config.log
2931   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2932   # would make configure fail if this is the last instruction.
2933   $ac_cs_success || as_fn_exit 1
2934 fi
2935 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
2936   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
2937 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
2938 fi
2939
2940 ac_config_files="$ac_config_files Makefile"
2941
2942 cat >confcache <<\_ACEOF
2943 # This file is a shell script that caches the results of configure
2944 # tests run on this system so they can be shared between configure
2945 # scripts and configure runs, see configure's option --config-cache.
2946 # It is not useful on other systems.  If it contains results you don't
2947 # want to keep, you may remove or edit it.
2948 #
2949 # config.status only pays attention to the cache file if you give it
2950 # the --recheck option to rerun configure.
2951 #
2952 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2953 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2954 # following values.
2955
2956 _ACEOF
2957
2958 # The following way of writing the cache mishandles newlines in values,
2959 # but we know of no workaround that is simple, portable, and efficient.
2960 # So, we kill variables containing newlines.
2961 # Ultrix sh set writes to stderr and can't be redirected directly,
2962 # and sets the high bit in the cache file unless we assign to the vars.
2963 (
2964   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2965     eval ac_val=\$$ac_var
2966     case $ac_val in #(
2967     *${as_nl}*)
2968       case $ac_var in #(
2969       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2970 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2971       esac
2972       case $ac_var in #(
2973       _ | IFS | as_nl) ;; #(
2974       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2975       *) { eval $ac_var=; unset $ac_var;} ;;
2976       esac ;;
2977     esac
2978   done
2979
2980   (set) 2>&1 |
2981     case $as_nl`(ac_space=' '; set) 2>&1` in #(
2982     *${as_nl}ac_space=\ *)
2983       # `set' does not quote correctly, so add quotes: double-quote
2984       # substitution turns \\\\ into \\, and sed turns \\ into \.
2985       sed -n \
2986         "s/'/'\\\\''/g;
2987           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2988       ;; #(
2989     *)
2990       # `set' quotes correctly as required by POSIX, so do not add quotes.
2991       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2992       ;;
2993     esac |
2994     sort
2995 ) |
2996   sed '
2997      /^ac_cv_env_/b end
2998      t clear
2999      :clear
3000      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3001      t end
3002      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3003      :end' >>confcache
3004 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3005   if test -w "$cache_file"; then
3006     if test "x$cache_file" != "x/dev/null"; then
3007       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3008 $as_echo "$as_me: updating cache $cache_file" >&6;}
3009       if test ! -f "$cache_file" || test -h "$cache_file"; then
3010         cat confcache >"$cache_file"
3011       else
3012         case $cache_file in #(
3013         */* | ?:*)
3014           mv -f confcache "$cache_file"$$ &&
3015           mv -f "$cache_file"$$ "$cache_file" ;; #(
3016         *)
3017           mv -f confcache "$cache_file" ;;
3018         esac
3019       fi
3020     fi
3021   else
3022     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3023 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3024   fi
3025 fi
3026 rm -f confcache
3027
3028 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3029 # Let make expand exec_prefix.
3030 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3031
3032 # Transform confdefs.h into DEFS.
3033 # Protect against shell expansion while executing Makefile rules.
3034 # Protect against Makefile macro expansion.
3035 #
3036 # If the first sed substitution is executed (which looks for macros that
3037 # take arguments), then branch to the quote section.  Otherwise,
3038 # look for a macro that doesn't take arguments.
3039 ac_script='
3040 :mline
3041 /\\$/{
3042  N
3043  s,\\\n,,
3044  b mline
3045 }
3046 t clear
3047 :clear
3048 s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
3049 t quote
3050 s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
3051 t quote
3052 b any
3053 :quote
3054 s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3055 s/\[/\\&/g
3056 s/\]/\\&/g
3057 s/\$/$$/g
3058 H
3059 :any
3060 ${
3061         g
3062         s/^\n//
3063         s/\n/ /g
3064         p
3065 }
3066 '
3067 DEFS=`sed -n "$ac_script" confdefs.h`
3068
3069
3070 ac_libobjs=
3071 ac_ltlibobjs=
3072 U=
3073 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3074   # 1. Remove the extension, and $U if already installed.
3075   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3076   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3077   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
3078   #    will be set to the directory where LIBOBJS objects are built.
3079   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3080   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3081 done
3082 LIBOBJS=$ac_libobjs
3083
3084 LTLIBOBJS=$ac_ltlibobjs
3085
3086
3087
3088 : "${CONFIG_STATUS=./config.status}"
3089 ac_write_fail=0
3090 ac_clean_files_save=$ac_clean_files
3091 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3093 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3094 as_write_fail=0
3095 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3096 #! $SHELL
3097 # Generated by $as_me.
3098 # Run this file to recreate the current configuration.
3099 # Compiler output produced by configure, useful for debugging
3100 # configure, is in config.log if it exists.
3101
3102 debug=false
3103 ac_cs_recheck=false
3104 ac_cs_silent=false
3105
3106 SHELL=\${CONFIG_SHELL-$SHELL}
3107 export SHELL
3108 _ASEOF
3109 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3110 ## -------------------- ##
3111 ## M4sh Initialization. ##
3112 ## -------------------- ##
3113
3114 # Be more Bourne compatible
3115 DUALCASE=1; export DUALCASE # for MKS sh
3116 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3117   emulate sh
3118   NULLCMD=:
3119   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3120   # is contrary to our usage.  Disable this feature.
3121   alias -g '${1+"$@"}'='"$@"'
3122   setopt NO_GLOB_SUBST
3123 else
3124   case `(set -o) 2>/dev/null` in #(
3125   *posix*) :
3126     set -o posix ;; #(
3127   *) :
3128      ;;
3129 esac
3130 fi
3131
3132
3133 as_nl='
3134 '
3135 export as_nl
3136 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3137 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3138 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3139 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3140 # Prefer a ksh shell builtin over an external printf program on Solaris,
3141 # but without wasting forks for bash or zsh.
3142 if test -z "$BASH_VERSION$ZSH_VERSION" \
3143     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3144   as_echo='print -r --'
3145   as_echo_n='print -rn --'
3146 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3147   as_echo='printf %s\n'
3148   as_echo_n='printf %s'
3149 else
3150   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3151     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3152     as_echo_n='/usr/ucb/echo -n'
3153   else
3154     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3155     as_echo_n_body='eval
3156       arg=$1;
3157       case $arg in #(
3158       *"$as_nl"*)
3159         expr "X$arg" : "X\\(.*\\)$as_nl";
3160         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3161       esac;
3162       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3163     '
3164     export as_echo_n_body
3165     as_echo_n='sh -c $as_echo_n_body as_echo'
3166   fi
3167   export as_echo_body
3168   as_echo='sh -c $as_echo_body as_echo'
3169 fi
3170
3171 # The user is always right.
3172 if test "${PATH_SEPARATOR+set}" != set; then
3173   PATH_SEPARATOR=:
3174   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3175     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3176       PATH_SEPARATOR=';'
3177   }
3178 fi
3179
3180
3181 # IFS
3182 # We need space, tab and new line, in precisely that order.  Quoting is
3183 # there to prevent editors from complaining about space-tab.
3184 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3185 # splitting by setting IFS to empty value.)
3186 IFS=" ""        $as_nl"
3187
3188 # Find who we are.  Look in the path if we contain no directory separator.
3189 as_myself=
3190 case $0 in #((
3191   *[\\/]* ) as_myself=$0 ;;
3192   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3193 for as_dir in $PATH
3194 do
3195   IFS=$as_save_IFS
3196   test -z "$as_dir" && as_dir=.
3197     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3198   done
3199 IFS=$as_save_IFS
3200
3201      ;;
3202 esac
3203 # We did not find ourselves, most probably we were run as `sh COMMAND'
3204 # in which case we are not to be found in the path.
3205 if test "x$as_myself" = x; then
3206   as_myself=$0
3207 fi
3208 if test ! -f "$as_myself"; then
3209   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3210   exit 1
3211 fi
3212
3213 # Unset variables that we do not need and which cause bugs (e.g. in
3214 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
3215 # suppresses any "Segmentation fault" message there.  '((' could
3216 # trigger a bug in pdksh 5.2.14.
3217 for as_var in BASH_ENV ENV MAIL MAILPATH
3218 do eval test x\${$as_var+set} = xset \
3219   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3220 done
3221 PS1='$ '
3222 PS2='> '
3223 PS4='+ '
3224
3225 # NLS nuisances.
3226 LC_ALL=C
3227 export LC_ALL
3228 LANGUAGE=C
3229 export LANGUAGE
3230
3231 # CDPATH.
3232 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3233
3234
3235 # as_fn_error STATUS ERROR [LINENO LOG_FD]
3236 # ----------------------------------------
3237 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3238 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3239 # script with STATUS, using 1 if that was 0.
3240 as_fn_error ()
3241 {
3242   as_status=$1; test $as_status -eq 0 && as_status=1
3243   if test "$4"; then
3244     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3245     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3246   fi
3247   $as_echo "$as_me: error: $2" >&2
3248   as_fn_exit $as_status
3249 } # as_fn_error
3250
3251
3252 # as_fn_set_status STATUS
3253 # -----------------------
3254 # Set $? to STATUS, without forking.
3255 as_fn_set_status ()
3256 {
3257   return $1
3258 } # as_fn_set_status
3259
3260 # as_fn_exit STATUS
3261 # -----------------
3262 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3263 as_fn_exit ()
3264 {
3265   set +e
3266   as_fn_set_status $1
3267   exit $1
3268 } # as_fn_exit
3269
3270 # as_fn_unset VAR
3271 # ---------------
3272 # Portably unset VAR.
3273 as_fn_unset ()
3274 {
3275   { eval $1=; unset $1;}
3276 }
3277 as_unset=as_fn_unset
3278 # as_fn_append VAR VALUE
3279 # ----------------------
3280 # Append the text in VALUE to the end of the definition contained in VAR. Take
3281 # advantage of any shell optimizations that allow amortized linear growth over
3282 # repeated appends, instead of the typical quadratic growth present in naive
3283 # implementations.
3284 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3285   eval 'as_fn_append ()
3286   {
3287     eval $1+=\$2
3288   }'
3289 else
3290   as_fn_append ()
3291   {
3292     eval $1=\$$1\$2
3293   }
3294 fi # as_fn_append
3295
3296 # as_fn_arith ARG...
3297 # ------------------
3298 # Perform arithmetic evaluation on the ARGs, and store the result in the
3299 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3300 # must be portable across $(()) and expr.
3301 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3302   eval 'as_fn_arith ()
3303   {
3304     as_val=$(( $* ))
3305   }'
3306 else
3307   as_fn_arith ()
3308   {
3309     as_val=`expr "$@" || test $? -eq 1`
3310   }
3311 fi # as_fn_arith
3312
3313
3314 if expr a : '\(a\)' >/dev/null 2>&1 &&
3315    test "X`expr 00001 : '.*\(...\)'`" = X001; then
3316   as_expr=expr
3317 else
3318   as_expr=false
3319 fi
3320
3321 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3322   as_basename=basename
3323 else
3324   as_basename=false
3325 fi
3326
3327 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3328   as_dirname=dirname
3329 else
3330   as_dirname=false
3331 fi
3332
3333 as_me=`$as_basename -- "$0" ||
3334 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3335          X"$0" : 'X\(//\)$' \| \
3336          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3337 $as_echo X/"$0" |
3338     sed '/^.*\/\([^/][^/]*\)\/*$/{
3339             s//\1/
3340             q
3341           }
3342           /^X\/\(\/\/\)$/{
3343             s//\1/
3344             q
3345           }
3346           /^X\/\(\/\).*/{
3347             s//\1/
3348             q
3349           }
3350           s/.*/./; q'`
3351
3352 # Avoid depending upon Character Ranges.
3353 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3354 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3355 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3356 as_cr_digits='0123456789'
3357 as_cr_alnum=$as_cr_Letters$as_cr_digits
3358
3359 ECHO_C= ECHO_N= ECHO_T=
3360 case `echo -n x` in #(((((
3361 -n*)
3362   case `echo 'xy\c'` in
3363   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
3364   xy)  ECHO_C='\c';;
3365   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
3366        ECHO_T=' ';;
3367   esac;;
3368 *)
3369   ECHO_N='-n';;
3370 esac
3371
3372 rm -f conf$$ conf$$.exe conf$$.file
3373 if test -d conf$$.dir; then
3374   rm -f conf$$.dir/conf$$.file
3375 else
3376   rm -f conf$$.dir
3377   mkdir conf$$.dir 2>/dev/null
3378 fi
3379 if (echo >conf$$.file) 2>/dev/null; then
3380   if ln -s conf$$.file conf$$ 2>/dev/null; then
3381     as_ln_s='ln -s'
3382     # ... but there are two gotchas:
3383     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3384     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3385     # In both cases, we have to default to `cp -pR'.
3386     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3387       as_ln_s='cp -pR'
3388   elif ln conf$$.file conf$$ 2>/dev/null; then
3389     as_ln_s=ln
3390   else
3391     as_ln_s='cp -pR'
3392   fi
3393 else
3394   as_ln_s='cp -pR'
3395 fi
3396 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3397 rmdir conf$$.dir 2>/dev/null
3398
3399
3400 # as_fn_mkdir_p
3401 # -------------
3402 # Create "$as_dir" as a directory, including parents if necessary.
3403 as_fn_mkdir_p ()
3404 {
3405
3406   case $as_dir in #(
3407   -*) as_dir=./$as_dir;;
3408   esac
3409   test -d "$as_dir" || eval $as_mkdir_p || {
3410     as_dirs=
3411     while :; do
3412       case $as_dir in #(
3413       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3414       *) as_qdir=$as_dir;;
3415       esac
3416       as_dirs="'$as_qdir' $as_dirs"
3417       as_dir=`$as_dirname -- "$as_dir" ||
3418 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3419          X"$as_dir" : 'X\(//\)[^/]' \| \
3420          X"$as_dir" : 'X\(//\)$' \| \
3421          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3422 $as_echo X"$as_dir" |
3423     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3424             s//\1/
3425             q
3426           }
3427           /^X\(\/\/\)[^/].*/{
3428             s//\1/
3429             q
3430           }
3431           /^X\(\/\/\)$/{
3432             s//\1/
3433             q
3434           }
3435           /^X\(\/\).*/{
3436             s//\1/
3437             q
3438           }
3439           s/.*/./; q'`
3440       test -d "$as_dir" && break
3441     done
3442     test -z "$as_dirs" || eval "mkdir $as_dirs"
3443   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3444
3445
3446 } # as_fn_mkdir_p
3447 if mkdir -p . 2>/dev/null; then
3448   as_mkdir_p='mkdir -p "$as_dir"'
3449 else
3450   test -d ./-p && rmdir ./-p
3451   as_mkdir_p=false
3452 fi
3453
3454
3455 # as_fn_executable_p FILE
3456 # -----------------------
3457 # Test if FILE is an executable regular file.
3458 as_fn_executable_p ()
3459 {
3460   test -f "$1" && test -x "$1"
3461 } # as_fn_executable_p
3462 as_test_x='test -x'
3463 as_executable_p=as_fn_executable_p
3464
3465 # Sed expression to map a string onto a valid CPP name.
3466 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3467
3468 # Sed expression to map a string onto a valid variable name.
3469 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3470
3471
3472 exec 6>&1
3473 ## ----------------------------------- ##
3474 ## Main body of $CONFIG_STATUS script. ##
3475 ## ----------------------------------- ##
3476 _ASEOF
3477 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3478
3479 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3480 # Save the log message, to keep $0 and so on meaningful, and to
3481 # report actual input values of CONFIG_FILES etc. instead of their
3482 # values after options handling.
3483 ac_log="
3484 This file was extended by $as_me, which was
3485 generated by GNU Autoconf 2.69.  Invocation command line was
3486
3487   CONFIG_FILES    = $CONFIG_FILES
3488   CONFIG_HEADERS  = $CONFIG_HEADERS
3489   CONFIG_LINKS    = $CONFIG_LINKS
3490   CONFIG_COMMANDS = $CONFIG_COMMANDS
3491   $ $0 $@
3492
3493 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3494 "
3495
3496 _ACEOF
3497
3498 case $ac_config_files in *"
3499 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3500 esac
3501
3502
3503
3504 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3505 # Files that config.status was made for.
3506 config_files="$ac_config_files"
3507
3508 _ACEOF
3509
3510 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3511 ac_cs_usage="\
3512 \`$as_me' instantiates files and other configuration actions
3513 from templates according to the current configuration.  Unless the files
3514 and actions are specified as TAGs, all are instantiated by default.
3515
3516 Usage: $0 [OPTION]... [TAG]...
3517
3518   -h, --help       print this help, then exit
3519   -V, --version    print version number and configuration settings, then exit
3520       --config     print configuration, then exit
3521   -q, --quiet, --silent
3522                    do not print progress messages
3523   -d, --debug      don't remove temporary files
3524       --recheck    update $as_me by reconfiguring in the same conditions
3525       --file=FILE[:TEMPLATE]
3526                    instantiate the configuration file FILE
3527
3528 Configuration files:
3529 $config_files
3530
3531 Report bugs to the package provider."
3532
3533 _ACEOF
3534 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3535 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3536 ac_cs_version="\\
3537 config.status
3538 configured by $0, generated by GNU Autoconf 2.69,
3539   with options \\"\$ac_cs_config\\"
3540
3541 Copyright (C) 2012 Free Software Foundation, Inc.
3542 This config.status script is free software; the Free Software Foundation
3543 gives unlimited permission to copy, distribute and modify it."
3544
3545 ac_pwd='$ac_pwd'
3546 srcdir='$srcdir'
3547 test -n "\$AWK" || AWK=awk
3548 _ACEOF
3549
3550 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3551 # The default lists apply if the user does not specify any file.
3552 ac_need_defaults=:
3553 while test $# != 0
3554 do
3555   case $1 in
3556   --*=?*)
3557     ac_option=`expr "X$1" : 'X\([^=]*\)='`
3558     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3559     ac_shift=:
3560     ;;
3561   --*=)
3562     ac_option=`expr "X$1" : 'X\([^=]*\)='`
3563     ac_optarg=
3564     ac_shift=:
3565     ;;
3566   *)
3567     ac_option=$1
3568     ac_optarg=$2
3569     ac_shift=shift
3570     ;;
3571   esac
3572
3573   case $ac_option in
3574   # Handling of the options.
3575   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3576     ac_cs_recheck=: ;;
3577   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3578     $as_echo "$ac_cs_version"; exit ;;
3579   --config | --confi | --conf | --con | --co | --c )
3580     $as_echo "$ac_cs_config"; exit ;;
3581   --debug | --debu | --deb | --de | --d | -d )
3582     debug=: ;;
3583   --file | --fil | --fi | --f )
3584     $ac_shift
3585     case $ac_optarg in
3586     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3587     '') as_fn_error $? "missing file argument" ;;
3588     esac
3589     as_fn_append CONFIG_FILES " '$ac_optarg'"
3590     ac_need_defaults=false;;
3591   --he | --h |  --help | --hel | -h )
3592     $as_echo "$ac_cs_usage"; exit ;;
3593   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3594   | -silent | --silent | --silen | --sile | --sil | --si | --s)
3595     ac_cs_silent=: ;;
3596
3597   # This is an error.
3598   -*) as_fn_error $? "unrecognized option: \`$1'
3599 Try \`$0 --help' for more information." ;;
3600
3601   *) as_fn_append ac_config_targets " $1"
3602      ac_need_defaults=false ;;
3603
3604   esac
3605   shift
3606 done
3607
3608 ac_configure_extra_args=
3609
3610 if $ac_cs_silent; then
3611   exec 6>/dev/null
3612   ac_configure_extra_args="$ac_configure_extra_args --silent"
3613 fi
3614
3615 _ACEOF
3616 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3617 if \$ac_cs_recheck; then
3618   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3619   shift
3620   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3621   CONFIG_SHELL='$SHELL'
3622   export CONFIG_SHELL
3623   exec "\$@"
3624 fi
3625
3626 _ACEOF
3627 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3628 exec 5>>config.log
3629 {
3630   echo
3631   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3632 ## Running $as_me. ##
3633 _ASBOX
3634   $as_echo "$ac_log"
3635 } >&5
3636
3637 _ACEOF
3638 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3639 _ACEOF
3640
3641 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3642
3643 # Handling of arguments.
3644 for ac_config_target in $ac_config_targets
3645 do
3646   case $ac_config_target in
3647     "Makefile.variables") CONFIG_FILES="$CONFIG_FILES Makefile.variables" ;;
3648     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3649
3650   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3651   esac
3652 done
3653
3654
3655 # If the user did not use the arguments to specify the items to instantiate,
3656 # then the envvar interface is used.  Set only those that are not.
3657 # We use the long form for the default assignment because of an extremely
3658 # bizarre bug on SunOS 4.1.3.
3659 if $ac_need_defaults; then
3660   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3661 fi
3662
3663 # Have a temporary directory for convenience.  Make it in the build tree
3664 # simply because there is no reason against having it here, and in addition,
3665 # creating and moving files from /tmp can sometimes cause problems.
3666 # Hook for its removal unless debugging.
3667 # Note that there is a small window in which the directory will not be cleaned:
3668 # after its creation but before its name has been assigned to `$tmp'.
3669 $debug ||
3670 {
3671   tmp= ac_tmp=
3672   trap 'exit_status=$?
3673   : "${ac_tmp:=$tmp}"
3674   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3675 ' 0
3676   trap 'as_fn_exit 1' 1 2 13 15
3677 }
3678 # Create a (secure) tmp directory for tmp files.
3679
3680 {
3681   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3682   test -d "$tmp"
3683 }  ||
3684 {
3685   tmp=./conf$$-$RANDOM
3686   (umask 077 && mkdir "$tmp")
3687 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3688 ac_tmp=$tmp
3689
3690 # Set up the scripts for CONFIG_FILES section.
3691 # No need to generate them if there are no CONFIG_FILES.
3692 # This happens for instance with `./config.status config.h'.
3693 if test -n "$CONFIG_FILES"; then
3694
3695
3696 ac_cr=`echo X | tr X '\015'`
3697 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3698 # But we know of no other shell where ac_cr would be empty at this
3699 # point, so we can use a bashism as a fallback.
3700 if test "x$ac_cr" = x; then
3701   eval ac_cr=\$\'\\r\'
3702 fi
3703 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3704 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3705   ac_cs_awk_cr='\\r'
3706 else
3707   ac_cs_awk_cr=$ac_cr
3708 fi
3709
3710 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3711 _ACEOF
3712
3713
3714 {
3715   echo "cat >conf$$subs.awk <<_ACEOF" &&
3716   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3717   echo "_ACEOF"
3718 } >conf$$subs.sh ||
3719   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3720 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3721 ac_delim='%!_!# '
3722 for ac_last_try in false false false false false :; do
3723   . ./conf$$subs.sh ||
3724     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3725
3726   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3727   if test $ac_delim_n = $ac_delim_num; then
3728     break
3729   elif $ac_last_try; then
3730     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3731   else
3732     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3733   fi
3734 done
3735 rm -f conf$$subs.sh
3736
3737 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3738 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3739 _ACEOF
3740 sed -n '
3741 h
3742 s/^/S["/; s/!.*/"]=/
3743 p
3744 g
3745 s/^[^!]*!//
3746 :repl
3747 t repl
3748 s/'"$ac_delim"'$//
3749 t delim
3750 :nl
3751 h
3752 s/\(.\{148\}\)..*/\1/
3753 t more1
3754 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3755 p
3756 n
3757 b repl
3758 :more1
3759 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3760 p
3761 g
3762 s/.\{148\}//
3763 t nl
3764 :delim
3765 h
3766 s/\(.\{148\}\)..*/\1/
3767 t more2
3768 s/["\\]/\\&/g; s/^/"/; s/$/"/
3769 p
3770 b
3771 :more2
3772 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3773 p
3774 g
3775 s/.\{148\}//
3776 t delim
3777 ' <conf$$subs.awk | sed '
3778 /^[^""]/{
3779   N
3780   s/\n//
3781 }
3782 ' >>$CONFIG_STATUS || ac_write_fail=1
3783 rm -f conf$$subs.awk
3784 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3785 _ACAWK
3786 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3787   for (key in S) S_is_set[key] = 1
3788   FS = "\a"
3789
3790 }
3791 {
3792   line = $ 0
3793   nfields = split(line, field, "@")
3794   substed = 0
3795   len = length(field[1])
3796   for (i = 2; i < nfields; i++) {
3797     key = field[i]
3798     keylen = length(key)
3799     if (S_is_set[key]) {
3800       value = S[key]
3801       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3802       len += length(value) + length(field[++i])
3803       substed = 1
3804     } else
3805       len += 1 + keylen
3806   }
3807
3808   print line
3809 }
3810
3811 _ACAWK
3812 _ACEOF
3813 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3814 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3815   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3816 else
3817   cat
3818 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3819   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3820 _ACEOF
3821
3822 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3823 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3824 # trailing colons and then remove the whole line if VPATH becomes empty
3825 # (actually we leave an empty line to preserve line numbers).
3826 if test "x$srcdir" = x.; then
3827   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
3828 h
3829 s///
3830 s/^/:/
3831 s/[      ]*$/:/
3832 s/:\$(srcdir):/:/g
3833 s/:\${srcdir}:/:/g
3834 s/:@srcdir@:/:/g
3835 s/^:*//
3836 s/:*$//
3837 x
3838 s/\(=[   ]*\).*/\1/
3839 G
3840 s/\n//
3841 s/^[^=]*=[       ]*$//
3842 }'
3843 fi
3844
3845 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3846 fi # test -n "$CONFIG_FILES"
3847
3848
3849 eval set X "  :F $CONFIG_FILES      "
3850 shift
3851 for ac_tag
3852 do
3853   case $ac_tag in
3854   :[FHLC]) ac_mode=$ac_tag; continue;;
3855   esac
3856   case $ac_mode$ac_tag in
3857   :[FHL]*:*);;
3858   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
3859   :[FH]-) ac_tag=-:-;;
3860   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3861   esac
3862   ac_save_IFS=$IFS
3863   IFS=:
3864   set x $ac_tag
3865   IFS=$ac_save_IFS
3866   shift
3867   ac_file=$1
3868   shift
3869
3870   case $ac_mode in
3871   :L) ac_source=$1;;
3872   :[FH])
3873     ac_file_inputs=
3874     for ac_f
3875     do
3876       case $ac_f in
3877       -) ac_f="$ac_tmp/stdin";;
3878       *) # Look for the file first in the build tree, then in the source tree
3879          # (if the path is not absolute).  The absolute path cannot be DOS-style,
3880          # because $ac_f cannot contain `:'.
3881          test -f "$ac_f" ||
3882            case $ac_f in
3883            [\\/$]*) false;;
3884            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3885            esac ||
3886            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3887       esac
3888       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3889       as_fn_append ac_file_inputs " '$ac_f'"
3890     done
3891
3892     # Let's still pretend it is `configure' which instantiates (i.e., don't
3893     # use $as_me), people would be surprised to read:
3894     #    /* config.h.  Generated by config.status.  */
3895     configure_input='Generated from '`
3896           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3897         `' by configure.'
3898     if test x"$ac_file" != x-; then
3899       configure_input="$ac_file.  $configure_input"
3900       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3901 $as_echo "$as_me: creating $ac_file" >&6;}
3902     fi
3903     # Neutralize special characters interpreted by sed in replacement strings.
3904     case $configure_input in #(
3905     *\&* | *\|* | *\\* )
3906        ac_sed_conf_input=`$as_echo "$configure_input" |
3907        sed 's/[\\\\&|]/\\\\&/g'`;; #(
3908     *) ac_sed_conf_input=$configure_input;;
3909     esac
3910
3911     case $ac_tag in
3912     *:-:* | *:-) cat >"$ac_tmp/stdin" \
3913       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
3914     esac
3915     ;;
3916   esac
3917
3918   ac_dir=`$as_dirname -- "$ac_file" ||
3919 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3920          X"$ac_file" : 'X\(//\)[^/]' \| \
3921          X"$ac_file" : 'X\(//\)$' \| \
3922          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3923 $as_echo X"$ac_file" |
3924     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3925             s//\1/
3926             q
3927           }
3928           /^X\(\/\/\)[^/].*/{
3929             s//\1/
3930             q
3931           }
3932           /^X\(\/\/\)$/{
3933             s//\1/
3934             q
3935           }
3936           /^X\(\/\).*/{
3937             s//\1/
3938             q
3939           }
3940           s/.*/./; q'`
3941   as_dir="$ac_dir"; as_fn_mkdir_p
3942   ac_builddir=.
3943
3944 case "$ac_dir" in
3945 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3946 *)
3947   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3948   # A ".." for each directory in $ac_dir_suffix.
3949   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3950   case $ac_top_builddir_sub in
3951   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3952   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3953   esac ;;
3954 esac
3955 ac_abs_top_builddir=$ac_pwd
3956 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3957 # for backward compatibility:
3958 ac_top_builddir=$ac_top_build_prefix
3959
3960 case $srcdir in
3961   .)  # We are building in place.
3962     ac_srcdir=.
3963     ac_top_srcdir=$ac_top_builddir_sub
3964     ac_abs_top_srcdir=$ac_pwd ;;
3965   [\\/]* | ?:[\\/]* )  # Absolute name.
3966     ac_srcdir=$srcdir$ac_dir_suffix;
3967     ac_top_srcdir=$srcdir
3968     ac_abs_top_srcdir=$srcdir ;;
3969   *) # Relative name.
3970     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3971     ac_top_srcdir=$ac_top_build_prefix$srcdir
3972     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3973 esac
3974 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3975
3976
3977   case $ac_mode in
3978   :F)
3979   #
3980   # CONFIG_FILE
3981   #
3982
3983 _ACEOF
3984
3985 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3986 # If the template does not know about datarootdir, expand it.
3987 # FIXME: This hack should be removed a few years after 2.60.
3988 ac_datarootdir_hack=; ac_datarootdir_seen=
3989 ac_sed_dataroot='
3990 /datarootdir/ {
3991   p
3992   q
3993 }
3994 /@datadir@/p
3995 /@docdir@/p
3996 /@infodir@/p
3997 /@localedir@/p
3998 /@mandir@/p'
3999 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4000 *datarootdir*) ac_datarootdir_seen=yes;;
4001 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4002   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4003 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4004 _ACEOF
4005 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4006   ac_datarootdir_hack='
4007   s&@datadir@&$datadir&g
4008   s&@docdir@&$docdir&g
4009   s&@infodir@&$infodir&g
4010   s&@localedir@&$localedir&g
4011   s&@mandir@&$mandir&g
4012   s&\\\${datarootdir}&$datarootdir&g' ;;
4013 esac
4014 _ACEOF
4015
4016 # Neutralize VPATH when `$srcdir' = `.'.
4017 # Shell code in configure.ac might set extrasub.
4018 # FIXME: do we really want to maintain this feature?
4019 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4020 ac_sed_extra="$ac_vpsub
4021 $extrasub
4022 _ACEOF
4023 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4024 :t
4025 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4026 s|@configure_input@|$ac_sed_conf_input|;t t
4027 s&@top_builddir@&$ac_top_builddir_sub&;t t
4028 s&@top_build_prefix@&$ac_top_build_prefix&;t t
4029 s&@srcdir@&$ac_srcdir&;t t
4030 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4031 s&@top_srcdir@&$ac_top_srcdir&;t t
4032 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4033 s&@builddir@&$ac_builddir&;t t
4034 s&@abs_builddir@&$ac_abs_builddir&;t t
4035 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4036 $ac_datarootdir_hack
4037 "
4038 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
4039   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4040
4041 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4042   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
4043   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
4044       "$ac_tmp/out"`; test -z "$ac_out"; } &&
4045   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4046 which seems to be undefined.  Please make sure it is defined" >&5
4047 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4048 which seems to be undefined.  Please make sure it is defined" >&2;}
4049
4050   rm -f "$ac_tmp/stdin"
4051   case $ac_file in
4052   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4053   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4054   esac \
4055   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4056  ;;
4057
4058
4059
4060   esac
4061
4062 done # for ac_tag
4063
4064
4065 as_fn_exit 0
4066 _ACEOF
4067 ac_clean_files=$ac_clean_files_save
4068
4069 test $ac_write_fail = 0 ||
4070   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4071
4072
4073 # configure is writing to config.log, and then calls config.status.
4074 # config.status does its own redirection, appending to config.log.
4075 # Unfortunately, on DOS this fails, as config.log is still kept open
4076 # by configure, so config.status won't be able to write to it; its
4077 # output is simply discarded.  So we exec the FD to /dev/null,
4078 # effectively closing config.log, so it can be properly (re)opened and
4079 # appended to by config.status.  When coming back to configure, we
4080 # need to make the FD available again.
4081 if test "$no_create" != yes; then
4082   ac_cs_success=:
4083   ac_config_status_args=
4084   test "$silent" = yes &&
4085     ac_config_status_args="$ac_config_status_args --quiet"
4086   exec 5>/dev/null
4087   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4088   exec 5>>config.log
4089   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4090   # would make configure fail if this is the last instruction.
4091   $ac_cs_success || as_fn_exit 1
4092 fi
4093 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4094   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4095 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
4096 fi
4097
4098