2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for TAToo 0.0.1.
5 # Report bugs to <Kim Nguyễn <kn@lri.fr>>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 *v*x* | *x*v* ) as_opts=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
201 if (eval "$as_required") 2>/dev/null; then :
206 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 test -z "$as_dir" && as_dir=.
218 for as_base in sh bash ksh sh5; do
219 # Try only shells that exist, to save several forks.
220 as_shell=$as_dir/$as_base
221 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
222 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
223 CONFIG_SHELL=$as_shell as_have_required=yes
224 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
233 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
234 CONFIG_SHELL=$SHELL as_have_required=yes
239 if test "x$CONFIG_SHELL" != x; then :
241 # We cannot yet assume a decent shell, so we have to provide a
242 # neutralization value for shells without unset; and this also
243 # works around shells that cannot unset nonexistent variables.
244 # Preserve -v and -x to the replacement shell.
247 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 *v*x* | *x*v* ) as_opts=-vx ;;
254 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
255 # Admittedly, this is quite paranoid, since all the known shells bail
256 # out after a failed `exec'.
257 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
261 if test x$as_have_required = xno; then :
262 $as_echo "$0: This script requires a shell more modern than all"
263 $as_echo "$0: the shells that I found on your system."
264 if test x${ZSH_VERSION+set} = xset ; then
265 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
266 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 $as_echo "$0: Please tell bug-autoconf@gnu.org and Kim Nguyễn
269 $0: <kn@lri.fr> about your system, including any error
270 $0: possibly output before this message. Then install a
271 $0: modern shell, or manually run the script under such a
272 $0: shell if you do have one."
278 SHELL=${CONFIG_SHELL-/bin/sh}
280 # Unset more variables known to interfere with behavior of common tools.
281 CLICOLOR_FORCE= GREP_OPTIONS=
282 unset CLICOLOR_FORCE GREP_OPTIONS
284 ## --------------------- ##
285 ## M4sh Shell Functions. ##
286 ## --------------------- ##
289 # Portably unset VAR.
292 { eval $1=; unset $1;}
296 # as_fn_set_status STATUS
297 # -----------------------
298 # Set $? to STATUS, without forking.
306 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
316 # Create "$as_dir" as a directory, including parents if necessary.
321 -*) as_dir=./$as_dir;;
323 test -d "$as_dir" || eval $as_mkdir_p || {
327 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
330 as_dirs="'$as_qdir' $as_dirs"
331 as_dir=`$as_dirname -- "$as_dir" ||
332 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
333 X"$as_dir" : 'X\(//\)[^/]' \| \
334 X"$as_dir" : 'X\(//\)$' \| \
335 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
336 $as_echo X"$as_dir" |
337 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
354 test -d "$as_dir" && break
356 test -z "$as_dirs" || eval "mkdir $as_dirs"
357 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
362 # as_fn_executable_p FILE
363 # -----------------------
364 # Test if FILE is an executable regular file.
365 as_fn_executable_p ()
367 test -f "$1" && test -x "$1"
368 } # as_fn_executable_p
369 # as_fn_append VAR VALUE
370 # ----------------------
371 # Append the text in VALUE to the end of the definition contained in VAR. Take
372 # advantage of any shell optimizations that allow amortized linear growth over
373 # repeated appends, instead of the typical quadratic growth present in naive
375 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
376 eval 'as_fn_append ()
389 # Perform arithmetic evaluation on the ARGs, and store the result in the
390 # global $as_val. Take advantage of shells that can avoid forks. The arguments
391 # must be portable across $(()) and expr.
392 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
400 as_val=`expr "$@" || test $? -eq 1`
405 # as_fn_error STATUS ERROR [LINENO LOG_FD]
406 # ----------------------------------------
407 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
408 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
409 # script with STATUS, using 1 if that was 0.
412 as_status=$1; test $as_status -eq 0 && as_status=1
414 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
415 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
417 $as_echo "$as_me: error: $2" >&2
418 as_fn_exit $as_status
421 if expr a : '\(a\)' >/dev/null 2>&1 &&
422 test "X`expr 00001 : '.*\(...\)'`" = X001; then
428 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
434 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
440 as_me=`$as_basename -- "$0" ||
441 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
442 X"$0" : 'X\(//\)$' \| \
443 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 sed '/^.*\/\([^/][^/]*\)\/*$/{
459 # Avoid depending upon Character Ranges.
460 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
461 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
462 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
463 as_cr_digits='0123456789'
464 as_cr_alnum=$as_cr_Letters$as_cr_digits
467 as_lineno_1=$LINENO as_lineno_1a=$LINENO
468 as_lineno_2=$LINENO as_lineno_2a=$LINENO
469 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
470 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
471 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
483 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
487 chmod +x "$as_me.lineno" ||
488 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
490 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
491 # already done that, so ensure we don't try to do so again and fall
492 # in an infinite loop. This has already happened in practice.
493 _as_can_reexec=no; export _as_can_reexec
494 # Don't try to exec as it changes $[0], causing all sort of problems
495 # (the dirname of $[0] is not the place where we might find the
496 # original and so on. Autoconf is especially sensitive to this).
498 # Exit status is that of the last command.
502 ECHO_C= ECHO_N= ECHO_T=
503 case `echo -n x` in #(((((
505 case `echo 'xy\c'` in
506 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
515 rm -f conf$$ conf$$.exe conf$$.file
516 if test -d conf$$.dir; then
517 rm -f conf$$.dir/conf$$.file
520 mkdir conf$$.dir 2>/dev/null
522 if (echo >conf$$.file) 2>/dev/null; then
523 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 # ... but there are two gotchas:
526 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
527 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
528 # In both cases, we have to default to `cp -pR'.
529 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 elif ln conf$$.file conf$$ 2>/dev/null; then
539 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
540 rmdir conf$$.dir 2>/dev/null
542 if mkdir -p . 2>/dev/null; then
543 as_mkdir_p='mkdir -p "$as_dir"'
545 test -d ./-p && rmdir ./-p
550 as_executable_p=as_fn_executable_p
552 # Sed expression to map a string onto a valid CPP name.
553 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
555 # Sed expression to map a string onto a valid variable name.
556 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
559 test -n "$DJDIR" || exec 7<&0 </dev/null
563 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
564 # so uname gets run too.
565 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
570 ac_default_prefix=/usr/local
572 ac_config_libobj_dir=.
579 # Identity of this package.
581 PACKAGE_TARNAME='tatoo'
582 PACKAGE_VERSION='0.0.1'
583 PACKAGE_STRING='TAToo 0.0.1'
584 PACKAGE_BUGREPORT='Kim Nguyễn <kn@lri.fr>'
587 ac_subst_vars='LTLIBOBJS
639 program_transform_name
652 enable_option_checking
663 ac_precious_vars='build_alias
674 # Initialize some variables set by options.
676 ac_init_version=false
677 ac_unrecognized_opts=
679 # The variables have the same names as the options, with
680 # dashes changed to underlines.
688 program_transform_name=s,x,x,
696 # Installation directory options.
697 # These are left unexpanded so users can "make install exec_prefix=/foo"
698 # and all the variables that are supposed to be based on exec_prefix
699 # by default will actually change.
700 # Use braces instead of parens because sh, perl, etc. also accept them.
701 # (The list follows the same order as the GNU Coding Standards.)
702 bindir='${exec_prefix}/bin'
703 sbindir='${exec_prefix}/sbin'
704 libexecdir='${exec_prefix}/libexec'
705 datarootdir='${prefix}/share'
706 datadir='${datarootdir}'
707 sysconfdir='${prefix}/etc'
708 sharedstatedir='${prefix}/com'
709 localstatedir='${prefix}/var'
710 includedir='${prefix}/include'
711 oldincludedir='/usr/include'
712 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
713 infodir='${datarootdir}/info'
718 libdir='${exec_prefix}/lib'
719 localedir='${datarootdir}/locale'
720 mandir='${datarootdir}/man'
726 # If the previous option needs an argument, assign it.
727 if test -n "$ac_prev"; then
728 eval $ac_prev=\$ac_option
734 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
739 # Accept the important Cygnus configure options, so we can diagnose typos.
741 case $ac_dashdash$ac_option in
745 -bindir | --bindir | --bindi | --bind | --bin | --bi)
747 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
750 -build | --build | --buil | --bui | --bu)
751 ac_prev=build_alias ;;
752 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
753 build_alias=$ac_optarg ;;
755 -cache-file | --cache-file | --cache-fil | --cache-fi \
756 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
757 ac_prev=cache_file ;;
758 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
759 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
760 cache_file=$ac_optarg ;;
763 cache_file=config.cache ;;
765 -datadir | --datadir | --datadi | --datad)
767 -datadir=* | --datadir=* | --datadi=* | --datad=*)
768 datadir=$ac_optarg ;;
770 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
771 | --dataroo | --dataro | --datar)
772 ac_prev=datarootdir ;;
773 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
774 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
775 datarootdir=$ac_optarg ;;
777 -disable-* | --disable-*)
778 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
779 # Reject names that are not valid shell variable names.
780 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
781 as_fn_error $? "invalid feature name: $ac_useropt"
782 ac_useropt_orig=$ac_useropt
783 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
784 case $ac_user_opts in
788 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
789 ac_unrecognized_sep=', ';;
791 eval enable_$ac_useropt=no ;;
793 -docdir | --docdir | --docdi | --doc | --do)
795 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
798 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
800 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
803 -enable-* | --enable-*)
804 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
805 # Reject names that are not valid shell variable names.
806 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
807 as_fn_error $? "invalid feature name: $ac_useropt"
808 ac_useropt_orig=$ac_useropt
809 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
810 case $ac_user_opts in
814 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
815 ac_unrecognized_sep=', ';;
817 eval enable_$ac_useropt=\$ac_optarg ;;
819 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
820 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
821 | --exec | --exe | --ex)
822 ac_prev=exec_prefix ;;
823 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
824 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
825 | --exec=* | --exe=* | --ex=*)
826 exec_prefix=$ac_optarg ;;
828 -gas | --gas | --ga | --g)
829 # Obsolete; use --with-gas.
832 -help | --help | --hel | --he | -h)
834 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
835 ac_init_help=recursive ;;
836 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
837 ac_init_help=short ;;
839 -host | --host | --hos | --ho)
840 ac_prev=host_alias ;;
841 -host=* | --host=* | --hos=* | --ho=*)
842 host_alias=$ac_optarg ;;
844 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
846 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
848 htmldir=$ac_optarg ;;
850 -includedir | --includedir | --includedi | --included | --include \
851 | --includ | --inclu | --incl | --inc)
852 ac_prev=includedir ;;
853 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
854 | --includ=* | --inclu=* | --incl=* | --inc=*)
855 includedir=$ac_optarg ;;
857 -infodir | --infodir | --infodi | --infod | --info | --inf)
859 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
860 infodir=$ac_optarg ;;
862 -libdir | --libdir | --libdi | --libd)
864 -libdir=* | --libdir=* | --libdi=* | --libd=*)
867 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
868 | --libexe | --libex | --libe)
869 ac_prev=libexecdir ;;
870 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
871 | --libexe=* | --libex=* | --libe=*)
872 libexecdir=$ac_optarg ;;
874 -localedir | --localedir | --localedi | --localed | --locale)
876 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
877 localedir=$ac_optarg ;;
879 -localstatedir | --localstatedir | --localstatedi | --localstated \
880 | --localstate | --localstat | --localsta | --localst | --locals)
881 ac_prev=localstatedir ;;
882 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
883 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
884 localstatedir=$ac_optarg ;;
886 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
888 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
892 # Obsolete; use --without-fp.
895 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
896 | --no-cr | --no-c | -n)
899 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
900 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
903 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
904 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
905 | --oldin | --oldi | --old | --ol | --o)
906 ac_prev=oldincludedir ;;
907 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
908 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
909 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
910 oldincludedir=$ac_optarg ;;
912 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
914 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
917 -program-prefix | --program-prefix | --program-prefi | --program-pref \
918 | --program-pre | --program-pr | --program-p)
919 ac_prev=program_prefix ;;
920 -program-prefix=* | --program-prefix=* | --program-prefi=* \
921 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
922 program_prefix=$ac_optarg ;;
924 -program-suffix | --program-suffix | --program-suffi | --program-suff \
925 | --program-suf | --program-su | --program-s)
926 ac_prev=program_suffix ;;
927 -program-suffix=* | --program-suffix=* | --program-suffi=* \
928 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
929 program_suffix=$ac_optarg ;;
931 -program-transform-name | --program-transform-name \
932 | --program-transform-nam | --program-transform-na \
933 | --program-transform-n | --program-transform- \
934 | --program-transform | --program-transfor \
935 | --program-transfo | --program-transf \
936 | --program-trans | --program-tran \
937 | --progr-tra | --program-tr | --program-t)
938 ac_prev=program_transform_name ;;
939 -program-transform-name=* | --program-transform-name=* \
940 | --program-transform-nam=* | --program-transform-na=* \
941 | --program-transform-n=* | --program-transform-=* \
942 | --program-transform=* | --program-transfor=* \
943 | --program-transfo=* | --program-transf=* \
944 | --program-trans=* | --program-tran=* \
945 | --progr-tra=* | --program-tr=* | --program-t=*)
946 program_transform_name=$ac_optarg ;;
948 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
950 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
953 -psdir | --psdir | --psdi | --psd | --ps)
955 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
958 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
959 | -silent | --silent | --silen | --sile | --sil)
962 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
964 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
966 sbindir=$ac_optarg ;;
968 -sharedstatedir | --sharedstatedir | --sharedstatedi \
969 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
970 | --sharedst | --shareds | --shared | --share | --shar \
972 ac_prev=sharedstatedir ;;
973 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
974 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
975 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
977 sharedstatedir=$ac_optarg ;;
979 -site | --site | --sit)
981 -site=* | --site=* | --sit=*)
984 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
986 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
989 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
990 | --syscon | --sysco | --sysc | --sys | --sy)
991 ac_prev=sysconfdir ;;
992 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
993 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
994 sysconfdir=$ac_optarg ;;
996 -target | --target | --targe | --targ | --tar | --ta | --t)
997 ac_prev=target_alias ;;
998 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
999 target_alias=$ac_optarg ;;
1001 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1004 -version | --version | --versio | --versi | --vers | -V)
1005 ac_init_version=: ;;
1008 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1009 # Reject names that are not valid shell variable names.
1010 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1011 as_fn_error $? "invalid package name: $ac_useropt"
1012 ac_useropt_orig=$ac_useropt
1013 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1014 case $ac_user_opts in
1018 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1019 ac_unrecognized_sep=', ';;
1021 eval with_$ac_useropt=\$ac_optarg ;;
1023 -without-* | --without-*)
1024 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1025 # Reject names that are not valid shell variable names.
1026 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1027 as_fn_error $? "invalid package name: $ac_useropt"
1028 ac_useropt_orig=$ac_useropt
1029 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1030 case $ac_user_opts in
1034 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1035 ac_unrecognized_sep=', ';;
1037 eval with_$ac_useropt=no ;;
1040 # Obsolete; use --with-x.
1043 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1044 | --x-incl | --x-inc | --x-in | --x-i)
1045 ac_prev=x_includes ;;
1046 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1047 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1048 x_includes=$ac_optarg ;;
1050 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1051 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1052 ac_prev=x_libraries ;;
1053 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1054 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1055 x_libraries=$ac_optarg ;;
1057 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1058 Try \`$0 --help' for more information"
1062 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1063 # Reject names that are not valid shell variable names.
1064 case $ac_envvar in #(
1065 '' | [0-9]* | *[!_$as_cr_alnum]* )
1066 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1068 eval $ac_envvar=\$ac_optarg
1069 export $ac_envvar ;;
1072 # FIXME: should be removed in autoconf 3.0.
1073 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1074 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1075 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1076 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1082 if test -n "$ac_prev"; then
1083 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1084 as_fn_error $? "missing argument to $ac_option"
1087 if test -n "$ac_unrecognized_opts"; then
1088 case $enable_option_checking in
1090 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1091 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1095 # Check all directory arguments for consistency.
1096 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1097 datadir sysconfdir sharedstatedir localstatedir includedir \
1098 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1099 libdir localedir mandir
1101 eval ac_val=\$$ac_var
1102 # Remove trailing slashes.
1105 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1106 eval $ac_var=\$ac_val;;
1108 # Be sure to have absolute directory names.
1110 [\\/$]* | ?:[\\/]* ) continue;;
1111 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1113 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1116 # There might be people who depend on the old broken behavior: `$host'
1117 # used to hold the argument of --host etc.
1118 # FIXME: To remove some day.
1121 target=$target_alias
1123 # FIXME: To remove some day.
1124 if test "x$host_alias" != x; then
1125 if test "x$build_alias" = x; then
1126 cross_compiling=maybe
1127 elif test "x$build_alias" != "x$host_alias"; then
1133 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1135 test "$silent" = yes && exec 6>/dev/null
1138 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1139 ac_ls_di=`ls -di .` &&
1140 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1141 as_fn_error $? "working directory cannot be determined"
1142 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1143 as_fn_error $? "pwd does not report name of working directory"
1146 # Find the source files, if location was not specified.
1147 if test -z "$srcdir"; then
1148 ac_srcdir_defaulted=yes
1149 # Try the directory containing this script, then the parent directory.
1150 ac_confdir=`$as_dirname -- "$as_myself" ||
1151 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1152 X"$as_myself" : 'X\(//\)[^/]' \| \
1153 X"$as_myself" : 'X\(//\)$' \| \
1154 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1155 $as_echo X"$as_myself" |
1156 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1174 if test ! -r "$srcdir/$ac_unique_file"; then
1178 ac_srcdir_defaulted=no
1180 if test ! -r "$srcdir/$ac_unique_file"; then
1181 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1182 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1184 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1186 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1188 # When building in place, set srcdir=.
1189 if test "$ac_abs_confdir" = "$ac_pwd"; then
1192 # Remove unnecessary trailing slashes from srcdir.
1193 # Double slashes in file names in object file debugging info
1194 # mess up M-x gdb in Emacs.
1196 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1198 for ac_var in $ac_precious_vars; do
1199 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1200 eval ac_env_${ac_var}_value=\$${ac_var}
1201 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1202 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1206 # Report the --help message.
1208 if test "$ac_init_help" = "long"; then
1209 # Omit some internal or obsolete options to make the list less imposing.
1210 # This message is too long to be a string in the A/UX 3.1 sh.
1212 \`configure' configures TAToo 0.0.1 to adapt to many kinds of systems.
1214 Usage: $0 [OPTION]... [VAR=VALUE]...
1216 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1217 VAR=VALUE. See below for descriptions of some of the useful variables.
1219 Defaults for the options are specified in brackets.
1222 -h, --help display this help and exit
1223 --help=short display options specific to this package
1224 --help=recursive display the short help of all the included packages
1225 -V, --version display version information and exit
1226 -q, --quiet, --silent do not print \`checking ...' messages
1227 --cache-file=FILE cache test results in FILE [disabled]
1228 -C, --config-cache alias for \`--cache-file=config.cache'
1229 -n, --no-create do not create output files
1230 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1232 Installation directories:
1233 --prefix=PREFIX install architecture-independent files in PREFIX
1234 [$ac_default_prefix]
1235 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1238 By default, \`make install' will install all the files in
1239 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1240 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1241 for instance \`--prefix=\$HOME'.
1243 For better control, use the options below.
1245 Fine tuning of the installation directories:
1246 --bindir=DIR user executables [EPREFIX/bin]
1247 --sbindir=DIR system admin executables [EPREFIX/sbin]
1248 --libexecdir=DIR program executables [EPREFIX/libexec]
1249 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1250 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1251 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1252 --libdir=DIR object code libraries [EPREFIX/lib]
1253 --includedir=DIR C header files [PREFIX/include]
1254 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1255 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1256 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1257 --infodir=DIR info documentation [DATAROOTDIR/info]
1258 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1259 --mandir=DIR man documentation [DATAROOTDIR/man]
1260 --docdir=DIR documentation root [DATAROOTDIR/doc/tatoo]
1261 --htmldir=DIR html documentation [DOCDIR]
1262 --dvidir=DIR dvi documentation [DOCDIR]
1263 --pdfdir=DIR pdf documentation [DOCDIR]
1264 --psdir=DIR ps documentation [DOCDIR]
1271 if test -n "$ac_init_help"; then
1272 case $ac_init_help in
1273 short | recursive ) echo "Configuration of TAToo 0.0.1:";;
1278 --disable-option-checking ignore unrecognized --enable/--with options
1279 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1280 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1281 --enable-debug build in debug mode
1282 --enable-profile compile in profiling code
1283 --enable-trace add tracing code
1284 --enable-inline set OCaml inlining level (default=100)
1285 --enable-unsafe use unsafe array and string accesses
1288 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1289 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1290 --with-ocamlfind=PATH location of the ocamlfind binary
1291 --with-ocamlyacc=PATH location of the ocamlyacc binary
1292 --with-ocamllex=PATH location of the ocamllex binary
1293 --with-camlp4=PATH location of the camlp4 binary
1295 Some influential environment variables:
1296 CXX C++ compiler command
1297 CXXFLAGS C++ compiler flags
1298 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1299 nonstandard directory <lib dir>
1300 LIBS libraries to pass to the linker, e.g. -l<library>
1301 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1302 you have headers in a nonstandard directory <include dir>
1304 Use these variables to override the choices made by `configure' or to help
1305 it to find libraries and programs with nonstandard names/locations.
1307 Report bugs to <Kim Nguyễn <kn@lri.fr>>.
1312 if test "$ac_init_help" = "recursive"; then
1313 # If there are subdirs, report their specific --help.
1314 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1315 test -d "$ac_dir" ||
1316 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1321 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1323 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1324 # A ".." for each directory in $ac_dir_suffix.
1325 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1326 case $ac_top_builddir_sub in
1327 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1328 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1331 ac_abs_top_builddir=$ac_pwd
1332 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1333 # for backward compatibility:
1334 ac_top_builddir=$ac_top_build_prefix
1337 .) # We are building in place.
1339 ac_top_srcdir=$ac_top_builddir_sub
1340 ac_abs_top_srcdir=$ac_pwd ;;
1341 [\\/]* | ?:[\\/]* ) # Absolute name.
1342 ac_srcdir=$srcdir$ac_dir_suffix;
1343 ac_top_srcdir=$srcdir
1344 ac_abs_top_srcdir=$srcdir ;;
1346 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1347 ac_top_srcdir=$ac_top_build_prefix$srcdir
1348 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1350 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1352 cd "$ac_dir" || { ac_status=$?; continue; }
1353 # Check for guested configure.
1354 if test -f "$ac_srcdir/configure.gnu"; then
1356 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1357 elif test -f "$ac_srcdir/configure"; then
1359 $SHELL "$ac_srcdir/configure" --help=recursive
1361 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1363 cd "$ac_pwd" || { ac_status=$?; break; }
1367 test -n "$ac_init_help" && exit $ac_status
1368 if $ac_init_version; then
1370 TAToo configure 0.0.1
1371 generated by GNU Autoconf 2.69
1373 Copyright (C) 2012 Free Software Foundation, Inc.
1374 This configure script is free software; the Free Software Foundation
1375 gives unlimited permission to copy, distribute and modify it.
1380 ## ------------------------ ##
1381 ## Autoconf initialization. ##
1382 ## ------------------------ ##
1384 # ac_fn_cxx_try_compile LINENO
1385 # ----------------------------
1386 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1387 ac_fn_cxx_try_compile ()
1389 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1390 rm -f conftest.$ac_objext
1391 if { { ac_try="$ac_compile"
1393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1394 *) ac_try_echo=$ac_try;;
1396 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1397 $as_echo "$ac_try_echo"; } >&5
1398 (eval "$ac_compile") 2>conftest.err
1400 if test -s conftest.err; then
1401 grep -v '^ *+' conftest.err >conftest.er1
1402 cat conftest.er1 >&5
1403 mv -f conftest.er1 conftest.err
1405 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1406 test $ac_status = 0; } && {
1407 test -z "$ac_cxx_werror_flag" ||
1408 test ! -s conftest.err
1409 } && test -s conftest.$ac_objext; then :
1412 $as_echo "$as_me: failed program was:" >&5
1413 sed 's/^/| /' conftest.$ac_ext >&5
1417 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1418 as_fn_set_status $ac_retval
1420 } # ac_fn_cxx_try_compile
1421 cat >config.log <<_ACEOF
1422 This file contains any messages produced by compilers while
1423 running configure, to aid debugging if configure makes a mistake.
1425 It was created by TAToo $as_me 0.0.1, which was
1426 generated by GNU Autoconf 2.69. Invocation command line was
1438 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1439 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1440 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1441 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1442 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1444 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1445 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1447 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1448 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1449 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1450 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1451 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1452 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1453 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1461 test -z "$as_dir" && as_dir=.
1462 $as_echo "PATH: $as_dir"
1478 # Keep a trace of the command line.
1479 # Strip out --no-create and --no-recursion so they do not pile up.
1480 # Strip out --silent because we don't want to record it for future runs.
1481 # Also quote any args containing shell meta-characters.
1482 # Make two passes to allow for proper duplicate-argument suppression.
1486 ac_must_keep_next=false
1492 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1493 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1494 | -silent | --silent | --silen | --sile | --sil)
1497 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1500 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1502 as_fn_append ac_configure_args1 " '$ac_arg'"
1503 if test $ac_must_keep_next = true; then
1504 ac_must_keep_next=false # Got value, back to normal.
1507 *=* | --config-cache | -C | -disable-* | --disable-* \
1508 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1509 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1510 | -with-* | --with-* | -without-* | --without-* | --x)
1511 case "$ac_configure_args0 " in
1512 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1515 -* ) ac_must_keep_next=true ;;
1518 as_fn_append ac_configure_args " '$ac_arg'"
1523 { ac_configure_args0=; unset ac_configure_args0;}
1524 { ac_configure_args1=; unset ac_configure_args1;}
1526 # When interrupted or exit'd, cleanup temporary files, and complete
1527 # config.log. We remove comments because anyway the quotes in there
1528 # would cause problems or look ugly.
1529 # WARNING: Use '\'' to represent an apostrophe within the trap.
1530 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1531 trap 'exit_status=$?
1532 # Save into config.log some information that might help in debugging.
1536 $as_echo "## ---------------- ##
1537 ## Cache variables. ##
1538 ## ---------------- ##"
1540 # The following way of writing the cache mishandles newlines in values,
1542 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1543 eval ac_val=\$$ac_var
1547 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1548 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1551 _ | IFS | as_nl) ;; #(
1552 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1553 *) { eval $ac_var=; unset $ac_var;} ;;
1558 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1559 *${as_nl}ac_space=\ *)
1561 "s/'\''/'\''\\\\'\'''\''/g;
1562 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1565 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1572 $as_echo "## ----------------- ##
1573 ## Output variables. ##
1574 ## ----------------- ##"
1576 for ac_var in $ac_subst_vars
1578 eval ac_val=\$$ac_var
1580 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1582 $as_echo "$ac_var='\''$ac_val'\''"
1586 if test -n "$ac_subst_files"; then
1587 $as_echo "## ------------------- ##
1588 ## File substitutions. ##
1589 ## ------------------- ##"
1591 for ac_var in $ac_subst_files
1593 eval ac_val=\$$ac_var
1595 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1597 $as_echo "$ac_var='\''$ac_val'\''"
1602 if test -s confdefs.h; then
1603 $as_echo "## ----------- ##
1610 test "$ac_signal" != 0 &&
1611 $as_echo "$as_me: caught signal $ac_signal"
1612 $as_echo "$as_me: exit $exit_status"
1614 rm -f core *.core core.conftest.* &&
1615 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1618 for ac_signal in 1 2 13 15; do
1619 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1623 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1624 rm -f -r conftest* confdefs.h
1626 $as_echo "/* confdefs.h */" > confdefs.h
1628 # Predefined preprocessor variables.
1630 cat >>confdefs.h <<_ACEOF
1631 #define PACKAGE_NAME "$PACKAGE_NAME"
1634 cat >>confdefs.h <<_ACEOF
1635 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1638 cat >>confdefs.h <<_ACEOF
1639 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1642 cat >>confdefs.h <<_ACEOF
1643 #define PACKAGE_STRING "$PACKAGE_STRING"
1646 cat >>confdefs.h <<_ACEOF
1647 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1650 cat >>confdefs.h <<_ACEOF
1651 #define PACKAGE_URL "$PACKAGE_URL"
1655 # Let the site file select an alternate cache file if it wants to.
1656 # Prefer an explicitly selected file to automatically selected ones.
1659 if test -n "$CONFIG_SITE"; then
1660 # We do not want a PATH search for config.site.
1661 case $CONFIG_SITE in #((
1662 -*) ac_site_file1=./$CONFIG_SITE;;
1663 */*) ac_site_file1=$CONFIG_SITE;;
1664 *) ac_site_file1=./$CONFIG_SITE;;
1666 elif test "x$prefix" != xNONE; then
1667 ac_site_file1=$prefix/share/config.site
1668 ac_site_file2=$prefix/etc/config.site
1670 ac_site_file1=$ac_default_prefix/share/config.site
1671 ac_site_file2=$ac_default_prefix/etc/config.site
1673 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1675 test "x$ac_site_file" = xNONE && continue
1676 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1677 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1678 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1679 sed 's/^/| /' "$ac_site_file" >&5
1681 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1682 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1683 as_fn_error $? "failed to load site script $ac_site_file
1684 See \`config.log' for more details" "$LINENO" 5; }
1688 if test -r "$cache_file"; then
1689 # Some versions of bash will fail to source /dev/null (special files
1690 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1691 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1692 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1693 $as_echo "$as_me: loading cache $cache_file" >&6;}
1695 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1696 *) . "./$cache_file";;
1700 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1701 $as_echo "$as_me: creating cache $cache_file" >&6;}
1705 # Check that the precious variables saved in the cache have kept the same
1707 ac_cache_corrupted=false
1708 for ac_var in $ac_precious_vars; do
1709 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1710 eval ac_new_set=\$ac_env_${ac_var}_set
1711 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1712 eval ac_new_val=\$ac_env_${ac_var}_value
1713 case $ac_old_set,$ac_new_set in
1715 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1716 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1717 ac_cache_corrupted=: ;;
1719 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1720 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1721 ac_cache_corrupted=: ;;
1724 if test "x$ac_old_val" != "x$ac_new_val"; then
1725 # differences in whitespace do not lead to failure.
1726 ac_old_val_w=`echo x $ac_old_val`
1727 ac_new_val_w=`echo x $ac_new_val`
1728 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1729 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1730 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1731 ac_cache_corrupted=:
1733 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1734 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1735 eval $ac_var=\$ac_old_val
1737 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1738 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1739 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1740 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1743 # Pass precious variables to config.status.
1744 if test "$ac_new_set" = set; then
1746 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1747 *) ac_arg=$ac_var=$ac_new_val ;;
1749 case " $ac_configure_args " in
1750 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1751 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1755 if $ac_cache_corrupted; then
1756 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1757 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1758 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1759 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1760 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1762 ## -------------------- ##
1763 ## Main body of script. ##
1764 ## -------------------- ##
1767 ac_cpp='$CPP $CPPFLAGS'
1768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1777 # Check whether --with-ocamlfind was given.
1778 if test "${with_ocamlfind+set}" = set; then :
1779 withval=$with_ocamlfind; OCAMLFIND="$withval"
1782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ocamlfind ($OCAMLFIND)" >&5
1783 $as_echo_n "checking for ocamlfind ($OCAMLFIND)... " >&6; }
1784 $OCAMLFIND list >/dev/null 2>&1
1786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
1787 $as_echo "found" >&6; }
1788 OCAMLC="$OCAMLFIND ocamlc"
1789 OCAMLOPT="$OCAMLFIND ocamlopt"
1790 OCAMLDEP="$OCAMLFIND ocamldep"
1792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
1793 $as_echo "not found" >&6; }
1794 as_fn_error $? "Cannot find ocamlfind." "$LINENO" 5
1800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $OCAMLC" >&5
1801 $as_echo_n "checking for $OCAMLC... " >&6; }
1802 $OCAMLC >/dev/null 2>&1
1804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
1805 $as_echo "ok" >&6; }
1807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
1808 $as_echo "failed" >&6; }
1809 as_fn_error $? "Cannot find ocamlc." "$LINENO" 5
1814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $OCAMLOPT" >&5
1815 $as_echo_n "checking for $OCAMLOPT... " >&6; }
1816 $OCAMLOPT >/dev/null 2>&1
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
1819 $as_echo "ok" >&6; }
1821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
1822 $as_echo "failed" >&6; }
1823 as_fn_error $? "Cannot find ocamlopt." "$LINENO" 5
1828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $OCAMLDEP" >&5
1829 $as_echo_n "checking for $OCAMLDEP... " >&6; }
1830 $OCAMLDEP >/dev/null 2>&1
1832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
1833 $as_echo "ok" >&6; }
1835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
1836 $as_echo "failed" >&6; }
1837 as_fn_error $? "Cannot find ocamldep." "$LINENO" 5
1842 OCAMLVERSION=$($OCAMLC -version)
1843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ocaml version" >&5
1844 $as_echo_n "checking ocaml version... " >&6; }
1845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLVERSION" >&5
1846 $as_echo "$OCAMLVERSION" >&6; }
1848 case "$OCAMLVERSION" in
1850 *) as_fn_error $? "OCaml $OCAMLVERSION is too old" "$LINENO" 5
1859 # Check whether --with-ocamlyacc was given.
1860 if test "${with_ocamlyacc+set}" = set; then :
1861 withval=$with_ocamlyacc; OCAMLYACC="$withval"
1864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ocamlyacc ($OCAMLYACC)" >&5
1865 $as_echo_n "checking for ocamlyacc ($OCAMLYACC)... " >&6; }
1866 OCAMLYACC_VERSION=$($OCAMLYACC -version 2>/dev/null || echo foo)
1867 case "$OCAMLYACC_VERSION" in
1869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
1870 $as_echo "ok" >&6; }
1873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
1874 $as_echo "failed" >&6; }
1875 as_fn_error $? "Cannot find ocamlyacc" "$LINENO" 5
1878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
1879 $as_echo "failed" >&6; }
1880 as_fn_error $? "Bad ocamlyacc version" "$LINENO" 5
1888 # Check whether --with-ocamllex was given.
1889 if test "${with_ocamllex+set}" = set; then :
1890 withval=$with_ocamllex; OCAMLLEX="$withval"
1893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ocamllex ($OCAMLLEX)" >&5
1894 $as_echo_n "checking for ocamllex ($OCAMLLEX)... " >&6; }
1895 OCAMLLEX_VERSION=$($OCAMLLEX -version 2>/dev/null || echo foo)
1896 case "$OCAMLLEX_VERSION" in
1898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
1899 $as_echo "ok" >&6; }
1902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
1903 $as_echo "failed" >&6; }
1904 as_fn_error $? "Cannot find ocamllex" "$LINENO" 5
1907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
1908 $as_echo "failed" >&6; }
1909 as_fn_error $? "Bad ocamllex version" "$LINENO" 5
1918 # Check whether --with-camlp4 was given.
1919 if test "${with_camlp4+set}" = set; then :
1920 withval=$with_camlp4; CAMLP4="$withval"
1923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for camlp4 ($CAMLP4)" >&5
1924 $as_echo_n "checking for camlp4 ($CAMLP4)... " >&6; }
1925 CAMLP4_VERSION=$($CAMLP4 -version 2>/dev/null || echo foo)
1926 case "$CAMLP4_VERSION" in
1928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
1929 $as_echo "ok" >&6; }
1932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
1933 $as_echo "failed" >&6; }
1934 as_fn_error $? "Cannot find camlp4" "$LINENO" 5
1937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
1938 $as_echo "failed" >&6; }
1939 as_fn_error $? "Bad camlp4 version" "$LINENO" 5
1945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking platform" >&5
1946 $as_echo_n "checking platform... " >&6; }
1947 OCAML_PLATFORM=$(echo 'print_endline Sys.os_type;;' | ocaml -noprompt | grep '^[A-Z]')
1948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAML_PLATFORM" >&5
1949 $as_echo "$OCAML_PLATFORM" >&6; }
1950 if test "$OCAML_PLATFORM" = "Win32"; then
1958 # required libraries
1959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ulex" >&5
1960 $as_echo_n "checking for ulex... " >&6; }
1961 ulex_path=`$OCAMLFIND query ulex 2>/dev/null`
1962 if test "$ulex_path" ; then
1963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
1964 $as_echo "found" >&6; }
1966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
1967 $as_echo "not found" >&6; }
1968 as_fn_error $? "Cannot find ulex." "$LINENO" 5
1971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expat" >&5
1972 $as_echo_n "checking for expat... " >&6; }
1973 expat_path=`$OCAMLFIND query expat 2>/dev/null`
1974 if test "$expat_path" ; then
1975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
1976 $as_echo "found" >&6; }
1978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
1979 $as_echo "not found" >&6; }
1980 as_fn_error $? "Cannot find expat." "$LINENO" 5
1983 #compilation options
1985 OCAMLFLAGS=$OCAMLFLAGS
1986 CAMLP4FLAGS=$CAMLP4FLAGS
1987 OCAMLCFLAGS=$OCAMLCFLAGS
1988 OCAMLOPTFLAGS=$OCAMLOPTFLAGS
1990 # Check whether --enable-debug was given.
1991 if test "${enable_debug+set}" = set; then :
1992 enableval=$enable_debug; DEBUG=$enableval
1998 if test "x$DEBUG" = "xyes"; then
1999 OCAMLFLAGS="$OCAMLFLAGS -g"
2000 CAMLP4FLAGS="$CAMLP4FLAGS -DDEBUG"
2004 # Check whether --enable-profile was given.
2005 if test "${enable_profile+set}" = set; then :
2006 enableval=$enable_profile; PROFILE=$enableval
2012 if test "x$PROFILE" = "xyes"; then
2013 OCAMLOPTFLAGS="$OCAMLOPTFLAGS -p"
2014 OCAMLC="$OCAMLFIND ocamlcp"
2018 # Check whether --enable-trace was given.
2019 if test "${enable_trace+set}" = set; then :
2020 enableval=$enable_trace; TRACE=$enableval
2026 if test "x$TRACE" = "xyes"; then
2027 CAMLP4FLAGS="$CAMLP4FLAGS -DHTMLTRACE"
2032 # Check whether --enable-inline was given.
2033 if test "${enable_inline+set}" = set; then :
2034 enableval=$enable_inline; INLINE=$enableval
2041 # Check whether --enable-unsafe was given.
2042 if test "${enable_unsafe+set}" = set; then :
2043 enableval=$enable_unsafe; UNSAFE=1
2049 if test "x$UNSAFE" = "xyes"; then
2050 CAMLP4FLAGS="$CAMLP4FLAGS -unsafe"
2055 ac_cpp='$CXXCPP $CPPFLAGS'
2056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2059 if test -z "$CXX"; then
2060 if test -n "$CCC"; then
2063 if test -n "$ac_tool_prefix"; then
2064 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2066 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2067 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2069 $as_echo_n "checking for $ac_word... " >&6; }
2070 if ${ac_cv_prog_CXX+:} false; then :
2071 $as_echo_n "(cached) " >&6
2073 if test -n "$CXX"; then
2074 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2080 test -z "$as_dir" && as_dir=.
2081 for ac_exec_ext in '' $ac_executable_extensions; do
2082 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2083 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2094 if test -n "$CXX"; then
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2096 $as_echo "$CXX" >&6; }
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2099 $as_echo "no" >&6; }
2103 test -n "$CXX" && break
2106 if test -z "$CXX"; then
2108 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2110 # Extract the first word of "$ac_prog", so it can be a program name with args.
2111 set dummy $ac_prog; ac_word=$2
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2113 $as_echo_n "checking for $ac_word... " >&6; }
2114 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2115 $as_echo_n "(cached) " >&6
2117 if test -n "$ac_ct_CXX"; then
2118 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2124 test -z "$as_dir" && as_dir=.
2125 for ac_exec_ext in '' $ac_executable_extensions; do
2126 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2127 ac_cv_prog_ac_ct_CXX="$ac_prog"
2128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2137 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2138 if test -n "$ac_ct_CXX"; then
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2140 $as_echo "$ac_ct_CXX" >&6; }
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2143 $as_echo "no" >&6; }
2147 test -n "$ac_ct_CXX" && break
2150 if test "x$ac_ct_CXX" = x; then
2153 case $cross_compiling:$ac_tool_warned in
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2156 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2157 ac_tool_warned=yes ;;
2165 # Provide some information about the compiler.
2166 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2169 for ac_option in --version -v -V -qversion; do
2170 { { ac_try="$ac_compiler $ac_option >&5"
2172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2173 *) ac_try_echo=$ac_try;;
2175 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2176 $as_echo "$ac_try_echo"; } >&5
2177 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2179 if test -s conftest.err; then
2181 ... rest of stderr output deleted ...
2182 10q' conftest.err >conftest.er1
2183 cat conftest.er1 >&5
2185 rm -f conftest.er1 conftest.err
2186 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2187 test $ac_status = 0; }
2190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2191 /* end confdefs.h. */
2201 ac_clean_files_save=$ac_clean_files
2202 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2203 # Try to create an executable without -o first, disregard a.out.
2204 # It will help us diagnose broken compilers, and finding out an intuition
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2207 $as_echo_n "checking whether the C++ compiler works... " >&6; }
2208 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2210 # The possible output files:
2211 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2214 for ac_file in $ac_files
2217 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2218 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2223 if { { ac_try="$ac_link_default"
2225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2226 *) ac_try_echo=$ac_try;;
2228 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2229 $as_echo "$ac_try_echo"; } >&5
2230 (eval "$ac_link_default") 2>&5
2232 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2233 test $ac_status = 0; }; then :
2234 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2235 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2236 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2237 # so that the user can short-circuit this test for compilers unknown to
2239 for ac_file in $ac_files ''
2241 test -f "$ac_file" || continue
2243 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2246 # We found the default executable, but exeext='' is most
2250 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2252 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2254 # We set ac_cv_exeext here because the later test for it is not
2255 # safe: cross compilers may not add the suffix if given an `-o'
2256 # argument, so we may need to know it at that point already.
2257 # Even if this section looks crufty: it has the advantage of
2264 test "$ac_cv_exeext" = no && ac_cv_exeext=
2269 if test -z "$ac_file"; then :
2270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2271 $as_echo "no" >&6; }
2272 $as_echo "$as_me: failed program was:" >&5
2273 sed 's/^/| /' conftest.$ac_ext >&5
2275 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2276 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2277 as_fn_error 77 "C++ compiler cannot create executables
2278 See \`config.log' for more details" "$LINENO" 5; }
2280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2281 $as_echo "yes" >&6; }
2283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
2284 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
2285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2286 $as_echo "$ac_file" >&6; }
2287 ac_exeext=$ac_cv_exeext
2289 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2290 ac_clean_files=$ac_clean_files_save
2291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2292 $as_echo_n "checking for suffix of executables... " >&6; }
2293 if { { ac_try="$ac_link"
2295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2296 *) ac_try_echo=$ac_try;;
2298 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2299 $as_echo "$ac_try_echo"; } >&5
2300 (eval "$ac_link") 2>&5
2302 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2303 test $ac_status = 0; }; then :
2304 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2305 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2306 # work properly (i.e., refer to `conftest.exe'), while it won't with
2308 for ac_file in conftest.exe conftest conftest.*; do
2309 test -f "$ac_file" || continue
2311 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2312 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2318 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2319 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2320 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2321 See \`config.log' for more details" "$LINENO" 5; }
2323 rm -f conftest conftest$ac_cv_exeext
2324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2325 $as_echo "$ac_cv_exeext" >&6; }
2327 rm -f conftest.$ac_ext
2328 EXEEXT=$ac_cv_exeext
2330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2331 /* end confdefs.h. */
2336 FILE *f = fopen ("conftest.out", "w");
2337 return ferror (f) || fclose (f) != 0;
2343 ac_clean_files="$ac_clean_files conftest.out"
2344 # Check that the compiler produces executables we can run. If not, either
2345 # the compiler is broken, or we cross compile.
2346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2347 $as_echo_n "checking whether we are cross compiling... " >&6; }
2348 if test "$cross_compiling" != yes; then
2349 { { ac_try="$ac_link"
2351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2352 *) ac_try_echo=$ac_try;;
2354 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2355 $as_echo "$ac_try_echo"; } >&5
2356 (eval "$ac_link") 2>&5
2358 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2359 test $ac_status = 0; }
2360 if { ac_try='./conftest$ac_cv_exeext'
2361 { { case "(($ac_try" in
2362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2363 *) ac_try_echo=$ac_try;;
2365 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2366 $as_echo "$ac_try_echo"; } >&5
2367 (eval "$ac_try") 2>&5
2369 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2370 test $ac_status = 0; }; }; then
2373 if test "$cross_compiling" = maybe; then
2376 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2377 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2378 as_fn_error $? "cannot run C++ compiled programs.
2379 If you meant to cross compile, use \`--host'.
2380 See \`config.log' for more details" "$LINENO" 5; }
2384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2385 $as_echo "$cross_compiling" >&6; }
2387 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2388 ac_clean_files=$ac_clean_files_save
2389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2390 $as_echo_n "checking for suffix of object files... " >&6; }
2391 if ${ac_cv_objext+:} false; then :
2392 $as_echo_n "(cached) " >&6
2394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2395 /* end confdefs.h. */
2405 rm -f conftest.o conftest.obj
2406 if { { ac_try="$ac_compile"
2408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2409 *) ac_try_echo=$ac_try;;
2411 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2412 $as_echo "$ac_try_echo"; } >&5
2413 (eval "$ac_compile") 2>&5
2415 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2416 test $ac_status = 0; }; then :
2417 for ac_file in conftest.o conftest.obj conftest.*; do
2418 test -f "$ac_file" || continue;
2420 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2421 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2426 $as_echo "$as_me: failed program was:" >&5
2427 sed 's/^/| /' conftest.$ac_ext >&5
2429 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2430 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2431 as_fn_error $? "cannot compute suffix of object files: cannot compile
2432 See \`config.log' for more details" "$LINENO" 5; }
2434 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2437 $as_echo "$ac_cv_objext" >&6; }
2438 OBJEXT=$ac_cv_objext
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
2441 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2442 if ${ac_cv_cxx_compiler_gnu+:} false; then :
2443 $as_echo_n "(cached) " >&6
2445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2446 /* end confdefs.h. */
2459 if ac_fn_cxx_try_compile "$LINENO"; then :
2464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2465 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
2469 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
2470 if test $ac_compiler_gnu = yes; then
2475 ac_test_CXXFLAGS=${CXXFLAGS+set}
2476 ac_save_CXXFLAGS=$CXXFLAGS
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
2478 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
2479 if ${ac_cv_prog_cxx_g+:} false; then :
2480 $as_echo_n "(cached) " >&6
2482 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2483 ac_cxx_werror_flag=yes
2486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2487 /* end confdefs.h. */
2497 if ac_fn_cxx_try_compile "$LINENO"; then :
2498 ac_cv_prog_cxx_g=yes
2501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2502 /* end confdefs.h. */
2512 if ac_fn_cxx_try_compile "$LINENO"; then :
2515 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2518 /* end confdefs.h. */
2528 if ac_fn_cxx_try_compile "$LINENO"; then :
2529 ac_cv_prog_cxx_g=yes
2531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2536 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
2539 $as_echo "$ac_cv_prog_cxx_g" >&6; }
2540 if test "$ac_test_CXXFLAGS" = set; then
2541 CXXFLAGS=$ac_save_CXXFLAGS
2542 elif test $ac_cv_prog_cxx_g = yes; then
2543 if test "$GXX" = yes; then
2549 if test "$GXX" = yes; then
2556 ac_cpp='$CPP $CPPFLAGS'
2557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2565 if test ! -x "$REMAKE" -o "$REMAKE" -ot remake.cpp; then
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $REMAKE" >&5
2567 $as_echo "$as_me: creating $REMAKE" >&6;}
2568 REMAKE_LOG=build_remake.log
2571 $CXX -Wall -O2 -o remake.exe remake.cpp -lws2_32 > "$REMAKE_LOG" 2>&1
2572 if test $? != 0; then
2573 cat "$REMAKE_LOG"; rm -f "$REMAKE_LOG";
2574 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2575 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2576 as_fn_error $? "failed
2577 See \`config.log' for more details" "$LINENO" 5; };
2581 $CXX -Wall -O2 -o remake remake.cpp > "$REMAKE_LOG" 2>&1
2582 if test $? != 0; then
2583 cat "$REMAKE_LOG"; rm -f "$REMAKE_LOG";
2584 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2585 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2586 as_fn_error $? "failed
2587 See \`config.log' for more details" "$LINENO" 5; };
2591 rm -f "$REMAKE_LOG";
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: $REMAKE exists, not rebuilding" >&5
2594 $as_echo "$as_me: $REMAKE exists, not rebuilding" >&6;}
2603 ac_config_files="$ac_config_files Remakefile"
2605 ac_config_files="$ac_config_files Makefile"
2607 cat >confcache <<\_ACEOF
2608 # This file is a shell script that caches the results of configure
2609 # tests run on this system so they can be shared between configure
2610 # scripts and configure runs, see configure's option --config-cache.
2611 # It is not useful on other systems. If it contains results you don't
2612 # want to keep, you may remove or edit it.
2614 # config.status only pays attention to the cache file if you give it
2615 # the --recheck option to rerun configure.
2617 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2618 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2623 # The following way of writing the cache mishandles newlines in values,
2624 # but we know of no workaround that is simple, portable, and efficient.
2625 # So, we kill variables containing newlines.
2626 # Ultrix sh set writes to stderr and can't be redirected directly,
2627 # and sets the high bit in the cache file unless we assign to the vars.
2629 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2630 eval ac_val=\$$ac_var
2634 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2635 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2638 _ | IFS | as_nl) ;; #(
2639 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2640 *) { eval $ac_var=; unset $ac_var;} ;;
2646 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2647 *${as_nl}ac_space=\ *)
2648 # `set' does not quote correctly, so add quotes: double-quote
2649 # substitution turns \\\\ into \\, and sed turns \\ into \.
2652 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2655 # `set' quotes correctly as required by POSIX, so do not add quotes.
2656 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2665 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2667 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2669 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2670 if test -w "$cache_file"; then
2671 if test "x$cache_file" != "x/dev/null"; then
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2673 $as_echo "$as_me: updating cache $cache_file" >&6;}
2674 if test ! -f "$cache_file" || test -h "$cache_file"; then
2675 cat confcache >"$cache_file"
2677 case $cache_file in #(
2679 mv -f confcache "$cache_file"$$ &&
2680 mv -f "$cache_file"$$ "$cache_file" ;; #(
2682 mv -f confcache "$cache_file" ;;
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2688 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2693 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2694 # Let make expand exec_prefix.
2695 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2697 # Transform confdefs.h into DEFS.
2698 # Protect against shell expansion while executing Makefile rules.
2699 # Protect against Makefile macro expansion.
2701 # If the first sed substitution is executed (which looks for macros that
2702 # take arguments), then branch to the quote section. Otherwise,
2703 # look for a macro that doesn't take arguments.
2713 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2715 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2719 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2732 DEFS=`sed -n "$ac_script" confdefs.h`
2738 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2739 # 1. Remove the extension, and $U if already installed.
2740 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2741 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2742 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2743 # will be set to the directory where LIBOBJS objects are built.
2744 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2745 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2749 LTLIBOBJS=$ac_ltlibobjs
2753 : "${CONFIG_STATUS=./config.status}"
2755 ac_clean_files_save=$ac_clean_files
2756 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2758 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2760 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2762 # Generated by $as_me.
2763 # Run this file to recreate the current configuration.
2764 # Compiler output produced by configure, useful for debugging
2765 # configure, is in config.log if it exists.
2771 SHELL=\${CONFIG_SHELL-$SHELL}
2774 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2775 ## -------------------- ##
2776 ## M4sh Initialization. ##
2777 ## -------------------- ##
2779 # Be more Bourne compatible
2780 DUALCASE=1; export DUALCASE # for MKS sh
2781 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2784 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2785 # is contrary to our usage. Disable this feature.
2786 alias -g '${1+"$@"}'='"$@"'
2787 setopt NO_GLOB_SUBST
2789 case `(set -o) 2>/dev/null` in #(
2801 # Printing a long string crashes Solaris 7 /usr/bin/printf.
2802 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2803 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2804 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2805 # Prefer a ksh shell builtin over an external printf program on Solaris,
2806 # but without wasting forks for bash or zsh.
2807 if test -z "$BASH_VERSION$ZSH_VERSION" \
2808 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2809 as_echo='print -r --'
2810 as_echo_n='print -rn --'
2811 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2812 as_echo='printf %s\n'
2813 as_echo_n='printf %s'
2815 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2816 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2817 as_echo_n='/usr/ucb/echo -n'
2819 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2820 as_echo_n_body='eval
2824 expr "X$arg" : "X\\(.*\\)$as_nl";
2825 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2827 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2829 export as_echo_n_body
2830 as_echo_n='sh -c $as_echo_n_body as_echo'
2833 as_echo='sh -c $as_echo_body as_echo'
2836 # The user is always right.
2837 if test "${PATH_SEPARATOR+set}" != set; then
2839 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2840 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2847 # We need space, tab and new line, in precisely that order. Quoting is
2848 # there to prevent editors from complaining about space-tab.
2849 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2850 # splitting by setting IFS to empty value.)
2853 # Find who we are. Look in the path if we contain no directory separator.
2856 *[\\/]* ) as_myself=$0 ;;
2857 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2861 test -z "$as_dir" && as_dir=.
2862 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2868 # We did not find ourselves, most probably we were run as `sh COMMAND'
2869 # in which case we are not to be found in the path.
2870 if test "x$as_myself" = x; then
2873 if test ! -f "$as_myself"; then
2874 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2878 # Unset variables that we do not need and which cause bugs (e.g. in
2879 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
2880 # suppresses any "Segmentation fault" message there. '((' could
2881 # trigger a bug in pdksh 5.2.14.
2882 for as_var in BASH_ENV ENV MAIL MAILPATH
2883 do eval test x\${$as_var+set} = xset \
2884 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2897 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2900 # as_fn_error STATUS ERROR [LINENO LOG_FD]
2901 # ----------------------------------------
2902 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2903 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2904 # script with STATUS, using 1 if that was 0.
2907 as_status=$1; test $as_status -eq 0 && as_status=1
2909 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2910 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
2912 $as_echo "$as_me: error: $2" >&2
2913 as_fn_exit $as_status
2917 # as_fn_set_status STATUS
2918 # -----------------------
2919 # Set $? to STATUS, without forking.
2923 } # as_fn_set_status
2927 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2937 # Portably unset VAR.
2940 { eval $1=; unset $1;}
2942 as_unset=as_fn_unset
2943 # as_fn_append VAR VALUE
2944 # ----------------------
2945 # Append the text in VALUE to the end of the definition contained in VAR. Take
2946 # advantage of any shell optimizations that allow amortized linear growth over
2947 # repeated appends, instead of the typical quadratic growth present in naive
2949 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
2950 eval 'as_fn_append ()
2961 # as_fn_arith ARG...
2962 # ------------------
2963 # Perform arithmetic evaluation on the ARGs, and store the result in the
2964 # global $as_val. Take advantage of shells that can avoid forks. The arguments
2965 # must be portable across $(()) and expr.
2966 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
2967 eval 'as_fn_arith ()
2974 as_val=`expr "$@" || test $? -eq 1`
2979 if expr a : '\(a\)' >/dev/null 2>&1 &&
2980 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2986 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2987 as_basename=basename
2992 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2998 as_me=`$as_basename -- "$0" ||
2999 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3000 X"$0" : 'X\(//\)$' \| \
3001 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3003 sed '/^.*\/\([^/][^/]*\)\/*$/{
3017 # Avoid depending upon Character Ranges.
3018 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3019 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3020 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3021 as_cr_digits='0123456789'
3022 as_cr_alnum=$as_cr_Letters$as_cr_digits
3024 ECHO_C= ECHO_N= ECHO_T=
3025 case `echo -n x` in #(((((
3027 case `echo 'xy\c'` in
3028 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3030 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3037 rm -f conf$$ conf$$.exe conf$$.file
3038 if test -d conf$$.dir; then
3039 rm -f conf$$.dir/conf$$.file
3042 mkdir conf$$.dir 2>/dev/null
3044 if (echo >conf$$.file) 2>/dev/null; then
3045 if ln -s conf$$.file conf$$ 2>/dev/null; then
3047 # ... but there are two gotchas:
3048 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3049 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3050 # In both cases, we have to default to `cp -pR'.
3051 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3053 elif ln conf$$.file conf$$ 2>/dev/null; then
3061 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3062 rmdir conf$$.dir 2>/dev/null
3067 # Create "$as_dir" as a directory, including parents if necessary.
3072 -*) as_dir=./$as_dir;;
3074 test -d "$as_dir" || eval $as_mkdir_p || {
3078 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3079 *) as_qdir=$as_dir;;
3081 as_dirs="'$as_qdir' $as_dirs"
3082 as_dir=`$as_dirname -- "$as_dir" ||
3083 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3084 X"$as_dir" : 'X\(//\)[^/]' \| \
3085 X"$as_dir" : 'X\(//\)$' \| \
3086 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3087 $as_echo X"$as_dir" |
3088 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3105 test -d "$as_dir" && break
3107 test -z "$as_dirs" || eval "mkdir $as_dirs"
3108 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3112 if mkdir -p . 2>/dev/null; then
3113 as_mkdir_p='mkdir -p "$as_dir"'
3115 test -d ./-p && rmdir ./-p
3120 # as_fn_executable_p FILE
3121 # -----------------------
3122 # Test if FILE is an executable regular file.
3123 as_fn_executable_p ()
3125 test -f "$1" && test -x "$1"
3126 } # as_fn_executable_p
3128 as_executable_p=as_fn_executable_p
3130 # Sed expression to map a string onto a valid CPP name.
3131 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3133 # Sed expression to map a string onto a valid variable name.
3134 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3138 ## ----------------------------------- ##
3139 ## Main body of $CONFIG_STATUS script. ##
3140 ## ----------------------------------- ##
3142 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3144 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3145 # Save the log message, to keep $0 and so on meaningful, and to
3146 # report actual input values of CONFIG_FILES etc. instead of their
3147 # values after options handling.
3149 This file was extended by TAToo $as_me 0.0.1, which was
3150 generated by GNU Autoconf 2.69. Invocation command line was
3152 CONFIG_FILES = $CONFIG_FILES
3153 CONFIG_HEADERS = $CONFIG_HEADERS
3154 CONFIG_LINKS = $CONFIG_LINKS
3155 CONFIG_COMMANDS = $CONFIG_COMMANDS
3158 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3163 case $ac_config_files in *"
3164 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3169 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3170 # Files that config.status was made for.
3171 config_files="$ac_config_files"
3175 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3177 \`$as_me' instantiates files and other configuration actions
3178 from templates according to the current configuration. Unless the files
3179 and actions are specified as TAGs, all are instantiated by default.
3181 Usage: $0 [OPTION]... [TAG]...
3183 -h, --help print this help, then exit
3184 -V, --version print version number and configuration settings, then exit
3185 --config print configuration, then exit
3186 -q, --quiet, --silent
3187 do not print progress messages
3188 -d, --debug don't remove temporary files
3189 --recheck update $as_me by reconfiguring in the same conditions
3190 --file=FILE[:TEMPLATE]
3191 instantiate the configuration file FILE
3193 Configuration files:
3196 Report bugs to <Kim Nguyễn <kn@lri.fr>>."
3199 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3200 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3202 TAToo config.status 0.0.1
3203 configured by $0, generated by GNU Autoconf 2.69,
3204 with options \\"\$ac_cs_config\\"
3206 Copyright (C) 2012 Free Software Foundation, Inc.
3207 This config.status script is free software; the Free Software Foundation
3208 gives unlimited permission to copy, distribute and modify it."
3212 test -n "\$AWK" || AWK=awk
3215 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3216 # The default lists apply if the user does not specify any file.
3222 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3223 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3227 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3239 # Handling of the options.
3240 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3242 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3243 $as_echo "$ac_cs_version"; exit ;;
3244 --config | --confi | --conf | --con | --co | --c )
3245 $as_echo "$ac_cs_config"; exit ;;
3246 --debug | --debu | --deb | --de | --d | -d )
3248 --file | --fil | --fi | --f )
3251 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3252 '') as_fn_error $? "missing file argument" ;;
3254 as_fn_append CONFIG_FILES " '$ac_optarg'"
3255 ac_need_defaults=false;;
3256 --he | --h | --help | --hel | -h )
3257 $as_echo "$ac_cs_usage"; exit ;;
3258 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3259 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3263 -*) as_fn_error $? "unrecognized option: \`$1'
3264 Try \`$0 --help' for more information." ;;
3266 *) as_fn_append ac_config_targets " $1"
3267 ac_need_defaults=false ;;
3273 ac_configure_extra_args=
3275 if $ac_cs_silent; then
3277 ac_configure_extra_args="$ac_configure_extra_args --silent"
3281 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3282 if \$ac_cs_recheck; then
3283 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3285 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3286 CONFIG_SHELL='$SHELL'
3292 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3296 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3297 ## Running $as_me. ##
3303 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3306 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3308 # Handling of arguments.
3309 for ac_config_target in $ac_config_targets
3311 case $ac_config_target in
3312 "Remakefile") CONFIG_FILES="$CONFIG_FILES Remakefile" ;;
3313 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3315 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3320 # If the user did not use the arguments to specify the items to instantiate,
3321 # then the envvar interface is used. Set only those that are not.
3322 # We use the long form for the default assignment because of an extremely
3323 # bizarre bug on SunOS 4.1.3.
3324 if $ac_need_defaults; then
3325 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3328 # Have a temporary directory for convenience. Make it in the build tree
3329 # simply because there is no reason against having it here, and in addition,
3330 # creating and moving files from /tmp can sometimes cause problems.
3331 # Hook for its removal unless debugging.
3332 # Note that there is a small window in which the directory will not be cleaned:
3333 # after its creation but before its name has been assigned to `$tmp'.
3337 trap 'exit_status=$?
3339 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3341 trap 'as_fn_exit 1' 1 2 13 15
3343 # Create a (secure) tmp directory for tmp files.
3346 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3350 tmp=./conf$$-$RANDOM
3351 (umask 077 && mkdir "$tmp")
3352 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3355 # Set up the scripts for CONFIG_FILES section.
3356 # No need to generate them if there are no CONFIG_FILES.
3357 # This happens for instance with `./config.status config.h'.
3358 if test -n "$CONFIG_FILES"; then
3361 ac_cr=`echo X | tr X '\015'`
3362 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3363 # But we know of no other shell where ac_cr would be empty at this
3364 # point, so we can use a bashism as a fallback.
3365 if test "x$ac_cr" = x; then
3366 eval ac_cr=\$\'\\r\'
3368 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3369 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3375 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3380 echo "cat >conf$$subs.awk <<_ACEOF" &&
3381 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3384 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3385 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3387 for ac_last_try in false false false false false :; do
3388 . ./conf$$subs.sh ||
3389 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3391 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3392 if test $ac_delim_n = $ac_delim_num; then
3394 elif $ac_last_try; then
3395 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3397 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3402 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3403 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3407 s/^/S["/; s/!.*/"]=/
3417 s/\(.\{148\}\)..*/\1/
3419 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3424 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3431 s/\(.\{148\}\)..*/\1/
3433 s/["\\]/\\&/g; s/^/"/; s/$/"/
3437 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3442 ' <conf$$subs.awk | sed '
3447 ' >>$CONFIG_STATUS || ac_write_fail=1
3448 rm -f conf$$subs.awk
3449 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3451 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3452 for (key in S) S_is_set[key] = 1
3458 nfields = split(line, field, "@")
3460 len = length(field[1])
3461 for (i = 2; i < nfields; i++) {
3463 keylen = length(key)
3464 if (S_is_set[key]) {
3466 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3467 len += length(value) + length(field[++i])
3478 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3479 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3480 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3483 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3484 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3487 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3488 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3489 # trailing colons and then remove the whole line if VPATH becomes empty
3490 # (actually we leave an empty line to preserve line numbers).
3491 if test "x$srcdir" = x.; then
3492 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
3510 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3511 fi # test -n "$CONFIG_FILES"
3514 eval set X " :F $CONFIG_FILES "
3519 :[FHLC]) ac_mode=$ac_tag; continue;;
3521 case $ac_mode$ac_tag in
3523 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
3524 :[FH]-) ac_tag=-:-;;
3525 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3542 -) ac_f="$ac_tmp/stdin";;
3543 *) # Look for the file first in the build tree, then in the source tree
3544 # (if the path is not absolute). The absolute path cannot be DOS-style,
3545 # because $ac_f cannot contain `:'.
3549 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3551 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3553 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3554 as_fn_append ac_file_inputs " '$ac_f'"
3557 # Let's still pretend it is `configure' which instantiates (i.e., don't
3558 # use $as_me), people would be surprised to read:
3559 # /* config.h. Generated by config.status. */
3560 configure_input='Generated from '`
3561 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3563 if test x"$ac_file" != x-; then
3564 configure_input="$ac_file. $configure_input"
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3566 $as_echo "$as_me: creating $ac_file" >&6;}
3568 # Neutralize special characters interpreted by sed in replacement strings.
3569 case $configure_input in #(
3570 *\&* | *\|* | *\\* )
3571 ac_sed_conf_input=`$as_echo "$configure_input" |
3572 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3573 *) ac_sed_conf_input=$configure_input;;
3577 *:-:* | *:-) cat >"$ac_tmp/stdin" \
3578 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
3583 ac_dir=`$as_dirname -- "$ac_file" ||
3584 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3585 X"$ac_file" : 'X\(//\)[^/]' \| \
3586 X"$ac_file" : 'X\(//\)$' \| \
3587 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3588 $as_echo X"$ac_file" |
3589 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3606 as_dir="$ac_dir"; as_fn_mkdir_p
3610 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3612 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3613 # A ".." for each directory in $ac_dir_suffix.
3614 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3615 case $ac_top_builddir_sub in
3616 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3617 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3620 ac_abs_top_builddir=$ac_pwd
3621 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3622 # for backward compatibility:
3623 ac_top_builddir=$ac_top_build_prefix
3626 .) # We are building in place.
3628 ac_top_srcdir=$ac_top_builddir_sub
3629 ac_abs_top_srcdir=$ac_pwd ;;
3630 [\\/]* | ?:[\\/]* ) # Absolute name.
3631 ac_srcdir=$srcdir$ac_dir_suffix;
3632 ac_top_srcdir=$srcdir
3633 ac_abs_top_srcdir=$srcdir ;;
3635 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3636 ac_top_srcdir=$ac_top_build_prefix$srcdir
3637 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3639 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3650 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3651 # If the template does not know about datarootdir, expand it.
3652 # FIXME: This hack should be removed a few years after 2.60.
3653 ac_datarootdir_hack=; ac_datarootdir_seen=
3664 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3665 *datarootdir*) ac_datarootdir_seen=yes;;
3666 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3668 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3670 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3671 ac_datarootdir_hack='
3672 s&@datadir@&$datadir&g
3673 s&@docdir@&$docdir&g
3674 s&@infodir@&$infodir&g
3675 s&@localedir@&$localedir&g
3676 s&@mandir@&$mandir&g
3677 s&\\\${datarootdir}&$datarootdir&g' ;;
3681 # Neutralize VPATH when `$srcdir' = `.'.
3682 # Shell code in configure.ac might set extrasub.
3683 # FIXME: do we really want to maintain this feature?
3684 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3685 ac_sed_extra="$ac_vpsub
3688 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3690 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3691 s|@configure_input@|$ac_sed_conf_input|;t t
3692 s&@top_builddir@&$ac_top_builddir_sub&;t t
3693 s&@top_build_prefix@&$ac_top_build_prefix&;t t
3694 s&@srcdir@&$ac_srcdir&;t t
3695 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3696 s&@top_srcdir@&$ac_top_srcdir&;t t
3697 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3698 s&@builddir@&$ac_builddir&;t t
3699 s&@abs_builddir@&$ac_abs_builddir&;t t
3700 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3701 $ac_datarootdir_hack
3703 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
3704 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3706 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3707 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
3708 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
3709 "$ac_tmp/out"`; test -z "$ac_out"; } &&
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3711 which seems to be undefined. Please make sure it is defined" >&5
3712 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3713 which seems to be undefined. Please make sure it is defined" >&2;}
3715 rm -f "$ac_tmp/stdin"
3717 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
3718 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
3720 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3732 ac_clean_files=$ac_clean_files_save
3734 test $ac_write_fail = 0 ||
3735 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
3738 # configure is writing to config.log, and then calls config.status.
3739 # config.status does its own redirection, appending to config.log.
3740 # Unfortunately, on DOS this fails, as config.log is still kept open
3741 # by configure, so config.status won't be able to write to it; its
3742 # output is simply discarded. So we exec the FD to /dev/null,
3743 # effectively closing config.log, so it can be properly (re)opened and
3744 # appended to by config.status. When coming back to configure, we
3745 # need to make the FD available again.
3746 if test "$no_create" != yes; then
3748 ac_config_status_args=
3749 test "$silent" = yes &&
3750 ac_config_status_args="$ac_config_status_args --quiet"
3752 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3754 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3755 # would make configure fail if this is the last instruction.
3756 $ac_cs_success || as_fn_exit 1
3758 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3760 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}