2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
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.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1"
173 if (eval "$as_required") 2>/dev/null; then :
178 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
183 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
186 test -z "$as_dir" && as_dir=.
190 for as_base in sh bash ksh sh5; do
191 # Try only shells that exist, to save several forks.
192 as_shell=$as_dir/$as_base
193 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
194 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
195 CONFIG_SHELL=$as_shell as_have_required=yes
196 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
204 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
206 CONFIG_SHELL=$SHELL as_have_required=yes
211 if test "x$CONFIG_SHELL" != x; then :
212 # We cannot yet assume a decent shell, so we have to provide a
213 # neutralization value for shells without unset; and this also
214 # works around shells that cannot unset nonexistent variables.
217 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
219 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222 if test x$as_have_required = xno; then :
223 $as_echo "$0: This script requires a shell more modern than all"
224 $as_echo "$0: the shells that I found on your system."
225 if test x${ZSH_VERSION+set} = xset ; then
226 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
229 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
230 $0: including any error possibly output before this
231 $0: message. Then install a modern shell, or manually run
232 $0: the script under such a shell if you do have one."
238 SHELL=${CONFIG_SHELL-/bin/sh}
240 # Unset more variables known to interfere with behavior of common tools.
241 CLICOLOR_FORCE= GREP_OPTIONS=
242 unset CLICOLOR_FORCE GREP_OPTIONS
244 ## --------------------- ##
245 ## M4sh Shell Functions. ##
246 ## --------------------- ##
249 # Portably unset VAR.
252 { eval $1=; unset $1;}
256 # as_fn_set_status STATUS
257 # -----------------------
258 # Set $? to STATUS, without forking.
266 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
276 # Create "$as_dir" as a directory, including parents if necessary.
281 -*) as_dir=./$as_dir;;
283 test -d "$as_dir" || eval $as_mkdir_p || {
287 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290 as_dirs="'$as_qdir' $as_dirs"
291 as_dir=`$as_dirname -- "$as_dir" ||
292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293 X"$as_dir" : 'X\(//\)[^/]' \| \
294 X"$as_dir" : 'X\(//\)$' \| \
295 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296 $as_echo X"$as_dir" |
297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
314 test -d "$as_dir" && break
316 test -z "$as_dirs" || eval "mkdir $as_dirs"
317 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
321 # as_fn_append VAR VALUE
322 # ----------------------
323 # Append the text in VALUE to the end of the definition contained in VAR. Take
324 # advantage of any shell optimizations that allow amortized linear growth over
325 # repeated appends, instead of the typical quadratic growth present in naive
327 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
328 eval 'as_fn_append ()
341 # Perform arithmetic evaluation on the ARGs, and store the result in the
342 # global $as_val. Take advantage of shells that can avoid forks. The arguments
343 # must be portable across $(()) and expr.
344 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
352 as_val=`expr "$@" || test $? -eq 1`
357 # as_fn_error ERROR [LINENO LOG_FD]
358 # ---------------------------------
359 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361 # script with status $?, using 1 if that was 0.
364 as_status=$?; test $as_status -eq 0 && as_status=1
366 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
367 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
369 $as_echo "$as_me: error: $1" >&2
370 as_fn_exit $as_status
373 if expr a : '\(a\)' >/dev/null 2>&1 &&
374 test "X`expr 00001 : '.*\(...\)'`" = X001; then
380 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
392 as_me=`$as_basename -- "$0" ||
393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
394 X"$0" : 'X\(//\)$' \| \
395 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
397 sed '/^.*\/\([^/][^/]*\)\/*$/{
411 # Avoid depending upon Character Ranges.
412 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
413 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
415 as_cr_digits='0123456789'
416 as_cr_alnum=$as_cr_Letters$as_cr_digits
419 as_lineno_1=$LINENO as_lineno_1a=$LINENO
420 as_lineno_2=$LINENO as_lineno_2a=$LINENO
421 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
422 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
423 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
435 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
439 chmod +x "$as_me.lineno" ||
440 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
442 # Don't try to exec as it changes $[0], causing all sort of problems
443 # (the dirname of $[0] is not the place where we might find the
444 # original and so on. Autoconf is especially sensitive to this).
446 # Exit status is that of the last command.
450 ECHO_C= ECHO_N= ECHO_T=
451 case `echo -n x` in #(((((
453 case `echo 'xy\c'` in
454 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
456 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
463 rm -f conf$$ conf$$.exe conf$$.file
464 if test -d conf$$.dir; then
465 rm -f conf$$.dir/conf$$.file
468 mkdir conf$$.dir 2>/dev/null
470 if (echo >conf$$.file) 2>/dev/null; then
471 if ln -s conf$$.file conf$$ 2>/dev/null; then
473 # ... but there are two gotchas:
474 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
475 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
476 # In both cases, we have to default to `cp -p'.
477 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
479 elif ln conf$$.file conf$$ 2>/dev/null; then
487 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
488 rmdir conf$$.dir 2>/dev/null
490 if mkdir -p . 2>/dev/null; then
491 as_mkdir_p='mkdir -p "$as_dir"'
493 test -d ./-p && rmdir ./-p
497 if test -x / >/dev/null 2>&1; then
500 if ls -dL / >/dev/null 2>&1; then
507 if test -d "$1"; then
513 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
514 ???[sx]*):;;*)false;;esac;fi
518 as_executable_p=$as_test_x
520 # Sed expression to map a string onto a valid CPP name.
521 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
523 # Sed expression to map a string onto a valid variable name.
524 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527 exec 7<&0 </dev/null 6>&1
530 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
531 # so uname gets run too.
532 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
537 ac_default_prefix=/usr/local
539 ac_config_libobj_dir=.
546 # Identity of this package.
554 ac_unique_file="cpmfs.c"
555 # Factoring default headers for most tests.
556 ac_includes_default="\
558 #ifdef HAVE_SYS_TYPES_H
559 # include <sys/types.h>
561 #ifdef HAVE_SYS_STAT_H
562 # include <sys/stat.h>
568 # ifdef HAVE_STDLIB_H
573 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
578 #ifdef HAVE_STRINGS_H
579 # include <strings.h>
581 #ifdef HAVE_INTTYPES_H
582 # include <inttypes.h>
591 ac_subst_vars='LTLIBOBJS
649 program_transform_name
662 enable_option_checking
669 ac_precious_vars='build_alias
680 # Initialize some variables set by options.
682 ac_init_version=false
683 ac_unrecognized_opts=
685 # The variables have the same names as the options, with
686 # dashes changed to underlines.
694 program_transform_name=s,x,x,
702 # Installation directory options.
703 # These are left unexpanded so users can "make install exec_prefix=/foo"
704 # and all the variables that are supposed to be based on exec_prefix
705 # by default will actually change.
706 # Use braces instead of parens because sh, perl, etc. also accept them.
707 # (The list follows the same order as the GNU Coding Standards.)
708 bindir='${exec_prefix}/bin'
709 sbindir='${exec_prefix}/sbin'
710 libexecdir='${exec_prefix}/libexec'
711 datarootdir='${prefix}/share'
712 datadir='${datarootdir}'
713 sysconfdir='${prefix}/etc'
714 sharedstatedir='${prefix}/com'
715 localstatedir='${prefix}/var'
716 includedir='${prefix}/include'
717 oldincludedir='/usr/include'
718 docdir='${datarootdir}/doc/${PACKAGE}'
719 infodir='${datarootdir}/info'
724 libdir='${exec_prefix}/lib'
725 localedir='${datarootdir}/locale'
726 mandir='${datarootdir}/man'
732 # If the previous option needs an argument, assign it.
733 if test -n "$ac_prev"; then
734 eval $ac_prev=\$ac_option
740 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
744 # Accept the important Cygnus configure options, so we can diagnose typos.
746 case $ac_dashdash$ac_option in
750 -bindir | --bindir | --bindi | --bind | --bin | --bi)
752 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
755 -build | --build | --buil | --bui | --bu)
756 ac_prev=build_alias ;;
757 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
758 build_alias=$ac_optarg ;;
760 -cache-file | --cache-file | --cache-fil | --cache-fi \
761 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
762 ac_prev=cache_file ;;
763 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
764 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
765 cache_file=$ac_optarg ;;
768 cache_file=config.cache ;;
770 -datadir | --datadir | --datadi | --datad)
772 -datadir=* | --datadir=* | --datadi=* | --datad=*)
773 datadir=$ac_optarg ;;
775 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
776 | --dataroo | --dataro | --datar)
777 ac_prev=datarootdir ;;
778 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
779 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
780 datarootdir=$ac_optarg ;;
782 -disable-* | --disable-*)
783 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
784 # Reject names that are not valid shell variable names.
785 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
786 as_fn_error "invalid feature name: $ac_useropt"
787 ac_useropt_orig=$ac_useropt
788 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
789 case $ac_user_opts in
793 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
794 ac_unrecognized_sep=', ';;
796 eval enable_$ac_useropt=no ;;
798 -docdir | --docdir | --docdi | --doc | --do)
800 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
803 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
805 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
808 -enable-* | --enable-*)
809 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
810 # Reject names that are not valid shell variable names.
811 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
812 as_fn_error "invalid feature name: $ac_useropt"
813 ac_useropt_orig=$ac_useropt
814 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
815 case $ac_user_opts in
819 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
820 ac_unrecognized_sep=', ';;
822 eval enable_$ac_useropt=\$ac_optarg ;;
824 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
825 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
826 | --exec | --exe | --ex)
827 ac_prev=exec_prefix ;;
828 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
829 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
830 | --exec=* | --exe=* | --ex=*)
831 exec_prefix=$ac_optarg ;;
833 -gas | --gas | --ga | --g)
834 # Obsolete; use --with-gas.
837 -help | --help | --hel | --he | -h)
839 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
840 ac_init_help=recursive ;;
841 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
842 ac_init_help=short ;;
844 -host | --host | --hos | --ho)
845 ac_prev=host_alias ;;
846 -host=* | --host=* | --hos=* | --ho=*)
847 host_alias=$ac_optarg ;;
849 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
851 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
853 htmldir=$ac_optarg ;;
855 -includedir | --includedir | --includedi | --included | --include \
856 | --includ | --inclu | --incl | --inc)
857 ac_prev=includedir ;;
858 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
859 | --includ=* | --inclu=* | --incl=* | --inc=*)
860 includedir=$ac_optarg ;;
862 -infodir | --infodir | --infodi | --infod | --info | --inf)
864 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
865 infodir=$ac_optarg ;;
867 -libdir | --libdir | --libdi | --libd)
869 -libdir=* | --libdir=* | --libdi=* | --libd=*)
872 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
873 | --libexe | --libex | --libe)
874 ac_prev=libexecdir ;;
875 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
876 | --libexe=* | --libex=* | --libe=*)
877 libexecdir=$ac_optarg ;;
879 -localedir | --localedir | --localedi | --localed | --locale)
881 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
882 localedir=$ac_optarg ;;
884 -localstatedir | --localstatedir | --localstatedi | --localstated \
885 | --localstate | --localstat | --localsta | --localst | --locals)
886 ac_prev=localstatedir ;;
887 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
888 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
889 localstatedir=$ac_optarg ;;
891 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
893 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
897 # Obsolete; use --without-fp.
900 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
901 | --no-cr | --no-c | -n)
904 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
905 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
908 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
909 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
910 | --oldin | --oldi | --old | --ol | --o)
911 ac_prev=oldincludedir ;;
912 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
913 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
914 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
915 oldincludedir=$ac_optarg ;;
917 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
919 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
922 -program-prefix | --program-prefix | --program-prefi | --program-pref \
923 | --program-pre | --program-pr | --program-p)
924 ac_prev=program_prefix ;;
925 -program-prefix=* | --program-prefix=* | --program-prefi=* \
926 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
927 program_prefix=$ac_optarg ;;
929 -program-suffix | --program-suffix | --program-suffi | --program-suff \
930 | --program-suf | --program-su | --program-s)
931 ac_prev=program_suffix ;;
932 -program-suffix=* | --program-suffix=* | --program-suffi=* \
933 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
934 program_suffix=$ac_optarg ;;
936 -program-transform-name | --program-transform-name \
937 | --program-transform-nam | --program-transform-na \
938 | --program-transform-n | --program-transform- \
939 | --program-transform | --program-transfor \
940 | --program-transfo | --program-transf \
941 | --program-trans | --program-tran \
942 | --progr-tra | --program-tr | --program-t)
943 ac_prev=program_transform_name ;;
944 -program-transform-name=* | --program-transform-name=* \
945 | --program-transform-nam=* | --program-transform-na=* \
946 | --program-transform-n=* | --program-transform-=* \
947 | --program-transform=* | --program-transfor=* \
948 | --program-transfo=* | --program-transf=* \
949 | --program-trans=* | --program-tran=* \
950 | --progr-tra=* | --program-tr=* | --program-t=*)
951 program_transform_name=$ac_optarg ;;
953 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
955 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
958 -psdir | --psdir | --psdi | --psd | --ps)
960 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
963 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
964 | -silent | --silent | --silen | --sile | --sil)
967 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
969 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
971 sbindir=$ac_optarg ;;
973 -sharedstatedir | --sharedstatedir | --sharedstatedi \
974 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
975 | --sharedst | --shareds | --shared | --share | --shar \
977 ac_prev=sharedstatedir ;;
978 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
979 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
980 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
982 sharedstatedir=$ac_optarg ;;
984 -site | --site | --sit)
986 -site=* | --site=* | --sit=*)
989 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
991 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
994 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
995 | --syscon | --sysco | --sysc | --sys | --sy)
996 ac_prev=sysconfdir ;;
997 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
998 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
999 sysconfdir=$ac_optarg ;;
1001 -target | --target | --targe | --targ | --tar | --ta | --t)
1002 ac_prev=target_alias ;;
1003 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1004 target_alias=$ac_optarg ;;
1006 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1009 -version | --version | --versio | --versi | --vers | -V)
1010 ac_init_version=: ;;
1013 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1014 # Reject names that are not valid shell variable names.
1015 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1016 as_fn_error "invalid package name: $ac_useropt"
1017 ac_useropt_orig=$ac_useropt
1018 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1019 case $ac_user_opts in
1023 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1024 ac_unrecognized_sep=', ';;
1026 eval with_$ac_useropt=\$ac_optarg ;;
1028 -without-* | --without-*)
1029 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1030 # Reject names that are not valid shell variable names.
1031 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1032 as_fn_error "invalid package name: $ac_useropt"
1033 ac_useropt_orig=$ac_useropt
1034 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1035 case $ac_user_opts in
1039 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1040 ac_unrecognized_sep=', ';;
1042 eval with_$ac_useropt=no ;;
1045 # Obsolete; use --with-x.
1048 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1049 | --x-incl | --x-inc | --x-in | --x-i)
1050 ac_prev=x_includes ;;
1051 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1052 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1053 x_includes=$ac_optarg ;;
1055 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1056 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1057 ac_prev=x_libraries ;;
1058 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1059 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1060 x_libraries=$ac_optarg ;;
1062 -*) as_fn_error "unrecognized option: \`$ac_option'
1063 Try \`$0 --help' for more information."
1067 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1068 # Reject names that are not valid shell variable names.
1069 case $ac_envvar in #(
1070 '' | [0-9]* | *[!_$as_cr_alnum]* )
1071 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1073 eval $ac_envvar=\$ac_optarg
1074 export $ac_envvar ;;
1077 # FIXME: should be removed in autoconf 3.0.
1078 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1079 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1080 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1081 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1087 if test -n "$ac_prev"; then
1088 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1089 as_fn_error "missing argument to $ac_option"
1092 if test -n "$ac_unrecognized_opts"; then
1093 case $enable_option_checking in
1095 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1096 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1100 # Check all directory arguments for consistency.
1101 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1102 datadir sysconfdir sharedstatedir localstatedir includedir \
1103 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1104 libdir localedir mandir
1106 eval ac_val=\$$ac_var
1107 # Remove trailing slashes.
1110 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1111 eval $ac_var=\$ac_val;;
1113 # Be sure to have absolute directory names.
1115 [\\/$]* | ?:[\\/]* ) continue;;
1116 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1118 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1121 # There might be people who depend on the old broken behavior: `$host'
1122 # used to hold the argument of --host etc.
1123 # FIXME: To remove some day.
1126 target=$target_alias
1128 # FIXME: To remove some day.
1129 if test "x$host_alias" != x; then
1130 if test "x$build_alias" = x; then
1131 cross_compiling=maybe
1132 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1133 If a cross compiler is detected then cross compile mode will be used." >&2
1134 elif test "x$build_alias" != "x$host_alias"; then
1140 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1142 test "$silent" = yes && exec 6>/dev/null
1145 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1146 ac_ls_di=`ls -di .` &&
1147 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1148 as_fn_error "working directory cannot be determined"
1149 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1150 as_fn_error "pwd does not report name of working directory"
1153 # Find the source files, if location was not specified.
1154 if test -z "$srcdir"; then
1155 ac_srcdir_defaulted=yes
1156 # Try the directory containing this script, then the parent directory.
1157 ac_confdir=`$as_dirname -- "$as_myself" ||
1158 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1159 X"$as_myself" : 'X\(//\)[^/]' \| \
1160 X"$as_myself" : 'X\(//\)$' \| \
1161 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1162 $as_echo X"$as_myself" |
1163 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1181 if test ! -r "$srcdir/$ac_unique_file"; then
1185 ac_srcdir_defaulted=no
1187 if test ! -r "$srcdir/$ac_unique_file"; then
1188 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1189 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1191 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1193 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1195 # When building in place, set srcdir=.
1196 if test "$ac_abs_confdir" = "$ac_pwd"; then
1199 # Remove unnecessary trailing slashes from srcdir.
1200 # Double slashes in file names in object file debugging info
1201 # mess up M-x gdb in Emacs.
1203 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1205 for ac_var in $ac_precious_vars; do
1206 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1207 eval ac_env_${ac_var}_value=\$${ac_var}
1208 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1209 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1213 # Report the --help message.
1215 if test "$ac_init_help" = "long"; then
1216 # Omit some internal or obsolete options to make the list less imposing.
1217 # This message is too long to be a string in the A/UX 3.1 sh.
1219 \`configure' configures this package to adapt to many kinds of systems.
1221 Usage: $0 [OPTION]... [VAR=VALUE]...
1223 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1224 VAR=VALUE. See below for descriptions of some of the useful variables.
1226 Defaults for the options are specified in brackets.
1229 -h, --help display this help and exit
1230 --help=short display options specific to this package
1231 --help=recursive display the short help of all the included packages
1232 -V, --version display version information and exit
1233 -q, --quiet, --silent do not print \`checking...' messages
1234 --cache-file=FILE cache test results in FILE [disabled]
1235 -C, --config-cache alias for \`--cache-file=config.cache'
1236 -n, --no-create do not create output files
1237 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1239 Installation directories:
1240 --prefix=PREFIX install architecture-independent files in PREFIX
1241 [$ac_default_prefix]
1242 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1245 By default, \`make install' will install all the files in
1246 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1247 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1248 for instance \`--prefix=\$HOME'.
1250 For better control, use the options below.
1252 Fine tuning of the installation directories:
1253 --bindir=DIR user executables [EPREFIX/bin]
1254 --sbindir=DIR system admin executables [EPREFIX/sbin]
1255 --libexecdir=DIR program executables [EPREFIX/libexec]
1256 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1257 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1258 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1259 --libdir=DIR object code libraries [EPREFIX/lib]
1260 --includedir=DIR C header files [PREFIX/include]
1261 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1262 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1263 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1264 --infodir=DIR info documentation [DATAROOTDIR/info]
1265 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1266 --mandir=DIR man documentation [DATAROOTDIR/man]
1267 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1268 --htmldir=DIR html documentation [DOCDIR]
1269 --dvidir=DIR dvi documentation [DOCDIR]
1270 --pdfdir=DIR pdf documentation [DOCDIR]
1271 --psdir=DIR ps documentation [DOCDIR]
1277 --build=BUILD configure for building on BUILD [guessed]
1278 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1282 if test -n "$ac_init_help"; then
1287 --disable-option-checking ignore unrecognized --enable/--with options
1288 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1289 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1290 --disable-largefile omit support for large files
1293 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1294 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1295 --with-diskdefs Specify diskdefs location
1296 --with-defformat Specify default format (ibm-3740)
1297 --with-libdsk Specify path to libdsk library
1298 --with-dmalloc Specify path to dmalloc library
1300 Some influential environment variables:
1301 CC C compiler command
1302 CFLAGS C compiler flags
1303 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1304 nonstandard directory <lib dir>
1305 LIBS libraries to pass to the linker, e.g. -l<library>
1306 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1307 you have headers in a nonstandard directory <include dir>
1310 Use these variables to override the choices made by `configure' or to help
1311 it to find libraries and programs with nonstandard names/locations.
1313 Report bugs to the package provider.
1318 if test "$ac_init_help" = "recursive"; then
1319 # If there are subdirs, report their specific --help.
1320 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1321 test -d "$ac_dir" ||
1322 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1327 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1329 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1330 # A ".." for each directory in $ac_dir_suffix.
1331 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1332 case $ac_top_builddir_sub in
1333 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1334 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1337 ac_abs_top_builddir=$ac_pwd
1338 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1339 # for backward compatibility:
1340 ac_top_builddir=$ac_top_build_prefix
1343 .) # We are building in place.
1345 ac_top_srcdir=$ac_top_builddir_sub
1346 ac_abs_top_srcdir=$ac_pwd ;;
1347 [\\/]* | ?:[\\/]* ) # Absolute name.
1348 ac_srcdir=$srcdir$ac_dir_suffix;
1349 ac_top_srcdir=$srcdir
1350 ac_abs_top_srcdir=$srcdir ;;
1352 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1353 ac_top_srcdir=$ac_top_build_prefix$srcdir
1354 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1356 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1358 cd "$ac_dir" || { ac_status=$?; continue; }
1359 # Check for guested configure.
1360 if test -f "$ac_srcdir/configure.gnu"; then
1362 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1363 elif test -f "$ac_srcdir/configure"; then
1365 $SHELL "$ac_srcdir/configure" --help=recursive
1367 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1369 cd "$ac_pwd" || { ac_status=$?; break; }
1373 test -n "$ac_init_help" && exit $ac_status
1374 if $ac_init_version; then
1377 generated by GNU Autoconf 2.64
1379 Copyright (C) 2009 Free Software Foundation, Inc.
1380 This configure script is free software; the Free Software Foundation
1381 gives unlimited permission to copy, distribute and modify it.
1386 ## ------------------------ ##
1387 ## Autoconf initialization. ##
1388 ## ------------------------ ##
1390 # ac_fn_c_try_compile LINENO
1391 # --------------------------
1392 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1393 ac_fn_c_try_compile ()
1395 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1396 rm -f conftest.$ac_objext
1397 if { { ac_try="$ac_compile"
1399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1400 *) ac_try_echo=$ac_try;;
1402 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1403 $as_echo "$ac_try_echo"; } >&5
1404 (eval "$ac_compile") 2>conftest.err
1406 if test -s conftest.err; then
1407 grep -v '^ *+' conftest.err >conftest.er1
1408 cat conftest.er1 >&5
1409 mv -f conftest.er1 conftest.err
1411 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1412 test $ac_status = 0; } && {
1413 test -z "$ac_c_werror_flag" ||
1414 test ! -s conftest.err
1415 } && test -s conftest.$ac_objext; then :
1418 $as_echo "$as_me: failed program was:" >&5
1419 sed 's/^/| /' conftest.$ac_ext >&5
1423 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1426 } # ac_fn_c_try_compile
1428 # ac_fn_c_try_cpp LINENO
1429 # ----------------------
1430 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1433 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1434 if { { ac_try="$ac_cpp conftest.$ac_ext"
1436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1437 *) ac_try_echo=$ac_try;;
1439 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1440 $as_echo "$ac_try_echo"; } >&5
1441 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1443 if test -s conftest.err; then
1444 grep -v '^ *+' conftest.err >conftest.er1
1445 cat conftest.er1 >&5
1446 mv -f conftest.er1 conftest.err
1448 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1449 test $ac_status = 0; } >/dev/null && {
1450 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1451 test ! -s conftest.err
1455 $as_echo "$as_me: failed program was:" >&5
1456 sed 's/^/| /' conftest.$ac_ext >&5
1460 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1465 # ac_fn_c_try_link LINENO
1466 # -----------------------
1467 # Try to link conftest.$ac_ext, and return whether this succeeded.
1470 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1471 rm -f conftest.$ac_objext conftest$ac_exeext
1472 if { { ac_try="$ac_link"
1474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1475 *) ac_try_echo=$ac_try;;
1477 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1478 $as_echo "$ac_try_echo"; } >&5
1479 (eval "$ac_link") 2>conftest.err
1481 if test -s conftest.err; then
1482 grep -v '^ *+' conftest.err >conftest.er1
1483 cat conftest.er1 >&5
1484 mv -f conftest.er1 conftest.err
1486 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1487 test $ac_status = 0; } && {
1488 test -z "$ac_c_werror_flag" ||
1489 test ! -s conftest.err
1490 } && test -s conftest$ac_exeext && {
1491 test "$cross_compiling" = yes ||
1492 $as_test_x conftest$ac_exeext
1496 $as_echo "$as_me: failed program was:" >&5
1497 sed 's/^/| /' conftest.$ac_ext >&5
1501 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1502 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1503 # interfere with the next link command; also delete a directory that is
1504 # left behind by Apple's compiler. We do this before executing the actions.
1505 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1506 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1509 } # ac_fn_c_try_link
1511 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1512 # -------------------------------------------------------
1513 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1514 # the include files in INCLUDES and setting the cache variable VAR
1516 ac_fn_c_check_header_mongrel ()
1518 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1519 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1521 $as_echo_n "checking for $2... " >&6; }
1522 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1523 $as_echo_n "(cached) " >&6
1526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1527 $as_echo "$ac_res" >&6; }
1529 # Is the header compilable?
1530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1531 $as_echo_n "checking $2 usability... " >&6; }
1532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1533 /* end confdefs.h. */
1537 if ac_fn_c_try_compile "$LINENO"; then :
1538 ac_header_compiler=yes
1540 ac_header_compiler=no
1542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1544 $as_echo "$ac_header_compiler" >&6; }
1546 # Is the header present?
1547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1548 $as_echo_n "checking $2 presence... " >&6; }
1549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1550 /* end confdefs.h. */
1553 if ac_fn_c_try_cpp "$LINENO"; then :
1554 ac_header_preproc=yes
1556 ac_header_preproc=no
1558 rm -f conftest.err conftest.$ac_ext
1559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1560 $as_echo "$ac_header_preproc" >&6; }
1562 # So? What about this header?
1563 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1566 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1568 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1571 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1572 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1574 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1576 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1577 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1578 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1580 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1584 $as_echo_n "checking for $2... " >&6; }
1585 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1586 $as_echo_n "(cached) " >&6
1588 eval "$3=\$ac_header_compiler"
1591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1592 $as_echo "$ac_res" >&6; }
1594 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1596 } # ac_fn_c_check_header_mongrel
1598 # ac_fn_c_try_run LINENO
1599 # ----------------------
1600 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1601 # that executables *can* be run.
1604 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1605 if { { ac_try="$ac_link"
1607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1608 *) ac_try_echo=$ac_try;;
1610 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1611 $as_echo "$ac_try_echo"; } >&5
1612 (eval "$ac_link") 2>&5
1614 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1615 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1616 { { case "(($ac_try" in
1617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1618 *) ac_try_echo=$ac_try;;
1620 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1621 $as_echo "$ac_try_echo"; } >&5
1622 (eval "$ac_try") 2>&5
1624 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1625 test $ac_status = 0; }; }; then :
1628 $as_echo "$as_me: program exited with status $ac_status" >&5
1629 $as_echo "$as_me: failed program was:" >&5
1630 sed 's/^/| /' conftest.$ac_ext >&5
1632 ac_retval=$ac_status
1634 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1635 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1640 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1641 # -------------------------------------------------------
1642 # Tests whether HEADER exists and can be compiled using the include files in
1643 # INCLUDES, setting the cache variable VAR accordingly.
1644 ac_fn_c_check_header_compile ()
1646 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1648 $as_echo_n "checking for $2... " >&6; }
1649 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1650 $as_echo_n "(cached) " >&6
1652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1653 /* end confdefs.h. */
1657 if ac_fn_c_try_compile "$LINENO"; then :
1662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1666 $as_echo "$ac_res" >&6; }
1667 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1669 } # ac_fn_c_check_header_compile
1671 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1672 # -------------------------------------------
1673 # Tests whether TYPE exists after having included INCLUDES, setting cache
1674 # variable VAR accordingly.
1675 ac_fn_c_check_type ()
1677 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1679 $as_echo_n "checking for $2... " >&6; }
1680 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1681 $as_echo_n "(cached) " >&6
1684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1685 /* end confdefs.h. */
1696 if ac_fn_c_try_compile "$LINENO"; then :
1697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1698 /* end confdefs.h. */
1709 if ac_fn_c_try_compile "$LINENO"; then :
1714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1720 $as_echo "$ac_res" >&6; }
1721 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1723 } # ac_fn_c_check_type
1725 # ac_fn_c_check_func LINENO FUNC VAR
1726 # ----------------------------------
1727 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1728 ac_fn_c_check_func ()
1730 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1732 $as_echo_n "checking for $2... " >&6; }
1733 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1734 $as_echo_n "(cached) " >&6
1736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1737 /* end confdefs.h. */
1738 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1739 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1740 #define $2 innocuous_$2
1742 /* System header to define __stub macros and hopefully few prototypes,
1743 which can conflict with char $2 (); below.
1744 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1745 <limits.h> exists even on freestanding compilers. */
1748 # include <limits.h>
1750 # include <assert.h>
1755 /* Override any GCC internal prototype to avoid an error.
1756 Use char because int might match the return type of a GCC
1757 builtin and then its argument prototype would still apply. */
1762 /* The GNU C library defines this for functions which it implements
1763 to always fail with ENOSYS. Some functions are actually named
1764 something starting with __ and the normal name is an alias. */
1765 #if defined __stub_$2 || defined __stub___$2
1777 if ac_fn_c_try_link "$LINENO"; then :
1782 rm -f core conftest.err conftest.$ac_objext \
1783 conftest$ac_exeext conftest.$ac_ext
1786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1787 $as_echo "$ac_res" >&6; }
1788 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1790 } # ac_fn_c_check_func
1791 cat >config.log <<_ACEOF
1792 This file contains any messages produced by compilers while
1793 running configure, to aid debugging if configure makes a mistake.
1795 It was created by $as_me, which was
1796 generated by GNU Autoconf 2.64. Invocation command line was
1808 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1809 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1810 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1811 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1812 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1814 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1815 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1817 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1818 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1819 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1820 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1821 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1822 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1823 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1831 test -z "$as_dir" && as_dir=.
1832 $as_echo "PATH: $as_dir"
1848 # Keep a trace of the command line.
1849 # Strip out --no-create and --no-recursion so they do not pile up.
1850 # Strip out --silent because we don't want to record it for future runs.
1851 # Also quote any args containing shell meta-characters.
1852 # Make two passes to allow for proper duplicate-argument suppression.
1856 ac_must_keep_next=false
1862 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1863 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1864 | -silent | --silent | --silen | --sile | --sil)
1867 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1870 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1872 as_fn_append ac_configure_args1 " '$ac_arg'"
1873 if test $ac_must_keep_next = true; then
1874 ac_must_keep_next=false # Got value, back to normal.
1877 *=* | --config-cache | -C | -disable-* | --disable-* \
1878 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1879 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1880 | -with-* | --with-* | -without-* | --without-* | --x)
1881 case "$ac_configure_args0 " in
1882 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1885 -* ) ac_must_keep_next=true ;;
1888 as_fn_append ac_configure_args " '$ac_arg'"
1893 { ac_configure_args0=; unset ac_configure_args0;}
1894 { ac_configure_args1=; unset ac_configure_args1;}
1896 # When interrupted or exit'd, cleanup temporary files, and complete
1897 # config.log. We remove comments because anyway the quotes in there
1898 # would cause problems or look ugly.
1899 # WARNING: Use '\'' to represent an apostrophe within the trap.
1900 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1901 trap 'exit_status=$?
1902 # Save into config.log some information that might help in debugging.
1907 ## ---------------- ##
1908 ## Cache variables. ##
1909 ## ---------------- ##
1912 # The following way of writing the cache mishandles newlines in values,
1914 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1915 eval ac_val=\$$ac_var
1919 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1920 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1923 _ | IFS | as_nl) ;; #(
1924 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1925 *) { eval $ac_var=; unset $ac_var;} ;;
1930 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1931 *${as_nl}ac_space=\ *)
1933 "s/'\''/'\''\\\\'\'''\''/g;
1934 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1937 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1945 ## ----------------- ##
1946 ## Output variables. ##
1947 ## ----------------- ##
1950 for ac_var in $ac_subst_vars
1952 eval ac_val=\$$ac_var
1954 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1956 $as_echo "$ac_var='\''$ac_val'\''"
1960 if test -n "$ac_subst_files"; then
1962 ## ------------------- ##
1963 ## File substitutions. ##
1964 ## ------------------- ##
1967 for ac_var in $ac_subst_files
1969 eval ac_val=\$$ac_var
1971 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1973 $as_echo "$ac_var='\''$ac_val'\''"
1978 if test -s confdefs.h; then
1988 test "$ac_signal" != 0 &&
1989 $as_echo "$as_me: caught signal $ac_signal"
1990 $as_echo "$as_me: exit $exit_status"
1992 rm -f core *.core core.conftest.* &&
1993 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1996 for ac_signal in 1 2 13 15; do
1997 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2001 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2002 rm -f -r conftest* confdefs.h
2004 $as_echo "/* confdefs.h */" > confdefs.h
2006 # Predefined preprocessor variables.
2008 cat >>confdefs.h <<_ACEOF
2009 #define PACKAGE_NAME "$PACKAGE_NAME"
2012 cat >>confdefs.h <<_ACEOF
2013 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2016 cat >>confdefs.h <<_ACEOF
2017 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2020 cat >>confdefs.h <<_ACEOF
2021 #define PACKAGE_STRING "$PACKAGE_STRING"
2024 cat >>confdefs.h <<_ACEOF
2025 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2028 cat >>confdefs.h <<_ACEOF
2029 #define PACKAGE_URL "$PACKAGE_URL"
2033 # Let the site file select an alternate cache file if it wants to.
2034 # Prefer an explicitly selected file to automatically selected ones.
2037 if test -n "$CONFIG_SITE"; then
2038 ac_site_file1=$CONFIG_SITE
2039 elif test "x$prefix" != xNONE; then
2040 ac_site_file1=$prefix/share/config.site
2041 ac_site_file2=$prefix/etc/config.site
2043 ac_site_file1=$ac_default_prefix/share/config.site
2044 ac_site_file2=$ac_default_prefix/etc/config.site
2046 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2048 test "x$ac_site_file" = xNONE && continue
2049 if test -r "$ac_site_file"; then
2050 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2051 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2052 sed 's/^/| /' "$ac_site_file" >&5
2057 if test -r "$cache_file"; then
2058 # Some versions of bash will fail to source /dev/null (special
2059 # files actually), so we avoid doing that.
2060 if test -f "$cache_file"; then
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2062 $as_echo "$as_me: loading cache $cache_file" >&6;}
2064 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2065 *) . "./$cache_file";;
2069 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2070 $as_echo "$as_me: creating cache $cache_file" >&6;}
2074 # Check that the precious variables saved in the cache have kept the same
2076 ac_cache_corrupted=false
2077 for ac_var in $ac_precious_vars; do
2078 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2079 eval ac_new_set=\$ac_env_${ac_var}_set
2080 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2081 eval ac_new_val=\$ac_env_${ac_var}_value
2082 case $ac_old_set,$ac_new_set in
2084 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2085 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2086 ac_cache_corrupted=: ;;
2088 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2089 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2090 ac_cache_corrupted=: ;;
2093 if test "x$ac_old_val" != "x$ac_new_val"; then
2094 # differences in whitespace do not lead to failure.
2095 ac_old_val_w=`echo x $ac_old_val`
2096 ac_new_val_w=`echo x $ac_new_val`
2097 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2099 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2100 ac_cache_corrupted=:
2102 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2103 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2104 eval $ac_var=\$ac_old_val
2106 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2107 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2109 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2112 # Pass precious variables to config.status.
2113 if test "$ac_new_set" = set; then
2115 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2116 *) ac_arg=$ac_var=$ac_new_val ;;
2118 case " $ac_configure_args " in
2119 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2120 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2124 if $ac_cache_corrupted; then
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2126 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2127 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2128 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2129 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2131 ## -------------------- ##
2132 ## Main body of script. ##
2133 ## -------------------- ##
2136 ac_cpp='$CPP $CPPFLAGS'
2137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2142 ac_config_headers="$ac_config_headers config.h"
2145 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2146 for ac_t in install-sh install.sh shtool; do
2147 if test -f "$ac_dir/$ac_t"; then
2149 ac_install_sh="$ac_aux_dir/$ac_t -c"
2154 if test -z "$ac_aux_dir"; then
2155 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2158 # These three variables are undocumented and unsupported,
2159 # and are intended to be withdrawn in a future Autoconf release.
2160 # They can cause serious problems if a builder's source tree is in a directory
2161 # whose full name contains unusual characters.
2162 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2163 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2164 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2167 # Make sure we can run config.sub.
2168 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2169 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2172 $as_echo_n "checking build system type... " >&6; }
2173 if test "${ac_cv_build+set}" = set; then :
2174 $as_echo_n "(cached) " >&6
2176 ac_build_alias=$build_alias
2177 test "x$ac_build_alias" = x &&
2178 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2179 test "x$ac_build_alias" = x &&
2180 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2181 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2182 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2186 $as_echo "$ac_cv_build" >&6; }
2187 case $ac_cv_build in
2189 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2192 ac_save_IFS=$IFS; IFS='-'
2198 # Remember, the first character of IFS is used to create $*,
2199 # except with old shells:
2202 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2206 $as_echo_n "checking host system type... " >&6; }
2207 if test "${ac_cv_host+set}" = set; then :
2208 $as_echo_n "(cached) " >&6
2210 if test "x$host_alias" = x; then
2211 ac_cv_host=$ac_cv_build
2213 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2214 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2219 $as_echo "$ac_cv_host" >&6; }
2222 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2225 ac_save_IFS=$IFS; IFS='-'
2231 # Remember, the first character of IFS is used to create $*,
2232 # except with old shells:
2235 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2239 UPDATED='December 20, 2009'
2243 if test "$prefix" = NONE
2249 CFLAGS_LIBDSK=-DNOTWINDLL
2255 ac_cpp='$CPP $CPPFLAGS'
2256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2259 if test -n "$ac_tool_prefix"; then
2260 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2261 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2263 $as_echo_n "checking for $ac_word... " >&6; }
2264 if test "${ac_cv_prog_CC+set}" = set; then :
2265 $as_echo_n "(cached) " >&6
2267 if test -n "$CC"; then
2268 ac_cv_prog_CC="$CC" # Let the user override the test.
2270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2274 test -z "$as_dir" && as_dir=.
2275 for ac_exec_ext in '' $ac_executable_extensions; do
2276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2277 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2288 if test -n "$CC"; then
2289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2290 $as_echo "$CC" >&6; }
2292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2293 $as_echo "no" >&6; }
2298 if test -z "$ac_cv_prog_CC"; then
2300 # Extract the first word of "gcc", so it can be a program name with args.
2301 set dummy gcc; ac_word=$2
2302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2303 $as_echo_n "checking for $ac_word... " >&6; }
2304 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2305 $as_echo_n "(cached) " >&6
2307 if test -n "$ac_ct_CC"; then
2308 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2314 test -z "$as_dir" && as_dir=.
2315 for ac_exec_ext in '' $ac_executable_extensions; do
2316 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2317 ac_cv_prog_ac_ct_CC="gcc"
2318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2327 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2328 if test -n "$ac_ct_CC"; then
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2330 $as_echo "$ac_ct_CC" >&6; }
2332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2333 $as_echo "no" >&6; }
2336 if test "x$ac_ct_CC" = x; then
2339 case $cross_compiling:$ac_tool_warned in
2341 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2342 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2343 ac_tool_warned=yes ;;
2351 if test -z "$CC"; then
2352 if test -n "$ac_tool_prefix"; then
2353 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2354 set dummy ${ac_tool_prefix}cc; ac_word=$2
2355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2356 $as_echo_n "checking for $ac_word... " >&6; }
2357 if test "${ac_cv_prog_CC+set}" = set; then :
2358 $as_echo_n "(cached) " >&6
2360 if test -n "$CC"; then
2361 ac_cv_prog_CC="$CC" # Let the user override the test.
2363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2367 test -z "$as_dir" && as_dir=.
2368 for ac_exec_ext in '' $ac_executable_extensions; do
2369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2370 ac_cv_prog_CC="${ac_tool_prefix}cc"
2371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2381 if test -n "$CC"; then
2382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2383 $as_echo "$CC" >&6; }
2385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2386 $as_echo "no" >&6; }
2392 if test -z "$CC"; then
2393 # Extract the first word of "cc", so it can be a program name with args.
2394 set dummy cc; ac_word=$2
2395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2396 $as_echo_n "checking for $ac_word... " >&6; }
2397 if test "${ac_cv_prog_CC+set}" = set; then :
2398 $as_echo_n "(cached) " >&6
2400 if test -n "$CC"; then
2401 ac_cv_prog_CC="$CC" # Let the user override the test.
2404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2408 test -z "$as_dir" && as_dir=.
2409 for ac_exec_ext in '' $ac_executable_extensions; do
2410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2411 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2412 ac_prog_rejected=yes
2416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2423 if test $ac_prog_rejected = yes; then
2424 # We found a bogon in the path, so make sure we never use it.
2425 set dummy $ac_cv_prog_CC
2427 if test $# != 0; then
2428 # We chose a different compiler from the bogus one.
2429 # However, it has the same basename, so the bogon will be chosen
2430 # first if we set CC to just the basename; use the full file name.
2432 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2438 if test -n "$CC"; then
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2440 $as_echo "$CC" >&6; }
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2443 $as_echo "no" >&6; }
2448 if test -z "$CC"; then
2449 if test -n "$ac_tool_prefix"; then
2450 for ac_prog in cl.exe
2452 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2453 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2455 $as_echo_n "checking for $ac_word... " >&6; }
2456 if test "${ac_cv_prog_CC+set}" = set; then :
2457 $as_echo_n "(cached) " >&6
2459 if test -n "$CC"; then
2460 ac_cv_prog_CC="$CC" # Let the user override the test.
2462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2466 test -z "$as_dir" && as_dir=.
2467 for ac_exec_ext in '' $ac_executable_extensions; do
2468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2469 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2470 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2480 if test -n "$CC"; then
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2482 $as_echo "$CC" >&6; }
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2485 $as_echo "no" >&6; }
2489 test -n "$CC" && break
2492 if test -z "$CC"; then
2494 for ac_prog in cl.exe
2496 # Extract the first word of "$ac_prog", so it can be a program name with args.
2497 set dummy $ac_prog; ac_word=$2
2498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2499 $as_echo_n "checking for $ac_word... " >&6; }
2500 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2501 $as_echo_n "(cached) " >&6
2503 if test -n "$ac_ct_CC"; then
2504 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2510 test -z "$as_dir" && as_dir=.
2511 for ac_exec_ext in '' $ac_executable_extensions; do
2512 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2513 ac_cv_prog_ac_ct_CC="$ac_prog"
2514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2523 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2524 if test -n "$ac_ct_CC"; then
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2526 $as_echo "$ac_ct_CC" >&6; }
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2529 $as_echo "no" >&6; }
2533 test -n "$ac_ct_CC" && break
2536 if test "x$ac_ct_CC" = x; then
2539 case $cross_compiling:$ac_tool_warned in
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2542 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2543 ac_tool_warned=yes ;;
2552 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2553 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2554 as_fn_error "no acceptable C compiler found in \$PATH
2555 See \`config.log' for more details." "$LINENO" 5; }
2557 # Provide some information about the compiler.
2558 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2561 for ac_option in --version -v -V -qversion; do
2562 { { ac_try="$ac_compiler $ac_option >&5"
2564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2565 *) ac_try_echo=$ac_try;;
2567 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2568 $as_echo "$ac_try_echo"; } >&5
2569 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2571 if test -s conftest.err; then
2573 ... rest of stderr output deleted ...
2574 10q' conftest.err >conftest.er1
2575 cat conftest.er1 >&5
2576 rm -f conftest.er1 conftest.err
2578 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2579 test $ac_status = 0; }
2582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2583 /* end confdefs.h. */
2588 FILE *f = fopen ("conftest.out", "w");
2589 return ferror (f) || fclose (f) != 0;
2595 ac_clean_files_save=$ac_clean_files
2596 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2597 # Try to create an executable without -o first, disregard a.out.
2598 # It will help us diagnose broken compilers, and finding out an intuition
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2601 $as_echo_n "checking for C compiler default output file name... " >&6; }
2602 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2604 # The possible output files:
2605 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2608 for ac_file in $ac_files
2611 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2612 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2617 if { { ac_try="$ac_link_default"
2619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2620 *) ac_try_echo=$ac_try;;
2622 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2623 $as_echo "$ac_try_echo"; } >&5
2624 (eval "$ac_link_default") 2>&5
2626 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2627 test $ac_status = 0; }; then :
2628 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2629 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2630 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2631 # so that the user can short-circuit this test for compilers unknown to
2633 for ac_file in $ac_files ''
2635 test -f "$ac_file" || continue
2637 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2640 # We found the default executable, but exeext='' is most
2644 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2646 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2648 # We set ac_cv_exeext here because the later test for it is not
2649 # safe: cross compilers may not add the suffix if given an `-o'
2650 # argument, so we may need to know it at that point already.
2651 # Even if this section looks crufty: it has the advantage of
2658 test "$ac_cv_exeext" = no && ac_cv_exeext=
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2664 $as_echo "$ac_file" >&6; }
2665 if test -z "$ac_file"; then :
2666 $as_echo "$as_me: failed program was:" >&5
2667 sed 's/^/| /' conftest.$ac_ext >&5
2669 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2670 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2671 { as_fn_set_status 77
2672 as_fn_error "C compiler cannot create executables
2673 See \`config.log' for more details." "$LINENO" 5; }; }
2675 ac_exeext=$ac_cv_exeext
2677 # Check that the compiler produces executables we can run. If not, either
2678 # the compiler is broken, or we cross compile.
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2680 $as_echo_n "checking whether the C compiler works... " >&6; }
2681 # If not cross compiling, check that we can run a simple program.
2682 if test "$cross_compiling" != yes; then
2683 if { ac_try='./$ac_file'
2684 { { case "(($ac_try" in
2685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2686 *) ac_try_echo=$ac_try;;
2688 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2689 $as_echo "$ac_try_echo"; } >&5
2690 (eval "$ac_try") 2>&5
2692 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2693 test $ac_status = 0; }; }; then
2696 if test "$cross_compiling" = maybe; then
2699 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2700 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2701 as_fn_error "cannot run C compiled programs.
2702 If you meant to cross compile, use \`--host'.
2703 See \`config.log' for more details." "$LINENO" 5; }
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2708 $as_echo "yes" >&6; }
2710 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
2711 ac_clean_files=$ac_clean_files_save
2712 # Check that the compiler produces executables we can run. If not, either
2713 # the compiler is broken, or we cross compile.
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2715 $as_echo_n "checking whether we are cross compiling... " >&6; }
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2717 $as_echo "$cross_compiling" >&6; }
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2720 $as_echo_n "checking for suffix of executables... " >&6; }
2721 if { { ac_try="$ac_link"
2723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2724 *) ac_try_echo=$ac_try;;
2726 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2727 $as_echo "$ac_try_echo"; } >&5
2728 (eval "$ac_link") 2>&5
2730 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2731 test $ac_status = 0; }; then :
2732 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2733 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2734 # work properly (i.e., refer to `conftest.exe'), while it won't with
2736 for ac_file in conftest.exe conftest conftest.*; do
2737 test -f "$ac_file" || continue
2739 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2740 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2746 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2747 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2748 as_fn_error "cannot compute suffix of executables: cannot compile and link
2749 See \`config.log' for more details." "$LINENO" 5; }
2751 rm -f conftest$ac_cv_exeext
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2753 $as_echo "$ac_cv_exeext" >&6; }
2755 rm -f conftest.$ac_ext
2756 EXEEXT=$ac_cv_exeext
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2759 $as_echo_n "checking for suffix of object files... " >&6; }
2760 if test "${ac_cv_objext+set}" = set; then :
2761 $as_echo_n "(cached) " >&6
2763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2764 /* end confdefs.h. */
2774 rm -f conftest.o conftest.obj
2775 if { { ac_try="$ac_compile"
2777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2778 *) ac_try_echo=$ac_try;;
2780 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2781 $as_echo "$ac_try_echo"; } >&5
2782 (eval "$ac_compile") 2>&5
2784 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2785 test $ac_status = 0; }; then :
2786 for ac_file in conftest.o conftest.obj conftest.*; do
2787 test -f "$ac_file" || continue;
2789 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2790 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2795 $as_echo "$as_me: failed program was:" >&5
2796 sed 's/^/| /' conftest.$ac_ext >&5
2798 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2799 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2800 as_fn_error "cannot compute suffix of object files: cannot compile
2801 See \`config.log' for more details." "$LINENO" 5; }
2803 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2806 $as_echo "$ac_cv_objext" >&6; }
2807 OBJEXT=$ac_cv_objext
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2810 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2811 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2812 $as_echo_n "(cached) " >&6
2814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2815 /* end confdefs.h. */
2828 if ac_fn_c_try_compile "$LINENO"; then :
2833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2834 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2838 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2839 if test $ac_compiler_gnu = yes; then
2844 ac_test_CFLAGS=${CFLAGS+set}
2845 ac_save_CFLAGS=$CFLAGS
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2847 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2848 if test "${ac_cv_prog_cc_g+set}" = set; then :
2849 $as_echo_n "(cached) " >&6
2851 ac_save_c_werror_flag=$ac_c_werror_flag
2852 ac_c_werror_flag=yes
2855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2856 /* end confdefs.h. */
2866 if ac_fn_c_try_compile "$LINENO"; then :
2870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2871 /* end confdefs.h. */
2881 if ac_fn_c_try_compile "$LINENO"; then :
2884 ac_c_werror_flag=$ac_save_c_werror_flag
2886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2887 /* end confdefs.h. */
2897 if ac_fn_c_try_compile "$LINENO"; then :
2900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2905 ac_c_werror_flag=$ac_save_c_werror_flag
2907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2908 $as_echo "$ac_cv_prog_cc_g" >&6; }
2909 if test "$ac_test_CFLAGS" = set; then
2910 CFLAGS=$ac_save_CFLAGS
2911 elif test $ac_cv_prog_cc_g = yes; then
2912 if test "$GCC" = yes; then
2918 if test "$GCC" = yes; then
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2925 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2926 if test "${ac_cv_prog_cc_c89+set}" = set; then :
2927 $as_echo_n "(cached) " >&6
2929 ac_cv_prog_cc_c89=no
2931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2932 /* end confdefs.h. */
2935 #include <sys/types.h>
2936 #include <sys/stat.h>
2937 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2938 struct buf { int x; };
2939 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2940 static char *e (p, i)
2946 static char *f (char * (*g) (char **, int), char **p, ...)
2951 s = g (p, va_arg (v,int));
2956 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2957 function prototypes and stuff, but not '\xHH' hex character constants.
2958 These don't provoke an error unfortunately, instead are silently treated
2959 as 'x'. The following induces an error, until -std is added to get
2960 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2961 array size at least. It's necessary to write '\x00'==0 to get something
2962 that's true only with -std. */
2963 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2965 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2966 inside strings and character constants. */
2968 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2970 int test (int i, double x);
2971 struct s1 {int (*f) (int a);};
2972 struct s2 {int (*f) (double a);};
2973 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2979 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2984 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2985 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2987 CC="$ac_save_CC $ac_arg"
2988 if ac_fn_c_try_compile "$LINENO"; then :
2989 ac_cv_prog_cc_c89=$ac_arg
2991 rm -f core conftest.err conftest.$ac_objext
2992 test "x$ac_cv_prog_cc_c89" != "xno" && break
2994 rm -f conftest.$ac_ext
2999 case "x$ac_cv_prog_cc_c89" in
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3002 $as_echo "none needed" >&6; } ;;
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3005 $as_echo "unsupported" >&6; } ;;
3007 CC="$CC $ac_cv_prog_cc_c89"
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3009 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3011 if test "x$ac_cv_prog_cc_c89" != xno; then :
3016 ac_cpp='$CPP $CPPFLAGS'
3017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3021 # Find a good install program. We prefer a C program (faster),
3022 # so one script is as good as another. But avoid the broken or
3023 # incompatible versions:
3024 # SysV /etc/install, /usr/sbin/install
3025 # SunOS /usr/etc/install
3026 # IRIX /sbin/install
3028 # AmigaOS /C/install, which installs bootblocks on floppy discs
3029 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3030 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3031 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3032 # OS/2's system install, which has a completely different semantic
3033 # ./install, which can be erroneously created by make from ./install.sh.
3034 # Reject install programs that cannot install multiple files.
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3036 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3037 if test -z "$INSTALL"; then
3038 if test "${ac_cv_path_install+set}" = set; then :
3039 $as_echo_n "(cached) " >&6
3041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3045 test -z "$as_dir" && as_dir=.
3046 # Account for people who put trailing slashes in PATH elements.
3047 case $as_dir/ in #((
3048 ./ | .// | /[cC]/* | \
3049 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3050 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3053 # OSF1 and SCO ODT 3.0 have their own names for install.
3054 # Don't use installbsd from OSF since it installs stuff as root
3056 for ac_prog in ginstall scoinst install; do
3057 for ac_exec_ext in '' $ac_executable_extensions; do
3058 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3059 if test $ac_prog = install &&
3060 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3061 # AIX install. It has an incompatible calling convention.
3063 elif test $ac_prog = install &&
3064 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3065 # program-specific install script used by HP pwplus--don't use.
3068 rm -rf conftest.one conftest.two conftest.dir
3069 echo one > conftest.one
3070 echo two > conftest.two
3072 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3073 test -s conftest.one && test -s conftest.two &&
3074 test -s conftest.dir/conftest.one &&
3075 test -s conftest.dir/conftest.two
3077 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3090 rm -rf conftest.one conftest.two conftest.dir
3093 if test "${ac_cv_path_install+set}" = set; then
3094 INSTALL=$ac_cv_path_install
3096 # As a last resort, use the slow shell script. Don't cache a
3097 # value for INSTALL within a source directory, because that will
3098 # break other packages using the cache if that directory is
3099 # removed, or if the value is a relative name.
3100 INSTALL=$ac_install_sh
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3104 $as_echo "$INSTALL" >&6; }
3106 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3107 # It thinks the first close brace ends the variable substitution.
3108 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3110 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3112 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3115 ac_cpp='$CPP $CPPFLAGS'
3116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3120 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3121 # On Suns, sometimes $CPP names a directory.
3122 if test -n "$CPP" && test -d "$CPP"; then
3125 if test -z "$CPP"; then
3126 if test "${ac_cv_prog_CPP+set}" = set; then :
3127 $as_echo_n "(cached) " >&6
3129 # Double quotes because CPP needs to be expanded
3130 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3133 for ac_c_preproc_warn_flag in '' yes
3135 # Use a header file that comes with gcc, so configuring glibc
3136 # with a fresh cross-compiler works.
3137 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3138 # <limits.h> exists even on freestanding compilers.
3139 # On the NeXT, cc -E runs the code through the compiler's parser,
3140 # not just through cpp. "Syntax error" is here to catch this case.
3141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3142 /* end confdefs.h. */
3144 # include <limits.h>
3146 # include <assert.h>
3150 if ac_fn_c_try_cpp "$LINENO"; then :
3153 # Broken: fails on valid input.
3156 rm -f conftest.err conftest.$ac_ext
3158 # OK, works on sane cases. Now check whether nonexistent headers
3159 # can be detected and how.
3160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3161 /* end confdefs.h. */
3162 #include <ac_nonexistent.h>
3164 if ac_fn_c_try_cpp "$LINENO"; then :
3165 # Broken: success on invalid input.
3168 # Passes both tests.
3172 rm -f conftest.err conftest.$ac_ext
3175 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3176 rm -f conftest.err conftest.$ac_ext
3177 if $ac_preproc_ok; then :
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3190 $as_echo "$CPP" >&6; }
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.$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.$ac_ext
3234 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3235 rm -f conftest.err conftest.$ac_ext
3236 if $ac_preproc_ok; then :
3239 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3240 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3241 as_fn_error "C preprocessor \"$CPP\" fails sanity check
3242 See \`config.log' for more details." "$LINENO" 5; }
3246 ac_cpp='$CPP $CPPFLAGS'
3247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3252 if test "$GCC" = yes
3254 CFLAGS="${CFLAGS} ${EXTRA_GCFLAGS}-pipe -Wall -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"
3255 LDFLAGS="${LDFLAGS} ${EXTRA_GLDFLAGS}-g"
3257 CFLAGS="${CFLAGS} ${EXTRA_CFLAGS}"
3258 LDFLAGS="${LDFLAGS} ${EXTRA_LDFLAGS}"
3263 *cygwin* ) CYGWIN=yes;;
3269 *mingw32* ) MINGW32=yes;;
3275 DISKDEFS='${datarootdir}/diskdefs'
3277 if test "$CYGWIN" = "yes"
3280 # DISKDEFS='%USERPROFILE%/diskdefs'
3282 if test "$MINGW32" = "yes"
3285 # DISKDEFS='%USERPROFILE%\\diskdefs'
3289 # Check whether --with-diskdefs was given.
3290 if test "${with_diskdefs+set}" = set; then :
3291 withval=$with_diskdefs; DISKDEFS="$withval"
3293 DISKDEFS="$DISKDEFS"
3297 # Check whether --with-defformat was given.
3298 if test "${with_defformat+set}" = set; then :
3299 withval=$with_defformat; DEFFORMAT="$withval"
3301 DEFFORMAT="ibm-3740"
3305 # Check whether --with-libdsk was given.
3306 if test "${with_libdsk+set}" = set; then :
3307 withval=$with_libdsk; LIBDSK="$withval"
3313 # Check whether --with-dmalloc was given.
3314 if test "${with_dmalloc+set}" = set; then :
3315 withval=$with_dmalloc; CPPFLAGS="$CPPFLAGS -I$with_dmalloc/include"
3316 LDFLAGS="$LDFLAGS -L$with_dmalloc/lib"
3317 LIBS="$LIBS -ldmalloc"
3318 $as_echo "#define USE_DMALLOC 1" >>confdefs.h
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for printw in -lcurses" >&5
3325 $as_echo_n "checking for printw in -lcurses... " >&6; }
3326 if test "${ac_cv_lib_curses_printw+set}" = set; then :
3327 $as_echo_n "(cached) " >&6
3329 ac_check_lib_save_LIBS=$LIBS
3330 LIBS="-lcurses $LIBS"
3331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3332 /* end confdefs.h. */
3334 /* Override any GCC internal prototype to avoid an error.
3335 Use char because int might match the return type of a GCC
3336 builtin and then its argument prototype would still apply. */
3349 if ac_fn_c_try_link "$LINENO"; then :
3350 ac_cv_lib_curses_printw=yes
3352 ac_cv_lib_curses_printw=no
3354 rm -f core conftest.err conftest.$ac_objext \
3355 conftest$ac_exeext conftest.$ac_ext
3356 LIBS=$ac_check_lib_save_LIBS
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_printw" >&5
3359 $as_echo "$ac_cv_lib_curses_printw" >&6; }
3360 if test "x$ac_cv_lib_curses_printw" = x""yes; then :
3361 FSED_CPM=fsed.cpm LIBS="-lcurses $LIBS"
3366 if test x"$FSED_CPM" = x""; then
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for printw in -lncurses" >&5
3368 $as_echo_n "checking for printw in -lncurses... " >&6; }
3369 if test "${ac_cv_lib_ncurses_printw+set}" = set; then :
3370 $as_echo_n "(cached) " >&6
3372 ac_check_lib_save_LIBS=$LIBS
3373 LIBS="-lncurses $LIBS"
3374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3375 /* end confdefs.h. */
3377 /* Override any GCC internal prototype to avoid an error.
3378 Use char because int might match the return type of a GCC
3379 builtin and then its argument prototype would still apply. */
3392 if ac_fn_c_try_link "$LINENO"; then :
3393 ac_cv_lib_ncurses_printw=yes
3395 ac_cv_lib_ncurses_printw=no
3397 rm -f core conftest.err conftest.$ac_objext \
3398 conftest$ac_exeext conftest.$ac_ext
3399 LIBS=$ac_check_lib_save_LIBS
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_printw" >&5
3402 $as_echo "$ac_cv_lib_ncurses_printw" >&6; }
3403 if test "x$ac_cv_lib_ncurses_printw" = x""yes; then :
3404 FSED_CPM=fsed.cpm LIBS="-lncurses $LIBS"
3411 if test "$LIBDSK" != ""; then
3413 CPPFLAGS="$CPPFLAGS -I$LIBDSK/include"
3414 CFLAGS="$CFLAGS -I$LIBDSK/include $CFLAGS_LIBDSK"
3415 LDFLAGS="$LDFLAGS -L$LIBDSK/lib"
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dsk_open in -ldsk" >&5
3417 $as_echo_n "checking for dsk_open in -ldsk... " >&6; }
3418 if test "${ac_cv_lib_dsk_dsk_open+set}" = set; then :
3419 $as_echo_n "(cached) " >&6
3421 ac_check_lib_save_LIBS=$LIBS
3423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3424 /* end confdefs.h. */
3426 /* Override any GCC internal prototype to avoid an error.
3427 Use char because int might match the return type of a GCC
3428 builtin and then its argument prototype would still apply. */
3441 if ac_fn_c_try_link "$LINENO"; then :
3442 ac_cv_lib_dsk_dsk_open=yes
3444 ac_cv_lib_dsk_dsk_open=no
3446 rm -f core conftest.err conftest.$ac_objext \
3447 conftest$ac_exeext conftest.$ac_ext
3448 LIBS=$ac_check_lib_save_LIBS
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dsk_dsk_open" >&5
3451 $as_echo "$ac_cv_lib_dsk_dsk_open" >&6; }
3452 if test "x$ac_cv_lib_dsk_dsk_open" = x""yes; then :
3453 cat >>confdefs.h <<_ACEOF
3454 #define HAVE_LIBDSK 1
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3463 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3464 if test "${ac_cv_path_GREP+set}" = set; then :
3465 $as_echo_n "(cached) " >&6
3467 if test -z "$GREP"; then
3468 ac_path_GREP_found=false
3469 # Loop through the user's path and test for each of PROGNAME-LIST
3470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3471 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3474 test -z "$as_dir" && as_dir=.
3475 for ac_prog in grep ggrep; do
3476 for ac_exec_ext in '' $ac_executable_extensions; do
3477 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3478 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3479 # Check for GNU ac_path_GREP and select it if it is found.
3480 # Check for GNU $ac_path_GREP
3481 case `"$ac_path_GREP" --version 2>&1` in
3483 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3486 $as_echo_n 0123456789 >"conftest.in"
3489 cat "conftest.in" "conftest.in" >"conftest.tmp"
3490 mv "conftest.tmp" "conftest.in"
3491 cp "conftest.in" "conftest.nl"
3492 $as_echo 'GREP' >> "conftest.nl"
3493 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3494 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3495 as_fn_arith $ac_count + 1 && ac_count=$as_val
3496 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3497 # Best one so far, save it but keep looking for a better one
3498 ac_cv_path_GREP="$ac_path_GREP"
3499 ac_path_GREP_max=$ac_count
3501 # 10*(2^10) chars as input seems more than enough
3502 test $ac_count -gt 10 && break
3504 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3507 $ac_path_GREP_found && break 3
3512 if test -z "$ac_cv_path_GREP"; then
3513 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3516 ac_cv_path_GREP=$GREP
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3521 $as_echo "$ac_cv_path_GREP" >&6; }
3522 GREP="$ac_cv_path_GREP"
3525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3526 $as_echo_n "checking for egrep... " >&6; }
3527 if test "${ac_cv_path_EGREP+set}" = set; then :
3528 $as_echo_n "(cached) " >&6
3530 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3531 then ac_cv_path_EGREP="$GREP -E"
3533 if test -z "$EGREP"; then
3534 ac_path_EGREP_found=false
3535 # Loop through the user's path and test for each of PROGNAME-LIST
3536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3537 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3540 test -z "$as_dir" && as_dir=.
3541 for ac_prog in egrep; do
3542 for ac_exec_ext in '' $ac_executable_extensions; do
3543 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3544 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3545 # Check for GNU ac_path_EGREP and select it if it is found.
3546 # Check for GNU $ac_path_EGREP
3547 case `"$ac_path_EGREP" --version 2>&1` in
3549 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3552 $as_echo_n 0123456789 >"conftest.in"
3555 cat "conftest.in" "conftest.in" >"conftest.tmp"
3556 mv "conftest.tmp" "conftest.in"
3557 cp "conftest.in" "conftest.nl"
3558 $as_echo 'EGREP' >> "conftest.nl"
3559 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3560 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3561 as_fn_arith $ac_count + 1 && ac_count=$as_val
3562 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3563 # Best one so far, save it but keep looking for a better one
3564 ac_cv_path_EGREP="$ac_path_EGREP"
3565 ac_path_EGREP_max=$ac_count
3567 # 10*(2^10) chars as input seems more than enough
3568 test $ac_count -gt 10 && break
3570 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3573 $ac_path_EGREP_found && break 3
3578 if test -z "$ac_cv_path_EGREP"; then
3579 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3582 ac_cv_path_EGREP=$EGREP
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3588 $as_echo "$ac_cv_path_EGREP" >&6; }
3589 EGREP="$ac_cv_path_EGREP"
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3593 $as_echo_n "checking for ANSI C header files... " >&6; }
3594 if test "${ac_cv_header_stdc+set}" = set; then :
3595 $as_echo_n "(cached) " >&6
3597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3598 /* end confdefs.h. */
3612 if ac_fn_c_try_compile "$LINENO"; then :
3613 ac_cv_header_stdc=yes
3615 ac_cv_header_stdc=no
3617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3619 if test $ac_cv_header_stdc = yes; then
3620 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3622 /* end confdefs.h. */
3626 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3627 $EGREP "memchr" >/dev/null 2>&1; then :
3630 ac_cv_header_stdc=no
3636 if test $ac_cv_header_stdc = yes; then
3637 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3639 /* end confdefs.h. */
3643 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3644 $EGREP "free" >/dev/null 2>&1; then :
3647 ac_cv_header_stdc=no
3653 if test $ac_cv_header_stdc = yes; then
3654 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3655 if test "$cross_compiling" = yes; then :
3658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3659 /* end confdefs.h. */
3662 #if ((' ' & 0x0FF) == 0x020)
3663 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3664 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3666 # define ISLOWER(c) \
3667 (('a' <= (c) && (c) <= 'i') \
3668 || ('j' <= (c) && (c) <= 'r') \
3669 || ('s' <= (c) && (c) <= 'z'))
3670 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3673 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3678 for (i = 0; i < 256; i++)
3679 if (XOR (islower (i), ISLOWER (i))
3680 || toupper (i) != TOUPPER (i))
3685 if ac_fn_c_try_run "$LINENO"; then :
3688 ac_cv_header_stdc=no
3690 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3691 conftest.$ac_objext conftest.beam conftest.$ac_ext
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3697 $as_echo "$ac_cv_header_stdc" >&6; }
3698 if test $ac_cv_header_stdc = yes; then
3700 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3704 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3705 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3706 inttypes.h stdint.h unistd.h
3708 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3709 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3711 eval as_val=\$$as_ac_Header
3712 if test "x$as_val" = x""yes; then :
3713 cat >>confdefs.h <<_ACEOF
3714 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3722 for ac_header in libdsk.h
3724 ac_fn_c_check_header_mongrel "$LINENO" "libdsk.h" "ac_cv_header_libdsk_h" "$ac_includes_default"
3725 if test "x$ac_cv_header_libdsk_h" = x""yes; then :
3726 cat >>confdefs.h <<_ACEOF
3727 #define HAVE_LIBDSK_H 1
3731 echo "No libdsk.h - aborting"; exit 1
3738 if test x"$DEVICE" = x"win32"; then
3739 for ac_header in windows.h
3741 ac_fn_c_check_header_mongrel "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
3742 if test "x$ac_cv_header_windows_h" = x""yes; then :
3743 cat >>confdefs.h <<_ACEOF
3744 #define HAVE_WINDOWS_H 1
3748 echo "Device win32, but <windows.h> not found - aborting"; exit 1
3753 for ac_header in winioctl.h
3755 ac_fn_c_check_header_compile "$LINENO" "winioctl.h" "ac_cv_header_winioctl_h" "#ifdef HAVE_WINDOWS_H
3756 #include <windows.h>
3760 if test "x$ac_cv_header_winioctl_h" = x""yes; then :
3761 cat >>confdefs.h <<_ACEOF
3762 #define HAVE_WINIOCTL_H 1
3766 echo "Device win32, but <winioctl.h> not found - aborting"; exit 1
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3774 $as_echo_n "checking for ANSI C header files... " >&6; }
3775 if test "${ac_cv_header_stdc+set}" = set; then :
3776 $as_echo_n "(cached) " >&6
3778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3779 /* end confdefs.h. */
3793 if ac_fn_c_try_compile "$LINENO"; then :
3794 ac_cv_header_stdc=yes
3796 ac_cv_header_stdc=no
3798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3800 if test $ac_cv_header_stdc = yes; then
3801 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3803 /* end confdefs.h. */
3807 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3808 $EGREP "memchr" >/dev/null 2>&1; then :
3811 ac_cv_header_stdc=no
3817 if test $ac_cv_header_stdc = yes; then
3818 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3820 /* end confdefs.h. */
3824 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3825 $EGREP "free" >/dev/null 2>&1; then :
3828 ac_cv_header_stdc=no
3834 if test $ac_cv_header_stdc = yes; then
3835 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3836 if test "$cross_compiling" = yes; then :
3839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3840 /* end confdefs.h. */
3843 #if ((' ' & 0x0FF) == 0x020)
3844 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3845 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3847 # define ISLOWER(c) \
3848 (('a' <= (c) && (c) <= 'i') \
3849 || ('j' <= (c) && (c) <= 'r') \
3850 || ('s' <= (c) && (c) <= 'z'))
3851 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3854 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3859 for (i = 0; i < 256; i++)
3860 if (XOR (islower (i), ISLOWER (i))
3861 || toupper (i) != TOUPPER (i))
3866 if ac_fn_c_try_run "$LINENO"; then :
3869 ac_cv_header_stdc=no
3871 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3872 conftest.$ac_objext conftest.beam conftest.$ac_ext
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3878 $as_echo "$ac_cv_header_stdc" >&6; }
3879 if test $ac_cv_header_stdc = yes; then
3881 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3885 for ac_header in fcntl.h sys/types.h sys/stat.h limits.h unistd.h
3887 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3888 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
3889 eval as_val=\$$as_ac_Header
3890 if test "x$as_val" = x""yes; then :
3891 cat >>confdefs.h <<_ACEOF
3892 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
3901 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
3902 if test "${ac_cv_c_const+set}" = set; then :
3903 $as_echo_n "(cached) " >&6
3905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3906 /* end confdefs.h. */
3911 /* FIXME: Include the comments suggested by Paul. */
3913 /* Ultrix mips cc rejects this. */
3914 typedef int charset[2];
3916 /* SunOS 4.1.1 cc rejects this. */
3917 char const *const *pcpcc;
3919 /* NEC SVR4.0.2 mips cc rejects this. */
3920 struct point {int x, y;};
3921 static struct point const zero = {0,0};
3922 /* AIX XL C 1.02.0.0 rejects this.
3923 It does not let you subtract one const X* pointer from another in
3924 an arm of an if-expression whose if-part is not a constant
3926 const char *g = "string";
3927 pcpcc = &g + (g ? g-g : 0);
3928 /* HPUX 7.0 cc rejects these. */
3930 ppc = (char**) pcpcc;
3931 pcpcc = (char const *const *) ppc;
3932 { /* SCO 3.2v4 cc rejects this. */
3934 char const *s = 0 ? (char *) 0 : (char const *) 0;
3939 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3941 const int *foo = &x[0];
3944 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3945 typedef const int *iptr;
3949 { /* AIX XL C 1.02.0.0 rejects this saying
3950 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3951 struct s { int j; const int *ap[3]; };
3952 struct s *b; b->j = 5;
3954 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3958 return !cs[0] && !zero.x;
3965 if ac_fn_c_try_compile "$LINENO"; then :
3970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
3973 $as_echo "$ac_cv_c_const" >&6; }
3974 if test $ac_cv_c_const = no; then
3976 $as_echo "#define const /**/" >>confdefs.h
3980 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
3981 if test "x$ac_cv_type_mode_t" = x""yes; then :
3985 cat >>confdefs.h <<_ACEOF
3991 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
3992 if test "x$ac_cv_type_off_t" = x""yes; then :
3996 cat >>confdefs.h <<_ACEOF
3997 #define off_t long int
4002 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
4003 if test "x$ac_cv_type_pid_t" = x""yes; then :
4007 cat >>confdefs.h <<_ACEOF
4013 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4014 if test "x$ac_cv_type_size_t" = x""yes; then :
4018 cat >>confdefs.h <<_ACEOF
4019 #define size_t unsigned int
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
4025 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
4026 if test "${ac_cv_struct_tm+set}" = set; then :
4027 $as_echo_n "(cached) " >&6
4029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4030 /* end confdefs.h. */
4031 #include <sys/types.h>
4038 int *p = &tm.tm_sec;
4044 if ac_fn_c_try_compile "$LINENO"; then :
4045 ac_cv_struct_tm=time.h
4047 ac_cv_struct_tm=sys/time.h
4049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
4052 $as_echo "$ac_cv_struct_tm" >&6; }
4053 if test $ac_cv_struct_tm = sys/time.h; then
4055 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
4061 # Check whether --enable-largefile was given.
4062 if test "${enable_largefile+set}" = set; then :
4063 enableval=$enable_largefile;
4066 if test "$enable_largefile" != no; then
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
4069 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
4070 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
4071 $as_echo_n "(cached) " >&6
4073 ac_cv_sys_largefile_CC=no
4074 if test "$GCC" != yes; then
4077 # IRIX 6.2 and later do not support large files by default,
4078 # so use the C compiler's -n32 option if that helps.
4079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4080 /* end confdefs.h. */
4081 #include <sys/types.h>
4082 /* Check that off_t can represent 2**63 - 1 correctly.
4083 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4084 since some C++ compilers masquerading as C compilers
4085 incorrectly reject 9223372036854775807. */
4086 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4087 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4088 && LARGE_OFF_T % 2147483647 == 1)
4098 if ac_fn_c_try_compile "$LINENO"; then :
4101 rm -f core conftest.err conftest.$ac_objext
4103 if ac_fn_c_try_compile "$LINENO"; then :
4104 ac_cv_sys_largefile_CC=' -n32'; break
4106 rm -f core conftest.err conftest.$ac_objext
4110 rm -f conftest.$ac_ext
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
4114 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
4115 if test "$ac_cv_sys_largefile_CC" != no; then
4116 CC=$CC$ac_cv_sys_largefile_CC
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4120 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
4121 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
4122 $as_echo_n "(cached) " >&6
4125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4126 /* end confdefs.h. */
4127 #include <sys/types.h>
4128 /* Check that off_t can represent 2**63 - 1 correctly.
4129 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4130 since some C++ compilers masquerading as C compilers
4131 incorrectly reject 9223372036854775807. */
4132 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4133 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4134 && LARGE_OFF_T % 2147483647 == 1)
4144 if ac_fn_c_try_compile "$LINENO"; then :
4145 ac_cv_sys_file_offset_bits=no; break
4147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4149 /* end confdefs.h. */
4150 #define _FILE_OFFSET_BITS 64
4151 #include <sys/types.h>
4152 /* Check that off_t can represent 2**63 - 1 correctly.
4153 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4154 since some C++ compilers masquerading as C compilers
4155 incorrectly reject 9223372036854775807. */
4156 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4157 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4158 && LARGE_OFF_T % 2147483647 == 1)
4168 if ac_fn_c_try_compile "$LINENO"; then :
4169 ac_cv_sys_file_offset_bits=64; break
4171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4172 ac_cv_sys_file_offset_bits=unknown
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
4177 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
4178 case $ac_cv_sys_file_offset_bits in #(
4181 cat >>confdefs.h <<_ACEOF
4182 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4187 if test $ac_cv_sys_file_offset_bits = unknown; then
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
4189 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
4190 if test "${ac_cv_sys_large_files+set}" = set; then :
4191 $as_echo_n "(cached) " >&6
4194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4195 /* end confdefs.h. */
4196 #include <sys/types.h>
4197 /* Check that off_t can represent 2**63 - 1 correctly.
4198 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4199 since some C++ compilers masquerading as C compilers
4200 incorrectly reject 9223372036854775807. */
4201 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4202 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4203 && LARGE_OFF_T % 2147483647 == 1)
4213 if ac_fn_c_try_compile "$LINENO"; then :
4214 ac_cv_sys_large_files=no; break
4216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4218 /* end confdefs.h. */
4219 #define _LARGE_FILES 1
4220 #include <sys/types.h>
4221 /* Check that off_t can represent 2**63 - 1 correctly.
4222 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4223 since some C++ compilers masquerading as C compilers
4224 incorrectly reject 9223372036854775807. */
4225 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4226 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4227 && LARGE_OFF_T % 2147483647 == 1)
4237 if ac_fn_c_try_compile "$LINENO"; then :
4238 ac_cv_sys_large_files=1; break
4240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4241 ac_cv_sys_large_files=unknown
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
4246 $as_echo "$ac_cv_sys_large_files" >&6; }
4247 case $ac_cv_sys_large_files in #(
4250 cat >>confdefs.h <<_ACEOF
4251 #define _LARGE_FILES $ac_cv_sys_large_files
4260 if test x"$FSED_CPM" != x""; then
4261 FSED_CPM="$FSED_CPM$EXEEXT"
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5
4265 $as_echo_n "checking for working memcmp... " >&6; }
4266 if test "${ac_cv_func_memcmp_working+set}" = set; then :
4267 $as_echo_n "(cached) " >&6
4269 if test "$cross_compiling" = yes; then :
4270 ac_cv_func_memcmp_working=no
4272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4273 /* end confdefs.h. */
4274 $ac_includes_default
4279 /* Some versions of memcmp are not 8-bit clean. */
4280 char c0 = '\100', c1 = '\200', c2 = '\201';
4281 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
4284 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
4285 or more and with at least one buffer not starting on a 4-byte boundary.
4286 William Lewis provided this test program. */
4291 for (i = 0; i < 4; i++)
4295 strcpy (a, "--------01111111");
4296 strcpy (b, "--------10000000");
4297 if (memcmp (a, b, 16) >= 0)
4307 if ac_fn_c_try_run "$LINENO"; then :
4308 ac_cv_func_memcmp_working=yes
4310 ac_cv_func_memcmp_working=no
4312 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4313 conftest.$ac_objext conftest.beam conftest.$ac_ext
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_memcmp_working" >&5
4318 $as_echo "$ac_cv_func_memcmp_working" >&6; }
4319 test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
4320 *" memcmp.$ac_objext "* ) ;;
4321 *) LIBOBJS="$LIBOBJS memcmp.$ac_objext"
4326 for ac_func in strftime
4328 ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
4329 if test "x$ac_cv_func_strftime" = x""yes; then :
4330 cat >>confdefs.h <<_ACEOF
4331 #define HAVE_STRFTIME 1
4335 # strftime is in -lintl on SCO UNIX.
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
4337 $as_echo_n "checking for strftime in -lintl... " >&6; }
4338 if test "${ac_cv_lib_intl_strftime+set}" = set; then :
4339 $as_echo_n "(cached) " >&6
4341 ac_check_lib_save_LIBS=$LIBS
4343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4344 /* end confdefs.h. */
4346 /* Override any GCC internal prototype to avoid an error.
4347 Use char because int might match the return type of a GCC
4348 builtin and then its argument prototype would still apply. */
4361 if ac_fn_c_try_link "$LINENO"; then :
4362 ac_cv_lib_intl_strftime=yes
4364 ac_cv_lib_intl_strftime=no
4366 rm -f core conftest.err conftest.$ac_objext \
4367 conftest$ac_exeext conftest.$ac_ext
4368 LIBS=$ac_check_lib_save_LIBS
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
4371 $as_echo "$ac_cv_lib_intl_strftime" >&6; }
4372 if test "x$ac_cv_lib_intl_strftime" = x""yes; then :
4373 $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
4381 for ac_func in mktime strerror
4383 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4384 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
4385 eval as_val=\$$as_ac_var
4386 if test "x$as_val" = x""yes; then :
4387 cat >>confdefs.h <<_ACEOF
4388 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4398 eval DATADIR=$datadir
4404 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"
4406 cat >confcache <<\_ACEOF
4407 # This file is a shell script that caches the results of configure
4408 # tests run on this system so they can be shared between configure
4409 # scripts and configure runs, see configure's option --config-cache.
4410 # It is not useful on other systems. If it contains results you don't
4411 # want to keep, you may remove or edit it.
4413 # config.status only pays attention to the cache file if you give it
4414 # the --recheck option to rerun configure.
4416 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4417 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4422 # The following way of writing the cache mishandles newlines in values,
4423 # but we know of no workaround that is simple, portable, and efficient.
4424 # So, we kill variables containing newlines.
4425 # Ultrix sh set writes to stderr and can't be redirected directly,
4426 # and sets the high bit in the cache file unless we assign to the vars.
4428 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4429 eval ac_val=\$$ac_var
4433 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4434 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4437 _ | IFS | as_nl) ;; #(
4438 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4439 *) { eval $ac_var=; unset $ac_var;} ;;
4445 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4446 *${as_nl}ac_space=\ *)
4447 # `set' does not quote correctly, so add quotes: double-quote
4448 # substitution turns \\\\ into \\, and sed turns \\ into \.
4451 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4454 # `set' quotes correctly as required by POSIX, so do not add quotes.
4455 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4464 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4466 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4468 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4469 if test -w "$cache_file"; then
4470 test "x$cache_file" != "x/dev/null" &&
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4472 $as_echo "$as_me: updating cache $cache_file" >&6;}
4473 cat confcache >$cache_file
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4476 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4481 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4482 # Let make expand exec_prefix.
4483 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4485 DEFS=-DHAVE_CONFIG_H
4489 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4490 # 1. Remove the extension, and $U if already installed.
4491 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4492 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4493 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4494 # will be set to the directory where LIBOBJS objects are built.
4495 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4496 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4500 LTLIBOBJS=$ac_ltlibobjs
4504 : ${CONFIG_STATUS=./config.status}
4506 ac_clean_files_save=$ac_clean_files
4507 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4509 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4511 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4513 # Generated by $as_me.
4514 # Run this file to recreate the current configuration.
4515 # Compiler output produced by configure, useful for debugging
4516 # configure, is in config.log if it exists.
4522 SHELL=\${CONFIG_SHELL-$SHELL}
4525 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4526 ## -------------------- ##
4527 ## M4sh Initialization. ##
4528 ## -------------------- ##
4530 # Be more Bourne compatible
4531 DUALCASE=1; export DUALCASE # for MKS sh
4532 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4535 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4536 # is contrary to our usage. Disable this feature.
4537 alias -g '${1+"$@"}'='"$@"'
4538 setopt NO_GLOB_SUBST
4540 case `(set -o) 2>/dev/null` in #(
4552 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4553 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4554 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4555 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4556 # Prefer a ksh shell builtin over an external printf program on Solaris,
4557 # but without wasting forks for bash or zsh.
4558 if test -z "$BASH_VERSION$ZSH_VERSION" \
4559 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4560 as_echo='print -r --'
4561 as_echo_n='print -rn --'
4562 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4563 as_echo='printf %s\n'
4564 as_echo_n='printf %s'
4566 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4567 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4568 as_echo_n='/usr/ucb/echo -n'
4570 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4571 as_echo_n_body='eval
4575 expr "X$arg" : "X\\(.*\\)$as_nl";
4576 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4578 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4580 export as_echo_n_body
4581 as_echo_n='sh -c $as_echo_n_body as_echo'
4584 as_echo='sh -c $as_echo_body as_echo'
4587 # The user is always right.
4588 if test "${PATH_SEPARATOR+set}" != set; then
4590 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4591 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4598 # We need space, tab and new line, in precisely that order. Quoting is
4599 # there to prevent editors from complaining about space-tab.
4600 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4601 # splitting by setting IFS to empty value.)
4604 # Find who we are. Look in the path if we contain no directory separator.
4606 *[\\/]* ) as_myself=$0 ;;
4607 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4611 test -z "$as_dir" && as_dir=.
4612 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4618 # We did not find ourselves, most probably we were run as `sh COMMAND'
4619 # in which case we are not to be found in the path.
4620 if test "x$as_myself" = x; then
4623 if test ! -f "$as_myself"; then
4624 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4628 # Unset variables that we do not need and which cause bugs (e.g. in
4629 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4630 # suppresses any "Segmentation fault" message there. '((' could
4631 # trigger a bug in pdksh 5.2.14.
4632 for as_var in BASH_ENV ENV MAIL MAILPATH
4633 do eval test x\${$as_var+set} = xset \
4634 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4647 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4650 # as_fn_error ERROR [LINENO LOG_FD]
4651 # ---------------------------------
4652 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4653 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4654 # script with status $?, using 1 if that was 0.
4657 as_status=$?; test $as_status -eq 0 && as_status=1
4659 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4660 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
4662 $as_echo "$as_me: error: $1" >&2
4663 as_fn_exit $as_status
4667 # as_fn_set_status STATUS
4668 # -----------------------
4669 # Set $? to STATUS, without forking.
4673 } # as_fn_set_status
4677 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4687 # Portably unset VAR.
4690 { eval $1=; unset $1;}
4692 as_unset=as_fn_unset
4693 # as_fn_append VAR VALUE
4694 # ----------------------
4695 # Append the text in VALUE to the end of the definition contained in VAR. Take
4696 # advantage of any shell optimizations that allow amortized linear growth over
4697 # repeated appends, instead of the typical quadratic growth present in naive
4699 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4700 eval 'as_fn_append ()
4711 # as_fn_arith ARG...
4712 # ------------------
4713 # Perform arithmetic evaluation on the ARGs, and store the result in the
4714 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4715 # must be portable across $(()) and expr.
4716 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4717 eval 'as_fn_arith ()
4724 as_val=`expr "$@" || test $? -eq 1`
4729 if expr a : '\(a\)' >/dev/null 2>&1 &&
4730 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4736 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4737 as_basename=basename
4742 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4748 as_me=`$as_basename -- "$0" ||
4749 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4750 X"$0" : 'X\(//\)$' \| \
4751 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4753 sed '/^.*\/\([^/][^/]*\)\/*$/{
4767 # Avoid depending upon Character Ranges.
4768 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4769 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4770 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4771 as_cr_digits='0123456789'
4772 as_cr_alnum=$as_cr_Letters$as_cr_digits
4774 ECHO_C= ECHO_N= ECHO_T=
4775 case `echo -n x` in #(((((
4777 case `echo 'xy\c'` in
4778 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4780 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4787 rm -f conf$$ conf$$.exe conf$$.file
4788 if test -d conf$$.dir; then
4789 rm -f conf$$.dir/conf$$.file
4792 mkdir conf$$.dir 2>/dev/null
4794 if (echo >conf$$.file) 2>/dev/null; then
4795 if ln -s conf$$.file conf$$ 2>/dev/null; then
4797 # ... but there are two gotchas:
4798 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4799 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4800 # In both cases, we have to default to `cp -p'.
4801 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4803 elif ln conf$$.file conf$$ 2>/dev/null; then
4811 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4812 rmdir conf$$.dir 2>/dev/null
4817 # Create "$as_dir" as a directory, including parents if necessary.
4822 -*) as_dir=./$as_dir;;
4824 test -d "$as_dir" || eval $as_mkdir_p || {
4828 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4829 *) as_qdir=$as_dir;;
4831 as_dirs="'$as_qdir' $as_dirs"
4832 as_dir=`$as_dirname -- "$as_dir" ||
4833 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4834 X"$as_dir" : 'X\(//\)[^/]' \| \
4835 X"$as_dir" : 'X\(//\)$' \| \
4836 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4837 $as_echo X"$as_dir" |
4838 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4855 test -d "$as_dir" && break
4857 test -z "$as_dirs" || eval "mkdir $as_dirs"
4858 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
4862 if mkdir -p . 2>/dev/null; then
4863 as_mkdir_p='mkdir -p "$as_dir"'
4865 test -d ./-p && rmdir ./-p
4869 if test -x / >/dev/null 2>&1; then
4872 if ls -dL / >/dev/null 2>&1; then
4879 if test -d "$1"; then
4885 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
4886 ???[sx]*):;;*)false;;esac;fi
4890 as_executable_p=$as_test_x
4892 # Sed expression to map a string onto a valid CPP name.
4893 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4895 # Sed expression to map a string onto a valid variable name.
4896 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4900 ## ----------------------------------- ##
4901 ## Main body of $CONFIG_STATUS script. ##
4902 ## ----------------------------------- ##
4904 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4906 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4907 # Save the log message, to keep $0 and so on meaningful, and to
4908 # report actual input values of CONFIG_FILES etc. instead of their
4909 # values after options handling.
4911 This file was extended by $as_me, which was
4912 generated by GNU Autoconf 2.64. Invocation command line was
4914 CONFIG_FILES = $CONFIG_FILES
4915 CONFIG_HEADERS = $CONFIG_HEADERS
4916 CONFIG_LINKS = $CONFIG_LINKS
4917 CONFIG_COMMANDS = $CONFIG_COMMANDS
4920 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4925 case $ac_config_files in *"
4926 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4929 case $ac_config_headers in *"
4930 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
4934 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4935 # Files that config.status was made for.
4936 config_files="$ac_config_files"
4937 config_headers="$ac_config_headers"
4941 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4943 \`$as_me' instantiates files and other configuration actions
4944 from templates according to the current configuration. Unless the files
4945 and actions are specified as TAGs, all are instantiated by default.
4947 Usage: $0 [OPTION]... [TAG]...
4949 -h, --help print this help, then exit
4950 -V, --version print version number and configuration settings, then exit
4951 -q, --quiet, --silent
4952 do not print progress messages
4953 -d, --debug don't remove temporary files
4954 --recheck update $as_me by reconfiguring in the same conditions
4955 --file=FILE[:TEMPLATE]
4956 instantiate the configuration file FILE
4957 --header=FILE[:TEMPLATE]
4958 instantiate the configuration header FILE
4960 Configuration files:
4963 Configuration headers:
4966 Report bugs to the package provider."
4969 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4972 configured by $0, generated by GNU Autoconf 2.64,
4973 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4975 Copyright (C) 2009 Free Software Foundation, Inc.
4976 This config.status script is free software; the Free Software Foundation
4977 gives unlimited permission to copy, distribute and modify it."
4982 test -n "\$AWK" || AWK=awk
4985 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4986 # The default lists apply if the user does not specify any file.
4992 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4993 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5004 # Handling of the options.
5005 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5007 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5008 $as_echo "$ac_cs_version"; exit ;;
5009 --debug | --debu | --deb | --de | --d | -d )
5011 --file | --fil | --fi | --f )
5014 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5016 as_fn_append CONFIG_FILES " '$ac_optarg'"
5017 ac_need_defaults=false;;
5018 --header | --heade | --head | --hea )
5021 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5023 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5024 ac_need_defaults=false;;
5026 # Conflict between --help and --header
5027 as_fn_error "ambiguous option: \`$1'
5028 Try \`$0 --help' for more information.";;
5029 --help | --hel | -h )
5030 $as_echo "$ac_cs_usage"; exit ;;
5031 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5032 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5036 -*) as_fn_error "unrecognized option: \`$1'
5037 Try \`$0 --help' for more information." ;;
5039 *) as_fn_append ac_config_targets " $1"
5040 ac_need_defaults=false ;;
5046 ac_configure_extra_args=
5048 if $ac_cs_silent; then
5050 ac_configure_extra_args="$ac_configure_extra_args --silent"
5054 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5055 if \$ac_cs_recheck; then
5056 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5058 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5059 CONFIG_SHELL='$SHELL'
5065 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5069 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5070 ## Running $as_me. ##
5076 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5079 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5081 # Handling of arguments.
5082 for ac_config_target in $ac_config_targets
5084 case $ac_config_target in
5085 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5086 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5087 "cpm.5") CONFIG_FILES="$CONFIG_FILES cpm.5" ;;
5088 "cpmchattr.1") CONFIG_FILES="$CONFIG_FILES cpmchattr.1" ;;
5089 "cpmchmod.1") CONFIG_FILES="$CONFIG_FILES cpmchmod.1" ;;
5090 "cpmcp.1") CONFIG_FILES="$CONFIG_FILES cpmcp.1" ;;
5091 "cpmls.1") CONFIG_FILES="$CONFIG_FILES cpmls.1" ;;
5092 "cpmrm.1") CONFIG_FILES="$CONFIG_FILES cpmrm.1" ;;
5093 "fsck.cpm.1") CONFIG_FILES="$CONFIG_FILES fsck.cpm.1" ;;
5094 "fsed.cpm.1") CONFIG_FILES="$CONFIG_FILES fsed.cpm.1" ;;
5095 "mkfs.cpm.1") CONFIG_FILES="$CONFIG_FILES mkfs.cpm.1" ;;
5097 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5102 # If the user did not use the arguments to specify the items to instantiate,
5103 # then the envvar interface is used. Set only those that are not.
5104 # We use the long form for the default assignment because of an extremely
5105 # bizarre bug on SunOS 4.1.3.
5106 if $ac_need_defaults; then
5107 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5108 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5111 # Have a temporary directory for convenience. Make it in the build tree
5112 # simply because there is no reason against having it here, and in addition,
5113 # creating and moving files from /tmp can sometimes cause problems.
5114 # Hook for its removal unless debugging.
5115 # Note that there is a small window in which the directory will not be cleaned:
5116 # after its creation but before its name has been assigned to `$tmp'.
5120 trap 'exit_status=$?
5121 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5123 trap 'as_fn_exit 1' 1 2 13 15
5125 # Create a (secure) tmp directory for tmp files.
5128 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5129 test -n "$tmp" && test -d "$tmp"
5132 tmp=./conf$$-$RANDOM
5133 (umask 077 && mkdir "$tmp")
5134 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
5136 # Set up the scripts for CONFIG_FILES section.
5137 # No need to generate them if there are no CONFIG_FILES.
5138 # This happens for instance with `./config.status config.h'.
5139 if test -n "$CONFIG_FILES"; then
5142 ac_cr=`echo X | tr X '\015'`
5143 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5144 # But we know of no other shell where ac_cr would be empty at this
5145 # point, so we can use a bashism as a fallback.
5146 if test "x$ac_cr" = x; then
5147 eval ac_cr=\$\'\\r\'
5149 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5150 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5156 echo 'BEGIN {' >"$tmp/subs1.awk" &&
5161 echo "cat >conf$$subs.awk <<_ACEOF" &&
5162 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5165 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5166 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
5168 for ac_last_try in false false false false false :; do
5169 . ./conf$$subs.sh ||
5170 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5172 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5173 if test $ac_delim_n = $ac_delim_num; then
5175 elif $ac_last_try; then
5176 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5178 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5183 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5184 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
5188 s/^/S["/; s/!.*/"]=/
5198 s/\(.\{148\}\).*/\1/
5200 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5205 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5212 s/\(.\{148\}\).*/\1/
5214 s/["\\]/\\&/g; s/^/"/; s/$/"/
5218 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5223 ' <conf$$subs.awk | sed '
5228 ' >>$CONFIG_STATUS || ac_write_fail=1
5229 rm -f conf$$subs.awk
5230 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5232 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
5233 for (key in S) S_is_set[key] = 1
5239 nfields = split(line, field, "@")
5241 len = length(field[1])
5242 for (i = 2; i < nfields; i++) {
5244 keylen = length(key)
5245 if (S_is_set[key]) {
5247 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5248 len += length(value) + length(field[++i])
5259 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5260 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5261 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5264 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
5265 || as_fn_error "could not setup config files machinery" "$LINENO" 5
5268 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5269 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5270 # trailing colons and then remove the whole line if VPATH becomes empty
5271 # (actually we leave an empty line to preserve line numbers).
5272 if test "x$srcdir" = x.; then
5273 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5277 s/^\([^=]*=[ ]*\):*/\1/
5283 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5284 fi # test -n "$CONFIG_FILES"
5286 # Set up the scripts for CONFIG_HEADERS section.
5287 # No need to generate them if there are no CONFIG_HEADERS.
5288 # This happens for instance with `./config.status Makefile'.
5289 if test -n "$CONFIG_HEADERS"; then
5290 cat >"$tmp/defines.awk" <<\_ACAWK ||
5294 # Transform confdefs.h into an awk script `defines.awk', embedded as
5295 # here-document in config.status, that substitutes the proper values into
5296 # config.h.in to produce config.h.
5298 # Create a delimiter string that does not exist in confdefs.h, to ease
5299 # handling of long lines.
5301 for ac_last_try in false false :; do
5302 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
5303 if test -z "$ac_t"; then
5305 elif $ac_last_try; then
5306 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
5308 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5312 # For the awk script, D is an array of macro values keyed by name,
5313 # likewise P contains macro parameters if any. Preserve backslash
5314 # newline sequences.
5316 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5318 s/.\{148\}/&'"$ac_delim"'/g
5321 s/^[ ]*#[ ]*define[ ][ ]*/ /
5328 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5330 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5334 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5335 D["\1"]=" \3\\\\\\n"\\/p
5337 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5342 s/.\{148\}/&'"$ac_delim"'/g
5347 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5350 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5352 ' <confdefs.h | sed '
5353 s/'"$ac_delim"'/"\\\
5354 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5356 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5357 for (key in D) D_is_set[key] = 1
5360 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5362 split(line, arg, " ")
5363 if (arg[1] == "#") {
5367 defundef = substr(arg[1], 2)
5370 split(mac1, mac2, "(") #)
5372 prefix = substr(line, 1, index(line, defundef) - 1)
5373 if (D_is_set[macro]) {
5374 # Preserve the white space surrounding the "#".
5375 print prefix "define", macro P[macro] D[macro]
5378 # Replace #undef with comments. This is necessary, for example,
5379 # in the case of _POSIX_SOURCE, which is predefined and required
5380 # on some systems where configure will not decide to define it.
5381 if (defundef == "undef") {
5382 print "/*", prefix defundef, macro, "*/"
5390 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5391 as_fn_error "could not setup config headers machinery" "$LINENO" 5
5392 fi # test -n "$CONFIG_HEADERS"
5395 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
5400 :[FHLC]) ac_mode=$ac_tag; continue;;
5402 case $ac_mode$ac_tag in
5404 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
5405 :[FH]-) ac_tag=-:-;;
5406 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5423 -) ac_f="$tmp/stdin";;
5424 *) # Look for the file first in the build tree, then in the source tree
5425 # (if the path is not absolute). The absolute path cannot be DOS-style,
5426 # because $ac_f cannot contain `:'.
5430 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5432 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5434 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5435 as_fn_append ac_file_inputs " '$ac_f'"
5438 # Let's still pretend it is `configure' which instantiates (i.e., don't
5439 # use $as_me), people would be surprised to read:
5440 # /* config.h. Generated by config.status. */
5441 configure_input='Generated from '`
5442 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5444 if test x"$ac_file" != x-; then
5445 configure_input="$ac_file. $configure_input"
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5447 $as_echo "$as_me: creating $ac_file" >&6;}
5449 # Neutralize special characters interpreted by sed in replacement strings.
5450 case $configure_input in #(
5451 *\&* | *\|* | *\\* )
5452 ac_sed_conf_input=`$as_echo "$configure_input" |
5453 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5454 *) ac_sed_conf_input=$configure_input;;
5458 *:-:* | *:-) cat >"$tmp/stdin" \
5459 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
5464 ac_dir=`$as_dirname -- "$ac_file" ||
5465 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5466 X"$ac_file" : 'X\(//\)[^/]' \| \
5467 X"$ac_file" : 'X\(//\)$' \| \
5468 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5469 $as_echo X"$ac_file" |
5470 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5487 as_dir="$ac_dir"; as_fn_mkdir_p
5491 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5493 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5494 # A ".." for each directory in $ac_dir_suffix.
5495 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5496 case $ac_top_builddir_sub in
5497 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5498 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5501 ac_abs_top_builddir=$ac_pwd
5502 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5503 # for backward compatibility:
5504 ac_top_builddir=$ac_top_build_prefix
5507 .) # We are building in place.
5509 ac_top_srcdir=$ac_top_builddir_sub
5510 ac_abs_top_srcdir=$ac_pwd ;;
5511 [\\/]* | ?:[\\/]* ) # Absolute name.
5512 ac_srcdir=$srcdir$ac_dir_suffix;
5513 ac_top_srcdir=$srcdir
5514 ac_abs_top_srcdir=$srcdir ;;
5516 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5517 ac_top_srcdir=$ac_top_build_prefix$srcdir
5518 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5520 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5530 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5531 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5535 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5536 # If the template does not know about datarootdir, expand it.
5537 # FIXME: This hack should be removed a few years after 2.60.
5538 ac_datarootdir_hack=; ac_datarootdir_seen=
5549 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5550 *datarootdir*) ac_datarootdir_seen=yes;;
5551 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5553 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5555 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5556 ac_datarootdir_hack='
5557 s&@datadir@&$datadir&g
5558 s&@docdir@&$docdir&g
5559 s&@infodir@&$infodir&g
5560 s&@localedir@&$localedir&g
5561 s&@mandir@&$mandir&g
5562 s&\\\${datarootdir}&$datarootdir&g' ;;
5566 # Neutralize VPATH when `$srcdir' = `.'.
5567 # Shell code in configure.ac might set extrasub.
5568 # FIXME: do we really want to maintain this feature?
5569 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5570 ac_sed_extra="$ac_vpsub
5573 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5575 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5576 s|@configure_input@|$ac_sed_conf_input|;t t
5577 s&@top_builddir@&$ac_top_builddir_sub&;t t
5578 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5579 s&@srcdir@&$ac_srcdir&;t t
5580 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5581 s&@top_srcdir@&$ac_top_srcdir&;t t
5582 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5583 s&@builddir@&$ac_builddir&;t t
5584 s&@abs_builddir@&$ac_abs_builddir&;t t
5585 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5586 s&@INSTALL@&$ac_INSTALL&;t t
5587 $ac_datarootdir_hack
5589 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
5590 || as_fn_error "could not create $ac_file" "$LINENO" 5
5592 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5593 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5594 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5596 which seems to be undefined. Please make sure it is defined." >&5
5597 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5598 which seems to be undefined. Please make sure it is defined." >&2;}
5602 -) cat "$tmp/out" && rm -f "$tmp/out";;
5603 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
5605 || as_fn_error "could not create $ac_file" "$LINENO" 5
5611 if test x"$ac_file" != x-; then
5613 $as_echo "/* $configure_input */" \
5614 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
5615 } >"$tmp/config.h" \
5616 || as_fn_error "could not create $ac_file" "$LINENO" 5
5617 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5619 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5622 mv "$tmp/config.h" "$ac_file" \
5623 || as_fn_error "could not create $ac_file" "$LINENO" 5
5626 $as_echo "/* $configure_input */" \
5627 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
5628 || as_fn_error "could not create -" "$LINENO" 5
5640 ac_clean_files=$ac_clean_files_save
5642 test $ac_write_fail = 0 ||
5643 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
5646 # configure is writing to config.log, and then calls config.status.
5647 # config.status does its own redirection, appending to config.log.
5648 # Unfortunately, on DOS this fails, as config.log is still kept open
5649 # by configure, so config.status won't be able to write to it; its
5650 # output is simply discarded. So we exec the FD to /dev/null,
5651 # effectively closing config.log, so it can be properly (re)opened and
5652 # appended to by config.status. When coming back to configure, we
5653 # need to make the FD available again.
5654 if test "$no_create" != yes; then
5656 ac_config_status_args=
5657 test "$silent" = yes &&
5658 ac_config_status_args="$ac_config_status_args --quiet"
5660 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5662 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5663 # would make configure fail if this is the last instruction.
5664 $ac_cs_success || as_fn_exit $?
5666 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5668 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}