2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
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 ## -------------------- ##
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 :
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+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
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
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
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'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 as_echo_n='sh -c $as_echo_n_body as_echo'
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
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.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
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
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
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 || :
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
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.
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
147 *v*x* | *x*v* ) as_opts=-vx ;;
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
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 :
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+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
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; }
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 :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || 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 :
204 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
209 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
212 test -z "$as_dir" && as_dir=.
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 :
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
237 if test "x$CONFIG_SHELL" != x; then :
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.
245 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
247 *v*x* | *x*v* ) as_opts=-vx ;;
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
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."
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."
275 SHELL=${CONFIG_SHELL-/bin/sh}
277 # Unset more variables known to interfere with behavior of common tools.
278 CLICOLOR_FORCE= GREP_OPTIONS=
279 unset CLICOLOR_FORCE GREP_OPTIONS
281 ## --------------------- ##
282 ## M4sh Shell Functions. ##
283 ## --------------------- ##
286 # Portably unset VAR.
289 { eval $1=; unset $1;}
293 # as_fn_set_status STATUS
294 # -----------------------
295 # Set $? to STATUS, without forking.
303 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
313 # Create "$as_dir" as a directory, including parents if necessary.
318 -*) as_dir=./$as_dir;;
320 test -d "$as_dir" || eval $as_mkdir_p || {
324 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
351 test -d "$as_dir" && break
353 test -z "$as_dirs" || eval "mkdir $as_dirs"
354 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
359 # as_fn_executable_p FILE
360 # -----------------------
361 # Test if FILE is an executable regular file.
362 as_fn_executable_p ()
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
372 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
373 eval 'as_fn_append ()
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 :
397 as_val=`expr "$@" || test $? -eq 1`
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.
409 as_status=$1; test $as_status -eq 0 && as_status=1
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
414 $as_echo "$as_me: error: $2" >&2
415 as_fn_exit $as_status
418 if expr a : '\(a\)' >/dev/null 2>&1 &&
419 test "X`expr 00001 : '.*\(...\)'`" = X001; then
425 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
431 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
437 as_me=`$as_basename -- "$0" ||
438 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
439 X"$0" : 'X\(//\)$' \| \
440 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
442 sed '/^.*\/\([^/][^/]*\)\/*$/{
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
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. :-)
480 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
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; }
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).
495 # Exit status is that of the last command.
499 ECHO_C= ECHO_N= ECHO_T=
500 case `echo -n x` in #(((((
502 case `echo 'xy\c'` in
503 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
505 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
512 rm -f conf$$ conf$$.exe conf$$.file
513 if test -d conf$$.dir; then
514 rm -f conf$$.dir/conf$$.file
517 mkdir conf$$.dir 2>/dev/null
519 if (echo >conf$$.file) 2>/dev/null; then
520 if ln -s conf$$.file conf$$ 2>/dev/null; then
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 ||
528 elif ln conf$$.file conf$$ 2>/dev/null; then
536 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
537 rmdir conf$$.dir 2>/dev/null
539 if mkdir -p . 2>/dev/null; then
540 as_mkdir_p='mkdir -p "$as_dir"'
542 test -d ./-p && rmdir ./-p
547 as_executable_p=as_fn_executable_p
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'"
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'"
556 test -n "$DJDIR" || exec 7<&0 </dev/null
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`
567 ac_default_prefix=/usr/local
569 ac_config_libobj_dir=.
576 # Identity of this package.
584 ac_unique_file="configure.ac"
585 ac_subst_vars='LTLIBOBJS
617 program_transform_name
630 enable_option_checking
633 ac_precious_vars='build_alias
638 # Initialize some variables set by options.
640 ac_init_version=false
641 ac_unrecognized_opts=
643 # The variables have the same names as the options, with
644 # dashes changed to underlines.
652 program_transform_name=s,x,x,
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'
682 libdir='${exec_prefix}/lib'
683 localedir='${datarootdir}/locale'
684 mandir='${datarootdir}/man'
690 # If the previous option needs an argument, assign it.
691 if test -n "$ac_prev"; then
692 eval $ac_prev=\$ac_option
698 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
703 # Accept the important Cygnus configure options, so we can diagnose typos.
705 case $ac_dashdash$ac_option in
709 -bindir | --bindir | --bindi | --bind | --bin | --bi)
711 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
714 -build | --build | --buil | --bui | --bu)
715 ac_prev=build_alias ;;
716 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
717 build_alias=$ac_optarg ;;
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 ;;
727 cache_file=config.cache ;;
729 -datadir | --datadir | --datadi | --datad)
731 -datadir=* | --datadir=* | --datadi=* | --datad=*)
732 datadir=$ac_optarg ;;
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 ;;
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
752 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
753 ac_unrecognized_sep=', ';;
755 eval enable_$ac_useropt=no ;;
757 -docdir | --docdir | --docdi | --doc | --do)
759 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
762 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
764 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
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
778 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
779 ac_unrecognized_sep=', ';;
781 eval enable_$ac_useropt=\$ac_optarg ;;
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 ;;
792 -gas | --gas | --ga | --g)
793 # Obsolete; use --with-gas.
796 -help | --help | --hel | --he | -h)
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 ;;
803 -host | --host | --hos | --ho)
804 ac_prev=host_alias ;;
805 -host=* | --host=* | --hos=* | --ho=*)
806 host_alias=$ac_optarg ;;
808 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
810 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
812 htmldir=$ac_optarg ;;
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 ;;
821 -infodir | --infodir | --infodi | --infod | --info | --inf)
823 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
824 infodir=$ac_optarg ;;
826 -libdir | --libdir | --libdi | --libd)
828 -libdir=* | --libdir=* | --libdi=* | --libd=*)
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 ;;
838 -localedir | --localedir | --localedi | --localed | --locale)
840 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
841 localedir=$ac_optarg ;;
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 ;;
850 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
852 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
856 # Obsolete; use --without-fp.
859 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
860 | --no-cr | --no-c | -n)
863 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
864 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
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 ;;
876 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
878 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
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 ;;
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 ;;
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 ;;
912 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
914 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
917 -psdir | --psdir | --psdi | --psd | --ps)
919 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
922 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
923 | -silent | --silent | --silen | --sile | --sil)
926 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
928 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
930 sbindir=$ac_optarg ;;
932 -sharedstatedir | --sharedstatedir | --sharedstatedi \
933 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
934 | --sharedst | --shareds | --shared | --share | --shar \
936 ac_prev=sharedstatedir ;;
937 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
938 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
939 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
941 sharedstatedir=$ac_optarg ;;
943 -site | --site | --sit)
945 -site=* | --site=* | --sit=*)
948 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
950 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
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 ;;
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 ;;
965 -v | -verbose | --verbose | --verbos | --verbo | --verb)
968 -version | --version | --versio | --versi | --vers | -V)
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
982 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
983 ac_unrecognized_sep=', ';;
985 eval with_$ac_useropt=\$ac_optarg ;;
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
998 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
999 ac_unrecognized_sep=', ';;
1001 eval with_$ac_useropt=no ;;
1004 # Obsolete; use --with-x.
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 ;;
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 ;;
1021 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1022 Try \`$0 --help' for more information"
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'" ;;
1032 eval $ac_envvar=\$ac_optarg
1033 export $ac_envvar ;;
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}"
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"
1051 if test -n "$ac_unrecognized_opts"; then
1052 case $enable_option_checking in
1054 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1055 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
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
1065 eval ac_val=\$$ac_var
1066 # Remove trailing slashes.
1069 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1070 eval $ac_var=\$ac_val;;
1072 # Be sure to have absolute directory names.
1074 [\\/$]* | ?:[\\/]* ) continue;;
1075 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1077 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
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.
1085 target=$target_alias
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
1097 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1099 test "$silent" = yes && exec 6>/dev/null
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"
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1138 if test ! -r "$srcdir/$ac_unique_file"; then
1142 ac_srcdir_defaulted=no
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"
1148 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1150 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1152 # When building in place, set srcdir=.
1153 if test "$ac_abs_confdir" = "$ac_pwd"; then
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.
1160 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
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}
1170 # Report the --help message.
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.
1176 \`configure' configures this package to adapt to many kinds of systems.
1178 Usage: $0 [OPTION]... [VAR=VALUE]...
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.
1183 Defaults for the options are specified in brackets.
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 \`..']
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
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'.
1207 For better control, use the options below.
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]
1235 if test -n "$ac_init_help"; then
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
1245 Report bugs to the package provider.
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"; } ||
1259 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
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/ ;;
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
1275 .) # We are building in place.
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 ;;
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 ;;
1288 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1290 cd "$ac_dir" || { ac_status=$?; continue; }
1291 # Check for guested configure.
1292 if test -f "$ac_srcdir/configure.gnu"; then
1294 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1295 elif test -f "$ac_srcdir/configure"; then
1297 $SHELL "$ac_srcdir/configure" --help=recursive
1299 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1301 cd "$ac_pwd" || { ac_status=$?; break; }
1305 test -n "$ac_init_help" && exit $ac_status
1306 if $ac_init_version; then
1309 generated by GNU Autoconf 2.69
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.
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.
1325 It was created by $as_me, which was
1326 generated by GNU Autoconf 2.69. Invocation command line was
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`
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`
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`
1357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1361 test -z "$as_dir" && as_dir=.
1362 $as_echo "PATH: $as_dir"
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.
1386 ac_must_keep_next=false
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)
1397 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1400 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
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.
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 ;;
1415 -* ) ac_must_keep_next=true ;;
1418 as_fn_append ac_configure_args " '$ac_arg'"
1423 { ac_configure_args0=; unset ac_configure_args0;}
1424 { ac_configure_args1=; unset ac_configure_args1;}
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.
1436 $as_echo "## ---------------- ##
1437 ## Cache variables. ##
1438 ## ---------------- ##"
1440 # The following way of writing the cache mishandles newlines in values,
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
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;} ;;
1451 _ | IFS | as_nl) ;; #(
1452 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1453 *) { eval $ac_var=; unset $ac_var;} ;;
1458 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1459 *${as_nl}ac_space=\ *)
1461 "s/'\''/'\''\\\\'\'''\''/g;
1462 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1465 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1472 $as_echo "## ----------------- ##
1473 ## Output variables. ##
1474 ## ----------------- ##"
1476 for ac_var in $ac_subst_vars
1478 eval ac_val=\$$ac_var
1480 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1482 $as_echo "$ac_var='\''$ac_val'\''"
1486 if test -n "$ac_subst_files"; then
1487 $as_echo "## ------------------- ##
1488 ## File substitutions. ##
1489 ## ------------------- ##"
1491 for ac_var in $ac_subst_files
1493 eval ac_val=\$$ac_var
1495 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1497 $as_echo "$ac_var='\''$ac_val'\''"
1502 if test -s confdefs.h; then
1503 $as_echo "## ----------- ##
1510 test "$ac_signal" != 0 &&
1511 $as_echo "$as_me: caught signal $ac_signal"
1512 $as_echo "$as_me: exit $exit_status"
1514 rm -f core *.core core.conftest.* &&
1515 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1518 for ac_signal in 1 2 13 15; do
1519 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1523 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1524 rm -f -r conftest* confdefs.h
1526 $as_echo "/* confdefs.h */" > confdefs.h
1528 # Predefined preprocessor variables.
1530 cat >>confdefs.h <<_ACEOF
1531 #define PACKAGE_NAME "$PACKAGE_NAME"
1534 cat >>confdefs.h <<_ACEOF
1535 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1538 cat >>confdefs.h <<_ACEOF
1539 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1542 cat >>confdefs.h <<_ACEOF
1543 #define PACKAGE_STRING "$PACKAGE_STRING"
1546 cat >>confdefs.h <<_ACEOF
1547 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1550 cat >>confdefs.h <<_ACEOF
1551 #define PACKAGE_URL "$PACKAGE_URL"
1555 # Let the site file select an alternate cache file if it wants to.
1556 # Prefer an explicitly selected file to automatically selected ones.
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;;
1566 elif test "x$prefix" != xNONE; then
1567 ac_site_file1=$prefix/share/config.site
1568 ac_site_file2=$prefix/etc/config.site
1570 ac_site_file1=$ac_default_prefix/share/config.site
1571 ac_site_file2=$ac_default_prefix/etc/config.site
1573 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
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
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; }
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;}
1595 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1596 *) . "./$cache_file";;
1600 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1601 $as_echo "$as_me: creating cache $cache_file" >&6;}
1605 # Check that the precious variables saved in the cache have kept the same
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
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=: ;;
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=: ;;
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=:
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
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;}
1643 # Pass precious variables to config.status.
1644 if test "$ac_new_set" = set; then
1646 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1647 *) ac_arg=$ac_var=$ac_new_val ;;
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'" ;;
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
1662 ## -------------------- ##
1663 ## Main body of script. ##
1664 ## -------------------- ##
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
1674 for ac_prog in ocamlbuild
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
1683 if test -n "$OCAMLBUILD"; then
1684 ac_cv_prog_OCAMLBUILD="$OCAMLBUILD" # Let the user override the test.
1686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
1708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1709 $as_echo "no" >&6; }
1713 test -n "$OCAMLBUILD" && break
1719 # Check whether --with-webapp was given.
1720 if test "${with_webapp+set}" = set; then :
1721 withval=$with_webapp;
1727 echo "let parser_lib = \"`pwd`/lib\"" > myocamlbuild_config.ml
1729 if test "x$with_webapp" != xno; then :
1730 for ac_prog in js_of_ocaml
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
1739 if test -n "$JS_OF_OCAML"; then
1740 ac_cv_prog_JS_OF_OCAML="$JS_OF_OCAML" # Let the user override the test.
1742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
1764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1765 $as_echo "no" >&6; }
1769 test -n "$JS_OF_OCAML" && break
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
1778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1779 $as_echo "yes" >&6; }
1783 ac_config_files="$ac_config_files Makefile.variables"
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.
1792 # config.status only pays attention to the cache file if you give it
1793 # the --recheck option to rerun configure.
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
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.
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
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;} ;;
1816 _ | IFS | as_nl) ;; #(
1817 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1818 *) { eval $ac_var=; unset $ac_var;} ;;
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 \.
1830 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1833 # `set' quotes correctly as required by POSIX, so do not add quotes.
1834 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1843 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1845 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
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"
1855 case $cache_file in #(
1857 mv -f confcache "$cache_file"$$ &&
1858 mv -f "$cache_file"$$ "$cache_file" ;; #(
1860 mv -f confcache "$cache_file" ;;
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;}
1871 test "x$prefix" = xNONE && prefix=$ac_default_prefix
1872 # Let make expand exec_prefix.
1873 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1875 # Transform confdefs.h into DEFS.
1876 # Protect against shell expansion while executing Makefile rules.
1877 # Protect against Makefile macro expansion.
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.
1891 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
1893 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
1897 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
1910 DEFS=`sed -n "$ac_script" confdefs.h`
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'
1927 LTLIBOBJS=$ac_ltlibobjs
1931 : "${CONFIG_STATUS=./config.status}"
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;}
1938 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
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.
1949 SHELL=\${CONFIG_SHELL-$SHELL}
1952 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
1953 ## -------------------- ##
1954 ## M4sh Initialization. ##
1955 ## -------------------- ##
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 :
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
1967 case `(set -o) 2>/dev/null` in #(
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'
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'
1997 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
1998 as_echo_n_body='eval
2002 expr "X$arg" : "X\\(.*\\)$as_nl";
2003 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2005 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2007 export as_echo_n_body
2008 as_echo_n='sh -c $as_echo_n_body as_echo'
2011 as_echo='sh -c $as_echo_body as_echo'
2014 # The user is always right.
2015 if test "${PATH_SEPARATOR+set}" != set; then
2017 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2018 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
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.)
2031 # Find who we are. Look in the path if we contain no directory separator.
2034 *[\\/]* ) as_myself=$0 ;;
2035 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2039 test -z "$as_dir" && as_dir=.
2040 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
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
2051 if test ! -f "$as_myself"; then
2052 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
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 || :
2075 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
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.
2085 as_status=$1; test $as_status -eq 0 && as_status=1
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
2090 $as_echo "$as_me: error: $2" >&2
2091 as_fn_exit $as_status
2095 # as_fn_set_status STATUS
2096 # -----------------------
2097 # Set $? to STATUS, without forking.
2101 } # as_fn_set_status
2105 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2115 # Portably unset VAR.
2118 { eval $1=; unset $1;}
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
2127 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
2128 eval 'as_fn_append ()
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 ()
2152 as_val=`expr "$@" || test $? -eq 1`
2157 if expr a : '\(a\)' >/dev/null 2>&1 &&
2158 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2164 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2165 as_basename=basename
2170 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2176 as_me=`$as_basename -- "$0" ||
2177 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2178 X"$0" : 'X\(//\)$' \| \
2179 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2181 sed '/^.*\/\([^/][^/]*\)\/*$/{
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
2202 ECHO_C= ECHO_N= ECHO_T=
2203 case `echo -n x` in #(((((
2205 case `echo 'xy\c'` in
2206 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2208 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
2215 rm -f conf$$ conf$$.exe conf$$.file
2216 if test -d conf$$.dir; then
2217 rm -f conf$$.dir/conf$$.file
2220 mkdir conf$$.dir 2>/dev/null
2222 if (echo >conf$$.file) 2>/dev/null; then
2223 if ln -s conf$$.file conf$$ 2>/dev/null; then
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 ||
2231 elif ln conf$$.file conf$$ 2>/dev/null; then
2239 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2240 rmdir conf$$.dir 2>/dev/null
2245 # Create "$as_dir" as a directory, including parents if necessary.
2250 -*) as_dir=./$as_dir;;
2252 test -d "$as_dir" || eval $as_mkdir_p || {
2256 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2257 *) as_qdir=$as_dir;;
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2283 test -d "$as_dir" && break
2285 test -z "$as_dirs" || eval "mkdir $as_dirs"
2286 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
2290 if mkdir -p . 2>/dev/null; then
2291 as_mkdir_p='mkdir -p "$as_dir"'
2293 test -d ./-p && rmdir ./-p
2298 # as_fn_executable_p FILE
2299 # -----------------------
2300 # Test if FILE is an executable regular file.
2301 as_fn_executable_p ()
2303 test -f "$1" && test -x "$1"
2304 } # as_fn_executable_p
2306 as_executable_p=as_fn_executable_p
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'"
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'"
2316 ## ----------------------------------- ##
2317 ## Main body of $CONFIG_STATUS script. ##
2318 ## ----------------------------------- ##
2320 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
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.
2327 This file was extended by $as_me, which was
2328 generated by GNU Autoconf 2.69. Invocation command line was
2330 CONFIG_FILES = $CONFIG_FILES
2331 CONFIG_HEADERS = $CONFIG_HEADERS
2332 CONFIG_LINKS = $CONFIG_LINKS
2333 CONFIG_COMMANDS = $CONFIG_COMMANDS
2336 on `(hostname || uname -n) 2>/dev/null | sed 1q`
2341 case $ac_config_files in *"
2342 "*) set x $ac_config_files; shift; ac_config_files=$*;;
2347 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2348 # Files that config.status was made for.
2349 config_files="$ac_config_files"
2353 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
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.
2359 Usage: $0 [OPTION]... [TAG]...
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
2371 Configuration files:
2374 Report bugs to the package provider."
2377 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2378 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
2381 configured by $0, generated by GNU Autoconf 2.69,
2382 with options \\"\$ac_cs_config\\"
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."
2390 test -n "\$AWK" || AWK=awk
2393 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2394 # The default lists apply if the user does not specify any file.
2400 ac_option=`expr "X$1" : 'X\([^=]*\)='`
2401 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2405 ac_option=`expr "X$1" : 'X\([^=]*\)='`
2417 # Handling of the options.
2418 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
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 )
2426 --file | --fil | --fi | --f )
2429 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
2430 '') as_fn_error $? "missing file argument" ;;
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)
2441 -*) as_fn_error $? "unrecognized option: \`$1'
2442 Try \`$0 --help' for more information." ;;
2444 *) as_fn_append ac_config_targets " $1"
2445 ac_need_defaults=false ;;
2451 ac_configure_extra_args=
2453 if $ac_cs_silent; then
2455 ac_configure_extra_args="$ac_configure_extra_args --silent"
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
2463 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
2464 CONFIG_SHELL='$SHELL'
2470 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2474 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2475 ## Running $as_me. ##
2481 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2484 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2486 # Handling of arguments.
2487 for ac_config_target in $ac_config_targets
2489 case $ac_config_target in
2490 "Makefile.variables") CONFIG_FILES="$CONFIG_FILES Makefile.variables" ;;
2492 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
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
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'.
2514 trap 'exit_status=$?
2516 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
2518 trap 'as_fn_exit 1' 1 2 13 15
2520 # Create a (secure) tmp directory for tmp files.
2523 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
2527 tmp=./conf$$-$RANDOM
2528 (umask 077 && mkdir "$tmp")
2529 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
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
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\'
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
2552 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
2557 echo "cat >conf$$subs.awk <<_ACEOF" &&
2558 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
2561 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
2562 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
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
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
2571 elif $ac_last_try; then
2572 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
2574 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
2579 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2580 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
2584 s/^/S["/; s/!.*/"]=/
2594 s/\(.\{148\}\)..*/\1/
2596 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
2601 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
2608 s/\(.\{148\}\)..*/\1/
2610 s/["\\]/\\&/g; s/^/"/; s/$/"/
2614 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
2619 ' <conf$$subs.awk | sed '
2624 ' >>$CONFIG_STATUS || ac_write_fail=1
2625 rm -f conf$$subs.awk
2626 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2628 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
2629 for (key in S) S_is_set[key] = 1
2635 nfields = split(line, field, "@")
2637 len = length(field[1])
2638 for (i = 2; i < nfields; i++) {
2640 keylen = length(key)
2641 if (S_is_set[key]) {
2643 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
2644 len += length(value) + length(field[++i])
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"
2660 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
2661 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
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[ ]*=[ ]*/{
2687 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2688 fi # test -n "$CONFIG_FILES"
2691 eval set X " :F $CONFIG_FILES "
2696 :[FHLC]) ac_mode=$ac_tag; continue;;
2698 case $ac_mode$ac_tag in
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;;
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 `:'.
2726 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
2728 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
2730 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
2731 as_fn_append ac_file_inputs " '$ac_f'"
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'
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;}
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;;
2754 *:-:* | *:-) cat >"$ac_tmp/stdin" \
2755 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2783 as_dir="$ac_dir"; as_fn_mkdir_p
2787 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
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/ ;;
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
2803 .) # We are building in place.
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 ;;
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 ;;
2816 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
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=
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;}
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' ;;
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
2865 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
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
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
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;}
2892 rm -f "$ac_tmp/stdin"
2894 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
2895 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
2897 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
2909 ac_clean_files=$ac_clean_files_save
2911 test $ac_write_fail = 0 ||
2912 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
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
2925 ac_config_status_args=
2926 test "$silent" = yes &&
2927 ac_config_status_args="$ac_config_status_args --quiet"
2929 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
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
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;}
2940 ac_config_files="$ac_config_files Makefile"
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.
2949 # config.status only pays attention to the cache file if you give it
2950 # the --recheck option to rerun configure.
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
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.
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
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;} ;;
2973 _ | IFS | as_nl) ;; #(
2974 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2975 *) { eval $ac_var=; unset $ac_var;} ;;
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 \.
2987 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2990 # `set' quotes correctly as required by POSIX, so do not add quotes.
2991 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3000 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3002 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
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"
3012 case $cache_file in #(
3014 mv -f confcache "$cache_file"$$ &&
3015 mv -f "$cache_file"$$ "$cache_file" ;; #(
3017 mv -f confcache "$cache_file" ;;
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;}
3028 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3029 # Let make expand exec_prefix.
3030 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3032 # Transform confdefs.h into DEFS.
3033 # Protect against shell expansion while executing Makefile rules.
3034 # Protect against Makefile macro expansion.
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.
3048 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3050 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3054 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3067 DEFS=`sed -n "$ac_script" confdefs.h`
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'
3084 LTLIBOBJS=$ac_ltlibobjs
3088 : "${CONFIG_STATUS=./config.status}"
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;}
3095 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
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.
3106 SHELL=\${CONFIG_SHELL-$SHELL}
3109 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3110 ## -------------------- ##
3111 ## M4sh Initialization. ##
3112 ## -------------------- ##
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 :
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
3124 case `(set -o) 2>/dev/null` in #(
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'
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'
3154 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3155 as_echo_n_body='eval
3159 expr "X$arg" : "X\\(.*\\)$as_nl";
3160 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3162 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3164 export as_echo_n_body
3165 as_echo_n='sh -c $as_echo_n_body as_echo'
3168 as_echo='sh -c $as_echo_body as_echo'
3171 # The user is always right.
3172 if test "${PATH_SEPARATOR+set}" != set; then
3174 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3175 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
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.)
3188 # Find who we are. Look in the path if we contain no directory separator.
3191 *[\\/]* ) as_myself=$0 ;;
3192 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3196 test -z "$as_dir" && as_dir=.
3197 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
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
3208 if test ! -f "$as_myself"; then
3209 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
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 || :
3232 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
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.
3242 as_status=$1; test $as_status -eq 0 && as_status=1
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
3247 $as_echo "$as_me: error: $2" >&2
3248 as_fn_exit $as_status
3252 # as_fn_set_status STATUS
3253 # -----------------------
3254 # Set $? to STATUS, without forking.
3258 } # as_fn_set_status
3262 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3272 # Portably unset VAR.
3275 { eval $1=; unset $1;}
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
3284 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3285 eval 'as_fn_append ()
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 ()
3309 as_val=`expr "$@" || test $? -eq 1`
3314 if expr a : '\(a\)' >/dev/null 2>&1 &&
3315 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3321 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3322 as_basename=basename
3327 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3333 as_me=`$as_basename -- "$0" ||
3334 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3335 X"$0" : 'X\(//\)$' \| \
3336 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3338 sed '/^.*\/\([^/][^/]*\)\/*$/{
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
3359 ECHO_C= ECHO_N= ECHO_T=
3360 case `echo -n x` in #(((((
3362 case `echo 'xy\c'` in
3363 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3365 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3372 rm -f conf$$ conf$$.exe conf$$.file
3373 if test -d conf$$.dir; then
3374 rm -f conf$$.dir/conf$$.file
3377 mkdir conf$$.dir 2>/dev/null
3379 if (echo >conf$$.file) 2>/dev/null; then
3380 if ln -s conf$$.file conf$$ 2>/dev/null; then
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 ||
3388 elif ln conf$$.file conf$$ 2>/dev/null; then
3396 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3397 rmdir conf$$.dir 2>/dev/null
3402 # Create "$as_dir" as a directory, including parents if necessary.
3407 -*) as_dir=./$as_dir;;
3409 test -d "$as_dir" || eval $as_mkdir_p || {
3413 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3414 *) as_qdir=$as_dir;;
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3440 test -d "$as_dir" && break
3442 test -z "$as_dirs" || eval "mkdir $as_dirs"
3443 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3447 if mkdir -p . 2>/dev/null; then
3448 as_mkdir_p='mkdir -p "$as_dir"'
3450 test -d ./-p && rmdir ./-p
3455 # as_fn_executable_p FILE
3456 # -----------------------
3457 # Test if FILE is an executable regular file.
3458 as_fn_executable_p ()
3460 test -f "$1" && test -x "$1"
3461 } # as_fn_executable_p
3463 as_executable_p=as_fn_executable_p
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'"
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'"
3473 ## ----------------------------------- ##
3474 ## Main body of $CONFIG_STATUS script. ##
3475 ## ----------------------------------- ##
3477 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
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.
3484 This file was extended by $as_me, which was
3485 generated by GNU Autoconf 2.69. Invocation command line was
3487 CONFIG_FILES = $CONFIG_FILES
3488 CONFIG_HEADERS = $CONFIG_HEADERS
3489 CONFIG_LINKS = $CONFIG_LINKS
3490 CONFIG_COMMANDS = $CONFIG_COMMANDS
3493 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3498 case $ac_config_files in *"
3499 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3504 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3505 # Files that config.status was made for.
3506 config_files="$ac_config_files"
3510 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
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.
3516 Usage: $0 [OPTION]... [TAG]...
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
3528 Configuration files:
3531 Report bugs to the package provider."
3534 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3535 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3538 configured by $0, generated by GNU Autoconf 2.69,
3539 with options \\"\$ac_cs_config\\"
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."
3547 test -n "\$AWK" || AWK=awk
3550 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3551 # The default lists apply if the user does not specify any file.
3557 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3558 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3562 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3574 # Handling of the options.
3575 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
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 )
3583 --file | --fil | --fi | --f )
3586 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3587 '') as_fn_error $? "missing file argument" ;;
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)
3598 -*) as_fn_error $? "unrecognized option: \`$1'
3599 Try \`$0 --help' for more information." ;;
3601 *) as_fn_append ac_config_targets " $1"
3602 ac_need_defaults=false ;;
3608 ac_configure_extra_args=
3610 if $ac_cs_silent; then
3612 ac_configure_extra_args="$ac_configure_extra_args --silent"
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
3620 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3621 CONFIG_SHELL='$SHELL'
3627 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3631 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3632 ## Running $as_me. ##
3638 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3641 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3643 # Handling of arguments.
3644 for ac_config_target in $ac_config_targets
3646 case $ac_config_target in
3647 "Makefile.variables") CONFIG_FILES="$CONFIG_FILES Makefile.variables" ;;
3648 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3650 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
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
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'.
3672 trap 'exit_status=$?
3674 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3676 trap 'as_fn_exit 1' 1 2 13 15
3678 # Create a (secure) tmp directory for tmp files.
3681 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3685 tmp=./conf$$-$RANDOM
3686 (umask 077 && mkdir "$tmp")
3687 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
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
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\'
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
3710 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3715 echo "cat >conf$$subs.awk <<_ACEOF" &&
3716 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3719 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3720 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
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
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
3729 elif $ac_last_try; then
3730 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3732 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3737 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3738 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3742 s/^/S["/; s/!.*/"]=/
3752 s/\(.\{148\}\)..*/\1/
3754 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3759 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3766 s/\(.\{148\}\)..*/\1/
3768 s/["\\]/\\&/g; s/^/"/; s/$/"/
3772 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3777 ' <conf$$subs.awk | sed '
3782 ' >>$CONFIG_STATUS || ac_write_fail=1
3783 rm -f conf$$subs.awk
3784 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3786 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3787 for (key in S) S_is_set[key] = 1
3793 nfields = split(line, field, "@")
3795 len = length(field[1])
3796 for (i = 2; i < nfields; i++) {
3798 keylen = length(key)
3799 if (S_is_set[key]) {
3801 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3802 len += length(value) + length(field[++i])
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"
3818 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3819 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
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[ ]*=[ ]*/{
3845 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3846 fi # test -n "$CONFIG_FILES"
3849 eval set X " :F $CONFIG_FILES "
3854 :[FHLC]) ac_mode=$ac_tag; continue;;
3856 case $ac_mode$ac_tag in
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;;
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 `:'.
3884 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3886 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3888 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3889 as_fn_append ac_file_inputs " '$ac_f'"
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'
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;}
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;;
3912 *:-:* | *:-) cat >"$ac_tmp/stdin" \
3913 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3941 as_dir="$ac_dir"; as_fn_mkdir_p
3945 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
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/ ;;
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
3961 .) # We are building in place.
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 ;;
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 ;;
3974 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
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=
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;}
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' ;;
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
4023 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
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
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
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;}
4050 rm -f "$ac_tmp/stdin"
4052 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4053 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4055 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4067 ac_clean_files=$ac_clean_files_save
4069 test $ac_write_fail = 0 ||
4070 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
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
4083 ac_config_status_args=
4084 test "$silent" = yes &&
4085 ac_config_status_args="$ac_config_status_args --quiet"
4087 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
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
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;}