2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for ntch 1.0.2.2.
5 # Report bugs to <akohta001@gmail.com>.
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 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir=.
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
240 if test "x$CONFIG_SHELL" != x; then :
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
250 *v*x* | *x*v* ) as_opts=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: akohta001@gmail.com about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
279 SHELL=${CONFIG_SHELL-/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Create "$as_dir" as a directory, including parents if necessary.
322 -*) as_dir=./$as_dir;;
324 test -d "$as_dir" || eval $as_mkdir_p || {
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d "$as_dir" && break
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
401 as_val=`expr "$@" || test $? -eq 1`
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
413 as_status=$1; test $as_status -eq 0 && as_status=1
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
499 # Exit status is that of the last command.
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
532 elif ln conf$$.file conf$$ 2>/dev/null; then
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
546 test -d ./-p && rmdir ./-p
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
571 ac_default_prefix=/usr/local
573 ac_config_libobj_dir=.
580 # Identity of this package.
582 PACKAGE_TARNAME='ntch'
583 PACKAGE_VERSION='1.0.2.2'
584 PACKAGE_STRING='ntch 1.0.2.2'
585 PACKAGE_BUGREPORT='akohta001@gmail.com'
586 PACKAGE_URL='https://sourceforge.jp/projects/ntch/'
588 ac_unique_file="src/main.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
602 # ifdef HAVE_STDLIB_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
625 ac_default_prefix=/usr/local
626 ac_subst_vars='LTLIBOBJS
669 program_transform_name
682 enable_option_checking
684 ac_precious_vars='build_alias
695 # Initialize some variables set by options.
697 ac_init_version=false
698 ac_unrecognized_opts=
700 # The variables have the same names as the options, with
701 # dashes changed to underlines.
709 program_transform_name=s,x,x,
717 # Installation directory options.
718 # These are left unexpanded so users can "make install exec_prefix=/foo"
719 # and all the variables that are supposed to be based on exec_prefix
720 # by default will actually change.
721 # Use braces instead of parens because sh, perl, etc. also accept them.
722 # (The list follows the same order as the GNU Coding Standards.)
723 bindir='${exec_prefix}/bin'
724 sbindir='${exec_prefix}/sbin'
725 libexecdir='${exec_prefix}/libexec'
726 datarootdir='${prefix}/share'
727 datadir='${datarootdir}'
728 sysconfdir='${prefix}/etc'
729 sharedstatedir='${prefix}/com'
730 localstatedir='${prefix}/var'
731 includedir='${prefix}/include'
732 oldincludedir='/usr/include'
733 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
734 infodir='${datarootdir}/info'
739 libdir='${exec_prefix}/lib'
740 localedir='${datarootdir}/locale'
741 mandir='${datarootdir}/man'
747 # If the previous option needs an argument, assign it.
748 if test -n "$ac_prev"; then
749 eval $ac_prev=\$ac_option
755 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
760 # Accept the important Cygnus configure options, so we can diagnose typos.
762 case $ac_dashdash$ac_option in
766 -bindir | --bindir | --bindi | --bind | --bin | --bi)
768 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
771 -build | --build | --buil | --bui | --bu)
772 ac_prev=build_alias ;;
773 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
774 build_alias=$ac_optarg ;;
776 -cache-file | --cache-file | --cache-fil | --cache-fi \
777 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
778 ac_prev=cache_file ;;
779 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
780 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
781 cache_file=$ac_optarg ;;
784 cache_file=config.cache ;;
786 -datadir | --datadir | --datadi | --datad)
788 -datadir=* | --datadir=* | --datadi=* | --datad=*)
789 datadir=$ac_optarg ;;
791 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
792 | --dataroo | --dataro | --datar)
793 ac_prev=datarootdir ;;
794 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
795 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
796 datarootdir=$ac_optarg ;;
798 -disable-* | --disable-*)
799 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
800 # Reject names that are not valid shell variable names.
801 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
802 as_fn_error $? "invalid feature name: $ac_useropt"
803 ac_useropt_orig=$ac_useropt
804 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
805 case $ac_user_opts in
809 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
810 ac_unrecognized_sep=', ';;
812 eval enable_$ac_useropt=no ;;
814 -docdir | --docdir | --docdi | --doc | --do)
816 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
819 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
821 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
824 -enable-* | --enable-*)
825 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
826 # Reject names that are not valid shell variable names.
827 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
828 as_fn_error $? "invalid feature name: $ac_useropt"
829 ac_useropt_orig=$ac_useropt
830 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
831 case $ac_user_opts in
835 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
836 ac_unrecognized_sep=', ';;
838 eval enable_$ac_useropt=\$ac_optarg ;;
840 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
841 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
842 | --exec | --exe | --ex)
843 ac_prev=exec_prefix ;;
844 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
845 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
846 | --exec=* | --exe=* | --ex=*)
847 exec_prefix=$ac_optarg ;;
849 -gas | --gas | --ga | --g)
850 # Obsolete; use --with-gas.
853 -help | --help | --hel | --he | -h)
855 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
856 ac_init_help=recursive ;;
857 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
858 ac_init_help=short ;;
860 -host | --host | --hos | --ho)
861 ac_prev=host_alias ;;
862 -host=* | --host=* | --hos=* | --ho=*)
863 host_alias=$ac_optarg ;;
865 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
867 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
869 htmldir=$ac_optarg ;;
871 -includedir | --includedir | --includedi | --included | --include \
872 | --includ | --inclu | --incl | --inc)
873 ac_prev=includedir ;;
874 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
875 | --includ=* | --inclu=* | --incl=* | --inc=*)
876 includedir=$ac_optarg ;;
878 -infodir | --infodir | --infodi | --infod | --info | --inf)
880 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
881 infodir=$ac_optarg ;;
883 -libdir | --libdir | --libdi | --libd)
885 -libdir=* | --libdir=* | --libdi=* | --libd=*)
888 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
889 | --libexe | --libex | --libe)
890 ac_prev=libexecdir ;;
891 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
892 | --libexe=* | --libex=* | --libe=*)
893 libexecdir=$ac_optarg ;;
895 -localedir | --localedir | --localedi | --localed | --locale)
897 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
898 localedir=$ac_optarg ;;
900 -localstatedir | --localstatedir | --localstatedi | --localstated \
901 | --localstate | --localstat | --localsta | --localst | --locals)
902 ac_prev=localstatedir ;;
903 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
904 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
905 localstatedir=$ac_optarg ;;
907 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
909 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
913 # Obsolete; use --without-fp.
916 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
917 | --no-cr | --no-c | -n)
920 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
921 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
924 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
925 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
926 | --oldin | --oldi | --old | --ol | --o)
927 ac_prev=oldincludedir ;;
928 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
929 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
930 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
931 oldincludedir=$ac_optarg ;;
933 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
935 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
938 -program-prefix | --program-prefix | --program-prefi | --program-pref \
939 | --program-pre | --program-pr | --program-p)
940 ac_prev=program_prefix ;;
941 -program-prefix=* | --program-prefix=* | --program-prefi=* \
942 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
943 program_prefix=$ac_optarg ;;
945 -program-suffix | --program-suffix | --program-suffi | --program-suff \
946 | --program-suf | --program-su | --program-s)
947 ac_prev=program_suffix ;;
948 -program-suffix=* | --program-suffix=* | --program-suffi=* \
949 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
950 program_suffix=$ac_optarg ;;
952 -program-transform-name | --program-transform-name \
953 | --program-transform-nam | --program-transform-na \
954 | --program-transform-n | --program-transform- \
955 | --program-transform | --program-transfor \
956 | --program-transfo | --program-transf \
957 | --program-trans | --program-tran \
958 | --progr-tra | --program-tr | --program-t)
959 ac_prev=program_transform_name ;;
960 -program-transform-name=* | --program-transform-name=* \
961 | --program-transform-nam=* | --program-transform-na=* \
962 | --program-transform-n=* | --program-transform-=* \
963 | --program-transform=* | --program-transfor=* \
964 | --program-transfo=* | --program-transf=* \
965 | --program-trans=* | --program-tran=* \
966 | --progr-tra=* | --program-tr=* | --program-t=*)
967 program_transform_name=$ac_optarg ;;
969 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
971 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
974 -psdir | --psdir | --psdi | --psd | --ps)
976 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
979 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
980 | -silent | --silent | --silen | --sile | --sil)
983 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
985 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
987 sbindir=$ac_optarg ;;
989 -sharedstatedir | --sharedstatedir | --sharedstatedi \
990 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
991 | --sharedst | --shareds | --shared | --share | --shar \
993 ac_prev=sharedstatedir ;;
994 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
995 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
996 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
998 sharedstatedir=$ac_optarg ;;
1000 -site | --site | --sit)
1002 -site=* | --site=* | --sit=*)
1005 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1007 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1008 srcdir=$ac_optarg ;;
1010 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1011 | --syscon | --sysco | --sysc | --sys | --sy)
1012 ac_prev=sysconfdir ;;
1013 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1014 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1015 sysconfdir=$ac_optarg ;;
1017 -target | --target | --targe | --targ | --tar | --ta | --t)
1018 ac_prev=target_alias ;;
1019 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1020 target_alias=$ac_optarg ;;
1022 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1025 -version | --version | --versio | --versi | --vers | -V)
1026 ac_init_version=: ;;
1029 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1030 # Reject names that are not valid shell variable names.
1031 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1032 as_fn_error $? "invalid package name: $ac_useropt"
1033 ac_useropt_orig=$ac_useropt
1034 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1035 case $ac_user_opts in
1039 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1040 ac_unrecognized_sep=', ';;
1042 eval with_$ac_useropt=\$ac_optarg ;;
1044 -without-* | --without-*)
1045 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1046 # Reject names that are not valid shell variable names.
1047 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1048 as_fn_error $? "invalid package name: $ac_useropt"
1049 ac_useropt_orig=$ac_useropt
1050 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1051 case $ac_user_opts in
1055 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1056 ac_unrecognized_sep=', ';;
1058 eval with_$ac_useropt=no ;;
1061 # Obsolete; use --with-x.
1064 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1065 | --x-incl | --x-inc | --x-in | --x-i)
1066 ac_prev=x_includes ;;
1067 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1068 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1069 x_includes=$ac_optarg ;;
1071 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1072 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1073 ac_prev=x_libraries ;;
1074 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1075 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1076 x_libraries=$ac_optarg ;;
1078 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1079 Try \`$0 --help' for more information"
1083 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1084 # Reject names that are not valid shell variable names.
1085 case $ac_envvar in #(
1086 '' | [0-9]* | *[!_$as_cr_alnum]* )
1087 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1089 eval $ac_envvar=\$ac_optarg
1090 export $ac_envvar ;;
1093 # FIXME: should be removed in autoconf 3.0.
1094 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1095 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1096 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1097 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1103 if test -n "$ac_prev"; then
1104 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1105 as_fn_error $? "missing argument to $ac_option"
1108 if test -n "$ac_unrecognized_opts"; then
1109 case $enable_option_checking in
1111 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1112 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1116 # Check all directory arguments for consistency.
1117 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1118 datadir sysconfdir sharedstatedir localstatedir includedir \
1119 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1120 libdir localedir mandir
1122 eval ac_val=\$$ac_var
1123 # Remove trailing slashes.
1126 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1127 eval $ac_var=\$ac_val;;
1129 # Be sure to have absolute directory names.
1131 [\\/$]* | ?:[\\/]* ) continue;;
1132 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1134 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1137 # There might be people who depend on the old broken behavior: `$host'
1138 # used to hold the argument of --host etc.
1139 # FIXME: To remove some day.
1142 target=$target_alias
1144 # FIXME: To remove some day.
1145 if test "x$host_alias" != x; then
1146 if test "x$build_alias" = x; then
1147 cross_compiling=maybe
1148 elif test "x$build_alias" != "x$host_alias"; then
1154 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1156 test "$silent" = yes && exec 6>/dev/null
1159 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1160 ac_ls_di=`ls -di .` &&
1161 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1162 as_fn_error $? "working directory cannot be determined"
1163 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1164 as_fn_error $? "pwd does not report name of working directory"
1167 # Find the source files, if location was not specified.
1168 if test -z "$srcdir"; then
1169 ac_srcdir_defaulted=yes
1170 # Try the directory containing this script, then the parent directory.
1171 ac_confdir=`$as_dirname -- "$as_myself" ||
1172 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1173 X"$as_myself" : 'X\(//\)[^/]' \| \
1174 X"$as_myself" : 'X\(//\)$' \| \
1175 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1176 $as_echo X"$as_myself" |
1177 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1195 if test ! -r "$srcdir/$ac_unique_file"; then
1199 ac_srcdir_defaulted=no
1201 if test ! -r "$srcdir/$ac_unique_file"; then
1202 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1203 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1205 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1207 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1209 # When building in place, set srcdir=.
1210 if test "$ac_abs_confdir" = "$ac_pwd"; then
1213 # Remove unnecessary trailing slashes from srcdir.
1214 # Double slashes in file names in object file debugging info
1215 # mess up M-x gdb in Emacs.
1217 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1219 for ac_var in $ac_precious_vars; do
1220 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1221 eval ac_env_${ac_var}_value=\$${ac_var}
1222 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1223 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1227 # Report the --help message.
1229 if test "$ac_init_help" = "long"; then
1230 # Omit some internal or obsolete options to make the list less imposing.
1231 # This message is too long to be a string in the A/UX 3.1 sh.
1233 \`configure' configures ntch 1.0.2.2 to adapt to many kinds of systems.
1235 Usage: $0 [OPTION]... [VAR=VALUE]...
1237 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1238 VAR=VALUE. See below for descriptions of some of the useful variables.
1240 Defaults for the options are specified in brackets.
1243 -h, --help display this help and exit
1244 --help=short display options specific to this package
1245 --help=recursive display the short help of all the included packages
1246 -V, --version display version information and exit
1247 -q, --quiet, --silent do not print \`checking ...' messages
1248 --cache-file=FILE cache test results in FILE [disabled]
1249 -C, --config-cache alias for \`--cache-file=config.cache'
1250 -n, --no-create do not create output files
1251 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1253 Installation directories:
1254 --prefix=PREFIX install architecture-independent files in PREFIX
1255 [$ac_default_prefix]
1256 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1259 By default, \`make install' will install all the files in
1260 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1261 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1262 for instance \`--prefix=\$HOME'.
1264 For better control, use the options below.
1266 Fine tuning of the installation directories:
1267 --bindir=DIR user executables [EPREFIX/bin]
1268 --sbindir=DIR system admin executables [EPREFIX/sbin]
1269 --libexecdir=DIR program executables [EPREFIX/libexec]
1270 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1271 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1272 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1273 --libdir=DIR object code libraries [EPREFIX/lib]
1274 --includedir=DIR C header files [PREFIX/include]
1275 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1276 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1277 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1278 --infodir=DIR info documentation [DATAROOTDIR/info]
1279 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1280 --mandir=DIR man documentation [DATAROOTDIR/man]
1281 --docdir=DIR documentation root [DATAROOTDIR/doc/ntch]
1282 --htmldir=DIR html documentation [DOCDIR]
1283 --dvidir=DIR dvi documentation [DOCDIR]
1284 --pdfdir=DIR pdf documentation [DOCDIR]
1285 --psdir=DIR ps documentation [DOCDIR]
1292 if test -n "$ac_init_help"; then
1293 case $ac_init_help in
1294 short | recursive ) echo "Configuration of ntch 1.0.2.2:";;
1298 Some influential environment variables:
1299 CC C compiler command
1300 CFLAGS C compiler flags
1301 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1302 nonstandard directory <lib dir>
1303 LIBS libraries to pass to the linker, e.g. -l<library>
1304 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1305 you have headers in a nonstandard directory <include dir>
1308 Use these variables to override the choices made by `configure' or to help
1309 it to find libraries and programs with nonstandard names/locations.
1311 Report bugs to <akohta001@gmail.com>.
1312 ntch home page: <https://sourceforge.jp/projects/ntch/>.
1317 if test "$ac_init_help" = "recursive"; then
1318 # If there are subdirs, report their specific --help.
1319 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1320 test -d "$ac_dir" ||
1321 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1326 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1328 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1329 # A ".." for each directory in $ac_dir_suffix.
1330 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1331 case $ac_top_builddir_sub in
1332 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1333 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1336 ac_abs_top_builddir=$ac_pwd
1337 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1338 # for backward compatibility:
1339 ac_top_builddir=$ac_top_build_prefix
1342 .) # We are building in place.
1344 ac_top_srcdir=$ac_top_builddir_sub
1345 ac_abs_top_srcdir=$ac_pwd ;;
1346 [\\/]* | ?:[\\/]* ) # Absolute name.
1347 ac_srcdir=$srcdir$ac_dir_suffix;
1348 ac_top_srcdir=$srcdir
1349 ac_abs_top_srcdir=$srcdir ;;
1351 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1352 ac_top_srcdir=$ac_top_build_prefix$srcdir
1353 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1355 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1357 cd "$ac_dir" || { ac_status=$?; continue; }
1358 # Check for guested configure.
1359 if test -f "$ac_srcdir/configure.gnu"; then
1361 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1362 elif test -f "$ac_srcdir/configure"; then
1364 $SHELL "$ac_srcdir/configure" --help=recursive
1366 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1368 cd "$ac_pwd" || { ac_status=$?; break; }
1372 test -n "$ac_init_help" && exit $ac_status
1373 if $ac_init_version; then
1375 ntch configure 1.0.2.2
1376 generated by GNU Autoconf 2.69
1378 Copyright (C) 2012 Free Software Foundation, Inc.
1379 This configure script is free software; the Free Software Foundation
1380 gives unlimited permission to copy, distribute and modify it.
1385 ## ------------------------ ##
1386 ## Autoconf initialization. ##
1387 ## ------------------------ ##
1389 # ac_fn_c_try_compile LINENO
1390 # --------------------------
1391 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1392 ac_fn_c_try_compile ()
1394 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1395 rm -f conftest.$ac_objext
1396 if { { ac_try="$ac_compile"
1398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1399 *) ac_try_echo=$ac_try;;
1401 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1402 $as_echo "$ac_try_echo"; } >&5
1403 (eval "$ac_compile") 2>conftest.err
1405 if test -s conftest.err; then
1406 grep -v '^ *+' conftest.err >conftest.er1
1407 cat conftest.er1 >&5
1408 mv -f conftest.er1 conftest.err
1410 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1411 test $ac_status = 0; } && {
1412 test -z "$ac_c_werror_flag" ||
1413 test ! -s conftest.err
1414 } && test -s conftest.$ac_objext; then :
1417 $as_echo "$as_me: failed program was:" >&5
1418 sed 's/^/| /' conftest.$ac_ext >&5
1422 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1423 as_fn_set_status $ac_retval
1425 } # ac_fn_c_try_compile
1427 # ac_fn_c_try_link LINENO
1428 # -----------------------
1429 # Try to link conftest.$ac_ext, and return whether this succeeded.
1432 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1433 rm -f conftest.$ac_objext conftest$ac_exeext
1434 if { { ac_try="$ac_link"
1436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1437 *) ac_try_echo=$ac_try;;
1439 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1440 $as_echo "$ac_try_echo"; } >&5
1441 (eval "$ac_link") 2>conftest.err
1443 if test -s conftest.err; then
1444 grep -v '^ *+' conftest.err >conftest.er1
1445 cat conftest.er1 >&5
1446 mv -f conftest.er1 conftest.err
1448 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1449 test $ac_status = 0; } && {
1450 test -z "$ac_c_werror_flag" ||
1451 test ! -s conftest.err
1452 } && test -s conftest$ac_exeext && {
1453 test "$cross_compiling" = yes ||
1454 test -x conftest$ac_exeext
1458 $as_echo "$as_me: failed program was:" >&5
1459 sed 's/^/| /' conftest.$ac_ext >&5
1463 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1464 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1465 # interfere with the next link command; also delete a directory that is
1466 # left behind by Apple's compiler. We do this before executing the actions.
1467 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1468 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1469 as_fn_set_status $ac_retval
1471 } # ac_fn_c_try_link
1473 # ac_fn_c_try_cpp LINENO
1474 # ----------------------
1475 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1478 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1479 if { { ac_try="$ac_cpp conftest.$ac_ext"
1481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1482 *) ac_try_echo=$ac_try;;
1484 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1485 $as_echo "$ac_try_echo"; } >&5
1486 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1488 if test -s conftest.err; then
1489 grep -v '^ *+' conftest.err >conftest.er1
1490 cat conftest.er1 >&5
1491 mv -f conftest.er1 conftest.err
1493 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1494 test $ac_status = 0; } > conftest.i && {
1495 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1496 test ! -s conftest.err
1500 $as_echo "$as_me: failed program was:" >&5
1501 sed 's/^/| /' conftest.$ac_ext >&5
1505 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1506 as_fn_set_status $ac_retval
1510 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1511 # -------------------------------------------------------
1512 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1513 # the include files in INCLUDES and setting the cache variable VAR
1515 ac_fn_c_check_header_mongrel ()
1517 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1518 if eval \${$3+:} false; then :
1519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1520 $as_echo_n "checking for $2... " >&6; }
1521 if eval \${$3+:} false; then :
1522 $as_echo_n "(cached) " >&6
1525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1526 $as_echo "$ac_res" >&6; }
1528 # Is the header compilable?
1529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1530 $as_echo_n "checking $2 usability... " >&6; }
1531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1532 /* end confdefs.h. */
1536 if ac_fn_c_try_compile "$LINENO"; then :
1537 ac_header_compiler=yes
1539 ac_header_compiler=no
1541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1543 $as_echo "$ac_header_compiler" >&6; }
1545 # Is the header present?
1546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1547 $as_echo_n "checking $2 presence... " >&6; }
1548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1549 /* end confdefs.h. */
1552 if ac_fn_c_try_cpp "$LINENO"; then :
1553 ac_header_preproc=yes
1555 ac_header_preproc=no
1557 rm -f conftest.err conftest.i conftest.$ac_ext
1558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1559 $as_echo "$ac_header_preproc" >&6; }
1561 # So? What about this header?
1562 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1564 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1565 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1566 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1567 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1571 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1573 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1574 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1575 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1577 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1579 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1580 ( $as_echo "## ---------------------------------- ##
1581 ## Report this to akohta001@gmail.com ##
1582 ## ---------------------------------- ##"
1583 ) | sed "s/^/$as_me: WARNING: /" >&2
1586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1587 $as_echo_n "checking for $2... " >&6; }
1588 if eval \${$3+:} false; then :
1589 $as_echo_n "(cached) " >&6
1591 eval "$3=\$ac_header_compiler"
1594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1595 $as_echo "$ac_res" >&6; }
1597 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1599 } # ac_fn_c_check_header_mongrel
1601 # ac_fn_c_try_run LINENO
1602 # ----------------------
1603 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1604 # that executables *can* be run.
1607 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1608 if { { ac_try="$ac_link"
1610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1611 *) ac_try_echo=$ac_try;;
1613 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1614 $as_echo "$ac_try_echo"; } >&5
1615 (eval "$ac_link") 2>&5
1617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1618 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1619 { { case "(($ac_try" in
1620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1621 *) ac_try_echo=$ac_try;;
1623 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1624 $as_echo "$ac_try_echo"; } >&5
1625 (eval "$ac_try") 2>&5
1627 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1628 test $ac_status = 0; }; }; then :
1631 $as_echo "$as_me: program exited with status $ac_status" >&5
1632 $as_echo "$as_me: failed program was:" >&5
1633 sed 's/^/| /' conftest.$ac_ext >&5
1635 ac_retval=$ac_status
1637 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1638 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1639 as_fn_set_status $ac_retval
1643 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1644 # -------------------------------------------------------
1645 # Tests whether HEADER exists and can be compiled using the include files in
1646 # INCLUDES, setting the cache variable VAR accordingly.
1647 ac_fn_c_check_header_compile ()
1649 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1651 $as_echo_n "checking for $2... " >&6; }
1652 if eval \${$3+:} false; then :
1653 $as_echo_n "(cached) " >&6
1655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1656 /* end confdefs.h. */
1660 if ac_fn_c_try_compile "$LINENO"; then :
1665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1669 $as_echo "$ac_res" >&6; }
1670 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1672 } # ac_fn_c_check_header_compile
1674 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1675 # -------------------------------------------
1676 # Tests whether TYPE exists after having included INCLUDES, setting cache
1677 # variable VAR accordingly.
1678 ac_fn_c_check_type ()
1680 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1682 $as_echo_n "checking for $2... " >&6; }
1683 if eval \${$3+:} false; then :
1684 $as_echo_n "(cached) " >&6
1687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1688 /* end confdefs.h. */
1699 if ac_fn_c_try_compile "$LINENO"; then :
1700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1701 /* end confdefs.h. */
1712 if ac_fn_c_try_compile "$LINENO"; then :
1717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1723 $as_echo "$ac_res" >&6; }
1724 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1726 } # ac_fn_c_check_type
1728 # ac_fn_c_check_func LINENO FUNC VAR
1729 # ----------------------------------
1730 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1731 ac_fn_c_check_func ()
1733 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1735 $as_echo_n "checking for $2... " >&6; }
1736 if eval \${$3+:} false; then :
1737 $as_echo_n "(cached) " >&6
1739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1740 /* end confdefs.h. */
1741 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1742 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1743 #define $2 innocuous_$2
1745 /* System header to define __stub macros and hopefully few prototypes,
1746 which can conflict with char $2 (); below.
1747 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1748 <limits.h> exists even on freestanding compilers. */
1751 # include <limits.h>
1753 # include <assert.h>
1758 /* Override any GCC internal prototype to avoid an error.
1759 Use char because int might match the return type of a GCC
1760 builtin and then its argument prototype would still apply. */
1765 /* The GNU C library defines this for functions which it implements
1766 to always fail with ENOSYS. Some functions are actually named
1767 something starting with __ and the normal name is an alias. */
1768 #if defined __stub_$2 || defined __stub___$2
1780 if ac_fn_c_try_link "$LINENO"; then :
1785 rm -f core conftest.err conftest.$ac_objext \
1786 conftest$ac_exeext conftest.$ac_ext
1789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1790 $as_echo "$ac_res" >&6; }
1791 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1793 } # ac_fn_c_check_func
1794 cat >config.log <<_ACEOF
1795 This file contains any messages produced by compilers while
1796 running configure, to aid debugging if configure makes a mistake.
1798 It was created by ntch $as_me 1.0.2.2, which was
1799 generated by GNU Autoconf 2.69. Invocation command line was
1811 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1812 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1813 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1814 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1815 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1817 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1818 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1820 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1821 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1822 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1823 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1824 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1825 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1826 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1834 test -z "$as_dir" && as_dir=.
1835 $as_echo "PATH: $as_dir"
1851 # Keep a trace of the command line.
1852 # Strip out --no-create and --no-recursion so they do not pile up.
1853 # Strip out --silent because we don't want to record it for future runs.
1854 # Also quote any args containing shell meta-characters.
1855 # Make two passes to allow for proper duplicate-argument suppression.
1859 ac_must_keep_next=false
1865 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1866 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1867 | -silent | --silent | --silen | --sile | --sil)
1870 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1873 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1875 as_fn_append ac_configure_args1 " '$ac_arg'"
1876 if test $ac_must_keep_next = true; then
1877 ac_must_keep_next=false # Got value, back to normal.
1880 *=* | --config-cache | -C | -disable-* | --disable-* \
1881 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1882 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1883 | -with-* | --with-* | -without-* | --without-* | --x)
1884 case "$ac_configure_args0 " in
1885 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1888 -* ) ac_must_keep_next=true ;;
1891 as_fn_append ac_configure_args " '$ac_arg'"
1896 { ac_configure_args0=; unset ac_configure_args0;}
1897 { ac_configure_args1=; unset ac_configure_args1;}
1899 # When interrupted or exit'd, cleanup temporary files, and complete
1900 # config.log. We remove comments because anyway the quotes in there
1901 # would cause problems or look ugly.
1902 # WARNING: Use '\'' to represent an apostrophe within the trap.
1903 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1904 trap 'exit_status=$?
1905 # Save into config.log some information that might help in debugging.
1909 $as_echo "## ---------------- ##
1910 ## Cache variables. ##
1911 ## ---------------- ##"
1913 # The following way of writing the cache mishandles newlines in values,
1915 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1916 eval ac_val=\$$ac_var
1920 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1921 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1924 _ | IFS | as_nl) ;; #(
1925 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1926 *) { eval $ac_var=; unset $ac_var;} ;;
1931 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1932 *${as_nl}ac_space=\ *)
1934 "s/'\''/'\''\\\\'\'''\''/g;
1935 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1938 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1945 $as_echo "## ----------------- ##
1946 ## Output variables. ##
1947 ## ----------------- ##"
1949 for ac_var in $ac_subst_vars
1951 eval ac_val=\$$ac_var
1953 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1955 $as_echo "$ac_var='\''$ac_val'\''"
1959 if test -n "$ac_subst_files"; then
1960 $as_echo "## ------------------- ##
1961 ## File substitutions. ##
1962 ## ------------------- ##"
1964 for ac_var in $ac_subst_files
1966 eval ac_val=\$$ac_var
1968 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1970 $as_echo "$ac_var='\''$ac_val'\''"
1975 if test -s confdefs.h; then
1976 $as_echo "## ----------- ##
1983 test "$ac_signal" != 0 &&
1984 $as_echo "$as_me: caught signal $ac_signal"
1985 $as_echo "$as_me: exit $exit_status"
1987 rm -f core *.core core.conftest.* &&
1988 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1991 for ac_signal in 1 2 13 15; do
1992 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1996 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1997 rm -f -r conftest* confdefs.h
1999 $as_echo "/* confdefs.h */" > confdefs.h
2001 # Predefined preprocessor variables.
2003 cat >>confdefs.h <<_ACEOF
2004 #define PACKAGE_NAME "$PACKAGE_NAME"
2007 cat >>confdefs.h <<_ACEOF
2008 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2011 cat >>confdefs.h <<_ACEOF
2012 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2015 cat >>confdefs.h <<_ACEOF
2016 #define PACKAGE_STRING "$PACKAGE_STRING"
2019 cat >>confdefs.h <<_ACEOF
2020 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2023 cat >>confdefs.h <<_ACEOF
2024 #define PACKAGE_URL "$PACKAGE_URL"
2028 # Let the site file select an alternate cache file if it wants to.
2029 # Prefer an explicitly selected file to automatically selected ones.
2032 if test -n "$CONFIG_SITE"; then
2033 # We do not want a PATH search for config.site.
2034 case $CONFIG_SITE in #((
2035 -*) ac_site_file1=./$CONFIG_SITE;;
2036 */*) ac_site_file1=$CONFIG_SITE;;
2037 *) ac_site_file1=./$CONFIG_SITE;;
2039 elif test "x$prefix" != xNONE; then
2040 ac_site_file1=$prefix/share/config.site
2041 ac_site_file2=$prefix/etc/config.site
2043 ac_site_file1=$ac_default_prefix/share/config.site
2044 ac_site_file2=$ac_default_prefix/etc/config.site
2046 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2048 test "x$ac_site_file" = xNONE && continue
2049 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2050 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2051 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2052 sed 's/^/| /' "$ac_site_file" >&5
2054 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2055 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2056 as_fn_error $? "failed to load site script $ac_site_file
2057 See \`config.log' for more details" "$LINENO" 5; }
2061 if test -r "$cache_file"; then
2062 # Some versions of bash will fail to source /dev/null (special files
2063 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2064 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2065 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2066 $as_echo "$as_me: loading cache $cache_file" >&6;}
2068 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2069 *) . "./$cache_file";;
2073 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2074 $as_echo "$as_me: creating cache $cache_file" >&6;}
2078 # Check that the precious variables saved in the cache have kept the same
2080 ac_cache_corrupted=false
2081 for ac_var in $ac_precious_vars; do
2082 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2083 eval ac_new_set=\$ac_env_${ac_var}_set
2084 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2085 eval ac_new_val=\$ac_env_${ac_var}_value
2086 case $ac_old_set,$ac_new_set in
2088 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2089 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2090 ac_cache_corrupted=: ;;
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2093 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2094 ac_cache_corrupted=: ;;
2097 if test "x$ac_old_val" != "x$ac_new_val"; then
2098 # differences in whitespace do not lead to failure.
2099 ac_old_val_w=`echo x $ac_old_val`
2100 ac_new_val_w=`echo x $ac_new_val`
2101 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2102 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2103 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2104 ac_cache_corrupted=:
2106 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2107 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2108 eval $ac_var=\$ac_old_val
2110 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2111 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2113 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2116 # Pass precious variables to config.status.
2117 if test "$ac_new_set" = set; then
2119 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2120 *) ac_arg=$ac_var=$ac_new_val ;;
2122 case " $ac_configure_args " in
2123 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2124 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2128 if $ac_cache_corrupted; then
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2130 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2132 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2133 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2135 ## -------------------- ##
2136 ## Main body of script. ##
2137 ## -------------------- ##
2140 ac_cpp='$CPP $CPPFLAGS'
2141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2147 ac_config_headers="$ac_config_headers config.h"
2150 # Checks for programs.
2152 ac_cpp='$CPP $CPPFLAGS'
2153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2156 if test -n "$ac_tool_prefix"; then
2157 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2158 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2160 $as_echo_n "checking for $ac_word... " >&6; }
2161 if ${ac_cv_prog_CC+:} false; then :
2162 $as_echo_n "(cached) " >&6
2164 if test -n "$CC"; then
2165 ac_cv_prog_CC="$CC" # Let the user override the test.
2167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2171 test -z "$as_dir" && as_dir=.
2172 for ac_exec_ext in '' $ac_executable_extensions; do
2173 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2174 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2175 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2185 if test -n "$CC"; then
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2187 $as_echo "$CC" >&6; }
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2190 $as_echo "no" >&6; }
2195 if test -z "$ac_cv_prog_CC"; then
2197 # Extract the first word of "gcc", so it can be a program name with args.
2198 set dummy gcc; ac_word=$2
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2200 $as_echo_n "checking for $ac_word... " >&6; }
2201 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2202 $as_echo_n "(cached) " >&6
2204 if test -n "$ac_ct_CC"; then
2205 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2211 test -z "$as_dir" && as_dir=.
2212 for ac_exec_ext in '' $ac_executable_extensions; do
2213 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2214 ac_cv_prog_ac_ct_CC="gcc"
2215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2224 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2225 if test -n "$ac_ct_CC"; then
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2227 $as_echo "$ac_ct_CC" >&6; }
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2230 $as_echo "no" >&6; }
2233 if test "x$ac_ct_CC" = x; then
2236 case $cross_compiling:$ac_tool_warned in
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2239 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2240 ac_tool_warned=yes ;;
2248 if test -z "$CC"; then
2249 if test -n "$ac_tool_prefix"; then
2250 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2251 set dummy ${ac_tool_prefix}cc; ac_word=$2
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2253 $as_echo_n "checking for $ac_word... " >&6; }
2254 if ${ac_cv_prog_CC+:} false; then :
2255 $as_echo_n "(cached) " >&6
2257 if test -n "$CC"; then
2258 ac_cv_prog_CC="$CC" # Let the user override the test.
2260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2264 test -z "$as_dir" && as_dir=.
2265 for ac_exec_ext in '' $ac_executable_extensions; do
2266 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2267 ac_cv_prog_CC="${ac_tool_prefix}cc"
2268 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2278 if test -n "$CC"; then
2279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2280 $as_echo "$CC" >&6; }
2282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2283 $as_echo "no" >&6; }
2289 if test -z "$CC"; then
2290 # Extract the first word of "cc", so it can be a program name with args.
2291 set dummy cc; ac_word=$2
2292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2293 $as_echo_n "checking for $ac_word... " >&6; }
2294 if ${ac_cv_prog_CC+:} false; then :
2295 $as_echo_n "(cached) " >&6
2297 if test -n "$CC"; then
2298 ac_cv_prog_CC="$CC" # Let the user override the test.
2301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2305 test -z "$as_dir" && as_dir=.
2306 for ac_exec_ext in '' $ac_executable_extensions; do
2307 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2308 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2309 ac_prog_rejected=yes
2313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2320 if test $ac_prog_rejected = yes; then
2321 # We found a bogon in the path, so make sure we never use it.
2322 set dummy $ac_cv_prog_CC
2324 if test $# != 0; then
2325 # We chose a different compiler from the bogus one.
2326 # However, it has the same basename, so the bogon will be chosen
2327 # first if we set CC to just the basename; use the full file name.
2329 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2335 if test -n "$CC"; then
2336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2337 $as_echo "$CC" >&6; }
2339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2340 $as_echo "no" >&6; }
2345 if test -z "$CC"; then
2346 if test -n "$ac_tool_prefix"; then
2347 for ac_prog in cl.exe
2349 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2350 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2352 $as_echo_n "checking for $ac_word... " >&6; }
2353 if ${ac_cv_prog_CC+:} false; then :
2354 $as_echo_n "(cached) " >&6
2356 if test -n "$CC"; then
2357 ac_cv_prog_CC="$CC" # Let the user override the test.
2359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2363 test -z "$as_dir" && as_dir=.
2364 for ac_exec_ext in '' $ac_executable_extensions; do
2365 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2366 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2377 if test -n "$CC"; then
2378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2379 $as_echo "$CC" >&6; }
2381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2382 $as_echo "no" >&6; }
2386 test -n "$CC" && break
2389 if test -z "$CC"; then
2391 for ac_prog in cl.exe
2393 # Extract the first word of "$ac_prog", so it can be a program name with args.
2394 set dummy $ac_prog; ac_word=$2
2395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2396 $as_echo_n "checking for $ac_word... " >&6; }
2397 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2398 $as_echo_n "(cached) " >&6
2400 if test -n "$ac_ct_CC"; then
2401 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2407 test -z "$as_dir" && as_dir=.
2408 for ac_exec_ext in '' $ac_executable_extensions; do
2409 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2410 ac_cv_prog_ac_ct_CC="$ac_prog"
2411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2420 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2421 if test -n "$ac_ct_CC"; then
2422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2423 $as_echo "$ac_ct_CC" >&6; }
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2426 $as_echo "no" >&6; }
2430 test -n "$ac_ct_CC" && break
2433 if test "x$ac_ct_CC" = x; then
2436 case $cross_compiling:$ac_tool_warned in
2438 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2439 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2440 ac_tool_warned=yes ;;
2449 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2450 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2451 as_fn_error $? "no acceptable C compiler found in \$PATH
2452 See \`config.log' for more details" "$LINENO" 5; }
2454 # Provide some information about the compiler.
2455 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2458 for ac_option in --version -v -V -qversion; do
2459 { { ac_try="$ac_compiler $ac_option >&5"
2461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2462 *) ac_try_echo=$ac_try;;
2464 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2465 $as_echo "$ac_try_echo"; } >&5
2466 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2468 if test -s conftest.err; then
2470 ... rest of stderr output deleted ...
2471 10q' conftest.err >conftest.er1
2472 cat conftest.er1 >&5
2474 rm -f conftest.er1 conftest.err
2475 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2476 test $ac_status = 0; }
2479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2480 /* end confdefs.h. */
2490 ac_clean_files_save=$ac_clean_files
2491 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2492 # Try to create an executable without -o first, disregard a.out.
2493 # It will help us diagnose broken compilers, and finding out an intuition
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2496 $as_echo_n "checking whether the C compiler works... " >&6; }
2497 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2499 # The possible output files:
2500 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2503 for ac_file in $ac_files
2506 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2507 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2512 if { { ac_try="$ac_link_default"
2514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2515 *) ac_try_echo=$ac_try;;
2517 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2518 $as_echo "$ac_try_echo"; } >&5
2519 (eval "$ac_link_default") 2>&5
2521 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2522 test $ac_status = 0; }; then :
2523 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2524 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2525 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2526 # so that the user can short-circuit this test for compilers unknown to
2528 for ac_file in $ac_files ''
2530 test -f "$ac_file" || continue
2532 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2535 # We found the default executable, but exeext='' is most
2539 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2541 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2543 # We set ac_cv_exeext here because the later test for it is not
2544 # safe: cross compilers may not add the suffix if given an `-o'
2545 # argument, so we may need to know it at that point already.
2546 # Even if this section looks crufty: it has the advantage of
2553 test "$ac_cv_exeext" = no && ac_cv_exeext=
2558 if test -z "$ac_file"; then :
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2560 $as_echo "no" >&6; }
2561 $as_echo "$as_me: failed program was:" >&5
2562 sed 's/^/| /' conftest.$ac_ext >&5
2564 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2565 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2566 as_fn_error 77 "C compiler cannot create executables
2567 See \`config.log' for more details" "$LINENO" 5; }
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2570 $as_echo "yes" >&6; }
2572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2573 $as_echo_n "checking for C compiler default output file name... " >&6; }
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2575 $as_echo "$ac_file" >&6; }
2576 ac_exeext=$ac_cv_exeext
2578 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2579 ac_clean_files=$ac_clean_files_save
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2581 $as_echo_n "checking for suffix of executables... " >&6; }
2582 if { { ac_try="$ac_link"
2584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2585 *) ac_try_echo=$ac_try;;
2587 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2588 $as_echo "$ac_try_echo"; } >&5
2589 (eval "$ac_link") 2>&5
2591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2592 test $ac_status = 0; }; then :
2593 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2594 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2595 # work properly (i.e., refer to `conftest.exe'), while it won't with
2597 for ac_file in conftest.exe conftest conftest.*; do
2598 test -f "$ac_file" || continue
2600 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2601 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2607 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2608 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2609 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2610 See \`config.log' for more details" "$LINENO" 5; }
2612 rm -f conftest conftest$ac_cv_exeext
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2614 $as_echo "$ac_cv_exeext" >&6; }
2616 rm -f conftest.$ac_ext
2617 EXEEXT=$ac_cv_exeext
2619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2620 /* end confdefs.h. */
2625 FILE *f = fopen ("conftest.out", "w");
2626 return ferror (f) || fclose (f) != 0;
2632 ac_clean_files="$ac_clean_files conftest.out"
2633 # Check that the compiler produces executables we can run. If not, either
2634 # the compiler is broken, or we cross compile.
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2636 $as_echo_n "checking whether we are cross compiling... " >&6; }
2637 if test "$cross_compiling" != yes; then
2638 { { ac_try="$ac_link"
2640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2641 *) ac_try_echo=$ac_try;;
2643 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2644 $as_echo "$ac_try_echo"; } >&5
2645 (eval "$ac_link") 2>&5
2647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2648 test $ac_status = 0; }
2649 if { ac_try='./conftest$ac_cv_exeext'
2650 { { case "(($ac_try" in
2651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2652 *) ac_try_echo=$ac_try;;
2654 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2655 $as_echo "$ac_try_echo"; } >&5
2656 (eval "$ac_try") 2>&5
2658 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2659 test $ac_status = 0; }; }; then
2662 if test "$cross_compiling" = maybe; then
2665 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2666 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2667 as_fn_error $? "cannot run C compiled programs.
2668 If you meant to cross compile, use \`--host'.
2669 See \`config.log' for more details" "$LINENO" 5; }
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2674 $as_echo "$cross_compiling" >&6; }
2676 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2677 ac_clean_files=$ac_clean_files_save
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2679 $as_echo_n "checking for suffix of object files... " >&6; }
2680 if ${ac_cv_objext+:} false; then :
2681 $as_echo_n "(cached) " >&6
2683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2684 /* end confdefs.h. */
2694 rm -f conftest.o conftest.obj
2695 if { { ac_try="$ac_compile"
2697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2698 *) ac_try_echo=$ac_try;;
2700 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2701 $as_echo "$ac_try_echo"; } >&5
2702 (eval "$ac_compile") 2>&5
2704 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2705 test $ac_status = 0; }; then :
2706 for ac_file in conftest.o conftest.obj conftest.*; do
2707 test -f "$ac_file" || continue;
2709 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2710 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2715 $as_echo "$as_me: failed program was:" >&5
2716 sed 's/^/| /' conftest.$ac_ext >&5
2718 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2719 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2720 as_fn_error $? "cannot compute suffix of object files: cannot compile
2721 See \`config.log' for more details" "$LINENO" 5; }
2723 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2726 $as_echo "$ac_cv_objext" >&6; }
2727 OBJEXT=$ac_cv_objext
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2730 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2731 if ${ac_cv_c_compiler_gnu+:} false; then :
2732 $as_echo_n "(cached) " >&6
2734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2735 /* end confdefs.h. */
2748 if ac_fn_c_try_compile "$LINENO"; then :
2753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2754 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2758 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2759 if test $ac_compiler_gnu = yes; then
2764 ac_test_CFLAGS=${CFLAGS+set}
2765 ac_save_CFLAGS=$CFLAGS
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2767 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2768 if ${ac_cv_prog_cc_g+:} false; then :
2769 $as_echo_n "(cached) " >&6
2771 ac_save_c_werror_flag=$ac_c_werror_flag
2772 ac_c_werror_flag=yes
2775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2776 /* end confdefs.h. */
2786 if ac_fn_c_try_compile "$LINENO"; then :
2790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2791 /* end confdefs.h. */
2801 if ac_fn_c_try_compile "$LINENO"; then :
2804 ac_c_werror_flag=$ac_save_c_werror_flag
2806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2807 /* end confdefs.h. */
2817 if ac_fn_c_try_compile "$LINENO"; then :
2820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2825 ac_c_werror_flag=$ac_save_c_werror_flag
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2828 $as_echo "$ac_cv_prog_cc_g" >&6; }
2829 if test "$ac_test_CFLAGS" = set; then
2830 CFLAGS=$ac_save_CFLAGS
2831 elif test $ac_cv_prog_cc_g = yes; then
2832 if test "$GCC" = yes; then
2838 if test "$GCC" = yes; then
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2845 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2846 if ${ac_cv_prog_cc_c89+:} false; then :
2847 $as_echo_n "(cached) " >&6
2849 ac_cv_prog_cc_c89=no
2851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2852 /* end confdefs.h. */
2856 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2857 struct buf { int x; };
2858 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2859 static char *e (p, i)
2865 static char *f (char * (*g) (char **, int), char **p, ...)
2870 s = g (p, va_arg (v,int));
2875 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2876 function prototypes and stuff, but not '\xHH' hex character constants.
2877 These don't provoke an error unfortunately, instead are silently treated
2878 as 'x'. The following induces an error, until -std is added to get
2879 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2880 array size at least. It's necessary to write '\x00'==0 to get something
2881 that's true only with -std. */
2882 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2884 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2885 inside strings and character constants. */
2887 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2889 int test (int i, double x);
2890 struct s1 {int (*f) (int a);};
2891 struct s2 {int (*f) (double a);};
2892 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2898 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2903 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2904 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2906 CC="$ac_save_CC $ac_arg"
2907 if ac_fn_c_try_compile "$LINENO"; then :
2908 ac_cv_prog_cc_c89=$ac_arg
2910 rm -f core conftest.err conftest.$ac_objext
2911 test "x$ac_cv_prog_cc_c89" != "xno" && break
2913 rm -f conftest.$ac_ext
2918 case "x$ac_cv_prog_cc_c89" in
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2921 $as_echo "none needed" >&6; } ;;
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2924 $as_echo "unsupported" >&6; } ;;
2926 CC="$CC $ac_cv_prog_cc_c89"
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2928 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2930 if test "x$ac_cv_prog_cc_c89" != xno; then :
2935 ac_cpp='$CPP $CPPFLAGS'
2936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2941 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2942 if test -f "$ac_dir/install-sh"; then
2944 ac_install_sh="$ac_aux_dir/install-sh -c"
2946 elif test -f "$ac_dir/install.sh"; then
2948 ac_install_sh="$ac_aux_dir/install.sh -c"
2950 elif test -f "$ac_dir/shtool"; then
2952 ac_install_sh="$ac_aux_dir/shtool install -c"
2956 if test -z "$ac_aux_dir"; then
2957 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2960 # These three variables are undocumented and unsupported,
2961 # and are intended to be withdrawn in a future Autoconf release.
2962 # They can cause serious problems if a builder's source tree is in a directory
2963 # whose full name contains unusual characters.
2964 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2965 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2966 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2969 # Find a good install program. We prefer a C program (faster),
2970 # so one script is as good as another. But avoid the broken or
2971 # incompatible versions:
2972 # SysV /etc/install, /usr/sbin/install
2973 # SunOS /usr/etc/install
2974 # IRIX /sbin/install
2976 # AmigaOS /C/install, which installs bootblocks on floppy discs
2977 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2978 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2979 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2980 # OS/2's system install, which has a completely different semantic
2981 # ./install, which can be erroneously created by make from ./install.sh.
2982 # Reject install programs that cannot install multiple files.
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2984 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2985 if test -z "$INSTALL"; then
2986 if ${ac_cv_path_install+:} false; then :
2987 $as_echo_n "(cached) " >&6
2989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2993 test -z "$as_dir" && as_dir=.
2994 # Account for people who put trailing slashes in PATH elements.
2995 case $as_dir/ in #((
2996 ./ | .// | /[cC]/* | \
2997 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2998 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3001 # OSF1 and SCO ODT 3.0 have their own names for install.
3002 # Don't use installbsd from OSF since it installs stuff as root
3004 for ac_prog in ginstall scoinst install; do
3005 for ac_exec_ext in '' $ac_executable_extensions; do
3006 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3007 if test $ac_prog = install &&
3008 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3009 # AIX install. It has an incompatible calling convention.
3011 elif test $ac_prog = install &&
3012 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3013 # program-specific install script used by HP pwplus--don't use.
3016 rm -rf conftest.one conftest.two conftest.dir
3017 echo one > conftest.one
3018 echo two > conftest.two
3020 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3021 test -s conftest.one && test -s conftest.two &&
3022 test -s conftest.dir/conftest.one &&
3023 test -s conftest.dir/conftest.two
3025 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3038 rm -rf conftest.one conftest.two conftest.dir
3041 if test "${ac_cv_path_install+set}" = set; then
3042 INSTALL=$ac_cv_path_install
3044 # As a last resort, use the slow shell script. Don't cache a
3045 # value for INSTALL within a source directory, because that will
3046 # break other packages using the cache if that directory is
3047 # removed, or if the value is a relative name.
3048 INSTALL=$ac_install_sh
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3052 $as_echo "$INSTALL" >&6; }
3054 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3055 # It thinks the first close brace ends the variable substitution.
3056 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3058 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3060 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3063 # Checks for libraries.
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BIO_ctrl in -lcrypto" >&5
3066 $as_echo_n "checking for BIO_ctrl in -lcrypto... " >&6; }
3067 if ${ac_cv_lib_crypto_BIO_ctrl+:} false; then :
3068 $as_echo_n "(cached) " >&6
3070 ac_check_lib_save_LIBS=$LIBS
3071 LIBS="-lcrypto $LIBS"
3072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3073 /* end confdefs.h. */
3075 /* Override any GCC internal prototype to avoid an error.
3076 Use char because int might match the return type of a GCC
3077 builtin and then its argument prototype would still apply. */
3090 if ac_fn_c_try_link "$LINENO"; then :
3091 ac_cv_lib_crypto_BIO_ctrl=yes
3093 ac_cv_lib_crypto_BIO_ctrl=no
3095 rm -f core conftest.err conftest.$ac_objext \
3096 conftest$ac_exeext conftest.$ac_ext
3097 LIBS=$ac_check_lib_save_LIBS
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_BIO_ctrl" >&5
3100 $as_echo "$ac_cv_lib_crypto_BIO_ctrl" >&6; }
3101 if test "x$ac_cv_lib_crypto_BIO_ctrl" = xyes; then :
3102 cat >>confdefs.h <<_ACEOF
3103 #define HAVE_LIBCRYPTO 1
3106 LIBS="-lcrypto $LIBS"
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
3111 $as_echo_n "checking for dlopen in -ldl... " >&6; }
3112 if ${ac_cv_lib_dl_dlopen+:} false; then :
3113 $as_echo_n "(cached) " >&6
3115 ac_check_lib_save_LIBS=$LIBS
3117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3118 /* end confdefs.h. */
3120 /* Override any GCC internal prototype to avoid an error.
3121 Use char because int might match the return type of a GCC
3122 builtin and then its argument prototype would still apply. */
3135 if ac_fn_c_try_link "$LINENO"; then :
3136 ac_cv_lib_dl_dlopen=yes
3138 ac_cv_lib_dl_dlopen=no
3140 rm -f core conftest.err conftest.$ac_objext \
3141 conftest$ac_exeext conftest.$ac_ext
3142 LIBS=$ac_check_lib_save_LIBS
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
3145 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
3146 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
3147 cat >>confdefs.h <<_ACEOF
3148 #define HAVE_LIBDL 1
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbm_open in -lgdbm" >&5
3156 $as_echo_n "checking for dbm_open in -lgdbm... " >&6; }
3157 if ${ac_cv_lib_gdbm_dbm_open+:} false; then :
3158 $as_echo_n "(cached) " >&6
3160 ac_check_lib_save_LIBS=$LIBS
3162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3163 /* end confdefs.h. */
3165 /* Override any GCC internal prototype to avoid an error.
3166 Use char because int might match the return type of a GCC
3167 builtin and then its argument prototype would still apply. */
3180 if ac_fn_c_try_link "$LINENO"; then :
3181 ac_cv_lib_gdbm_dbm_open=yes
3183 ac_cv_lib_gdbm_dbm_open=no
3185 rm -f core conftest.err conftest.$ac_objext \
3186 conftest$ac_exeext conftest.$ac_ext
3187 LIBS=$ac_check_lib_save_LIBS
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdbm_dbm_open" >&5
3190 $as_echo "$ac_cv_lib_gdbm_dbm_open" >&6; }
3191 if test "x$ac_cv_lib_gdbm_dbm_open" = xyes; then :
3192 cat >>confdefs.h <<_ACEOF
3193 #define HAVE_LIBGDBM 1
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbm_open in -lgdbm_compat" >&5
3201 $as_echo_n "checking for dbm_open in -lgdbm_compat... " >&6; }
3202 if ${ac_cv_lib_gdbm_compat_dbm_open+:} false; then :
3203 $as_echo_n "(cached) " >&6
3205 ac_check_lib_save_LIBS=$LIBS
3206 LIBS="-lgdbm_compat $LIBS"
3207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3208 /* end confdefs.h. */
3210 /* Override any GCC internal prototype to avoid an error.
3211 Use char because int might match the return type of a GCC
3212 builtin and then its argument prototype would still apply. */
3225 if ac_fn_c_try_link "$LINENO"; then :
3226 ac_cv_lib_gdbm_compat_dbm_open=yes
3228 ac_cv_lib_gdbm_compat_dbm_open=no
3230 rm -f core conftest.err conftest.$ac_objext \
3231 conftest$ac_exeext conftest.$ac_ext
3232 LIBS=$ac_check_lib_save_LIBS
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdbm_compat_dbm_open" >&5
3235 $as_echo "$ac_cv_lib_gdbm_compat_dbm_open" >&6; }
3236 if test "x$ac_cv_lib_gdbm_compat_dbm_open" = xyes; then :
3237 cat >>confdefs.h <<_ACEOF
3238 #define HAVE_LIBGDBM_COMPAT 1
3241 LIBS="-lgdbm_compat $LIBS"
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
3246 $as_echo_n "checking for sqrt in -lm... " >&6; }
3247 if ${ac_cv_lib_m_sqrt+:} false; then :
3248 $as_echo_n "(cached) " >&6
3250 ac_check_lib_save_LIBS=$LIBS
3252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3253 /* end confdefs.h. */
3255 /* Override any GCC internal prototype to avoid an error.
3256 Use char because int might match the return type of a GCC
3257 builtin and then its argument prototype would still apply. */
3270 if ac_fn_c_try_link "$LINENO"; then :
3271 ac_cv_lib_m_sqrt=yes
3275 rm -f core conftest.err conftest.$ac_objext \
3276 conftest$ac_exeext conftest.$ac_ext
3277 LIBS=$ac_check_lib_save_LIBS
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5
3280 $as_echo "$ac_cv_lib_m_sqrt" >&6; }
3281 if test "x$ac_cv_lib_m_sqrt" = xyes; then :
3282 cat >>confdefs.h <<_ACEOF
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for initscr in -lncursesw" >&5
3291 $as_echo_n "checking for initscr in -lncursesw... " >&6; }
3292 if ${ac_cv_lib_ncursesw_initscr+:} false; then :
3293 $as_echo_n "(cached) " >&6
3295 ac_check_lib_save_LIBS=$LIBS
3296 LIBS="-lncursesw $LIBS"
3297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3298 /* end confdefs.h. */
3300 /* Override any GCC internal prototype to avoid an error.
3301 Use char because int might match the return type of a GCC
3302 builtin and then its argument prototype would still apply. */
3315 if ac_fn_c_try_link "$LINENO"; then :
3316 ac_cv_lib_ncursesw_initscr=yes
3318 ac_cv_lib_ncursesw_initscr=no
3320 rm -f core conftest.err conftest.$ac_objext \
3321 conftest$ac_exeext conftest.$ac_ext
3322 LIBS=$ac_check_lib_save_LIBS
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncursesw_initscr" >&5
3325 $as_echo "$ac_cv_lib_ncursesw_initscr" >&6; }
3326 if test "x$ac_cv_lib_ncursesw_initscr" = xyes; then :
3327 cat >>confdefs.h <<_ACEOF
3328 #define HAVE_LIBNCURSESW 1
3331 LIBS="-lncursesw $LIBS"
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
3336 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
3337 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
3338 $as_echo_n "(cached) " >&6
3340 ac_check_lib_save_LIBS=$LIBS
3341 LIBS="-lpthread $LIBS"
3342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3343 /* end confdefs.h. */
3345 /* Override any GCC internal prototype to avoid an error.
3346 Use char because int might match the return type of a GCC
3347 builtin and then its argument prototype would still apply. */
3351 char pthread_create ();
3355 return pthread_create ();
3360 if ac_fn_c_try_link "$LINENO"; then :
3361 ac_cv_lib_pthread_pthread_create=yes
3363 ac_cv_lib_pthread_pthread_create=no
3365 rm -f core conftest.err conftest.$ac_objext \
3366 conftest$ac_exeext conftest.$ac_ext
3367 LIBS=$ac_check_lib_save_LIBS
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
3370 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
3371 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
3372 cat >>confdefs.h <<_ACEOF
3373 #define HAVE_LIBPTHREAD 1
3376 LIBS="-lpthread $LIBS"
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqlite3_initialize in -lsqlite3" >&5
3381 $as_echo_n "checking for sqlite3_initialize in -lsqlite3... " >&6; }
3382 if ${ac_cv_lib_sqlite3_sqlite3_initialize+:} false; then :
3383 $as_echo_n "(cached) " >&6
3385 ac_check_lib_save_LIBS=$LIBS
3386 LIBS="-lsqlite3 $LIBS"
3387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3388 /* end confdefs.h. */
3390 /* Override any GCC internal prototype to avoid an error.
3391 Use char because int might match the return type of a GCC
3392 builtin and then its argument prototype would still apply. */
3396 char sqlite3_initialize ();
3400 return sqlite3_initialize ();
3405 if ac_fn_c_try_link "$LINENO"; then :
3406 ac_cv_lib_sqlite3_sqlite3_initialize=yes
3408 ac_cv_lib_sqlite3_sqlite3_initialize=no
3410 rm -f core conftest.err conftest.$ac_objext \
3411 conftest$ac_exeext conftest.$ac_ext
3412 LIBS=$ac_check_lib_save_LIBS
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_initialize" >&5
3415 $as_echo "$ac_cv_lib_sqlite3_sqlite3_initialize" >&6; }
3416 if test "x$ac_cv_lib_sqlite3_sqlite3_initialize" = xyes; then :
3417 cat >>confdefs.h <<_ACEOF
3418 #define HAVE_LIBSQLITE3 1
3421 LIBS="-lsqlite3 $LIBS"
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_library_init in -lssl" >&5
3426 $as_echo_n "checking for SSL_library_init in -lssl... " >&6; }
3427 if ${ac_cv_lib_ssl_SSL_library_init+:} false; then :
3428 $as_echo_n "(cached) " >&6
3430 ac_check_lib_save_LIBS=$LIBS
3432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3433 /* end confdefs.h. */
3435 /* Override any GCC internal prototype to avoid an error.
3436 Use char because int might match the return type of a GCC
3437 builtin and then its argument prototype would still apply. */
3441 char SSL_library_init ();
3445 return SSL_library_init ();
3450 if ac_fn_c_try_link "$LINENO"; then :
3451 ac_cv_lib_ssl_SSL_library_init=yes
3453 ac_cv_lib_ssl_SSL_library_init=no
3455 rm -f core conftest.err conftest.$ac_objext \
3456 conftest$ac_exeext conftest.$ac_ext
3457 LIBS=$ac_check_lib_save_LIBS
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_library_init" >&5
3460 $as_echo "$ac_cv_lib_ssl_SSL_library_init" >&6; }
3461 if test "x$ac_cv_lib_ssl_SSL_library_init" = xyes; then :
3462 cat >>confdefs.h <<_ACEOF
3463 #define HAVE_LIBSSL 1
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
3471 $as_echo_n "checking for inflate in -lz... " >&6; }
3472 if ${ac_cv_lib_z_inflate+:} false; then :
3473 $as_echo_n "(cached) " >&6
3475 ac_check_lib_save_LIBS=$LIBS
3477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3478 /* end confdefs.h. */
3480 /* Override any GCC internal prototype to avoid an error.
3481 Use char because int might match the return type of a GCC
3482 builtin and then its argument prototype would still apply. */
3495 if ac_fn_c_try_link "$LINENO"; then :
3496 ac_cv_lib_z_inflate=yes
3498 ac_cv_lib_z_inflate=no
3500 rm -f core conftest.err conftest.$ac_objext \
3501 conftest$ac_exeext conftest.$ac_ext
3502 LIBS=$ac_check_lib_save_LIBS
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
3505 $as_echo "$ac_cv_lib_z_inflate" >&6; }
3506 if test "x$ac_cv_lib_z_inflate" = xyes; then :
3507 cat >>confdefs.h <<_ACEOF
3515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
3516 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
3517 if ${ac_cv_lib_rt_clock_gettime+:} false; then :
3518 $as_echo_n "(cached) " >&6
3520 ac_check_lib_save_LIBS=$LIBS
3522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3523 /* end confdefs.h. */
3525 /* Override any GCC internal prototype to avoid an error.
3526 Use char because int might match the return type of a GCC
3527 builtin and then its argument prototype would still apply. */
3531 char clock_gettime ();
3535 return clock_gettime ();
3540 if ac_fn_c_try_link "$LINENO"; then :
3541 ac_cv_lib_rt_clock_gettime=yes
3543 ac_cv_lib_rt_clock_gettime=no
3545 rm -f core conftest.err conftest.$ac_objext \
3546 conftest$ac_exeext conftest.$ac_ext
3547 LIBS=$ac_check_lib_save_LIBS
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
3550 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
3551 if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then :
3552 cat >>confdefs.h <<_ACEOF
3553 #define HAVE_LIBRT 1
3561 # Checks for header files.
3563 ac_cpp='$CPP $CPPFLAGS'
3564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3568 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3569 # On Suns, sometimes $CPP names a directory.
3570 if test -n "$CPP" && test -d "$CPP"; then
3573 if test -z "$CPP"; then
3574 if ${ac_cv_prog_CPP+:} false; then :
3575 $as_echo_n "(cached) " >&6
3577 # Double quotes because CPP needs to be expanded
3578 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3581 for ac_c_preproc_warn_flag in '' yes
3583 # Use a header file that comes with gcc, so configuring glibc
3584 # with a fresh cross-compiler works.
3585 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3586 # <limits.h> exists even on freestanding compilers.
3587 # On the NeXT, cc -E runs the code through the compiler's parser,
3588 # not just through cpp. "Syntax error" is here to catch this case.
3589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3590 /* end confdefs.h. */
3592 # include <limits.h>
3594 # include <assert.h>
3598 if ac_fn_c_try_cpp "$LINENO"; then :
3601 # Broken: fails on valid input.
3604 rm -f conftest.err conftest.i conftest.$ac_ext
3606 # OK, works on sane cases. Now check whether nonexistent headers
3607 # can be detected and how.
3608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3609 /* end confdefs.h. */
3610 #include <ac_nonexistent.h>
3612 if ac_fn_c_try_cpp "$LINENO"; then :
3613 # Broken: success on invalid input.
3616 # Passes both tests.
3620 rm -f conftest.err conftest.i conftest.$ac_ext
3623 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3624 rm -f conftest.i conftest.err conftest.$ac_ext
3625 if $ac_preproc_ok; then :
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3638 $as_echo "$CPP" >&6; }
3640 for ac_c_preproc_warn_flag in '' yes
3642 # Use a header file that comes with gcc, so configuring glibc
3643 # with a fresh cross-compiler works.
3644 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3645 # <limits.h> exists even on freestanding compilers.
3646 # On the NeXT, cc -E runs the code through the compiler's parser,
3647 # not just through cpp. "Syntax error" is here to catch this case.
3648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3649 /* end confdefs.h. */
3651 # include <limits.h>
3653 # include <assert.h>
3657 if ac_fn_c_try_cpp "$LINENO"; then :
3660 # Broken: fails on valid input.
3663 rm -f conftest.err conftest.i conftest.$ac_ext
3665 # OK, works on sane cases. Now check whether nonexistent headers
3666 # can be detected and how.
3667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3668 /* end confdefs.h. */
3669 #include <ac_nonexistent.h>
3671 if ac_fn_c_try_cpp "$LINENO"; then :
3672 # Broken: success on invalid input.
3675 # Passes both tests.
3679 rm -f conftest.err conftest.i conftest.$ac_ext
3682 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3683 rm -f conftest.i conftest.err conftest.$ac_ext
3684 if $ac_preproc_ok; then :
3687 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3688 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3689 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3690 See \`config.log' for more details" "$LINENO" 5; }
3694 ac_cpp='$CPP $CPPFLAGS'
3695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3701 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3702 if ${ac_cv_path_GREP+:} false; then :
3703 $as_echo_n "(cached) " >&6
3705 if test -z "$GREP"; then
3706 ac_path_GREP_found=false
3707 # Loop through the user's path and test for each of PROGNAME-LIST
3708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3709 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3712 test -z "$as_dir" && as_dir=.
3713 for ac_prog in grep ggrep; do
3714 for ac_exec_ext in '' $ac_executable_extensions; do
3715 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3716 as_fn_executable_p "$ac_path_GREP" || continue
3717 # Check for GNU ac_path_GREP and select it if it is found.
3718 # Check for GNU $ac_path_GREP
3719 case `"$ac_path_GREP" --version 2>&1` in
3721 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3724 $as_echo_n 0123456789 >"conftest.in"
3727 cat "conftest.in" "conftest.in" >"conftest.tmp"
3728 mv "conftest.tmp" "conftest.in"
3729 cp "conftest.in" "conftest.nl"
3730 $as_echo 'GREP' >> "conftest.nl"
3731 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3732 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3733 as_fn_arith $ac_count + 1 && ac_count=$as_val
3734 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3735 # Best one so far, save it but keep looking for a better one
3736 ac_cv_path_GREP="$ac_path_GREP"
3737 ac_path_GREP_max=$ac_count
3739 # 10*(2^10) chars as input seems more than enough
3740 test $ac_count -gt 10 && break
3742 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3745 $ac_path_GREP_found && break 3
3750 if test -z "$ac_cv_path_GREP"; then
3751 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3754 ac_cv_path_GREP=$GREP
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3759 $as_echo "$ac_cv_path_GREP" >&6; }
3760 GREP="$ac_cv_path_GREP"
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3764 $as_echo_n "checking for egrep... " >&6; }
3765 if ${ac_cv_path_EGREP+:} false; then :
3766 $as_echo_n "(cached) " >&6
3768 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3769 then ac_cv_path_EGREP="$GREP -E"
3771 if test -z "$EGREP"; then
3772 ac_path_EGREP_found=false
3773 # Loop through the user's path and test for each of PROGNAME-LIST
3774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3775 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3778 test -z "$as_dir" && as_dir=.
3779 for ac_prog in egrep; do
3780 for ac_exec_ext in '' $ac_executable_extensions; do
3781 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3782 as_fn_executable_p "$ac_path_EGREP" || continue
3783 # Check for GNU ac_path_EGREP and select it if it is found.
3784 # Check for GNU $ac_path_EGREP
3785 case `"$ac_path_EGREP" --version 2>&1` in
3787 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3790 $as_echo_n 0123456789 >"conftest.in"
3793 cat "conftest.in" "conftest.in" >"conftest.tmp"
3794 mv "conftest.tmp" "conftest.in"
3795 cp "conftest.in" "conftest.nl"
3796 $as_echo 'EGREP' >> "conftest.nl"
3797 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3798 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3799 as_fn_arith $ac_count + 1 && ac_count=$as_val
3800 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3801 # Best one so far, save it but keep looking for a better one
3802 ac_cv_path_EGREP="$ac_path_EGREP"
3803 ac_path_EGREP_max=$ac_count
3805 # 10*(2^10) chars as input seems more than enough
3806 test $ac_count -gt 10 && break
3808 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3811 $ac_path_EGREP_found && break 3
3816 if test -z "$ac_cv_path_EGREP"; then
3817 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3820 ac_cv_path_EGREP=$EGREP
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3826 $as_echo "$ac_cv_path_EGREP" >&6; }
3827 EGREP="$ac_cv_path_EGREP"
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3831 $as_echo_n "checking for ANSI C header files... " >&6; }
3832 if ${ac_cv_header_stdc+:} false; then :
3833 $as_echo_n "(cached) " >&6
3835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3836 /* end confdefs.h. */
3850 if ac_fn_c_try_compile "$LINENO"; then :
3851 ac_cv_header_stdc=yes
3853 ac_cv_header_stdc=no
3855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3857 if test $ac_cv_header_stdc = yes; then
3858 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3860 /* end confdefs.h. */
3864 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3865 $EGREP "memchr" >/dev/null 2>&1; then :
3868 ac_cv_header_stdc=no
3874 if test $ac_cv_header_stdc = yes; then
3875 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3877 /* end confdefs.h. */
3881 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3882 $EGREP "free" >/dev/null 2>&1; then :
3885 ac_cv_header_stdc=no
3891 if test $ac_cv_header_stdc = yes; then
3892 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3893 if test "$cross_compiling" = yes; then :
3896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3897 /* end confdefs.h. */
3900 #if ((' ' & 0x0FF) == 0x020)
3901 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3902 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3904 # define ISLOWER(c) \
3905 (('a' <= (c) && (c) <= 'i') \
3906 || ('j' <= (c) && (c) <= 'r') \
3907 || ('s' <= (c) && (c) <= 'z'))
3908 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3911 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3916 for (i = 0; i < 256; i++)
3917 if (XOR (islower (i), ISLOWER (i))
3918 || toupper (i) != TOUPPER (i))
3923 if ac_fn_c_try_run "$LINENO"; then :
3926 ac_cv_header_stdc=no
3928 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3929 conftest.$ac_objext conftest.beam conftest.$ac_ext
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3935 $as_echo "$ac_cv_header_stdc" >&6; }
3936 if test $ac_cv_header_stdc = yes; then
3938 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3942 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3943 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3944 inttypes.h stdint.h unistd.h
3946 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3947 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3949 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3950 cat >>confdefs.h <<_ACEOF
3951 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3959 for ac_header in arpa/inet.h fcntl.h limits.h locale.h memory.h netdb.h netinet/in.h stdlib.h string.h sys/socket.h unistd.h wchar.h ndbm.h gdbm-ndbm.h ncurses.h ncursesw/ncurses.h
3961 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3962 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
3963 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3964 cat >>confdefs.h <<_ACEOF
3965 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3973 # Checks for typedefs, structures, and compiler characteristics.
3974 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
3975 if test "x$ac_cv_type_pid_t" = xyes; then :
3979 cat >>confdefs.h <<_ACEOF
3985 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
3986 if test "x$ac_cv_type_size_t" = xyes; then :
3990 cat >>confdefs.h <<_ACEOF
3991 #define size_t unsigned int
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
3997 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
3998 if ${ac_cv_header_stdbool_h+:} false; then :
3999 $as_echo_n "(cached) " >&6
4001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4002 /* end confdefs.h. */
4004 #include <stdbool.h>
4006 "error: bool is not defined"
4009 "error: false is not defined"
4012 "error: false is not 0"
4015 "error: true is not defined"
4018 "error: true is not 1"
4020 #ifndef __bool_true_false_are_defined
4021 "error: __bool_true_false_are_defined is not defined"
4024 struct s { _Bool s: 1; _Bool t; } s;
4026 char a[true == 1 ? 1 : -1];
4027 char b[false == 0 ? 1 : -1];
4028 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
4029 char d[(bool) 0.5 == true ? 1 : -1];
4030 /* See body of main program for 'e'. */
4031 char f[(_Bool) 0.0 == false ? 1 : -1];
4033 char h[sizeof (_Bool)];
4035 enum { j = false, k = true, l = false * true, m = true * 256 };
4036 /* The following fails for
4037 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
4039 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
4040 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
4041 /* Catch a bug in an HP-UX C compiler. See
4042 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
4043 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
4055 /* Refer to every declared value, to avoid compiler optimizations. */
4056 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
4057 + !m + !n + !o + !p + !q + !pq);
4063 if ac_fn_c_try_compile "$LINENO"; then :
4064 ac_cv_header_stdbool_h=yes
4066 ac_cv_header_stdbool_h=no
4068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
4071 $as_echo "$ac_cv_header_stdbool_h" >&6; }
4072 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
4073 if test "x$ac_cv_type__Bool" = xyes; then :
4075 cat >>confdefs.h <<_ACEOF
4076 #define HAVE__BOOL 1
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
4084 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
4085 if ${ac_cv_type_uid_t+:} false; then :
4086 $as_echo_n "(cached) " >&6
4088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4089 /* end confdefs.h. */
4090 #include <sys/types.h>
4093 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4094 $EGREP "uid_t" >/dev/null 2>&1; then :
4095 ac_cv_type_uid_t=yes
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
4103 $as_echo "$ac_cv_type_uid_t" >&6; }
4104 if test $ac_cv_type_uid_t = no; then
4106 $as_echo "#define uid_t int" >>confdefs.h
4109 $as_echo "#define gid_t int" >>confdefs.h
4114 # Checks for library functions.
4115 for ac_header in stdlib.h
4117 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
4118 if test "x$ac_cv_header_stdlib_h" = xyes; then :
4119 cat >>confdefs.h <<_ACEOF
4120 #define HAVE_STDLIB_H 1
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
4128 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
4129 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
4130 $as_echo_n "(cached) " >&6
4132 if test "$cross_compiling" = yes; then :
4133 ac_cv_func_malloc_0_nonnull=no
4135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4136 /* end confdefs.h. */
4137 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
4138 # include <stdlib.h>
4146 return ! malloc (0);
4151 if ac_fn_c_try_run "$LINENO"; then :
4152 ac_cv_func_malloc_0_nonnull=yes
4154 ac_cv_func_malloc_0_nonnull=no
4156 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4157 conftest.$ac_objext conftest.beam conftest.$ac_ext
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
4162 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
4163 if test $ac_cv_func_malloc_0_nonnull = yes; then :
4165 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
4168 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
4170 case " $LIBOBJS " in
4171 *" malloc.$ac_objext "* ) ;;
4172 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
4177 $as_echo "#define malloc rpl_malloc" >>confdefs.h
4182 for ac_func in gethostbyname memset mkdir regcomp setlocale socket strchr strrchr strstr strtol
4184 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4185 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
4186 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
4187 cat >>confdefs.h <<_ACEOF
4188 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4195 ac_config_files="$ac_config_files Makefile"
4198 ac_config_commands="$ac_config_commands make-gen-dir"
4201 if test "x$prefix" = xNONE; then
4202 $as_echo_n "checking for prefix by " >&6
4203 # Extract the first word of "ntch", so it can be a program name with args.
4204 set dummy ntch; ac_word=$2
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4206 $as_echo_n "checking for $ac_word... " >&6; }
4207 if ${ac_cv_path_ac_prefix_program+:} false; then :
4208 $as_echo_n "(cached) " >&6
4210 case $ac_prefix_program in
4212 ac_cv_path_ac_prefix_program="$ac_prefix_program" # Let the user override the test with a path.
4215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4219 test -z "$as_dir" && as_dir=.
4220 for ac_exec_ext in '' $ac_executable_extensions; do
4221 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4222 ac_cv_path_ac_prefix_program="$as_dir/$ac_word$ac_exec_ext"
4223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4233 ac_prefix_program=$ac_cv_path_ac_prefix_program
4234 if test -n "$ac_prefix_program"; then
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prefix_program" >&5
4236 $as_echo "$ac_prefix_program" >&6; }
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4239 $as_echo "no" >&6; }
4243 if test -n "$ac_prefix_program"; then
4244 prefix=`$as_dirname -- "$ac_prefix_program" ||
4245 $as_expr X"$ac_prefix_program" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4246 X"$ac_prefix_program" : 'X\(//\)[^/]' \| \
4247 X"$ac_prefix_program" : 'X\(//\)$' \| \
4248 X"$ac_prefix_program" : 'X\(/\)' \| . 2>/dev/null ||
4249 $as_echo X"$ac_prefix_program" |
4250 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4267 prefix=`$as_dirname -- "$prefix" ||
4268 $as_expr X"$prefix" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4269 X"$prefix" : 'X\(//\)[^/]' \| \
4270 X"$prefix" : 'X\(//\)$' \| \
4271 X"$prefix" : 'X\(/\)' \| . 2>/dev/null ||
4272 $as_echo X"$prefix" |
4273 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4294 cat >confcache <<\_ACEOF
4295 # This file is a shell script that caches the results of configure
4296 # tests run on this system so they can be shared between configure
4297 # scripts and configure runs, see configure's option --config-cache.
4298 # It is not useful on other systems. If it contains results you don't
4299 # want to keep, you may remove or edit it.
4301 # config.status only pays attention to the cache file if you give it
4302 # the --recheck option to rerun configure.
4304 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4305 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4310 # The following way of writing the cache mishandles newlines in values,
4311 # but we know of no workaround that is simple, portable, and efficient.
4312 # So, we kill variables containing newlines.
4313 # Ultrix sh set writes to stderr and can't be redirected directly,
4314 # and sets the high bit in the cache file unless we assign to the vars.
4316 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4317 eval ac_val=\$$ac_var
4321 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4322 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4325 _ | IFS | as_nl) ;; #(
4326 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4327 *) { eval $ac_var=; unset $ac_var;} ;;
4333 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4334 *${as_nl}ac_space=\ *)
4335 # `set' does not quote correctly, so add quotes: double-quote
4336 # substitution turns \\\\ into \\, and sed turns \\ into \.
4339 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4342 # `set' quotes correctly as required by POSIX, so do not add quotes.
4343 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4352 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4354 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4356 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4357 if test -w "$cache_file"; then
4358 if test "x$cache_file" != "x/dev/null"; then
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4360 $as_echo "$as_me: updating cache $cache_file" >&6;}
4361 if test ! -f "$cache_file" || test -h "$cache_file"; then
4362 cat confcache >"$cache_file"
4364 case $cache_file in #(
4366 mv -f confcache "$cache_file"$$ &&
4367 mv -f "$cache_file"$$ "$cache_file" ;; #(
4369 mv -f confcache "$cache_file" ;;
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4375 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4380 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4381 # Let make expand exec_prefix.
4382 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4384 DEFS=-DHAVE_CONFIG_H
4389 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4390 # 1. Remove the extension, and $U if already installed.
4391 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4392 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4393 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4394 # will be set to the directory where LIBOBJS objects are built.
4395 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4396 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4400 LTLIBOBJS=$ac_ltlibobjs
4404 : "${CONFIG_STATUS=./config.status}"
4406 ac_clean_files_save=$ac_clean_files
4407 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4409 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4411 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4413 # Generated by $as_me.
4414 # Run this file to recreate the current configuration.
4415 # Compiler output produced by configure, useful for debugging
4416 # configure, is in config.log if it exists.
4422 SHELL=\${CONFIG_SHELL-$SHELL}
4425 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4426 ## -------------------- ##
4427 ## M4sh Initialization. ##
4428 ## -------------------- ##
4430 # Be more Bourne compatible
4431 DUALCASE=1; export DUALCASE # for MKS sh
4432 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4435 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4436 # is contrary to our usage. Disable this feature.
4437 alias -g '${1+"$@"}'='"$@"'
4438 setopt NO_GLOB_SUBST
4440 case `(set -o) 2>/dev/null` in #(
4452 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4453 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4454 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4455 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4456 # Prefer a ksh shell builtin over an external printf program on Solaris,
4457 # but without wasting forks for bash or zsh.
4458 if test -z "$BASH_VERSION$ZSH_VERSION" \
4459 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4460 as_echo='print -r --'
4461 as_echo_n='print -rn --'
4462 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4463 as_echo='printf %s\n'
4464 as_echo_n='printf %s'
4466 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4467 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4468 as_echo_n='/usr/ucb/echo -n'
4470 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4471 as_echo_n_body='eval
4475 expr "X$arg" : "X\\(.*\\)$as_nl";
4476 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4478 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4480 export as_echo_n_body
4481 as_echo_n='sh -c $as_echo_n_body as_echo'
4484 as_echo='sh -c $as_echo_body as_echo'
4487 # The user is always right.
4488 if test "${PATH_SEPARATOR+set}" != set; then
4490 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4491 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4498 # We need space, tab and new line, in precisely that order. Quoting is
4499 # there to prevent editors from complaining about space-tab.
4500 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4501 # splitting by setting IFS to empty value.)
4504 # Find who we are. Look in the path if we contain no directory separator.
4507 *[\\/]* ) as_myself=$0 ;;
4508 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4512 test -z "$as_dir" && as_dir=.
4513 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4519 # We did not find ourselves, most probably we were run as `sh COMMAND'
4520 # in which case we are not to be found in the path.
4521 if test "x$as_myself" = x; then
4524 if test ! -f "$as_myself"; then
4525 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4529 # Unset variables that we do not need and which cause bugs (e.g. in
4530 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4531 # suppresses any "Segmentation fault" message there. '((' could
4532 # trigger a bug in pdksh 5.2.14.
4533 for as_var in BASH_ENV ENV MAIL MAILPATH
4534 do eval test x\${$as_var+set} = xset \
4535 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4548 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4551 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4552 # ----------------------------------------
4553 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4554 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4555 # script with STATUS, using 1 if that was 0.
4558 as_status=$1; test $as_status -eq 0 && as_status=1
4560 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4561 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4563 $as_echo "$as_me: error: $2" >&2
4564 as_fn_exit $as_status
4568 # as_fn_set_status STATUS
4569 # -----------------------
4570 # Set $? to STATUS, without forking.
4574 } # as_fn_set_status
4578 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4588 # Portably unset VAR.
4591 { eval $1=; unset $1;}
4593 as_unset=as_fn_unset
4594 # as_fn_append VAR VALUE
4595 # ----------------------
4596 # Append the text in VALUE to the end of the definition contained in VAR. Take
4597 # advantage of any shell optimizations that allow amortized linear growth over
4598 # repeated appends, instead of the typical quadratic growth present in naive
4600 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4601 eval 'as_fn_append ()
4612 # as_fn_arith ARG...
4613 # ------------------
4614 # Perform arithmetic evaluation on the ARGs, and store the result in the
4615 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4616 # must be portable across $(()) and expr.
4617 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4618 eval 'as_fn_arith ()
4625 as_val=`expr "$@" || test $? -eq 1`
4630 if expr a : '\(a\)' >/dev/null 2>&1 &&
4631 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4637 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4638 as_basename=basename
4643 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4649 as_me=`$as_basename -- "$0" ||
4650 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4651 X"$0" : 'X\(//\)$' \| \
4652 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4654 sed '/^.*\/\([^/][^/]*\)\/*$/{
4668 # Avoid depending upon Character Ranges.
4669 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4670 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4671 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4672 as_cr_digits='0123456789'
4673 as_cr_alnum=$as_cr_Letters$as_cr_digits
4675 ECHO_C= ECHO_N= ECHO_T=
4676 case `echo -n x` in #(((((
4678 case `echo 'xy\c'` in
4679 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4681 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4688 rm -f conf$$ conf$$.exe conf$$.file
4689 if test -d conf$$.dir; then
4690 rm -f conf$$.dir/conf$$.file
4693 mkdir conf$$.dir 2>/dev/null
4695 if (echo >conf$$.file) 2>/dev/null; then
4696 if ln -s conf$$.file conf$$ 2>/dev/null; then
4698 # ... but there are two gotchas:
4699 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4700 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4701 # In both cases, we have to default to `cp -pR'.
4702 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4704 elif ln conf$$.file conf$$ 2>/dev/null; then
4712 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4713 rmdir conf$$.dir 2>/dev/null
4718 # Create "$as_dir" as a directory, including parents if necessary.
4723 -*) as_dir=./$as_dir;;
4725 test -d "$as_dir" || eval $as_mkdir_p || {
4729 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4730 *) as_qdir=$as_dir;;
4732 as_dirs="'$as_qdir' $as_dirs"
4733 as_dir=`$as_dirname -- "$as_dir" ||
4734 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4735 X"$as_dir" : 'X\(//\)[^/]' \| \
4736 X"$as_dir" : 'X\(//\)$' \| \
4737 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4738 $as_echo X"$as_dir" |
4739 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4756 test -d "$as_dir" && break
4758 test -z "$as_dirs" || eval "mkdir $as_dirs"
4759 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4763 if mkdir -p . 2>/dev/null; then
4764 as_mkdir_p='mkdir -p "$as_dir"'
4766 test -d ./-p && rmdir ./-p
4771 # as_fn_executable_p FILE
4772 # -----------------------
4773 # Test if FILE is an executable regular file.
4774 as_fn_executable_p ()
4776 test -f "$1" && test -x "$1"
4777 } # as_fn_executable_p
4779 as_executable_p=as_fn_executable_p
4781 # Sed expression to map a string onto a valid CPP name.
4782 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4784 # Sed expression to map a string onto a valid variable name.
4785 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4789 ## ----------------------------------- ##
4790 ## Main body of $CONFIG_STATUS script. ##
4791 ## ----------------------------------- ##
4793 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4795 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4796 # Save the log message, to keep $0 and so on meaningful, and to
4797 # report actual input values of CONFIG_FILES etc. instead of their
4798 # values after options handling.
4800 This file was extended by ntch $as_me 1.0.2.2, which was
4801 generated by GNU Autoconf 2.69. Invocation command line was
4803 CONFIG_FILES = $CONFIG_FILES
4804 CONFIG_HEADERS = $CONFIG_HEADERS
4805 CONFIG_LINKS = $CONFIG_LINKS
4806 CONFIG_COMMANDS = $CONFIG_COMMANDS
4809 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4814 case $ac_config_files in *"
4815 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4818 case $ac_config_headers in *"
4819 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
4823 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4824 # Files that config.status was made for.
4825 config_files="$ac_config_files"
4826 config_headers="$ac_config_headers"
4827 config_commands="$ac_config_commands"
4831 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4833 \`$as_me' instantiates files and other configuration actions
4834 from templates according to the current configuration. Unless the files
4835 and actions are specified as TAGs, all are instantiated by default.
4837 Usage: $0 [OPTION]... [TAG]...
4839 -h, --help print this help, then exit
4840 -V, --version print version number and configuration settings, then exit
4841 --config print configuration, then exit
4842 -q, --quiet, --silent
4843 do not print progress messages
4844 -d, --debug don't remove temporary files
4845 --recheck update $as_me by reconfiguring in the same conditions
4846 --file=FILE[:TEMPLATE]
4847 instantiate the configuration file FILE
4848 --header=FILE[:TEMPLATE]
4849 instantiate the configuration header FILE
4851 Configuration files:
4854 Configuration headers:
4857 Configuration commands:
4860 Report bugs to <akohta001@gmail.com>.
4861 ntch home page: <https://sourceforge.jp/projects/ntch/>."
4864 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4865 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4867 ntch config.status 1.0.2.2
4868 configured by $0, generated by GNU Autoconf 2.69,
4869 with options \\"\$ac_cs_config\\"
4871 Copyright (C) 2012 Free Software Foundation, Inc.
4872 This config.status script is free software; the Free Software Foundation
4873 gives unlimited permission to copy, distribute and modify it."
4878 test -n "\$AWK" || AWK=awk
4881 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4882 # The default lists apply if the user does not specify any file.
4888 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4889 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4893 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4905 # Handling of the options.
4906 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4908 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4909 $as_echo "$ac_cs_version"; exit ;;
4910 --config | --confi | --conf | --con | --co | --c )
4911 $as_echo "$ac_cs_config"; exit ;;
4912 --debug | --debu | --deb | --de | --d | -d )
4914 --file | --fil | --fi | --f )
4917 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4918 '') as_fn_error $? "missing file argument" ;;
4920 as_fn_append CONFIG_FILES " '$ac_optarg'"
4921 ac_need_defaults=false;;
4922 --header | --heade | --head | --hea )
4925 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4927 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
4928 ac_need_defaults=false;;
4930 # Conflict between --help and --header
4931 as_fn_error $? "ambiguous option: \`$1'
4932 Try \`$0 --help' for more information.";;
4933 --help | --hel | -h )
4934 $as_echo "$ac_cs_usage"; exit ;;
4935 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4936 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4940 -*) as_fn_error $? "unrecognized option: \`$1'
4941 Try \`$0 --help' for more information." ;;
4943 *) as_fn_append ac_config_targets " $1"
4944 ac_need_defaults=false ;;
4950 ac_configure_extra_args=
4952 if $ac_cs_silent; then
4954 ac_configure_extra_args="$ac_configure_extra_args --silent"
4958 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4959 if \$ac_cs_recheck; then
4960 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4962 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4963 CONFIG_SHELL='$SHELL'
4969 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4973 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4974 ## Running $as_me. ##
4980 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4983 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4985 # Handling of arguments.
4986 for ac_config_target in $ac_config_targets
4988 case $ac_config_target in
4989 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4990 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4991 "make-gen-dir") CONFIG_COMMANDS="$CONFIG_COMMANDS make-gen-dir" ;;
4993 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4998 # If the user did not use the arguments to specify the items to instantiate,
4999 # then the envvar interface is used. Set only those that are not.
5000 # We use the long form for the default assignment because of an extremely
5001 # bizarre bug on SunOS 4.1.3.
5002 if $ac_need_defaults; then
5003 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5004 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5005 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5008 # Have a temporary directory for convenience. Make it in the build tree
5009 # simply because there is no reason against having it here, and in addition,
5010 # creating and moving files from /tmp can sometimes cause problems.
5011 # Hook for its removal unless debugging.
5012 # Note that there is a small window in which the directory will not be cleaned:
5013 # after its creation but before its name has been assigned to `$tmp'.
5017 trap 'exit_status=$?
5019 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5021 trap 'as_fn_exit 1' 1 2 13 15
5023 # Create a (secure) tmp directory for tmp files.
5026 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5030 tmp=./conf$$-$RANDOM
5031 (umask 077 && mkdir "$tmp")
5032 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5035 # Set up the scripts for CONFIG_FILES section.
5036 # No need to generate them if there are no CONFIG_FILES.
5037 # This happens for instance with `./config.status config.h'.
5038 if test -n "$CONFIG_FILES"; then
5041 ac_cr=`echo X | tr X '\015'`
5042 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5043 # But we know of no other shell where ac_cr would be empty at this
5044 # point, so we can use a bashism as a fallback.
5045 if test "x$ac_cr" = x; then
5046 eval ac_cr=\$\'\\r\'
5048 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5049 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5055 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5060 echo "cat >conf$$subs.awk <<_ACEOF" &&
5061 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5064 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5065 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5067 for ac_last_try in false false false false false :; do
5068 . ./conf$$subs.sh ||
5069 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5071 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5072 if test $ac_delim_n = $ac_delim_num; then
5074 elif $ac_last_try; then
5075 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5077 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5082 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5083 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5087 s/^/S["/; s/!.*/"]=/
5097 s/\(.\{148\}\)..*/\1/
5099 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5104 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5111 s/\(.\{148\}\)..*/\1/
5113 s/["\\]/\\&/g; s/^/"/; s/$/"/
5117 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5122 ' <conf$$subs.awk | sed '
5127 ' >>$CONFIG_STATUS || ac_write_fail=1
5128 rm -f conf$$subs.awk
5129 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5131 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5132 for (key in S) S_is_set[key] = 1
5138 nfields = split(line, field, "@")
5140 len = length(field[1])
5141 for (i = 2; i < nfields; i++) {
5143 keylen = length(key)
5144 if (S_is_set[key]) {
5146 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5147 len += length(value) + length(field[++i])
5158 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5159 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5160 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5163 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5164 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5167 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5168 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5169 # trailing colons and then remove the whole line if VPATH becomes empty
5170 # (actually we leave an empty line to preserve line numbers).
5171 if test "x$srcdir" = x.; then
5172 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5190 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5191 fi # test -n "$CONFIG_FILES"
5193 # Set up the scripts for CONFIG_HEADERS section.
5194 # No need to generate them if there are no CONFIG_HEADERS.
5195 # This happens for instance with `./config.status Makefile'.
5196 if test -n "$CONFIG_HEADERS"; then
5197 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
5201 # Transform confdefs.h into an awk script `defines.awk', embedded as
5202 # here-document in config.status, that substitutes the proper values into
5203 # config.h.in to produce config.h.
5205 # Create a delimiter string that does not exist in confdefs.h, to ease
5206 # handling of long lines.
5208 for ac_last_try in false false :; do
5209 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
5210 if test -z "$ac_tt"; then
5212 elif $ac_last_try; then
5213 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
5215 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5219 # For the awk script, D is an array of macro values keyed by name,
5220 # likewise P contains macro parameters if any. Preserve backslash
5221 # newline sequences.
5223 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5225 s/.\{148\}/&'"$ac_delim"'/g
5228 s/^[ ]*#[ ]*define[ ][ ]*/ /
5235 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5237 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5241 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5242 D["\1"]=" \3\\\\\\n"\\/p
5244 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5249 s/.\{148\}/&'"$ac_delim"'/g
5254 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5257 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5259 ' <confdefs.h | sed '
5260 s/'"$ac_delim"'/"\\\
5261 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5263 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5264 for (key in D) D_is_set[key] = 1
5267 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5269 split(line, arg, " ")
5270 if (arg[1] == "#") {
5274 defundef = substr(arg[1], 2)
5277 split(mac1, mac2, "(") #)
5279 prefix = substr(line, 1, index(line, defundef) - 1)
5280 if (D_is_set[macro]) {
5281 # Preserve the white space surrounding the "#".
5282 print prefix "define", macro P[macro] D[macro]
5285 # Replace #undef with comments. This is necessary, for example,
5286 # in the case of _POSIX_SOURCE, which is predefined and required
5287 # on some systems where configure will not decide to define it.
5288 if (defundef == "undef") {
5289 print "/*", prefix defundef, macro, "*/"
5297 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5298 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
5299 fi # test -n "$CONFIG_HEADERS"
5302 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
5307 :[FHLC]) ac_mode=$ac_tag; continue;;
5309 case $ac_mode$ac_tag in
5311 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5312 :[FH]-) ac_tag=-:-;;
5313 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5330 -) ac_f="$ac_tmp/stdin";;
5331 *) # Look for the file first in the build tree, then in the source tree
5332 # (if the path is not absolute). The absolute path cannot be DOS-style,
5333 # because $ac_f cannot contain `:'.
5337 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5339 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5341 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5342 as_fn_append ac_file_inputs " '$ac_f'"
5345 # Let's still pretend it is `configure' which instantiates (i.e., don't
5346 # use $as_me), people would be surprised to read:
5347 # /* config.h. Generated by config.status. */
5348 configure_input='Generated from '`
5349 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5351 if test x"$ac_file" != x-; then
5352 configure_input="$ac_file. $configure_input"
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5354 $as_echo "$as_me: creating $ac_file" >&6;}
5356 # Neutralize special characters interpreted by sed in replacement strings.
5357 case $configure_input in #(
5358 *\&* | *\|* | *\\* )
5359 ac_sed_conf_input=`$as_echo "$configure_input" |
5360 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5361 *) ac_sed_conf_input=$configure_input;;
5365 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5366 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5371 ac_dir=`$as_dirname -- "$ac_file" ||
5372 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5373 X"$ac_file" : 'X\(//\)[^/]' \| \
5374 X"$ac_file" : 'X\(//\)$' \| \
5375 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5376 $as_echo X"$ac_file" |
5377 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5394 as_dir="$ac_dir"; as_fn_mkdir_p
5398 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5400 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5401 # A ".." for each directory in $ac_dir_suffix.
5402 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5403 case $ac_top_builddir_sub in
5404 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5405 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5408 ac_abs_top_builddir=$ac_pwd
5409 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5410 # for backward compatibility:
5411 ac_top_builddir=$ac_top_build_prefix
5414 .) # We are building in place.
5416 ac_top_srcdir=$ac_top_builddir_sub
5417 ac_abs_top_srcdir=$ac_pwd ;;
5418 [\\/]* | ?:[\\/]* ) # Absolute name.
5419 ac_srcdir=$srcdir$ac_dir_suffix;
5420 ac_top_srcdir=$srcdir
5421 ac_abs_top_srcdir=$srcdir ;;
5423 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5424 ac_top_srcdir=$ac_top_build_prefix$srcdir
5425 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5427 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5437 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5438 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5442 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5443 # If the template does not know about datarootdir, expand it.
5444 # FIXME: This hack should be removed a few years after 2.60.
5445 ac_datarootdir_hack=; ac_datarootdir_seen=
5456 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5457 *datarootdir*) ac_datarootdir_seen=yes;;
5458 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5460 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5462 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5463 ac_datarootdir_hack='
5464 s&@datadir@&$datadir&g
5465 s&@docdir@&$docdir&g
5466 s&@infodir@&$infodir&g
5467 s&@localedir@&$localedir&g
5468 s&@mandir@&$mandir&g
5469 s&\\\${datarootdir}&$datarootdir&g' ;;
5473 # Neutralize VPATH when `$srcdir' = `.'.
5474 # Shell code in configure.ac might set extrasub.
5475 # FIXME: do we really want to maintain this feature?
5476 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5477 ac_sed_extra="$ac_vpsub
5480 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5482 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5483 s|@configure_input@|$ac_sed_conf_input|;t t
5484 s&@top_builddir@&$ac_top_builddir_sub&;t t
5485 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5486 s&@srcdir@&$ac_srcdir&;t t
5487 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5488 s&@top_srcdir@&$ac_top_srcdir&;t t
5489 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5490 s&@builddir@&$ac_builddir&;t t
5491 s&@abs_builddir@&$ac_abs_builddir&;t t
5492 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5493 s&@INSTALL@&$ac_INSTALL&;t t
5494 $ac_datarootdir_hack
5496 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5497 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5499 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5500 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5501 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5502 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5504 which seems to be undefined. Please make sure it is defined" >&5
5505 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5506 which seems to be undefined. Please make sure it is defined" >&2;}
5508 rm -f "$ac_tmp/stdin"
5510 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5511 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5513 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5519 if test x"$ac_file" != x-; then
5521 $as_echo "/* $configure_input */" \
5522 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
5523 } >"$ac_tmp/config.h" \
5524 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5525 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5527 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5530 mv "$ac_tmp/config.h" "$ac_file" \
5531 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5534 $as_echo "/* $configure_input */" \
5535 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
5536 || as_fn_error $? "could not create -" "$LINENO" 5
5540 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5541 $as_echo "$as_me: executing $ac_file commands" >&6;}
5546 case $ac_file$ac_mode in
5547 "make-gen-dir":C) mkdir -p gen ;;
5555 ac_clean_files=$ac_clean_files_save
5557 test $ac_write_fail = 0 ||
5558 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5561 # configure is writing to config.log, and then calls config.status.
5562 # config.status does its own redirection, appending to config.log.
5563 # Unfortunately, on DOS this fails, as config.log is still kept open
5564 # by configure, so config.status won't be able to write to it; its
5565 # output is simply discarded. So we exec the FD to /dev/null,
5566 # effectively closing config.log, so it can be properly (re)opened and
5567 # appended to by config.status. When coming back to configure, we
5568 # need to make the FD available again.
5569 if test "$no_create" != yes; then
5571 ac_config_status_args=
5572 test "$silent" = yes &&
5573 ac_config_status_args="$ac_config_status_args --quiet"
5575 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5577 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5578 # would make configure fail if this is the last instruction.
5579 $ac_cs_success || as_fn_exit 1
5581 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5583 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}