2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 as_echo_n='sh -c $as_echo_n_body as_echo'
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
147 *v*x* | *x*v* ) as_opts=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1"
200 if (eval "$as_required") 2>/dev/null; then :
205 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
210 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
213 test -z "$as_dir" && as_dir=.
217 for as_base in sh bash ksh sh5; do
218 # Try only shells that exist, to save several forks.
219 as_shell=$as_dir/$as_base
220 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
222 CONFIG_SHELL=$as_shell as_have_required=yes
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
231 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
233 CONFIG_SHELL=$SHELL as_have_required=yes
238 if test "x$CONFIG_SHELL" != x; then :
240 # We cannot yet assume a decent shell, so we have to provide a
241 # neutralization value for shells without unset; and this also
242 # works around shells that cannot unset nonexistent variables.
243 # Preserve -v and -x to the replacement shell.
246 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
248 *v*x* | *x*v* ) as_opts=-vx ;;
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
260 if test x$as_have_required = xno; then :
261 $as_echo "$0: This script requires a shell more modern than all"
262 $as_echo "$0: the shells that I found on your system."
263 if test x${ZSH_VERSION+set} = xset ; then
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
276 SHELL=${CONFIG_SHELL-/bin/sh}
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE= GREP_OPTIONS=
280 unset CLICOLOR_FORCE GREP_OPTIONS
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
287 # Portably unset VAR.
290 { eval $1=; unset $1;}
294 # as_fn_set_status STATUS
295 # -----------------------
296 # Set $? to STATUS, without forking.
304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
314 # Create "$as_dir" as a directory, including parents if necessary.
319 -*) as_dir=./$as_dir;;
321 test -d "$as_dir" || eval $as_mkdir_p || {
325 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328 as_dirs="'$as_qdir' $as_dirs"
329 as_dir=`$as_dirname -- "$as_dir" ||
330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 X"$as_dir" : 'X\(//\)[^/]' \| \
332 X"$as_dir" : 'X\(//\)$' \| \
333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334 $as_echo X"$as_dir" |
335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
352 test -d "$as_dir" && break
354 test -z "$as_dirs" || eval "mkdir $as_dirs"
355 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
360 # as_fn_executable_p FILE
361 # -----------------------
362 # Test if FILE is an executable regular file.
363 as_fn_executable_p ()
365 test -f "$1" && test -x "$1"
366 } # as_fn_executable_p
367 # as_fn_append VAR VALUE
368 # ----------------------
369 # Append the text in VALUE to the end of the definition contained in VAR. Take
370 # advantage of any shell optimizations that allow amortized linear growth over
371 # repeated appends, instead of the typical quadratic growth present in naive
373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
374 eval 'as_fn_append ()
387 # Perform arithmetic evaluation on the ARGs, and store the result in the
388 # global $as_val. Take advantage of shells that can avoid forks. The arguments
389 # must be portable across $(()) and expr.
390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
398 as_val=`expr "$@" || test $? -eq 1`
403 # as_fn_error STATUS ERROR [LINENO LOG_FD]
404 # ----------------------------------------
405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407 # script with STATUS, using 1 if that was 0.
410 as_status=$1; test $as_status -eq 0 && as_status=1
412 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
415 $as_echo "$as_me: error: $2" >&2
416 as_fn_exit $as_status
419 if expr a : '\(a\)' >/dev/null 2>&1 &&
420 test "X`expr 00001 : '.*\(...\)'`" = X001; then
426 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
432 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
438 as_me=`$as_basename -- "$0" ||
439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440 X"$0" : 'X\(//\)$' \| \
441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
443 sed '/^.*\/\([^/][^/]*\)\/*$/{
457 # Avoid depending upon Character Ranges.
458 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
459 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
461 as_cr_digits='0123456789'
462 as_cr_alnum=$as_cr_Letters$as_cr_digits
465 as_lineno_1=$LINENO as_lineno_1a=$LINENO
466 as_lineno_2=$LINENO as_lineno_2a=$LINENO
467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 chmod +x "$as_me.lineno" ||
486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec=no; export _as_can_reexec
492 # Don't try to exec as it changes $[0], causing all sort of problems
493 # (the dirname of $[0] is not the place where we might find the
494 # original and so on. Autoconf is especially sensitive to this).
496 # Exit status is that of the last command.
500 ECHO_C= ECHO_N= ECHO_T=
501 case `echo -n x` in #(((((
503 case `echo 'xy\c'` in
504 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
506 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
513 rm -f conf$$ conf$$.exe conf$$.file
514 if test -d conf$$.dir; then
515 rm -f conf$$.dir/conf$$.file
518 mkdir conf$$.dir 2>/dev/null
520 if (echo >conf$$.file) 2>/dev/null; then
521 if ln -s conf$$.file conf$$ 2>/dev/null; then
523 # ... but there are two gotchas:
524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526 # In both cases, we have to default to `cp -pR'.
527 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
529 elif ln conf$$.file conf$$ 2>/dev/null; then
537 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
538 rmdir conf$$.dir 2>/dev/null
540 if mkdir -p . 2>/dev/null; then
541 as_mkdir_p='mkdir -p "$as_dir"'
543 test -d ./-p && rmdir ./-p
548 as_executable_p=as_fn_executable_p
550 # Sed expression to map a string onto a valid CPP name.
551 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
553 # Sed expression to map a string onto a valid variable name.
554 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557 test -n "$DJDIR" || exec 7<&0 </dev/null
561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562 # so uname gets run too.
563 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
568 ac_default_prefix=/usr/local
570 ac_config_libobj_dir=.
577 # Identity of this package.
585 ac_unique_file="cpmfs.c"
586 # Factoring default headers for most tests.
587 ac_includes_default="\
589 #ifdef HAVE_SYS_TYPES_H
590 # include <sys/types.h>
592 #ifdef HAVE_SYS_STAT_H
593 # include <sys/stat.h>
599 # ifdef HAVE_STDLIB_H
604 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
609 #ifdef HAVE_STRINGS_H
610 # include <strings.h>
612 #ifdef HAVE_INTTYPES_H
613 # include <inttypes.h>
622 ac_subst_vars='LTLIBOBJS
680 program_transform_name
693 enable_option_checking
700 ac_precious_vars='build_alias
711 # Initialize some variables set by options.
713 ac_init_version=false
714 ac_unrecognized_opts=
716 # The variables have the same names as the options, with
717 # dashes changed to underlines.
725 program_transform_name=s,x,x,
733 # Installation directory options.
734 # These are left unexpanded so users can "make install exec_prefix=/foo"
735 # and all the variables that are supposed to be based on exec_prefix
736 # by default will actually change.
737 # Use braces instead of parens because sh, perl, etc. also accept them.
738 # (The list follows the same order as the GNU Coding Standards.)
739 bindir='${exec_prefix}/bin'
740 sbindir='${exec_prefix}/sbin'
741 libexecdir='${exec_prefix}/libexec'
742 datarootdir='${prefix}/share'
743 datadir='${datarootdir}'
744 sysconfdir='${prefix}/etc'
745 sharedstatedir='${prefix}/com'
746 localstatedir='${prefix}/var'
747 includedir='${prefix}/include'
748 oldincludedir='/usr/include'
749 docdir='${datarootdir}/doc/${PACKAGE}'
750 infodir='${datarootdir}/info'
755 libdir='${exec_prefix}/lib'
756 localedir='${datarootdir}/locale'
757 mandir='${datarootdir}/man'
763 # If the previous option needs an argument, assign it.
764 if test -n "$ac_prev"; then
765 eval $ac_prev=\$ac_option
771 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
776 # Accept the important Cygnus configure options, so we can diagnose typos.
778 case $ac_dashdash$ac_option in
782 -bindir | --bindir | --bindi | --bind | --bin | --bi)
784 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
787 -build | --build | --buil | --bui | --bu)
788 ac_prev=build_alias ;;
789 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
790 build_alias=$ac_optarg ;;
792 -cache-file | --cache-file | --cache-fil | --cache-fi \
793 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
794 ac_prev=cache_file ;;
795 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
796 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
797 cache_file=$ac_optarg ;;
800 cache_file=config.cache ;;
802 -datadir | --datadir | --datadi | --datad)
804 -datadir=* | --datadir=* | --datadi=* | --datad=*)
805 datadir=$ac_optarg ;;
807 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
808 | --dataroo | --dataro | --datar)
809 ac_prev=datarootdir ;;
810 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
811 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
812 datarootdir=$ac_optarg ;;
814 -disable-* | --disable-*)
815 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
816 # Reject names that are not valid shell variable names.
817 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
818 as_fn_error $? "invalid feature name: $ac_useropt"
819 ac_useropt_orig=$ac_useropt
820 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
821 case $ac_user_opts in
825 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
826 ac_unrecognized_sep=', ';;
828 eval enable_$ac_useropt=no ;;
830 -docdir | --docdir | --docdi | --doc | --do)
832 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
835 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
837 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
840 -enable-* | --enable-*)
841 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
842 # Reject names that are not valid shell variable names.
843 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
844 as_fn_error $? "invalid feature name: $ac_useropt"
845 ac_useropt_orig=$ac_useropt
846 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
847 case $ac_user_opts in
851 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
852 ac_unrecognized_sep=', ';;
854 eval enable_$ac_useropt=\$ac_optarg ;;
856 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
857 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
858 | --exec | --exe | --ex)
859 ac_prev=exec_prefix ;;
860 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
861 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
862 | --exec=* | --exe=* | --ex=*)
863 exec_prefix=$ac_optarg ;;
865 -gas | --gas | --ga | --g)
866 # Obsolete; use --with-gas.
869 -help | --help | --hel | --he | -h)
871 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
872 ac_init_help=recursive ;;
873 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
874 ac_init_help=short ;;
876 -host | --host | --hos | --ho)
877 ac_prev=host_alias ;;
878 -host=* | --host=* | --hos=* | --ho=*)
879 host_alias=$ac_optarg ;;
881 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
883 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
885 htmldir=$ac_optarg ;;
887 -includedir | --includedir | --includedi | --included | --include \
888 | --includ | --inclu | --incl | --inc)
889 ac_prev=includedir ;;
890 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
891 | --includ=* | --inclu=* | --incl=* | --inc=*)
892 includedir=$ac_optarg ;;
894 -infodir | --infodir | --infodi | --infod | --info | --inf)
896 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
897 infodir=$ac_optarg ;;
899 -libdir | --libdir | --libdi | --libd)
901 -libdir=* | --libdir=* | --libdi=* | --libd=*)
904 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
905 | --libexe | --libex | --libe)
906 ac_prev=libexecdir ;;
907 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
908 | --libexe=* | --libex=* | --libe=*)
909 libexecdir=$ac_optarg ;;
911 -localedir | --localedir | --localedi | --localed | --locale)
913 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
914 localedir=$ac_optarg ;;
916 -localstatedir | --localstatedir | --localstatedi | --localstated \
917 | --localstate | --localstat | --localsta | --localst | --locals)
918 ac_prev=localstatedir ;;
919 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
920 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
921 localstatedir=$ac_optarg ;;
923 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
925 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
929 # Obsolete; use --without-fp.
932 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
933 | --no-cr | --no-c | -n)
936 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
937 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
940 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
941 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
942 | --oldin | --oldi | --old | --ol | --o)
943 ac_prev=oldincludedir ;;
944 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
945 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
946 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
947 oldincludedir=$ac_optarg ;;
949 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
951 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
954 -program-prefix | --program-prefix | --program-prefi | --program-pref \
955 | --program-pre | --program-pr | --program-p)
956 ac_prev=program_prefix ;;
957 -program-prefix=* | --program-prefix=* | --program-prefi=* \
958 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
959 program_prefix=$ac_optarg ;;
961 -program-suffix | --program-suffix | --program-suffi | --program-suff \
962 | --program-suf | --program-su | --program-s)
963 ac_prev=program_suffix ;;
964 -program-suffix=* | --program-suffix=* | --program-suffi=* \
965 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
966 program_suffix=$ac_optarg ;;
968 -program-transform-name | --program-transform-name \
969 | --program-transform-nam | --program-transform-na \
970 | --program-transform-n | --program-transform- \
971 | --program-transform | --program-transfor \
972 | --program-transfo | --program-transf \
973 | --program-trans | --program-tran \
974 | --progr-tra | --program-tr | --program-t)
975 ac_prev=program_transform_name ;;
976 -program-transform-name=* | --program-transform-name=* \
977 | --program-transform-nam=* | --program-transform-na=* \
978 | --program-transform-n=* | --program-transform-=* \
979 | --program-transform=* | --program-transfor=* \
980 | --program-transfo=* | --program-transf=* \
981 | --program-trans=* | --program-tran=* \
982 | --progr-tra=* | --program-tr=* | --program-t=*)
983 program_transform_name=$ac_optarg ;;
985 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
987 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
990 -psdir | --psdir | --psdi | --psd | --ps)
992 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
995 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
996 | -silent | --silent | --silen | --sile | --sil)
999 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1001 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1003 sbindir=$ac_optarg ;;
1005 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1006 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1007 | --sharedst | --shareds | --shared | --share | --shar \
1009 ac_prev=sharedstatedir ;;
1010 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1011 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1012 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1014 sharedstatedir=$ac_optarg ;;
1016 -site | --site | --sit)
1018 -site=* | --site=* | --sit=*)
1021 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1023 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1024 srcdir=$ac_optarg ;;
1026 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1027 | --syscon | --sysco | --sysc | --sys | --sy)
1028 ac_prev=sysconfdir ;;
1029 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1030 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1031 sysconfdir=$ac_optarg ;;
1033 -target | --target | --targe | --targ | --tar | --ta | --t)
1034 ac_prev=target_alias ;;
1035 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1036 target_alias=$ac_optarg ;;
1038 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1041 -version | --version | --versio | --versi | --vers | -V)
1042 ac_init_version=: ;;
1045 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
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--with-$ac_useropt_orig"
1056 ac_unrecognized_sep=', ';;
1058 eval with_$ac_useropt=\$ac_optarg ;;
1060 -without-* | --without-*)
1061 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1062 # Reject names that are not valid shell variable names.
1063 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1064 as_fn_error $? "invalid package name: $ac_useropt"
1065 ac_useropt_orig=$ac_useropt
1066 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1067 case $ac_user_opts in
1071 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1072 ac_unrecognized_sep=', ';;
1074 eval with_$ac_useropt=no ;;
1077 # Obsolete; use --with-x.
1080 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1081 | --x-incl | --x-inc | --x-in | --x-i)
1082 ac_prev=x_includes ;;
1083 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1084 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1085 x_includes=$ac_optarg ;;
1087 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1088 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1089 ac_prev=x_libraries ;;
1090 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1091 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1092 x_libraries=$ac_optarg ;;
1094 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1095 Try \`$0 --help' for more information"
1099 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1100 # Reject names that are not valid shell variable names.
1101 case $ac_envvar in #(
1102 '' | [0-9]* | *[!_$as_cr_alnum]* )
1103 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1105 eval $ac_envvar=\$ac_optarg
1106 export $ac_envvar ;;
1109 # FIXME: should be removed in autoconf 3.0.
1110 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1111 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1112 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1113 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1119 if test -n "$ac_prev"; then
1120 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1121 as_fn_error $? "missing argument to $ac_option"
1124 if test -n "$ac_unrecognized_opts"; then
1125 case $enable_option_checking in
1127 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1128 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1132 # Check all directory arguments for consistency.
1133 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1134 datadir sysconfdir sharedstatedir localstatedir includedir \
1135 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1136 libdir localedir mandir
1138 eval ac_val=\$$ac_var
1139 # Remove trailing slashes.
1142 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1143 eval $ac_var=\$ac_val;;
1145 # Be sure to have absolute directory names.
1147 [\\/$]* | ?:[\\/]* ) continue;;
1148 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1150 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1153 # There might be people who depend on the old broken behavior: `$host'
1154 # used to hold the argument of --host etc.
1155 # FIXME: To remove some day.
1158 target=$target_alias
1160 # FIXME: To remove some day.
1161 if test "x$host_alias" != x; then
1162 if test "x$build_alias" = x; then
1163 cross_compiling=maybe
1164 elif test "x$build_alias" != "x$host_alias"; then
1170 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1172 test "$silent" = yes && exec 6>/dev/null
1175 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1176 ac_ls_di=`ls -di .` &&
1177 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1178 as_fn_error $? "working directory cannot be determined"
1179 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1180 as_fn_error $? "pwd does not report name of working directory"
1183 # Find the source files, if location was not specified.
1184 if test -z "$srcdir"; then
1185 ac_srcdir_defaulted=yes
1186 # Try the directory containing this script, then the parent directory.
1187 ac_confdir=`$as_dirname -- "$as_myself" ||
1188 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1189 X"$as_myself" : 'X\(//\)[^/]' \| \
1190 X"$as_myself" : 'X\(//\)$' \| \
1191 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1192 $as_echo X"$as_myself" |
1193 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1211 if test ! -r "$srcdir/$ac_unique_file"; then
1215 ac_srcdir_defaulted=no
1217 if test ! -r "$srcdir/$ac_unique_file"; then
1218 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1219 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1221 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1223 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1225 # When building in place, set srcdir=.
1226 if test "$ac_abs_confdir" = "$ac_pwd"; then
1229 # Remove unnecessary trailing slashes from srcdir.
1230 # Double slashes in file names in object file debugging info
1231 # mess up M-x gdb in Emacs.
1233 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1235 for ac_var in $ac_precious_vars; do
1236 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1237 eval ac_env_${ac_var}_value=\$${ac_var}
1238 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1239 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1243 # Report the --help message.
1245 if test "$ac_init_help" = "long"; then
1246 # Omit some internal or obsolete options to make the list less imposing.
1247 # This message is too long to be a string in the A/UX 3.1 sh.
1249 \`configure' configures this package to adapt to many kinds of systems.
1251 Usage: $0 [OPTION]... [VAR=VALUE]...
1253 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1254 VAR=VALUE. See below for descriptions of some of the useful variables.
1256 Defaults for the options are specified in brackets.
1259 -h, --help display this help and exit
1260 --help=short display options specific to this package
1261 --help=recursive display the short help of all the included packages
1262 -V, --version display version information and exit
1263 -q, --quiet, --silent do not print \`checking ...' messages
1264 --cache-file=FILE cache test results in FILE [disabled]
1265 -C, --config-cache alias for \`--cache-file=config.cache'
1266 -n, --no-create do not create output files
1267 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1269 Installation directories:
1270 --prefix=PREFIX install architecture-independent files in PREFIX
1271 [$ac_default_prefix]
1272 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1275 By default, \`make install' will install all the files in
1276 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1277 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1278 for instance \`--prefix=\$HOME'.
1280 For better control, use the options below.
1282 Fine tuning of the installation directories:
1283 --bindir=DIR user executables [EPREFIX/bin]
1284 --sbindir=DIR system admin executables [EPREFIX/sbin]
1285 --libexecdir=DIR program executables [EPREFIX/libexec]
1286 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1287 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1288 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1289 --libdir=DIR object code libraries [EPREFIX/lib]
1290 --includedir=DIR C header files [PREFIX/include]
1291 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1292 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1293 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1294 --infodir=DIR info documentation [DATAROOTDIR/info]
1295 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1296 --mandir=DIR man documentation [DATAROOTDIR/man]
1297 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1298 --htmldir=DIR html documentation [DOCDIR]
1299 --dvidir=DIR dvi documentation [DOCDIR]
1300 --pdfdir=DIR pdf documentation [DOCDIR]
1301 --psdir=DIR ps documentation [DOCDIR]
1307 --build=BUILD configure for building on BUILD [guessed]
1308 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1312 if test -n "$ac_init_help"; then
1317 --disable-option-checking ignore unrecognized --enable/--with options
1318 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1319 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1320 --disable-largefile omit support for large files
1323 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1324 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1325 --with-diskdefs Specify diskdefs location
1326 --with-defformat Specify default format (ibm-3740)
1327 --with-libdsk Specify path to libdsk library
1328 --with-dmalloc Specify path to dmalloc library
1330 Some influential environment variables:
1331 CC C compiler command
1332 CFLAGS C compiler flags
1333 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1334 nonstandard directory <lib dir>
1335 LIBS libraries to pass to the linker, e.g. -l<library>
1336 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1337 you have headers in a nonstandard directory <include dir>
1340 Use these variables to override the choices made by `configure' or to help
1341 it to find libraries and programs with nonstandard names/locations.
1343 Report bugs to the package provider.
1348 if test "$ac_init_help" = "recursive"; then
1349 # If there are subdirs, report their specific --help.
1350 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1351 test -d "$ac_dir" ||
1352 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1357 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1359 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1360 # A ".." for each directory in $ac_dir_suffix.
1361 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1362 case $ac_top_builddir_sub in
1363 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1364 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1367 ac_abs_top_builddir=$ac_pwd
1368 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1369 # for backward compatibility:
1370 ac_top_builddir=$ac_top_build_prefix
1373 .) # We are building in place.
1375 ac_top_srcdir=$ac_top_builddir_sub
1376 ac_abs_top_srcdir=$ac_pwd ;;
1377 [\\/]* | ?:[\\/]* ) # Absolute name.
1378 ac_srcdir=$srcdir$ac_dir_suffix;
1379 ac_top_srcdir=$srcdir
1380 ac_abs_top_srcdir=$srcdir ;;
1382 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1383 ac_top_srcdir=$ac_top_build_prefix$srcdir
1384 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1386 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1388 cd "$ac_dir" || { ac_status=$?; continue; }
1389 # Check for guested configure.
1390 if test -f "$ac_srcdir/configure.gnu"; then
1392 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1393 elif test -f "$ac_srcdir/configure"; then
1395 $SHELL "$ac_srcdir/configure" --help=recursive
1397 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1399 cd "$ac_pwd" || { ac_status=$?; break; }
1403 test -n "$ac_init_help" && exit $ac_status
1404 if $ac_init_version; then
1407 generated by GNU Autoconf 2.69
1409 Copyright (C) 2012 Free Software Foundation, Inc.
1410 This configure script is free software; the Free Software Foundation
1411 gives unlimited permission to copy, distribute and modify it.
1416 ## ------------------------ ##
1417 ## Autoconf initialization. ##
1418 ## ------------------------ ##
1420 # ac_fn_c_try_compile LINENO
1421 # --------------------------
1422 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1423 ac_fn_c_try_compile ()
1425 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1426 rm -f conftest.$ac_objext
1427 if { { ac_try="$ac_compile"
1429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1430 *) ac_try_echo=$ac_try;;
1432 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1433 $as_echo "$ac_try_echo"; } >&5
1434 (eval "$ac_compile") 2>conftest.err
1436 if test -s conftest.err; then
1437 grep -v '^ *+' conftest.err >conftest.er1
1438 cat conftest.er1 >&5
1439 mv -f conftest.er1 conftest.err
1441 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1442 test $ac_status = 0; } && {
1443 test -z "$ac_c_werror_flag" ||
1444 test ! -s conftest.err
1445 } && test -s conftest.$ac_objext; then :
1448 $as_echo "$as_me: failed program was:" >&5
1449 sed 's/^/| /' conftest.$ac_ext >&5
1453 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1454 as_fn_set_status $ac_retval
1456 } # ac_fn_c_try_compile
1458 # ac_fn_c_try_cpp LINENO
1459 # ----------------------
1460 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1463 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1464 if { { ac_try="$ac_cpp conftest.$ac_ext"
1466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1467 *) ac_try_echo=$ac_try;;
1469 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1470 $as_echo "$ac_try_echo"; } >&5
1471 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1473 if test -s conftest.err; then
1474 grep -v '^ *+' conftest.err >conftest.er1
1475 cat conftest.er1 >&5
1476 mv -f conftest.er1 conftest.err
1478 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1479 test $ac_status = 0; } > conftest.i && {
1480 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1481 test ! -s conftest.err
1485 $as_echo "$as_me: failed program was:" >&5
1486 sed 's/^/| /' conftest.$ac_ext >&5
1490 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1491 as_fn_set_status $ac_retval
1495 # ac_fn_c_try_link LINENO
1496 # -----------------------
1497 # Try to link conftest.$ac_ext, and return whether this succeeded.
1500 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1501 rm -f conftest.$ac_objext conftest$ac_exeext
1502 if { { ac_try="$ac_link"
1504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1505 *) ac_try_echo=$ac_try;;
1507 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1508 $as_echo "$ac_try_echo"; } >&5
1509 (eval "$ac_link") 2>conftest.err
1511 if test -s conftest.err; then
1512 grep -v '^ *+' conftest.err >conftest.er1
1513 cat conftest.er1 >&5
1514 mv -f conftest.er1 conftest.err
1516 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1517 test $ac_status = 0; } && {
1518 test -z "$ac_c_werror_flag" ||
1519 test ! -s conftest.err
1520 } && test -s conftest$ac_exeext && {
1521 test "$cross_compiling" = yes ||
1522 test -x conftest$ac_exeext
1526 $as_echo "$as_me: failed program was:" >&5
1527 sed 's/^/| /' conftest.$ac_ext >&5
1531 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1532 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1533 # interfere with the next link command; also delete a directory that is
1534 # left behind by Apple's compiler. We do this before executing the actions.
1535 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1536 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1537 as_fn_set_status $ac_retval
1539 } # ac_fn_c_try_link
1541 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1542 # -------------------------------------------------------
1543 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1544 # the include files in INCLUDES and setting the cache variable VAR
1546 ac_fn_c_check_header_mongrel ()
1548 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1549 if eval \${$3+:} false; then :
1550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1551 $as_echo_n "checking for $2... " >&6; }
1552 if eval \${$3+:} false; then :
1553 $as_echo_n "(cached) " >&6
1556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1557 $as_echo "$ac_res" >&6; }
1559 # Is the header compilable?
1560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1561 $as_echo_n "checking $2 usability... " >&6; }
1562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1563 /* end confdefs.h. */
1567 if ac_fn_c_try_compile "$LINENO"; then :
1568 ac_header_compiler=yes
1570 ac_header_compiler=no
1572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1574 $as_echo "$ac_header_compiler" >&6; }
1576 # Is the header present?
1577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1578 $as_echo_n "checking $2 presence... " >&6; }
1579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1580 /* end confdefs.h. */
1583 if ac_fn_c_try_cpp "$LINENO"; then :
1584 ac_header_preproc=yes
1586 ac_header_preproc=no
1588 rm -f conftest.err conftest.i conftest.$ac_ext
1589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1590 $as_echo "$ac_header_preproc" >&6; }
1592 # So? What about this header?
1593 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1596 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1598 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1602 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1604 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1605 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1606 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1607 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1608 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1609 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1610 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1614 $as_echo_n "checking for $2... " >&6; }
1615 if eval \${$3+:} false; then :
1616 $as_echo_n "(cached) " >&6
1618 eval "$3=\$ac_header_compiler"
1621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1622 $as_echo "$ac_res" >&6; }
1624 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1626 } # ac_fn_c_check_header_mongrel
1628 # ac_fn_c_try_run LINENO
1629 # ----------------------
1630 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1631 # that executables *can* be run.
1634 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1635 if { { ac_try="$ac_link"
1637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1638 *) ac_try_echo=$ac_try;;
1640 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1641 $as_echo "$ac_try_echo"; } >&5
1642 (eval "$ac_link") 2>&5
1644 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1645 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1646 { { case "(($ac_try" in
1647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1648 *) ac_try_echo=$ac_try;;
1650 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1651 $as_echo "$ac_try_echo"; } >&5
1652 (eval "$ac_try") 2>&5
1654 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1655 test $ac_status = 0; }; }; then :
1658 $as_echo "$as_me: program exited with status $ac_status" >&5
1659 $as_echo "$as_me: failed program was:" >&5
1660 sed 's/^/| /' conftest.$ac_ext >&5
1662 ac_retval=$ac_status
1664 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1665 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1666 as_fn_set_status $ac_retval
1670 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1671 # -------------------------------------------------------
1672 # Tests whether HEADER exists and can be compiled using the include files in
1673 # INCLUDES, setting the cache variable VAR accordingly.
1674 ac_fn_c_check_header_compile ()
1676 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1678 $as_echo_n "checking for $2... " >&6; }
1679 if eval \${$3+:} false; then :
1680 $as_echo_n "(cached) " >&6
1682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1683 /* end confdefs.h. */
1687 if ac_fn_c_try_compile "$LINENO"; then :
1692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1696 $as_echo "$ac_res" >&6; }
1697 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1699 } # ac_fn_c_check_header_compile
1701 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1702 # -------------------------------------------
1703 # Tests whether TYPE exists after having included INCLUDES, setting cache
1704 # variable VAR accordingly.
1705 ac_fn_c_check_type ()
1707 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1709 $as_echo_n "checking for $2... " >&6; }
1710 if eval \${$3+:} false; then :
1711 $as_echo_n "(cached) " >&6
1714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1715 /* end confdefs.h. */
1726 if ac_fn_c_try_compile "$LINENO"; then :
1727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1728 /* end confdefs.h. */
1739 if ac_fn_c_try_compile "$LINENO"; then :
1744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1750 $as_echo "$ac_res" >&6; }
1751 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1753 } # ac_fn_c_check_type
1755 # ac_fn_c_check_func LINENO FUNC VAR
1756 # ----------------------------------
1757 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1758 ac_fn_c_check_func ()
1760 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1762 $as_echo_n "checking for $2... " >&6; }
1763 if eval \${$3+:} false; then :
1764 $as_echo_n "(cached) " >&6
1766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1767 /* end confdefs.h. */
1768 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1769 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1770 #define $2 innocuous_$2
1772 /* System header to define __stub macros and hopefully few prototypes,
1773 which can conflict with char $2 (); below.
1774 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1775 <limits.h> exists even on freestanding compilers. */
1778 # include <limits.h>
1780 # include <assert.h>
1785 /* Override any GCC internal prototype to avoid an error.
1786 Use char because int might match the return type of a GCC
1787 builtin and then its argument prototype would still apply. */
1792 /* The GNU C library defines this for functions which it implements
1793 to always fail with ENOSYS. Some functions are actually named
1794 something starting with __ and the normal name is an alias. */
1795 #if defined __stub_$2 || defined __stub___$2
1807 if ac_fn_c_try_link "$LINENO"; then :
1812 rm -f core conftest.err conftest.$ac_objext \
1813 conftest$ac_exeext conftest.$ac_ext
1816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1817 $as_echo "$ac_res" >&6; }
1818 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1820 } # ac_fn_c_check_func
1821 cat >config.log <<_ACEOF
1822 This file contains any messages produced by compilers while
1823 running configure, to aid debugging if configure makes a mistake.
1825 It was created by $as_me, which was
1826 generated by GNU Autoconf 2.69. Invocation command line was
1838 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1839 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1840 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1841 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1842 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1844 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1845 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1847 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1848 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1849 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1850 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1851 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1852 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1853 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1861 test -z "$as_dir" && as_dir=.
1862 $as_echo "PATH: $as_dir"
1878 # Keep a trace of the command line.
1879 # Strip out --no-create and --no-recursion so they do not pile up.
1880 # Strip out --silent because we don't want to record it for future runs.
1881 # Also quote any args containing shell meta-characters.
1882 # Make two passes to allow for proper duplicate-argument suppression.
1886 ac_must_keep_next=false
1892 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1893 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1894 | -silent | --silent | --silen | --sile | --sil)
1897 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1900 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1902 as_fn_append ac_configure_args1 " '$ac_arg'"
1903 if test $ac_must_keep_next = true; then
1904 ac_must_keep_next=false # Got value, back to normal.
1907 *=* | --config-cache | -C | -disable-* | --disable-* \
1908 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1909 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1910 | -with-* | --with-* | -without-* | --without-* | --x)
1911 case "$ac_configure_args0 " in
1912 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1915 -* ) ac_must_keep_next=true ;;
1918 as_fn_append ac_configure_args " '$ac_arg'"
1923 { ac_configure_args0=; unset ac_configure_args0;}
1924 { ac_configure_args1=; unset ac_configure_args1;}
1926 # When interrupted or exit'd, cleanup temporary files, and complete
1927 # config.log. We remove comments because anyway the quotes in there
1928 # would cause problems or look ugly.
1929 # WARNING: Use '\'' to represent an apostrophe within the trap.
1930 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1931 trap 'exit_status=$?
1932 # Save into config.log some information that might help in debugging.
1936 $as_echo "## ---------------- ##
1937 ## Cache variables. ##
1938 ## ---------------- ##"
1940 # The following way of writing the cache mishandles newlines in values,
1942 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1943 eval ac_val=\$$ac_var
1947 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1948 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1951 _ | IFS | as_nl) ;; #(
1952 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1953 *) { eval $ac_var=; unset $ac_var;} ;;
1958 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1959 *${as_nl}ac_space=\ *)
1961 "s/'\''/'\''\\\\'\'''\''/g;
1962 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1965 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1972 $as_echo "## ----------------- ##
1973 ## Output variables. ##
1974 ## ----------------- ##"
1976 for ac_var in $ac_subst_vars
1978 eval ac_val=\$$ac_var
1980 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1982 $as_echo "$ac_var='\''$ac_val'\''"
1986 if test -n "$ac_subst_files"; then
1987 $as_echo "## ------------------- ##
1988 ## File substitutions. ##
1989 ## ------------------- ##"
1991 for ac_var in $ac_subst_files
1993 eval ac_val=\$$ac_var
1995 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1997 $as_echo "$ac_var='\''$ac_val'\''"
2002 if test -s confdefs.h; then
2003 $as_echo "## ----------- ##
2010 test "$ac_signal" != 0 &&
2011 $as_echo "$as_me: caught signal $ac_signal"
2012 $as_echo "$as_me: exit $exit_status"
2014 rm -f core *.core core.conftest.* &&
2015 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2018 for ac_signal in 1 2 13 15; do
2019 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2023 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2024 rm -f -r conftest* confdefs.h
2026 $as_echo "/* confdefs.h */" > confdefs.h
2028 # Predefined preprocessor variables.
2030 cat >>confdefs.h <<_ACEOF
2031 #define PACKAGE_NAME "$PACKAGE_NAME"
2034 cat >>confdefs.h <<_ACEOF
2035 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2038 cat >>confdefs.h <<_ACEOF
2039 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2042 cat >>confdefs.h <<_ACEOF
2043 #define PACKAGE_STRING "$PACKAGE_STRING"
2046 cat >>confdefs.h <<_ACEOF
2047 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2050 cat >>confdefs.h <<_ACEOF
2051 #define PACKAGE_URL "$PACKAGE_URL"
2055 # Let the site file select an alternate cache file if it wants to.
2056 # Prefer an explicitly selected file to automatically selected ones.
2059 if test -n "$CONFIG_SITE"; then
2060 # We do not want a PATH search for config.site.
2061 case $CONFIG_SITE in #((
2062 -*) ac_site_file1=./$CONFIG_SITE;;
2063 */*) ac_site_file1=$CONFIG_SITE;;
2064 *) ac_site_file1=./$CONFIG_SITE;;
2066 elif test "x$prefix" != xNONE; then
2067 ac_site_file1=$prefix/share/config.site
2068 ac_site_file2=$prefix/etc/config.site
2070 ac_site_file1=$ac_default_prefix/share/config.site
2071 ac_site_file2=$ac_default_prefix/etc/config.site
2073 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2075 test "x$ac_site_file" = xNONE && continue
2076 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2077 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2078 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2079 sed 's/^/| /' "$ac_site_file" >&5
2081 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2082 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2083 as_fn_error $? "failed to load site script $ac_site_file
2084 See \`config.log' for more details" "$LINENO" 5; }
2088 if test -r "$cache_file"; then
2089 # Some versions of bash will fail to source /dev/null (special files
2090 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2091 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2093 $as_echo "$as_me: loading cache $cache_file" >&6;}
2095 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2096 *) . "./$cache_file";;
2100 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2101 $as_echo "$as_me: creating cache $cache_file" >&6;}
2105 # Check that the precious variables saved in the cache have kept the same
2107 ac_cache_corrupted=false
2108 for ac_var in $ac_precious_vars; do
2109 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2110 eval ac_new_set=\$ac_env_${ac_var}_set
2111 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2112 eval ac_new_val=\$ac_env_${ac_var}_value
2113 case $ac_old_set,$ac_new_set in
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2116 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2117 ac_cache_corrupted=: ;;
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2120 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2121 ac_cache_corrupted=: ;;
2124 if test "x$ac_old_val" != "x$ac_new_val"; then
2125 # differences in whitespace do not lead to failure.
2126 ac_old_val_w=`echo x $ac_old_val`
2127 ac_new_val_w=`echo x $ac_new_val`
2128 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2130 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2131 ac_cache_corrupted=:
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2134 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2135 eval $ac_var=\$ac_old_val
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2138 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2140 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2143 # Pass precious variables to config.status.
2144 if test "$ac_new_set" = set; then
2146 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2147 *) ac_arg=$ac_var=$ac_new_val ;;
2149 case " $ac_configure_args " in
2150 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2151 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2155 if $ac_cache_corrupted; then
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2157 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2158 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2159 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2160 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2162 ## -------------------- ##
2163 ## Main body of script. ##
2164 ## -------------------- ##
2167 ac_cpp='$CPP $CPPFLAGS'
2168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2173 ac_config_headers="$ac_config_headers config.h"
2176 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2177 if test -f "$ac_dir/install-sh"; then
2179 ac_install_sh="$ac_aux_dir/install-sh -c"
2181 elif test -f "$ac_dir/install.sh"; then
2183 ac_install_sh="$ac_aux_dir/install.sh -c"
2185 elif test -f "$ac_dir/shtool"; then
2187 ac_install_sh="$ac_aux_dir/shtool install -c"
2191 if test -z "$ac_aux_dir"; then
2192 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2195 # These three variables are undocumented and unsupported,
2196 # and are intended to be withdrawn in a future Autoconf release.
2197 # They can cause serious problems if a builder's source tree is in a directory
2198 # whose full name contains unusual characters.
2199 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2200 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2201 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2204 # Make sure we can run config.sub.
2205 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2206 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2209 $as_echo_n "checking build system type... " >&6; }
2210 if ${ac_cv_build+:} false; then :
2211 $as_echo_n "(cached) " >&6
2213 ac_build_alias=$build_alias
2214 test "x$ac_build_alias" = x &&
2215 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2216 test "x$ac_build_alias" = x &&
2217 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2218 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2219 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2223 $as_echo "$ac_cv_build" >&6; }
2224 case $ac_cv_build in
2226 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2229 ac_save_IFS=$IFS; IFS='-'
2235 # Remember, the first character of IFS is used to create $*,
2236 # except with old shells:
2239 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2243 $as_echo_n "checking host system type... " >&6; }
2244 if ${ac_cv_host+:} false; then :
2245 $as_echo_n "(cached) " >&6
2247 if test "x$host_alias" = x; then
2248 ac_cv_host=$ac_cv_build
2250 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2251 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2256 $as_echo "$ac_cv_host" >&6; }
2259 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2262 ac_save_IFS=$IFS; IFS='-'
2268 # Remember, the first character of IFS is used to create $*,
2269 # except with old shells:
2272 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2276 UPDATED='October 25, 2014'
2280 if test "$prefix" = NONE
2286 CFLAGS_LIBDSK=-DNOTWINDLL
2292 ac_cpp='$CPP $CPPFLAGS'
2293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2296 if test -n "$ac_tool_prefix"; then
2297 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2298 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2300 $as_echo_n "checking for $ac_word... " >&6; }
2301 if ${ac_cv_prog_CC+:} false; then :
2302 $as_echo_n "(cached) " >&6
2304 if test -n "$CC"; then
2305 ac_cv_prog_CC="$CC" # Let the user override the test.
2307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2311 test -z "$as_dir" && as_dir=.
2312 for ac_exec_ext in '' $ac_executable_extensions; do
2313 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2314 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2325 if test -n "$CC"; then
2326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2327 $as_echo "$CC" >&6; }
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2330 $as_echo "no" >&6; }
2335 if test -z "$ac_cv_prog_CC"; then
2337 # Extract the first word of "gcc", so it can be a program name with args.
2338 set dummy gcc; ac_word=$2
2339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2340 $as_echo_n "checking for $ac_word... " >&6; }
2341 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2342 $as_echo_n "(cached) " >&6
2344 if test -n "$ac_ct_CC"; then
2345 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2351 test -z "$as_dir" && as_dir=.
2352 for ac_exec_ext in '' $ac_executable_extensions; do
2353 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2354 ac_cv_prog_ac_ct_CC="gcc"
2355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2364 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2365 if test -n "$ac_ct_CC"; then
2366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2367 $as_echo "$ac_ct_CC" >&6; }
2369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2370 $as_echo "no" >&6; }
2373 if test "x$ac_ct_CC" = x; then
2376 case $cross_compiling:$ac_tool_warned in
2378 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2379 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2380 ac_tool_warned=yes ;;
2388 if test -z "$CC"; then
2389 if test -n "$ac_tool_prefix"; then
2390 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2391 set dummy ${ac_tool_prefix}cc; ac_word=$2
2392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2393 $as_echo_n "checking for $ac_word... " >&6; }
2394 if ${ac_cv_prog_CC+:} false; then :
2395 $as_echo_n "(cached) " >&6
2397 if test -n "$CC"; then
2398 ac_cv_prog_CC="$CC" # Let the user override the test.
2400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2404 test -z "$as_dir" && as_dir=.
2405 for ac_exec_ext in '' $ac_executable_extensions; do
2406 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2407 ac_cv_prog_CC="${ac_tool_prefix}cc"
2408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2418 if test -n "$CC"; then
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2420 $as_echo "$CC" >&6; }
2422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2423 $as_echo "no" >&6; }
2429 if test -z "$CC"; then
2430 # Extract the first word of "cc", so it can be a program name with args.
2431 set dummy cc; ac_word=$2
2432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2433 $as_echo_n "checking for $ac_word... " >&6; }
2434 if ${ac_cv_prog_CC+:} false; then :
2435 $as_echo_n "(cached) " >&6
2437 if test -n "$CC"; then
2438 ac_cv_prog_CC="$CC" # Let the user override the test.
2441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2445 test -z "$as_dir" && as_dir=.
2446 for ac_exec_ext in '' $ac_executable_extensions; do
2447 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2448 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2449 ac_prog_rejected=yes
2453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2460 if test $ac_prog_rejected = yes; then
2461 # We found a bogon in the path, so make sure we never use it.
2462 set dummy $ac_cv_prog_CC
2464 if test $# != 0; then
2465 # We chose a different compiler from the bogus one.
2466 # However, it has the same basename, so the bogon will be chosen
2467 # first if we set CC to just the basename; use the full file name.
2469 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2475 if test -n "$CC"; then
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2477 $as_echo "$CC" >&6; }
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2480 $as_echo "no" >&6; }
2485 if test -z "$CC"; then
2486 if test -n "$ac_tool_prefix"; then
2487 for ac_prog in cl.exe
2489 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2490 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2492 $as_echo_n "checking for $ac_word... " >&6; }
2493 if ${ac_cv_prog_CC+:} false; then :
2494 $as_echo_n "(cached) " >&6
2496 if test -n "$CC"; then
2497 ac_cv_prog_CC="$CC" # Let the user override the test.
2499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2503 test -z "$as_dir" && as_dir=.
2504 for ac_exec_ext in '' $ac_executable_extensions; do
2505 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2506 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2517 if test -n "$CC"; then
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2519 $as_echo "$CC" >&6; }
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2522 $as_echo "no" >&6; }
2526 test -n "$CC" && break
2529 if test -z "$CC"; then
2531 for ac_prog in cl.exe
2533 # Extract the first word of "$ac_prog", so it can be a program name with args.
2534 set dummy $ac_prog; ac_word=$2
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2536 $as_echo_n "checking for $ac_word... " >&6; }
2537 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2538 $as_echo_n "(cached) " >&6
2540 if test -n "$ac_ct_CC"; then
2541 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2547 test -z "$as_dir" && as_dir=.
2548 for ac_exec_ext in '' $ac_executable_extensions; do
2549 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2550 ac_cv_prog_ac_ct_CC="$ac_prog"
2551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2560 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2561 if test -n "$ac_ct_CC"; then
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2563 $as_echo "$ac_ct_CC" >&6; }
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2566 $as_echo "no" >&6; }
2570 test -n "$ac_ct_CC" && break
2573 if test "x$ac_ct_CC" = x; then
2576 case $cross_compiling:$ac_tool_warned in
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2579 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2580 ac_tool_warned=yes ;;
2589 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2590 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2591 as_fn_error $? "no acceptable C compiler found in \$PATH
2592 See \`config.log' for more details" "$LINENO" 5; }
2594 # Provide some information about the compiler.
2595 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2598 for ac_option in --version -v -V -qversion; do
2599 { { ac_try="$ac_compiler $ac_option >&5"
2601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2602 *) ac_try_echo=$ac_try;;
2604 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2605 $as_echo "$ac_try_echo"; } >&5
2606 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2608 if test -s conftest.err; then
2610 ... rest of stderr output deleted ...
2611 10q' conftest.err >conftest.er1
2612 cat conftest.er1 >&5
2614 rm -f conftest.er1 conftest.err
2615 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2616 test $ac_status = 0; }
2619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2620 /* end confdefs.h. */
2630 ac_clean_files_save=$ac_clean_files
2631 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2632 # Try to create an executable without -o first, disregard a.out.
2633 # It will help us diagnose broken compilers, and finding out an intuition
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2636 $as_echo_n "checking whether the C compiler works... " >&6; }
2637 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2639 # The possible output files:
2640 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2643 for ac_file in $ac_files
2646 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2647 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2652 if { { ac_try="$ac_link_default"
2654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2655 *) ac_try_echo=$ac_try;;
2657 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2658 $as_echo "$ac_try_echo"; } >&5
2659 (eval "$ac_link_default") 2>&5
2661 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2662 test $ac_status = 0; }; then :
2663 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2664 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2665 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2666 # so that the user can short-circuit this test for compilers unknown to
2668 for ac_file in $ac_files ''
2670 test -f "$ac_file" || continue
2672 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2675 # We found the default executable, but exeext='' is most
2679 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2681 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2683 # We set ac_cv_exeext here because the later test for it is not
2684 # safe: cross compilers may not add the suffix if given an `-o'
2685 # argument, so we may need to know it at that point already.
2686 # Even if this section looks crufty: it has the advantage of
2693 test "$ac_cv_exeext" = no && ac_cv_exeext=
2698 if test -z "$ac_file"; then :
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2700 $as_echo "no" >&6; }
2701 $as_echo "$as_me: failed program was:" >&5
2702 sed 's/^/| /' conftest.$ac_ext >&5
2704 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2705 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2706 as_fn_error 77 "C compiler cannot create executables
2707 See \`config.log' for more details" "$LINENO" 5; }
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2710 $as_echo "yes" >&6; }
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2713 $as_echo_n "checking for C compiler default output file name... " >&6; }
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2715 $as_echo "$ac_file" >&6; }
2716 ac_exeext=$ac_cv_exeext
2718 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2719 ac_clean_files=$ac_clean_files_save
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2721 $as_echo_n "checking for suffix of executables... " >&6; }
2722 if { { ac_try="$ac_link"
2724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2725 *) ac_try_echo=$ac_try;;
2727 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2728 $as_echo "$ac_try_echo"; } >&5
2729 (eval "$ac_link") 2>&5
2731 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2732 test $ac_status = 0; }; then :
2733 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2734 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2735 # work properly (i.e., refer to `conftest.exe'), while it won't with
2737 for ac_file in conftest.exe conftest conftest.*; do
2738 test -f "$ac_file" || continue
2740 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2741 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2747 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2748 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2749 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2750 See \`config.log' for more details" "$LINENO" 5; }
2752 rm -f conftest conftest$ac_cv_exeext
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2754 $as_echo "$ac_cv_exeext" >&6; }
2756 rm -f conftest.$ac_ext
2757 EXEEXT=$ac_cv_exeext
2759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2760 /* end confdefs.h. */
2765 FILE *f = fopen ("conftest.out", "w");
2766 return ferror (f) || fclose (f) != 0;
2772 ac_clean_files="$ac_clean_files conftest.out"
2773 # Check that the compiler produces executables we can run. If not, either
2774 # the compiler is broken, or we cross compile.
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2776 $as_echo_n "checking whether we are cross compiling... " >&6; }
2777 if test "$cross_compiling" != yes; then
2778 { { ac_try="$ac_link"
2780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2781 *) ac_try_echo=$ac_try;;
2783 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2784 $as_echo "$ac_try_echo"; } >&5
2785 (eval "$ac_link") 2>&5
2787 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2788 test $ac_status = 0; }
2789 if { ac_try='./conftest$ac_cv_exeext'
2790 { { case "(($ac_try" in
2791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2792 *) ac_try_echo=$ac_try;;
2794 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2795 $as_echo "$ac_try_echo"; } >&5
2796 (eval "$ac_try") 2>&5
2798 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2799 test $ac_status = 0; }; }; then
2802 if test "$cross_compiling" = maybe; then
2805 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2806 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2807 as_fn_error $? "cannot run C compiled programs.
2808 If you meant to cross compile, use \`--host'.
2809 See \`config.log' for more details" "$LINENO" 5; }
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2814 $as_echo "$cross_compiling" >&6; }
2816 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2817 ac_clean_files=$ac_clean_files_save
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2819 $as_echo_n "checking for suffix of object files... " >&6; }
2820 if ${ac_cv_objext+:} false; then :
2821 $as_echo_n "(cached) " >&6
2823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2824 /* end confdefs.h. */
2834 rm -f conftest.o conftest.obj
2835 if { { ac_try="$ac_compile"
2837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2838 *) ac_try_echo=$ac_try;;
2840 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2841 $as_echo "$ac_try_echo"; } >&5
2842 (eval "$ac_compile") 2>&5
2844 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2845 test $ac_status = 0; }; then :
2846 for ac_file in conftest.o conftest.obj conftest.*; do
2847 test -f "$ac_file" || continue;
2849 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2850 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2855 $as_echo "$as_me: failed program was:" >&5
2856 sed 's/^/| /' conftest.$ac_ext >&5
2858 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2859 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2860 as_fn_error $? "cannot compute suffix of object files: cannot compile
2861 See \`config.log' for more details" "$LINENO" 5; }
2863 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2866 $as_echo "$ac_cv_objext" >&6; }
2867 OBJEXT=$ac_cv_objext
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2870 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2871 if ${ac_cv_c_compiler_gnu+:} false; then :
2872 $as_echo_n "(cached) " >&6
2874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2875 /* end confdefs.h. */
2888 if ac_fn_c_try_compile "$LINENO"; then :
2893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2894 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2898 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2899 if test $ac_compiler_gnu = yes; then
2904 ac_test_CFLAGS=${CFLAGS+set}
2905 ac_save_CFLAGS=$CFLAGS
2906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2907 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2908 if ${ac_cv_prog_cc_g+:} false; then :
2909 $as_echo_n "(cached) " >&6
2911 ac_save_c_werror_flag=$ac_c_werror_flag
2912 ac_c_werror_flag=yes
2915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2916 /* end confdefs.h. */
2926 if ac_fn_c_try_compile "$LINENO"; then :
2930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2931 /* end confdefs.h. */
2941 if ac_fn_c_try_compile "$LINENO"; then :
2944 ac_c_werror_flag=$ac_save_c_werror_flag
2946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2947 /* end confdefs.h. */
2957 if ac_fn_c_try_compile "$LINENO"; then :
2960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2965 ac_c_werror_flag=$ac_save_c_werror_flag
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2968 $as_echo "$ac_cv_prog_cc_g" >&6; }
2969 if test "$ac_test_CFLAGS" = set; then
2970 CFLAGS=$ac_save_CFLAGS
2971 elif test $ac_cv_prog_cc_g = yes; then
2972 if test "$GCC" = yes; then
2978 if test "$GCC" = yes; then
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2985 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2986 if ${ac_cv_prog_cc_c89+:} false; then :
2987 $as_echo_n "(cached) " >&6
2989 ac_cv_prog_cc_c89=no
2991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2992 /* end confdefs.h. */
2996 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2997 struct buf { int x; };
2998 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2999 static char *e (p, i)
3005 static char *f (char * (*g) (char **, int), char **p, ...)
3010 s = g (p, va_arg (v,int));
3015 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3016 function prototypes and stuff, but not '\xHH' hex character constants.
3017 These don't provoke an error unfortunately, instead are silently treated
3018 as 'x'. The following induces an error, until -std is added to get
3019 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3020 array size at least. It's necessary to write '\x00'==0 to get something
3021 that's true only with -std. */
3022 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3024 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3025 inside strings and character constants. */
3027 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3029 int test (int i, double x);
3030 struct s1 {int (*f) (int a);};
3031 struct s2 {int (*f) (double a);};
3032 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3038 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3043 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3044 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3046 CC="$ac_save_CC $ac_arg"
3047 if ac_fn_c_try_compile "$LINENO"; then :
3048 ac_cv_prog_cc_c89=$ac_arg
3050 rm -f core conftest.err conftest.$ac_objext
3051 test "x$ac_cv_prog_cc_c89" != "xno" && break
3053 rm -f conftest.$ac_ext
3058 case "x$ac_cv_prog_cc_c89" in
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3061 $as_echo "none needed" >&6; } ;;
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3064 $as_echo "unsupported" >&6; } ;;
3066 CC="$CC $ac_cv_prog_cc_c89"
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3068 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3070 if test "x$ac_cv_prog_cc_c89" != xno; then :
3075 ac_cpp='$CPP $CPPFLAGS'
3076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3080 # Find a good install program. We prefer a C program (faster),
3081 # so one script is as good as another. But avoid the broken or
3082 # incompatible versions:
3083 # SysV /etc/install, /usr/sbin/install
3084 # SunOS /usr/etc/install
3085 # IRIX /sbin/install
3087 # AmigaOS /C/install, which installs bootblocks on floppy discs
3088 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3089 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3090 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3091 # OS/2's system install, which has a completely different semantic
3092 # ./install, which can be erroneously created by make from ./install.sh.
3093 # Reject install programs that cannot install multiple files.
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3095 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3096 if test -z "$INSTALL"; then
3097 if ${ac_cv_path_install+:} false; then :
3098 $as_echo_n "(cached) " >&6
3100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3104 test -z "$as_dir" && as_dir=.
3105 # Account for people who put trailing slashes in PATH elements.
3106 case $as_dir/ in #((
3107 ./ | .// | /[cC]/* | \
3108 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3109 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3112 # OSF1 and SCO ODT 3.0 have their own names for install.
3113 # Don't use installbsd from OSF since it installs stuff as root
3115 for ac_prog in ginstall scoinst install; do
3116 for ac_exec_ext in '' $ac_executable_extensions; do
3117 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3118 if test $ac_prog = install &&
3119 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3120 # AIX install. It has an incompatible calling convention.
3122 elif test $ac_prog = install &&
3123 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3124 # program-specific install script used by HP pwplus--don't use.
3127 rm -rf conftest.one conftest.two conftest.dir
3128 echo one > conftest.one
3129 echo two > conftest.two
3131 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3132 test -s conftest.one && test -s conftest.two &&
3133 test -s conftest.dir/conftest.one &&
3134 test -s conftest.dir/conftest.two
3136 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3149 rm -rf conftest.one conftest.two conftest.dir
3152 if test "${ac_cv_path_install+set}" = set; then
3153 INSTALL=$ac_cv_path_install
3155 # As a last resort, use the slow shell script. Don't cache a
3156 # value for INSTALL within a source directory, because that will
3157 # break other packages using the cache if that directory is
3158 # removed, or if the value is a relative name.
3159 INSTALL=$ac_install_sh
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3163 $as_echo "$INSTALL" >&6; }
3165 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3166 # It thinks the first close brace ends the variable substitution.
3167 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3169 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3171 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3174 ac_cpp='$CPP $CPPFLAGS'
3175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3179 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3180 # On Suns, sometimes $CPP names a directory.
3181 if test -n "$CPP" && test -d "$CPP"; then
3184 if test -z "$CPP"; then
3185 if ${ac_cv_prog_CPP+:} false; then :
3186 $as_echo_n "(cached) " >&6
3188 # Double quotes because CPP needs to be expanded
3189 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3192 for ac_c_preproc_warn_flag in '' yes
3194 # Use a header file that comes with gcc, so configuring glibc
3195 # with a fresh cross-compiler works.
3196 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3197 # <limits.h> exists even on freestanding compilers.
3198 # On the NeXT, cc -E runs the code through the compiler's parser,
3199 # not just through cpp. "Syntax error" is here to catch this case.
3200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3201 /* end confdefs.h. */
3203 # include <limits.h>
3205 # include <assert.h>
3209 if ac_fn_c_try_cpp "$LINENO"; then :
3212 # Broken: fails on valid input.
3215 rm -f conftest.err conftest.i conftest.$ac_ext
3217 # OK, works on sane cases. Now check whether nonexistent headers
3218 # can be detected and how.
3219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3220 /* end confdefs.h. */
3221 #include <ac_nonexistent.h>
3223 if ac_fn_c_try_cpp "$LINENO"; then :
3224 # Broken: success on invalid input.
3227 # Passes both tests.
3231 rm -f conftest.err conftest.i conftest.$ac_ext
3234 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3235 rm -f conftest.i conftest.err conftest.$ac_ext
3236 if $ac_preproc_ok; then :
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3249 $as_echo "$CPP" >&6; }
3251 for ac_c_preproc_warn_flag in '' yes
3253 # Use a header file that comes with gcc, so configuring glibc
3254 # with a fresh cross-compiler works.
3255 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3256 # <limits.h> exists even on freestanding compilers.
3257 # On the NeXT, cc -E runs the code through the compiler's parser,
3258 # not just through cpp. "Syntax error" is here to catch this case.
3259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3260 /* end confdefs.h. */
3262 # include <limits.h>
3264 # include <assert.h>
3268 if ac_fn_c_try_cpp "$LINENO"; then :
3271 # Broken: fails on valid input.
3274 rm -f conftest.err conftest.i conftest.$ac_ext
3276 # OK, works on sane cases. Now check whether nonexistent headers
3277 # can be detected and how.
3278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3279 /* end confdefs.h. */
3280 #include <ac_nonexistent.h>
3282 if ac_fn_c_try_cpp "$LINENO"; then :
3283 # Broken: success on invalid input.
3286 # Passes both tests.
3290 rm -f conftest.err conftest.i conftest.$ac_ext
3293 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3294 rm -f conftest.i conftest.err conftest.$ac_ext
3295 if $ac_preproc_ok; then :
3298 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3299 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3300 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3301 See \`config.log' for more details" "$LINENO" 5; }
3305 ac_cpp='$CPP $CPPFLAGS'
3306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3311 if test "$GCC" = yes
3313 CFLAGS="${CFLAGS} ${EXTRA_GCFLAGS}-pipe -Wall -Wextra -Wno-unused-parameter -Wno-unused -Wshadow -Wbad-function-cast -Wmissing-prototypes -Wstrict-prototypes -Wcast-align -Wcast-qual -Wpointer-arith -Wwrite-strings -Wmissing-declarations -Wnested-externs -Wundef -pedantic -fno-common"
3314 LDFLAGS="${LDFLAGS} ${EXTRA_GLDFLAGS}-g"
3316 CFLAGS="${CFLAGS} ${EXTRA_CFLAGS}"
3317 LDFLAGS="${LDFLAGS} ${EXTRA_LDFLAGS}"
3322 *cygwin* ) CYGWIN=yes;;
3328 *mingw32* ) MINGW32=yes;;
3334 DISKDEFS='${datarootdir}/diskdefs'
3336 if test "$CYGWIN" = "yes"
3339 # DISKDEFS='%USERPROFILE%/diskdefs'
3341 if test "$MINGW32" = "yes"
3344 # DISKDEFS='%USERPROFILE%\\diskdefs'
3348 # Check whether --with-diskdefs was given.
3349 if test "${with_diskdefs+set}" = set; then :
3350 withval=$with_diskdefs; DISKDEFS="$withval"
3352 DISKDEFS="$DISKDEFS"
3356 # Check whether --with-defformat was given.
3357 if test "${with_defformat+set}" = set; then :
3358 withval=$with_defformat; DEFFORMAT="$withval"
3360 DEFFORMAT="ibm-3740"
3364 # Check whether --with-libdsk was given.
3365 if test "${with_libdsk+set}" = set; then :
3366 withval=$with_libdsk; LIBDSK="$withval"
3372 # Check whether --with-dmalloc was given.
3373 if test "${with_dmalloc+set}" = set; then :
3374 withval=$with_dmalloc; CPPFLAGS="$CPPFLAGS -I$with_dmalloc/include"
3375 LDFLAGS="$LDFLAGS -L$with_dmalloc/lib"
3376 LIBS="$LIBS -ldmalloc"
3377 $as_echo "#define USE_DMALLOC 1" >>confdefs.h
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for printw in -lcurses" >&5
3384 $as_echo_n "checking for printw in -lcurses... " >&6; }
3385 if ${ac_cv_lib_curses_printw+:} false; then :
3386 $as_echo_n "(cached) " >&6
3388 ac_check_lib_save_LIBS=$LIBS
3389 LIBS="-lcurses $LIBS"
3390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3391 /* end confdefs.h. */
3393 /* Override any GCC internal prototype to avoid an error.
3394 Use char because int might match the return type of a GCC
3395 builtin and then its argument prototype would still apply. */
3408 if ac_fn_c_try_link "$LINENO"; then :
3409 ac_cv_lib_curses_printw=yes
3411 ac_cv_lib_curses_printw=no
3413 rm -f core conftest.err conftest.$ac_objext \
3414 conftest$ac_exeext conftest.$ac_ext
3415 LIBS=$ac_check_lib_save_LIBS
3417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_printw" >&5
3418 $as_echo "$ac_cv_lib_curses_printw" >&6; }
3419 if test "x$ac_cv_lib_curses_printw" = xyes; then :
3420 FSED_CPM=fsed.cpm LIBS="-lcurses $LIBS"
3425 if test x"$FSED_CPM" = x""; then
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for printw in -lncurses" >&5
3427 $as_echo_n "checking for printw in -lncurses... " >&6; }
3428 if ${ac_cv_lib_ncurses_printw+:} false; then :
3429 $as_echo_n "(cached) " >&6
3431 ac_check_lib_save_LIBS=$LIBS
3432 LIBS="-lncurses $LIBS"
3433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3434 /* end confdefs.h. */
3436 /* Override any GCC internal prototype to avoid an error.
3437 Use char because int might match the return type of a GCC
3438 builtin and then its argument prototype would still apply. */
3451 if ac_fn_c_try_link "$LINENO"; then :
3452 ac_cv_lib_ncurses_printw=yes
3454 ac_cv_lib_ncurses_printw=no
3456 rm -f core conftest.err conftest.$ac_objext \
3457 conftest$ac_exeext conftest.$ac_ext
3458 LIBS=$ac_check_lib_save_LIBS
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_printw" >&5
3461 $as_echo "$ac_cv_lib_ncurses_printw" >&6; }
3462 if test "x$ac_cv_lib_ncurses_printw" = xyes; then :
3463 FSED_CPM=fsed.cpm LIBS="-lncurses $LIBS"
3468 if test x"$FSED_CPM" != x""; then
3469 $as_echo "#define NEED_NCURSES 1" >>confdefs.h
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3473 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3474 if ${ac_cv_path_GREP+:} false; then :
3475 $as_echo_n "(cached) " >&6
3477 if test -z "$GREP"; then
3478 ac_path_GREP_found=false
3479 # Loop through the user's path and test for each of PROGNAME-LIST
3480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3481 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3484 test -z "$as_dir" && as_dir=.
3485 for ac_prog in grep ggrep; do
3486 for ac_exec_ext in '' $ac_executable_extensions; do
3487 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3488 as_fn_executable_p "$ac_path_GREP" || continue
3489 # Check for GNU ac_path_GREP and select it if it is found.
3490 # Check for GNU $ac_path_GREP
3491 case `"$ac_path_GREP" --version 2>&1` in
3493 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3496 $as_echo_n 0123456789 >"conftest.in"
3499 cat "conftest.in" "conftest.in" >"conftest.tmp"
3500 mv "conftest.tmp" "conftest.in"
3501 cp "conftest.in" "conftest.nl"
3502 $as_echo 'GREP' >> "conftest.nl"
3503 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3504 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3505 as_fn_arith $ac_count + 1 && ac_count=$as_val
3506 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3507 # Best one so far, save it but keep looking for a better one
3508 ac_cv_path_GREP="$ac_path_GREP"
3509 ac_path_GREP_max=$ac_count
3511 # 10*(2^10) chars as input seems more than enough
3512 test $ac_count -gt 10 && break
3514 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3517 $ac_path_GREP_found && break 3
3522 if test -z "$ac_cv_path_GREP"; then
3523 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3526 ac_cv_path_GREP=$GREP
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3531 $as_echo "$ac_cv_path_GREP" >&6; }
3532 GREP="$ac_cv_path_GREP"
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3536 $as_echo_n "checking for egrep... " >&6; }
3537 if ${ac_cv_path_EGREP+:} false; then :
3538 $as_echo_n "(cached) " >&6
3540 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3541 then ac_cv_path_EGREP="$GREP -E"
3543 if test -z "$EGREP"; then
3544 ac_path_EGREP_found=false
3545 # Loop through the user's path and test for each of PROGNAME-LIST
3546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3547 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3550 test -z "$as_dir" && as_dir=.
3551 for ac_prog in egrep; do
3552 for ac_exec_ext in '' $ac_executable_extensions; do
3553 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3554 as_fn_executable_p "$ac_path_EGREP" || continue
3555 # Check for GNU ac_path_EGREP and select it if it is found.
3556 # Check for GNU $ac_path_EGREP
3557 case `"$ac_path_EGREP" --version 2>&1` in
3559 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3562 $as_echo_n 0123456789 >"conftest.in"
3565 cat "conftest.in" "conftest.in" >"conftest.tmp"
3566 mv "conftest.tmp" "conftest.in"
3567 cp "conftest.in" "conftest.nl"
3568 $as_echo 'EGREP' >> "conftest.nl"
3569 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3570 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3571 as_fn_arith $ac_count + 1 && ac_count=$as_val
3572 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3573 # Best one so far, save it but keep looking for a better one
3574 ac_cv_path_EGREP="$ac_path_EGREP"
3575 ac_path_EGREP_max=$ac_count
3577 # 10*(2^10) chars as input seems more than enough
3578 test $ac_count -gt 10 && break
3580 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3583 $ac_path_EGREP_found && break 3
3588 if test -z "$ac_cv_path_EGREP"; then
3589 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3592 ac_cv_path_EGREP=$EGREP
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3598 $as_echo "$ac_cv_path_EGREP" >&6; }
3599 EGREP="$ac_cv_path_EGREP"
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3603 $as_echo_n "checking for ANSI C header files... " >&6; }
3604 if ${ac_cv_header_stdc+:} false; then :
3605 $as_echo_n "(cached) " >&6
3607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3608 /* end confdefs.h. */
3622 if ac_fn_c_try_compile "$LINENO"; then :
3623 ac_cv_header_stdc=yes
3625 ac_cv_header_stdc=no
3627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3629 if test $ac_cv_header_stdc = yes; then
3630 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3632 /* end confdefs.h. */
3636 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3637 $EGREP "memchr" >/dev/null 2>&1; then :
3640 ac_cv_header_stdc=no
3646 if test $ac_cv_header_stdc = yes; then
3647 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3649 /* end confdefs.h. */
3653 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3654 $EGREP "free" >/dev/null 2>&1; then :
3657 ac_cv_header_stdc=no
3663 if test $ac_cv_header_stdc = yes; then
3664 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3665 if test "$cross_compiling" = yes; then :
3668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3669 /* end confdefs.h. */
3672 #if ((' ' & 0x0FF) == 0x020)
3673 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3674 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3676 # define ISLOWER(c) \
3677 (('a' <= (c) && (c) <= 'i') \
3678 || ('j' <= (c) && (c) <= 'r') \
3679 || ('s' <= (c) && (c) <= 'z'))
3680 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3683 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3688 for (i = 0; i < 256; i++)
3689 if (XOR (islower (i), ISLOWER (i))
3690 || toupper (i) != TOUPPER (i))
3695 if ac_fn_c_try_run "$LINENO"; then :
3698 ac_cv_header_stdc=no
3700 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3701 conftest.$ac_objext conftest.beam conftest.$ac_ext
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3707 $as_echo "$ac_cv_header_stdc" >&6; }
3708 if test $ac_cv_header_stdc = yes; then
3710 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3714 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3715 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3716 inttypes.h stdint.h unistd.h
3718 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3719 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3721 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3722 cat >>confdefs.h <<_ACEOF
3723 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3731 for ac_header in ncurses/ncurses.h
3733 ac_fn_c_check_header_mongrel "$LINENO" "ncurses/ncurses.h" "ac_cv_header_ncurses_ncurses_h" "$ac_includes_default"
3734 if test "x$ac_cv_header_ncurses_ncurses_h" = xyes; then :
3735 cat >>confdefs.h <<_ACEOF
3736 #define HAVE_NCURSES_NCURSES_H 1
3738 have_ncurses_ncurses_h=yes
3746 if test "$LIBDSK" != ""; then
3748 CPPFLAGS="$CPPFLAGS -I$LIBDSK/include"
3749 CFLAGS="$CFLAGS -I$LIBDSK/include $CFLAGS_LIBDSK"
3750 LDFLAGS="$LDFLAGS -L$LIBDSK/lib"
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dsk_open in -ldsk" >&5
3752 $as_echo_n "checking for dsk_open in -ldsk... " >&6; }
3753 if ${ac_cv_lib_dsk_dsk_open+:} false; then :
3754 $as_echo_n "(cached) " >&6
3756 ac_check_lib_save_LIBS=$LIBS
3758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3759 /* end confdefs.h. */
3761 /* Override any GCC internal prototype to avoid an error.
3762 Use char because int might match the return type of a GCC
3763 builtin and then its argument prototype would still apply. */
3776 if ac_fn_c_try_link "$LINENO"; then :
3777 ac_cv_lib_dsk_dsk_open=yes
3779 ac_cv_lib_dsk_dsk_open=no
3781 rm -f core conftest.err conftest.$ac_objext \
3782 conftest$ac_exeext conftest.$ac_ext
3783 LIBS=$ac_check_lib_save_LIBS
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dsk_dsk_open" >&5
3786 $as_echo "$ac_cv_lib_dsk_dsk_open" >&6; }
3787 if test "x$ac_cv_lib_dsk_dsk_open" = xyes; then :
3788 cat >>confdefs.h <<_ACEOF
3789 #define HAVE_LIBDSK 1
3796 for ac_header in libdsk.h
3798 ac_fn_c_check_header_mongrel "$LINENO" "libdsk.h" "ac_cv_header_libdsk_h" "$ac_includes_default"
3799 if test "x$ac_cv_header_libdsk_h" = xyes; then :
3800 cat >>confdefs.h <<_ACEOF
3801 #define HAVE_LIBDSK_H 1
3805 echo "No libdsk.h - aborting"; exit 1
3812 if test x"$DEVICE" = x"win32"; then
3813 for ac_header in windows.h
3815 ac_fn_c_check_header_mongrel "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
3816 if test "x$ac_cv_header_windows_h" = xyes; then :
3817 cat >>confdefs.h <<_ACEOF
3818 #define HAVE_WINDOWS_H 1
3822 echo "Device win32, but <windows.h> not found - aborting"; exit 1
3827 for ac_header in winioctl.h
3829 ac_fn_c_check_header_compile "$LINENO" "winioctl.h" "ac_cv_header_winioctl_h" "#ifdef HAVE_WINDOWS_H
3830 #include <windows.h>
3834 if test "x$ac_cv_header_winioctl_h" = xyes; then :
3835 cat >>confdefs.h <<_ACEOF
3836 #define HAVE_WINIOCTL_H 1
3840 echo "Device win32, but <winioctl.h> not found - aborting"; exit 1
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3848 $as_echo_n "checking for ANSI C header files... " >&6; }
3849 if ${ac_cv_header_stdc+:} false; then :
3850 $as_echo_n "(cached) " >&6
3852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3853 /* end confdefs.h. */
3867 if ac_fn_c_try_compile "$LINENO"; then :
3868 ac_cv_header_stdc=yes
3870 ac_cv_header_stdc=no
3872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3874 if test $ac_cv_header_stdc = yes; then
3875 # SunOS 4.x string.h does not declare mem*, 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 "memchr" >/dev/null 2>&1; then :
3885 ac_cv_header_stdc=no
3891 if test $ac_cv_header_stdc = yes; then
3892 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3894 /* end confdefs.h. */
3898 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3899 $EGREP "free" >/dev/null 2>&1; then :
3902 ac_cv_header_stdc=no
3908 if test $ac_cv_header_stdc = yes; then
3909 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3910 if test "$cross_compiling" = yes; then :
3913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3914 /* end confdefs.h. */
3917 #if ((' ' & 0x0FF) == 0x020)
3918 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3919 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3921 # define ISLOWER(c) \
3922 (('a' <= (c) && (c) <= 'i') \
3923 || ('j' <= (c) && (c) <= 'r') \
3924 || ('s' <= (c) && (c) <= 'z'))
3925 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3928 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3933 for (i = 0; i < 256; i++)
3934 if (XOR (islower (i), ISLOWER (i))
3935 || toupper (i) != TOUPPER (i))
3940 if ac_fn_c_try_run "$LINENO"; then :
3943 ac_cv_header_stdc=no
3945 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3946 conftest.$ac_objext conftest.beam conftest.$ac_ext
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3952 $as_echo "$ac_cv_header_stdc" >&6; }
3953 if test $ac_cv_header_stdc = yes; then
3955 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3959 for ac_header in fcntl.h sys/types.h sys/stat.h limits.h unistd.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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
3974 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
3975 if ${ac_cv_c_const+:} false; then :
3976 $as_echo_n "(cached) " >&6
3978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3979 /* end confdefs.h. */
3986 /* Ultrix mips cc rejects this sort of thing. */
3987 typedef int charset[2];
3988 const charset cs = { 0, 0 };
3989 /* SunOS 4.1.1 cc rejects this. */
3990 char const *const *pcpcc;
3992 /* NEC SVR4.0.2 mips cc rejects this. */
3993 struct point {int x, y;};
3994 static struct point const zero = {0,0};
3995 /* AIX XL C 1.02.0.0 rejects this.
3996 It does not let you subtract one const X* pointer from another in
3997 an arm of an if-expression whose if-part is not a constant
3999 const char *g = "string";
4000 pcpcc = &g + (g ? g-g : 0);
4001 /* HPUX 7.0 cc rejects these. */
4003 ppc = (char**) pcpcc;
4004 pcpcc = (char const *const *) ppc;
4005 { /* SCO 3.2v4 cc rejects this sort of thing. */
4008 char const *s = 0 ? (char *) 0 : (char const *) 0;
4013 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4015 const int *foo = &x[0];
4018 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4019 typedef const int *iptr;
4023 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
4024 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4025 struct s { int j; const int *ap[3]; } bx;
4026 struct s *b = &bx; b->j = 5;
4028 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4032 return !cs[0] && !zero.x;
4039 if ac_fn_c_try_compile "$LINENO"; then :
4044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4047 $as_echo "$ac_cv_c_const" >&6; }
4048 if test $ac_cv_c_const = no; then
4050 $as_echo "#define const /**/" >>confdefs.h
4054 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
4055 if test "x$ac_cv_type_mode_t" = xyes; then :
4059 cat >>confdefs.h <<_ACEOF
4065 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
4066 if test "x$ac_cv_type_off_t" = xyes; then :
4070 cat >>confdefs.h <<_ACEOF
4071 #define off_t long int
4076 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
4077 if test "x$ac_cv_type_pid_t" = xyes; then :
4081 cat >>confdefs.h <<_ACEOF
4087 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4088 if test "x$ac_cv_type_size_t" = xyes; then :
4092 cat >>confdefs.h <<_ACEOF
4093 #define size_t unsigned int
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
4099 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
4100 if ${ac_cv_struct_tm+:} false; then :
4101 $as_echo_n "(cached) " >&6
4103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4104 /* end confdefs.h. */
4105 #include <sys/types.h>
4112 int *p = &tm.tm_sec;
4118 if ac_fn_c_try_compile "$LINENO"; then :
4119 ac_cv_struct_tm=time.h
4121 ac_cv_struct_tm=sys/time.h
4123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
4126 $as_echo "$ac_cv_struct_tm" >&6; }
4127 if test $ac_cv_struct_tm = sys/time.h; then
4129 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
4135 # Check whether --enable-largefile was given.
4136 if test "${enable_largefile+set}" = set; then :
4137 enableval=$enable_largefile;
4140 if test "$enable_largefile" != no; then
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
4143 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
4144 if ${ac_cv_sys_largefile_CC+:} false; then :
4145 $as_echo_n "(cached) " >&6
4147 ac_cv_sys_largefile_CC=no
4148 if test "$GCC" != yes; then
4151 # IRIX 6.2 and later do not support large files by default,
4152 # so use the C compiler's -n32 option if that helps.
4153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4154 /* end confdefs.h. */
4155 #include <sys/types.h>
4156 /* Check that off_t can represent 2**63 - 1 correctly.
4157 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4158 since some C++ compilers masquerading as C compilers
4159 incorrectly reject 9223372036854775807. */
4160 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4161 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4162 && LARGE_OFF_T % 2147483647 == 1)
4172 if ac_fn_c_try_compile "$LINENO"; then :
4175 rm -f core conftest.err conftest.$ac_objext
4177 if ac_fn_c_try_compile "$LINENO"; then :
4178 ac_cv_sys_largefile_CC=' -n32'; break
4180 rm -f core conftest.err conftest.$ac_objext
4184 rm -f conftest.$ac_ext
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
4188 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
4189 if test "$ac_cv_sys_largefile_CC" != no; then
4190 CC=$CC$ac_cv_sys_largefile_CC
4193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4194 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
4195 if ${ac_cv_sys_file_offset_bits+:} false; then :
4196 $as_echo_n "(cached) " >&6
4199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4200 /* end confdefs.h. */
4201 #include <sys/types.h>
4202 /* Check that off_t can represent 2**63 - 1 correctly.
4203 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4204 since some C++ compilers masquerading as C compilers
4205 incorrectly reject 9223372036854775807. */
4206 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4207 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4208 && LARGE_OFF_T % 2147483647 == 1)
4218 if ac_fn_c_try_compile "$LINENO"; then :
4219 ac_cv_sys_file_offset_bits=no; break
4221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4223 /* end confdefs.h. */
4224 #define _FILE_OFFSET_BITS 64
4225 #include <sys/types.h>
4226 /* Check that off_t can represent 2**63 - 1 correctly.
4227 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4228 since some C++ compilers masquerading as C compilers
4229 incorrectly reject 9223372036854775807. */
4230 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4231 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4232 && LARGE_OFF_T % 2147483647 == 1)
4242 if ac_fn_c_try_compile "$LINENO"; then :
4243 ac_cv_sys_file_offset_bits=64; break
4245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4246 ac_cv_sys_file_offset_bits=unknown
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
4251 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
4252 case $ac_cv_sys_file_offset_bits in #(
4255 cat >>confdefs.h <<_ACEOF
4256 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4261 if test $ac_cv_sys_file_offset_bits = unknown; then
4262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
4263 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
4264 if ${ac_cv_sys_large_files+:} false; then :
4265 $as_echo_n "(cached) " >&6
4268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4269 /* end confdefs.h. */
4270 #include <sys/types.h>
4271 /* Check that off_t can represent 2**63 - 1 correctly.
4272 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4273 since some C++ compilers masquerading as C compilers
4274 incorrectly reject 9223372036854775807. */
4275 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4276 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4277 && LARGE_OFF_T % 2147483647 == 1)
4287 if ac_fn_c_try_compile "$LINENO"; then :
4288 ac_cv_sys_large_files=no; break
4290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4292 /* end confdefs.h. */
4293 #define _LARGE_FILES 1
4294 #include <sys/types.h>
4295 /* Check that off_t can represent 2**63 - 1 correctly.
4296 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4297 since some C++ compilers masquerading as C compilers
4298 incorrectly reject 9223372036854775807. */
4299 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4300 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4301 && LARGE_OFF_T % 2147483647 == 1)
4311 if ac_fn_c_try_compile "$LINENO"; then :
4312 ac_cv_sys_large_files=1; break
4314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4315 ac_cv_sys_large_files=unknown
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
4320 $as_echo "$ac_cv_sys_large_files" >&6; }
4321 case $ac_cv_sys_large_files in #(
4324 cat >>confdefs.h <<_ACEOF
4325 #define _LARGE_FILES $ac_cv_sys_large_files
4336 if test x"$FSED_CPM" != x""; then
4337 FSED_CPM="$FSED_CPM$EXEEXT"
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5
4341 $as_echo_n "checking for working memcmp... " >&6; }
4342 if ${ac_cv_func_memcmp_working+:} false; then :
4343 $as_echo_n "(cached) " >&6
4345 if test "$cross_compiling" = yes; then :
4346 ac_cv_func_memcmp_working=no
4348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4349 /* end confdefs.h. */
4350 $ac_includes_default
4355 /* Some versions of memcmp are not 8-bit clean. */
4356 char c0 = '\100', c1 = '\200', c2 = '\201';
4357 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
4360 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
4361 or more and with at least one buffer not starting on a 4-byte boundary.
4362 William Lewis provided this test program. */
4367 for (i = 0; i < 4; i++)
4371 strcpy (a, "--------01111111");
4372 strcpy (b, "--------10000000");
4373 if (memcmp (a, b, 16) >= 0)
4383 if ac_fn_c_try_run "$LINENO"; then :
4384 ac_cv_func_memcmp_working=yes
4386 ac_cv_func_memcmp_working=no
4388 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4389 conftest.$ac_objext conftest.beam conftest.$ac_ext
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_memcmp_working" >&5
4394 $as_echo "$ac_cv_func_memcmp_working" >&6; }
4395 test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
4396 *" memcmp.$ac_objext "* ) ;;
4397 *) LIBOBJS="$LIBOBJS memcmp.$ac_objext"
4402 for ac_func in strftime
4404 ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
4405 if test "x$ac_cv_func_strftime" = xyes; then :
4406 cat >>confdefs.h <<_ACEOF
4407 #define HAVE_STRFTIME 1
4411 # strftime is in -lintl on SCO UNIX.
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
4413 $as_echo_n "checking for strftime in -lintl... " >&6; }
4414 if ${ac_cv_lib_intl_strftime+:} false; then :
4415 $as_echo_n "(cached) " >&6
4417 ac_check_lib_save_LIBS=$LIBS
4419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4420 /* end confdefs.h. */
4422 /* Override any GCC internal prototype to avoid an error.
4423 Use char because int might match the return type of a GCC
4424 builtin and then its argument prototype would still apply. */
4437 if ac_fn_c_try_link "$LINENO"; then :
4438 ac_cv_lib_intl_strftime=yes
4440 ac_cv_lib_intl_strftime=no
4442 rm -f core conftest.err conftest.$ac_objext \
4443 conftest$ac_exeext conftest.$ac_ext
4444 LIBS=$ac_check_lib_save_LIBS
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
4447 $as_echo "$ac_cv_lib_intl_strftime" >&6; }
4448 if test "x$ac_cv_lib_intl_strftime" = xyes; then :
4449 $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
4457 for ac_func in mktime strerror
4459 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4460 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
4461 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
4462 cat >>confdefs.h <<_ACEOF
4463 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4473 eval DATADIR=$datadir
4479 ac_config_files="$ac_config_files Makefile cpm.5 cpmchattr.1 cpmchmod.1 cpmcp.1 cpmls.1 cpmrm.1 fsck.cpm.1 fsed.cpm.1 mkfs.cpm.1"
4481 cat >confcache <<\_ACEOF
4482 # This file is a shell script that caches the results of configure
4483 # tests run on this system so they can be shared between configure
4484 # scripts and configure runs, see configure's option --config-cache.
4485 # It is not useful on other systems. If it contains results you don't
4486 # want to keep, you may remove or edit it.
4488 # config.status only pays attention to the cache file if you give it
4489 # the --recheck option to rerun configure.
4491 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4492 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4497 # The following way of writing the cache mishandles newlines in values,
4498 # but we know of no workaround that is simple, portable, and efficient.
4499 # So, we kill variables containing newlines.
4500 # Ultrix sh set writes to stderr and can't be redirected directly,
4501 # and sets the high bit in the cache file unless we assign to the vars.
4503 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4504 eval ac_val=\$$ac_var
4508 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4509 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4512 _ | IFS | as_nl) ;; #(
4513 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4514 *) { eval $ac_var=; unset $ac_var;} ;;
4520 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4521 *${as_nl}ac_space=\ *)
4522 # `set' does not quote correctly, so add quotes: double-quote
4523 # substitution turns \\\\ into \\, and sed turns \\ into \.
4526 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4529 # `set' quotes correctly as required by POSIX, so do not add quotes.
4530 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4539 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4541 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4543 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4544 if test -w "$cache_file"; then
4545 if test "x$cache_file" != "x/dev/null"; then
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4547 $as_echo "$as_me: updating cache $cache_file" >&6;}
4548 if test ! -f "$cache_file" || test -h "$cache_file"; then
4549 cat confcache >"$cache_file"
4551 case $cache_file in #(
4553 mv -f confcache "$cache_file"$$ &&
4554 mv -f "$cache_file"$$ "$cache_file" ;; #(
4556 mv -f confcache "$cache_file" ;;
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4562 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4567 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4568 # Let make expand exec_prefix.
4569 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4571 DEFS=-DHAVE_CONFIG_H
4576 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4577 # 1. Remove the extension, and $U if already installed.
4578 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4579 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4580 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4581 # will be set to the directory where LIBOBJS objects are built.
4582 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4583 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4587 LTLIBOBJS=$ac_ltlibobjs
4591 : "${CONFIG_STATUS=./config.status}"
4593 ac_clean_files_save=$ac_clean_files
4594 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4596 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4598 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4600 # Generated by $as_me.
4601 # Run this file to recreate the current configuration.
4602 # Compiler output produced by configure, useful for debugging
4603 # configure, is in config.log if it exists.
4609 SHELL=\${CONFIG_SHELL-$SHELL}
4612 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4613 ## -------------------- ##
4614 ## M4sh Initialization. ##
4615 ## -------------------- ##
4617 # Be more Bourne compatible
4618 DUALCASE=1; export DUALCASE # for MKS sh
4619 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4622 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4623 # is contrary to our usage. Disable this feature.
4624 alias -g '${1+"$@"}'='"$@"'
4625 setopt NO_GLOB_SUBST
4627 case `(set -o) 2>/dev/null` in #(
4639 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4640 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4641 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4642 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4643 # Prefer a ksh shell builtin over an external printf program on Solaris,
4644 # but without wasting forks for bash or zsh.
4645 if test -z "$BASH_VERSION$ZSH_VERSION" \
4646 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4647 as_echo='print -r --'
4648 as_echo_n='print -rn --'
4649 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4650 as_echo='printf %s\n'
4651 as_echo_n='printf %s'
4653 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4654 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4655 as_echo_n='/usr/ucb/echo -n'
4657 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4658 as_echo_n_body='eval
4662 expr "X$arg" : "X\\(.*\\)$as_nl";
4663 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4665 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4667 export as_echo_n_body
4668 as_echo_n='sh -c $as_echo_n_body as_echo'
4671 as_echo='sh -c $as_echo_body as_echo'
4674 # The user is always right.
4675 if test "${PATH_SEPARATOR+set}" != set; then
4677 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4678 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4685 # We need space, tab and new line, in precisely that order. Quoting is
4686 # there to prevent editors from complaining about space-tab.
4687 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4688 # splitting by setting IFS to empty value.)
4691 # Find who we are. Look in the path if we contain no directory separator.
4694 *[\\/]* ) as_myself=$0 ;;
4695 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4699 test -z "$as_dir" && as_dir=.
4700 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4706 # We did not find ourselves, most probably we were run as `sh COMMAND'
4707 # in which case we are not to be found in the path.
4708 if test "x$as_myself" = x; then
4711 if test ! -f "$as_myself"; then
4712 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4716 # Unset variables that we do not need and which cause bugs (e.g. in
4717 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4718 # suppresses any "Segmentation fault" message there. '((' could
4719 # trigger a bug in pdksh 5.2.14.
4720 for as_var in BASH_ENV ENV MAIL MAILPATH
4721 do eval test x\${$as_var+set} = xset \
4722 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4735 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4738 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4739 # ----------------------------------------
4740 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4741 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4742 # script with STATUS, using 1 if that was 0.
4745 as_status=$1; test $as_status -eq 0 && as_status=1
4747 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4748 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4750 $as_echo "$as_me: error: $2" >&2
4751 as_fn_exit $as_status
4755 # as_fn_set_status STATUS
4756 # -----------------------
4757 # Set $? to STATUS, without forking.
4761 } # as_fn_set_status
4765 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4775 # Portably unset VAR.
4778 { eval $1=; unset $1;}
4780 as_unset=as_fn_unset
4781 # as_fn_append VAR VALUE
4782 # ----------------------
4783 # Append the text in VALUE to the end of the definition contained in VAR. Take
4784 # advantage of any shell optimizations that allow amortized linear growth over
4785 # repeated appends, instead of the typical quadratic growth present in naive
4787 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4788 eval 'as_fn_append ()
4799 # as_fn_arith ARG...
4800 # ------------------
4801 # Perform arithmetic evaluation on the ARGs, and store the result in the
4802 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4803 # must be portable across $(()) and expr.
4804 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4805 eval 'as_fn_arith ()
4812 as_val=`expr "$@" || test $? -eq 1`
4817 if expr a : '\(a\)' >/dev/null 2>&1 &&
4818 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4824 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4825 as_basename=basename
4830 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4836 as_me=`$as_basename -- "$0" ||
4837 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4838 X"$0" : 'X\(//\)$' \| \
4839 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4841 sed '/^.*\/\([^/][^/]*\)\/*$/{
4855 # Avoid depending upon Character Ranges.
4856 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4857 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4858 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4859 as_cr_digits='0123456789'
4860 as_cr_alnum=$as_cr_Letters$as_cr_digits
4862 ECHO_C= ECHO_N= ECHO_T=
4863 case `echo -n x` in #(((((
4865 case `echo 'xy\c'` in
4866 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4868 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4875 rm -f conf$$ conf$$.exe conf$$.file
4876 if test -d conf$$.dir; then
4877 rm -f conf$$.dir/conf$$.file
4880 mkdir conf$$.dir 2>/dev/null
4882 if (echo >conf$$.file) 2>/dev/null; then
4883 if ln -s conf$$.file conf$$ 2>/dev/null; then
4885 # ... but there are two gotchas:
4886 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4887 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4888 # In both cases, we have to default to `cp -pR'.
4889 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4891 elif ln conf$$.file conf$$ 2>/dev/null; then
4899 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4900 rmdir conf$$.dir 2>/dev/null
4905 # Create "$as_dir" as a directory, including parents if necessary.
4910 -*) as_dir=./$as_dir;;
4912 test -d "$as_dir" || eval $as_mkdir_p || {
4916 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4917 *) as_qdir=$as_dir;;
4919 as_dirs="'$as_qdir' $as_dirs"
4920 as_dir=`$as_dirname -- "$as_dir" ||
4921 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4922 X"$as_dir" : 'X\(//\)[^/]' \| \
4923 X"$as_dir" : 'X\(//\)$' \| \
4924 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4925 $as_echo X"$as_dir" |
4926 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4943 test -d "$as_dir" && break
4945 test -z "$as_dirs" || eval "mkdir $as_dirs"
4946 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4950 if mkdir -p . 2>/dev/null; then
4951 as_mkdir_p='mkdir -p "$as_dir"'
4953 test -d ./-p && rmdir ./-p
4958 # as_fn_executable_p FILE
4959 # -----------------------
4960 # Test if FILE is an executable regular file.
4961 as_fn_executable_p ()
4963 test -f "$1" && test -x "$1"
4964 } # as_fn_executable_p
4966 as_executable_p=as_fn_executable_p
4968 # Sed expression to map a string onto a valid CPP name.
4969 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4971 # Sed expression to map a string onto a valid variable name.
4972 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4976 ## ----------------------------------- ##
4977 ## Main body of $CONFIG_STATUS script. ##
4978 ## ----------------------------------- ##
4980 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4982 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4983 # Save the log message, to keep $0 and so on meaningful, and to
4984 # report actual input values of CONFIG_FILES etc. instead of their
4985 # values after options handling.
4987 This file was extended by $as_me, which was
4988 generated by GNU Autoconf 2.69. Invocation command line was
4990 CONFIG_FILES = $CONFIG_FILES
4991 CONFIG_HEADERS = $CONFIG_HEADERS
4992 CONFIG_LINKS = $CONFIG_LINKS
4993 CONFIG_COMMANDS = $CONFIG_COMMANDS
4996 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5001 case $ac_config_files in *"
5002 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5005 case $ac_config_headers in *"
5006 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5010 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5011 # Files that config.status was made for.
5012 config_files="$ac_config_files"
5013 config_headers="$ac_config_headers"
5017 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5019 \`$as_me' instantiates files and other configuration actions
5020 from templates according to the current configuration. Unless the files
5021 and actions are specified as TAGs, all are instantiated by default.
5023 Usage: $0 [OPTION]... [TAG]...
5025 -h, --help print this help, then exit
5026 -V, --version print version number and configuration settings, then exit
5027 --config print configuration, then exit
5028 -q, --quiet, --silent
5029 do not print progress messages
5030 -d, --debug don't remove temporary files
5031 --recheck update $as_me by reconfiguring in the same conditions
5032 --file=FILE[:TEMPLATE]
5033 instantiate the configuration file FILE
5034 --header=FILE[:TEMPLATE]
5035 instantiate the configuration header FILE
5037 Configuration files:
5040 Configuration headers:
5043 Report bugs to the package provider."
5046 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5047 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5050 configured by $0, generated by GNU Autoconf 2.69,
5051 with options \\"\$ac_cs_config\\"
5053 Copyright (C) 2012 Free Software Foundation, Inc.
5054 This config.status script is free software; the Free Software Foundation
5055 gives unlimited permission to copy, distribute and modify it."
5060 test -n "\$AWK" || AWK=awk
5063 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5064 # The default lists apply if the user does not specify any file.
5070 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5071 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5075 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5087 # Handling of the options.
5088 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5090 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5091 $as_echo "$ac_cs_version"; exit ;;
5092 --config | --confi | --conf | --con | --co | --c )
5093 $as_echo "$ac_cs_config"; exit ;;
5094 --debug | --debu | --deb | --de | --d | -d )
5096 --file | --fil | --fi | --f )
5099 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5100 '') as_fn_error $? "missing file argument" ;;
5102 as_fn_append CONFIG_FILES " '$ac_optarg'"
5103 ac_need_defaults=false;;
5104 --header | --heade | --head | --hea )
5107 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5109 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5110 ac_need_defaults=false;;
5112 # Conflict between --help and --header
5113 as_fn_error $? "ambiguous option: \`$1'
5114 Try \`$0 --help' for more information.";;
5115 --help | --hel | -h )
5116 $as_echo "$ac_cs_usage"; exit ;;
5117 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5118 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5122 -*) as_fn_error $? "unrecognized option: \`$1'
5123 Try \`$0 --help' for more information." ;;
5125 *) as_fn_append ac_config_targets " $1"
5126 ac_need_defaults=false ;;
5132 ac_configure_extra_args=
5134 if $ac_cs_silent; then
5136 ac_configure_extra_args="$ac_configure_extra_args --silent"
5140 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5141 if \$ac_cs_recheck; then
5142 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5144 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5145 CONFIG_SHELL='$SHELL'
5151 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5155 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5156 ## Running $as_me. ##
5162 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5165 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5167 # Handling of arguments.
5168 for ac_config_target in $ac_config_targets
5170 case $ac_config_target in
5171 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5172 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5173 "cpm.5") CONFIG_FILES="$CONFIG_FILES cpm.5" ;;
5174 "cpmchattr.1") CONFIG_FILES="$CONFIG_FILES cpmchattr.1" ;;
5175 "cpmchmod.1") CONFIG_FILES="$CONFIG_FILES cpmchmod.1" ;;
5176 "cpmcp.1") CONFIG_FILES="$CONFIG_FILES cpmcp.1" ;;
5177 "cpmls.1") CONFIG_FILES="$CONFIG_FILES cpmls.1" ;;
5178 "cpmrm.1") CONFIG_FILES="$CONFIG_FILES cpmrm.1" ;;
5179 "fsck.cpm.1") CONFIG_FILES="$CONFIG_FILES fsck.cpm.1" ;;
5180 "fsed.cpm.1") CONFIG_FILES="$CONFIG_FILES fsed.cpm.1" ;;
5181 "mkfs.cpm.1") CONFIG_FILES="$CONFIG_FILES mkfs.cpm.1" ;;
5183 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5188 # If the user did not use the arguments to specify the items to instantiate,
5189 # then the envvar interface is used. Set only those that are not.
5190 # We use the long form for the default assignment because of an extremely
5191 # bizarre bug on SunOS 4.1.3.
5192 if $ac_need_defaults; then
5193 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5194 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5197 # Have a temporary directory for convenience. Make it in the build tree
5198 # simply because there is no reason against having it here, and in addition,
5199 # creating and moving files from /tmp can sometimes cause problems.
5200 # Hook for its removal unless debugging.
5201 # Note that there is a small window in which the directory will not be cleaned:
5202 # after its creation but before its name has been assigned to `$tmp'.
5206 trap 'exit_status=$?
5208 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5210 trap 'as_fn_exit 1' 1 2 13 15
5212 # Create a (secure) tmp directory for tmp files.
5215 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5219 tmp=./conf$$-$RANDOM
5220 (umask 077 && mkdir "$tmp")
5221 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5224 # Set up the scripts for CONFIG_FILES section.
5225 # No need to generate them if there are no CONFIG_FILES.
5226 # This happens for instance with `./config.status config.h'.
5227 if test -n "$CONFIG_FILES"; then
5230 ac_cr=`echo X | tr X '\015'`
5231 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5232 # But we know of no other shell where ac_cr would be empty at this
5233 # point, so we can use a bashism as a fallback.
5234 if test "x$ac_cr" = x; then
5235 eval ac_cr=\$\'\\r\'
5237 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5238 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5244 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5249 echo "cat >conf$$subs.awk <<_ACEOF" &&
5250 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5253 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5254 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5256 for ac_last_try in false false false false false :; do
5257 . ./conf$$subs.sh ||
5258 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5260 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5261 if test $ac_delim_n = $ac_delim_num; then
5263 elif $ac_last_try; then
5264 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5266 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5271 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5272 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5276 s/^/S["/; s/!.*/"]=/
5286 s/\(.\{148\}\)..*/\1/
5288 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5293 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5300 s/\(.\{148\}\)..*/\1/
5302 s/["\\]/\\&/g; s/^/"/; s/$/"/
5306 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5311 ' <conf$$subs.awk | sed '
5316 ' >>$CONFIG_STATUS || ac_write_fail=1
5317 rm -f conf$$subs.awk
5318 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5320 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5321 for (key in S) S_is_set[key] = 1
5327 nfields = split(line, field, "@")
5329 len = length(field[1])
5330 for (i = 2; i < nfields; i++) {
5332 keylen = length(key)
5333 if (S_is_set[key]) {
5335 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5336 len += length(value) + length(field[++i])
5347 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5348 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5349 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5352 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5353 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5356 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5357 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5358 # trailing colons and then remove the whole line if VPATH becomes empty
5359 # (actually we leave an empty line to preserve line numbers).
5360 if test "x$srcdir" = x.; then
5361 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5379 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5380 fi # test -n "$CONFIG_FILES"
5382 # Set up the scripts for CONFIG_HEADERS section.
5383 # No need to generate them if there are no CONFIG_HEADERS.
5384 # This happens for instance with `./config.status Makefile'.
5385 if test -n "$CONFIG_HEADERS"; then
5386 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
5390 # Transform confdefs.h into an awk script `defines.awk', embedded as
5391 # here-document in config.status, that substitutes the proper values into
5392 # config.h.in to produce config.h.
5394 # Create a delimiter string that does not exist in confdefs.h, to ease
5395 # handling of long lines.
5397 for ac_last_try in false false :; do
5398 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
5399 if test -z "$ac_tt"; then
5401 elif $ac_last_try; then
5402 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
5404 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5408 # For the awk script, D is an array of macro values keyed by name,
5409 # likewise P contains macro parameters if any. Preserve backslash
5410 # newline sequences.
5412 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5414 s/.\{148\}/&'"$ac_delim"'/g
5417 s/^[ ]*#[ ]*define[ ][ ]*/ /
5424 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5426 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5430 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5431 D["\1"]=" \3\\\\\\n"\\/p
5433 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5438 s/.\{148\}/&'"$ac_delim"'/g
5443 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5446 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5448 ' <confdefs.h | sed '
5449 s/'"$ac_delim"'/"\\\
5450 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5452 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5453 for (key in D) D_is_set[key] = 1
5456 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5458 split(line, arg, " ")
5459 if (arg[1] == "#") {
5463 defundef = substr(arg[1], 2)
5466 split(mac1, mac2, "(") #)
5468 prefix = substr(line, 1, index(line, defundef) - 1)
5469 if (D_is_set[macro]) {
5470 # Preserve the white space surrounding the "#".
5471 print prefix "define", macro P[macro] D[macro]
5474 # Replace #undef with comments. This is necessary, for example,
5475 # in the case of _POSIX_SOURCE, which is predefined and required
5476 # on some systems where configure will not decide to define it.
5477 if (defundef == "undef") {
5478 print "/*", prefix defundef, macro, "*/"
5486 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5487 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
5488 fi # test -n "$CONFIG_HEADERS"
5491 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
5496 :[FHLC]) ac_mode=$ac_tag; continue;;
5498 case $ac_mode$ac_tag in
5500 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5501 :[FH]-) ac_tag=-:-;;
5502 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5519 -) ac_f="$ac_tmp/stdin";;
5520 *) # Look for the file first in the build tree, then in the source tree
5521 # (if the path is not absolute). The absolute path cannot be DOS-style,
5522 # because $ac_f cannot contain `:'.
5526 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5528 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5530 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5531 as_fn_append ac_file_inputs " '$ac_f'"
5534 # Let's still pretend it is `configure' which instantiates (i.e., don't
5535 # use $as_me), people would be surprised to read:
5536 # /* config.h. Generated by config.status. */
5537 configure_input='Generated from '`
5538 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5540 if test x"$ac_file" != x-; then
5541 configure_input="$ac_file. $configure_input"
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5543 $as_echo "$as_me: creating $ac_file" >&6;}
5545 # Neutralize special characters interpreted by sed in replacement strings.
5546 case $configure_input in #(
5547 *\&* | *\|* | *\\* )
5548 ac_sed_conf_input=`$as_echo "$configure_input" |
5549 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5550 *) ac_sed_conf_input=$configure_input;;
5554 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5555 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5560 ac_dir=`$as_dirname -- "$ac_file" ||
5561 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5562 X"$ac_file" : 'X\(//\)[^/]' \| \
5563 X"$ac_file" : 'X\(//\)$' \| \
5564 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5565 $as_echo X"$ac_file" |
5566 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5583 as_dir="$ac_dir"; as_fn_mkdir_p
5587 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5589 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5590 # A ".." for each directory in $ac_dir_suffix.
5591 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5592 case $ac_top_builddir_sub in
5593 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5594 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5597 ac_abs_top_builddir=$ac_pwd
5598 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5599 # for backward compatibility:
5600 ac_top_builddir=$ac_top_build_prefix
5603 .) # We are building in place.
5605 ac_top_srcdir=$ac_top_builddir_sub
5606 ac_abs_top_srcdir=$ac_pwd ;;
5607 [\\/]* | ?:[\\/]* ) # Absolute name.
5608 ac_srcdir=$srcdir$ac_dir_suffix;
5609 ac_top_srcdir=$srcdir
5610 ac_abs_top_srcdir=$srcdir ;;
5612 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5613 ac_top_srcdir=$ac_top_build_prefix$srcdir
5614 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5616 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5626 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5627 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5631 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5632 # If the template does not know about datarootdir, expand it.
5633 # FIXME: This hack should be removed a few years after 2.60.
5634 ac_datarootdir_hack=; ac_datarootdir_seen=
5645 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5646 *datarootdir*) ac_datarootdir_seen=yes;;
5647 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5649 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5651 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5652 ac_datarootdir_hack='
5653 s&@datadir@&$datadir&g
5654 s&@docdir@&$docdir&g
5655 s&@infodir@&$infodir&g
5656 s&@localedir@&$localedir&g
5657 s&@mandir@&$mandir&g
5658 s&\\\${datarootdir}&$datarootdir&g' ;;
5662 # Neutralize VPATH when `$srcdir' = `.'.
5663 # Shell code in configure.ac might set extrasub.
5664 # FIXME: do we really want to maintain this feature?
5665 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5666 ac_sed_extra="$ac_vpsub
5669 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5671 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5672 s|@configure_input@|$ac_sed_conf_input|;t t
5673 s&@top_builddir@&$ac_top_builddir_sub&;t t
5674 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5675 s&@srcdir@&$ac_srcdir&;t t
5676 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5677 s&@top_srcdir@&$ac_top_srcdir&;t t
5678 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5679 s&@builddir@&$ac_builddir&;t t
5680 s&@abs_builddir@&$ac_abs_builddir&;t t
5681 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5682 s&@INSTALL@&$ac_INSTALL&;t t
5683 $ac_datarootdir_hack
5685 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5686 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5688 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5689 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5690 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5691 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5693 which seems to be undefined. Please make sure it is defined" >&5
5694 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5695 which seems to be undefined. Please make sure it is defined" >&2;}
5697 rm -f "$ac_tmp/stdin"
5699 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5700 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5702 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5708 if test x"$ac_file" != x-; then
5710 $as_echo "/* $configure_input */" \
5711 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
5712 } >"$ac_tmp/config.h" \
5713 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5714 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5716 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5719 mv "$ac_tmp/config.h" "$ac_file" \
5720 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5723 $as_echo "/* $configure_input */" \
5724 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
5725 || as_fn_error $? "could not create -" "$LINENO" 5
5737 ac_clean_files=$ac_clean_files_save
5739 test $ac_write_fail = 0 ||
5740 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5743 # configure is writing to config.log, and then calls config.status.
5744 # config.status does its own redirection, appending to config.log.
5745 # Unfortunately, on DOS this fails, as config.log is still kept open
5746 # by configure, so config.status won't be able to write to it; its
5747 # output is simply discarded. So we exec the FD to /dev/null,
5748 # effectively closing config.log, so it can be properly (re)opened and
5749 # appended to by config.status. When coming back to configure, we
5750 # need to make the FD available again.
5751 if test "$no_create" != yes; then
5753 ac_config_status_args=
5754 test "$silent" = yes &&
5755 ac_config_status_args="$ac_config_status_args --quiet"
5757 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5759 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5760 # would make configure fail if this is the last instruction.
5761 $ac_cs_success || as_fn_exit 1
5763 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5765 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}