2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x; then
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\${$as_var+set} = xset \
121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x; then
137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 case \`(set -o) 2>/dev/null\` in #(
153 as_required="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167 exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174 test \$(( 1 + 1 )) = 2 || exit 1"
175 if (eval "$as_required") 2>/dev/null; then :
180 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
185 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188 test -z "$as_dir" && as_dir=.
192 for as_base in sh bash ksh sh5; do
193 # Try only shells that exist, to save several forks.
194 as_shell=$as_dir/$as_base
195 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197 CONFIG_SHELL=$as_shell as_have_required=yes
198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
206 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208 CONFIG_SHELL=$SHELL as_have_required=yes
213 if test "x$CONFIG_SHELL" != x; then :
214 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables.
219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224 if test x$as_have_required = xno; then :
225 $as_echo "$0: This script requires a shell more modern than all"
226 $as_echo "$0: the shells that I found on your system."
227 if test x${ZSH_VERSION+set} = xset ; then
228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
231 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232 $0: including any error possibly output before this
233 $0: message. Then install a modern shell, or manually run
234 $0: the script under such a shell if you do have one."
240 SHELL=${CONFIG_SHELL-/bin/sh}
242 # Unset more variables known to interfere with behavior of common tools.
243 CLICOLOR_FORCE= GREP_OPTIONS=
244 unset CLICOLOR_FORCE GREP_OPTIONS
246 ## --------------------- ##
247 ## M4sh Shell Functions. ##
248 ## --------------------- ##
251 # Portably unset VAR.
254 { eval $1=; unset $1;}
258 # as_fn_set_status STATUS
259 # -----------------------
260 # Set $? to STATUS, without forking.
268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
278 # Create "$as_dir" as a directory, including parents if necessary.
283 -*) as_dir=./$as_dir;;
285 test -d "$as_dir" || eval $as_mkdir_p || {
289 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
292 as_dirs="'$as_qdir' $as_dirs"
293 as_dir=`$as_dirname -- "$as_dir" ||
294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295 X"$as_dir" : 'X\(//\)[^/]' \| \
296 X"$as_dir" : 'X\(//\)$' \| \
297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298 $as_echo X"$as_dir" |
299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
316 test -d "$as_dir" && break
318 test -z "$as_dirs" || eval "mkdir $as_dirs"
319 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
323 # as_fn_append VAR VALUE
324 # ----------------------
325 # Append the text in VALUE to the end of the definition contained in VAR. Take
326 # advantage of any shell optimizations that allow amortized linear growth over
327 # repeated appends, instead of the typical quadratic growth present in naive
329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
330 eval 'as_fn_append ()
343 # Perform arithmetic evaluation on the ARGs, and store the result in the
344 # global $as_val. Take advantage of shells that can avoid forks. The arguments
345 # must be portable across $(()) and expr.
346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
354 as_val=`expr "$@" || test $? -eq 1`
359 # as_fn_error ERROR [LINENO LOG_FD]
360 # ---------------------------------
361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363 # script with status $?, using 1 if that was 0.
366 as_status=$?; test $as_status -eq 0 && as_status=1
368 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
371 $as_echo "$as_me: error: $1" >&2
372 as_fn_exit $as_status
375 if expr a : '\(a\)' >/dev/null 2>&1 &&
376 test "X`expr 00001 : '.*\(...\)'`" = X001; then
382 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
388 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
394 as_me=`$as_basename -- "$0" ||
395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396 X"$0" : 'X\(//\)$' \| \
397 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
399 sed '/^.*\/\([^/][^/]*\)\/*$/{
413 # Avoid depending upon Character Ranges.
414 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
415 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
417 as_cr_digits='0123456789'
418 as_cr_alnum=$as_cr_Letters$as_cr_digits
421 as_lineno_1=$LINENO as_lineno_1a=$LINENO
422 as_lineno_2=$LINENO as_lineno_2a=$LINENO
423 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
425 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
437 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441 chmod +x "$as_me.lineno" ||
442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
444 # Don't try to exec as it changes $[0], causing all sort of problems
445 # (the dirname of $[0] is not the place where we might find the
446 # original and so on. Autoconf is especially sensitive to this).
448 # Exit status is that of the last command.
452 ECHO_C= ECHO_N= ECHO_T=
453 case `echo -n x` in #(((((
455 case `echo 'xy\c'` in
456 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
458 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465 rm -f conf$$ conf$$.exe conf$$.file
466 if test -d conf$$.dir; then
467 rm -f conf$$.dir/conf$$.file
470 mkdir conf$$.dir 2>/dev/null
472 if (echo >conf$$.file) 2>/dev/null; then
473 if ln -s conf$$.file conf$$ 2>/dev/null; then
475 # ... but there are two gotchas:
476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478 # In both cases, we have to default to `cp -p'.
479 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
481 elif ln conf$$.file conf$$ 2>/dev/null; then
489 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
490 rmdir conf$$.dir 2>/dev/null
492 if mkdir -p . 2>/dev/null; then
493 as_mkdir_p='mkdir -p "$as_dir"'
495 test -d ./-p && rmdir ./-p
499 if test -x / >/dev/null 2>&1; then
502 if ls -dL / >/dev/null 2>&1; then
509 if test -d "$1"; then
515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516 ???[sx]*):;;*)false;;esac;fi
520 as_executable_p=$as_test_x
522 # Sed expression to map a string onto a valid CPP name.
523 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
525 # Sed expression to map a string onto a valid variable name.
526 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
529 test -n "$DJDIR" || exec 7<&0 </dev/null
533 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
534 # so uname gets run too.
535 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
540 ac_default_prefix=/usr/local
542 ac_config_libobj_dir=.
549 # Identity of this package.
557 ac_unique_file="cpmfs.c"
558 # Factoring default headers for most tests.
559 ac_includes_default="\
561 #ifdef HAVE_SYS_TYPES_H
562 # include <sys/types.h>
564 #ifdef HAVE_SYS_STAT_H
565 # include <sys/stat.h>
571 # ifdef HAVE_STDLIB_H
576 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
581 #ifdef HAVE_STRINGS_H
582 # include <strings.h>
584 #ifdef HAVE_INTTYPES_H
585 # include <inttypes.h>
594 ac_subst_vars='LTLIBOBJS
652 program_transform_name
665 enable_option_checking
672 ac_precious_vars='build_alias
683 # Initialize some variables set by options.
685 ac_init_version=false
686 ac_unrecognized_opts=
688 # The variables have the same names as the options, with
689 # dashes changed to underlines.
697 program_transform_name=s,x,x,
705 # Installation directory options.
706 # These are left unexpanded so users can "make install exec_prefix=/foo"
707 # and all the variables that are supposed to be based on exec_prefix
708 # by default will actually change.
709 # Use braces instead of parens because sh, perl, etc. also accept them.
710 # (The list follows the same order as the GNU Coding Standards.)
711 bindir='${exec_prefix}/bin'
712 sbindir='${exec_prefix}/sbin'
713 libexecdir='${exec_prefix}/libexec'
714 datarootdir='${prefix}/share'
715 datadir='${datarootdir}'
716 sysconfdir='${prefix}/etc'
717 sharedstatedir='${prefix}/com'
718 localstatedir='${prefix}/var'
719 includedir='${prefix}/include'
720 oldincludedir='/usr/include'
721 docdir='${datarootdir}/doc/${PACKAGE}'
722 infodir='${datarootdir}/info'
727 libdir='${exec_prefix}/lib'
728 localedir='${datarootdir}/locale'
729 mandir='${datarootdir}/man'
735 # If the previous option needs an argument, assign it.
736 if test -n "$ac_prev"; then
737 eval $ac_prev=\$ac_option
743 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
747 # Accept the important Cygnus configure options, so we can diagnose typos.
749 case $ac_dashdash$ac_option in
753 -bindir | --bindir | --bindi | --bind | --bin | --bi)
755 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
758 -build | --build | --buil | --bui | --bu)
759 ac_prev=build_alias ;;
760 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
761 build_alias=$ac_optarg ;;
763 -cache-file | --cache-file | --cache-fil | --cache-fi \
764 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
765 ac_prev=cache_file ;;
766 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
767 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
768 cache_file=$ac_optarg ;;
771 cache_file=config.cache ;;
773 -datadir | --datadir | --datadi | --datad)
775 -datadir=* | --datadir=* | --datadi=* | --datad=*)
776 datadir=$ac_optarg ;;
778 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
779 | --dataroo | --dataro | --datar)
780 ac_prev=datarootdir ;;
781 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
782 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
783 datarootdir=$ac_optarg ;;
785 -disable-* | --disable-*)
786 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
787 # Reject names that are not valid shell variable names.
788 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
789 as_fn_error "invalid feature name: $ac_useropt"
790 ac_useropt_orig=$ac_useropt
791 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
792 case $ac_user_opts in
796 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
797 ac_unrecognized_sep=', ';;
799 eval enable_$ac_useropt=no ;;
801 -docdir | --docdir | --docdi | --doc | --do)
803 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
806 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
808 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
811 -enable-* | --enable-*)
812 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
813 # Reject names that are not valid shell variable names.
814 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
815 as_fn_error "invalid feature name: $ac_useropt"
816 ac_useropt_orig=$ac_useropt
817 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
818 case $ac_user_opts in
822 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
823 ac_unrecognized_sep=', ';;
825 eval enable_$ac_useropt=\$ac_optarg ;;
827 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
828 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
829 | --exec | --exe | --ex)
830 ac_prev=exec_prefix ;;
831 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
832 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
833 | --exec=* | --exe=* | --ex=*)
834 exec_prefix=$ac_optarg ;;
836 -gas | --gas | --ga | --g)
837 # Obsolete; use --with-gas.
840 -help | --help | --hel | --he | -h)
842 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
843 ac_init_help=recursive ;;
844 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
845 ac_init_help=short ;;
847 -host | --host | --hos | --ho)
848 ac_prev=host_alias ;;
849 -host=* | --host=* | --hos=* | --ho=*)
850 host_alias=$ac_optarg ;;
852 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
854 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
856 htmldir=$ac_optarg ;;
858 -includedir | --includedir | --includedi | --included | --include \
859 | --includ | --inclu | --incl | --inc)
860 ac_prev=includedir ;;
861 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
862 | --includ=* | --inclu=* | --incl=* | --inc=*)
863 includedir=$ac_optarg ;;
865 -infodir | --infodir | --infodi | --infod | --info | --inf)
867 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
868 infodir=$ac_optarg ;;
870 -libdir | --libdir | --libdi | --libd)
872 -libdir=* | --libdir=* | --libdi=* | --libd=*)
875 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
876 | --libexe | --libex | --libe)
877 ac_prev=libexecdir ;;
878 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
879 | --libexe=* | --libex=* | --libe=*)
880 libexecdir=$ac_optarg ;;
882 -localedir | --localedir | --localedi | --localed | --locale)
884 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
885 localedir=$ac_optarg ;;
887 -localstatedir | --localstatedir | --localstatedi | --localstated \
888 | --localstate | --localstat | --localsta | --localst | --locals)
889 ac_prev=localstatedir ;;
890 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
891 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
892 localstatedir=$ac_optarg ;;
894 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
896 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
900 # Obsolete; use --without-fp.
903 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
904 | --no-cr | --no-c | -n)
907 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
908 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
911 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
912 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
913 | --oldin | --oldi | --old | --ol | --o)
914 ac_prev=oldincludedir ;;
915 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
916 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
917 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
918 oldincludedir=$ac_optarg ;;
920 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
922 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
925 -program-prefix | --program-prefix | --program-prefi | --program-pref \
926 | --program-pre | --program-pr | --program-p)
927 ac_prev=program_prefix ;;
928 -program-prefix=* | --program-prefix=* | --program-prefi=* \
929 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
930 program_prefix=$ac_optarg ;;
932 -program-suffix | --program-suffix | --program-suffi | --program-suff \
933 | --program-suf | --program-su | --program-s)
934 ac_prev=program_suffix ;;
935 -program-suffix=* | --program-suffix=* | --program-suffi=* \
936 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
937 program_suffix=$ac_optarg ;;
939 -program-transform-name | --program-transform-name \
940 | --program-transform-nam | --program-transform-na \
941 | --program-transform-n | --program-transform- \
942 | --program-transform | --program-transfor \
943 | --program-transfo | --program-transf \
944 | --program-trans | --program-tran \
945 | --progr-tra | --program-tr | --program-t)
946 ac_prev=program_transform_name ;;
947 -program-transform-name=* | --program-transform-name=* \
948 | --program-transform-nam=* | --program-transform-na=* \
949 | --program-transform-n=* | --program-transform-=* \
950 | --program-transform=* | --program-transfor=* \
951 | --program-transfo=* | --program-transf=* \
952 | --program-trans=* | --program-tran=* \
953 | --progr-tra=* | --program-tr=* | --program-t=*)
954 program_transform_name=$ac_optarg ;;
956 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
958 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
961 -psdir | --psdir | --psdi | --psd | --ps)
963 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
966 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
967 | -silent | --silent | --silen | --sile | --sil)
970 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
972 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
974 sbindir=$ac_optarg ;;
976 -sharedstatedir | --sharedstatedir | --sharedstatedi \
977 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
978 | --sharedst | --shareds | --shared | --share | --shar \
980 ac_prev=sharedstatedir ;;
981 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
982 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
983 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
985 sharedstatedir=$ac_optarg ;;
987 -site | --site | --sit)
989 -site=* | --site=* | --sit=*)
992 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
994 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
997 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
998 | --syscon | --sysco | --sysc | --sys | --sy)
999 ac_prev=sysconfdir ;;
1000 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1001 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1002 sysconfdir=$ac_optarg ;;
1004 -target | --target | --targe | --targ | --tar | --ta | --t)
1005 ac_prev=target_alias ;;
1006 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1007 target_alias=$ac_optarg ;;
1009 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1012 -version | --version | --versio | --versi | --vers | -V)
1013 ac_init_version=: ;;
1016 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1017 # Reject names that are not valid shell variable names.
1018 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1019 as_fn_error "invalid package name: $ac_useropt"
1020 ac_useropt_orig=$ac_useropt
1021 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1022 case $ac_user_opts in
1026 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1027 ac_unrecognized_sep=', ';;
1029 eval with_$ac_useropt=\$ac_optarg ;;
1031 -without-* | --without-*)
1032 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1033 # Reject names that are not valid shell variable names.
1034 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1035 as_fn_error "invalid package name: $ac_useropt"
1036 ac_useropt_orig=$ac_useropt
1037 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1038 case $ac_user_opts in
1042 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1043 ac_unrecognized_sep=', ';;
1045 eval with_$ac_useropt=no ;;
1048 # Obsolete; use --with-x.
1051 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1052 | --x-incl | --x-inc | --x-in | --x-i)
1053 ac_prev=x_includes ;;
1054 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1055 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1056 x_includes=$ac_optarg ;;
1058 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1059 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1060 ac_prev=x_libraries ;;
1061 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1062 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1063 x_libraries=$ac_optarg ;;
1065 -*) as_fn_error "unrecognized option: \`$ac_option'
1066 Try \`$0 --help' for more information."
1070 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1071 # Reject names that are not valid shell variable names.
1072 case $ac_envvar in #(
1073 '' | [0-9]* | *[!_$as_cr_alnum]* )
1074 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1076 eval $ac_envvar=\$ac_optarg
1077 export $ac_envvar ;;
1080 # FIXME: should be removed in autoconf 3.0.
1081 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1082 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1083 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1084 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1090 if test -n "$ac_prev"; then
1091 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1092 as_fn_error "missing argument to $ac_option"
1095 if test -n "$ac_unrecognized_opts"; then
1096 case $enable_option_checking in
1098 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1099 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1103 # Check all directory arguments for consistency.
1104 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1105 datadir sysconfdir sharedstatedir localstatedir includedir \
1106 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1107 libdir localedir mandir
1109 eval ac_val=\$$ac_var
1110 # Remove trailing slashes.
1113 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1114 eval $ac_var=\$ac_val;;
1116 # Be sure to have absolute directory names.
1118 [\\/$]* | ?:[\\/]* ) continue;;
1119 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1121 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1124 # There might be people who depend on the old broken behavior: `$host'
1125 # used to hold the argument of --host etc.
1126 # FIXME: To remove some day.
1129 target=$target_alias
1131 # FIXME: To remove some day.
1132 if test "x$host_alias" != x; then
1133 if test "x$build_alias" = x; then
1134 cross_compiling=maybe
1135 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1136 If a cross compiler is detected then cross compile mode will be used." >&2
1137 elif test "x$build_alias" != "x$host_alias"; then
1143 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1145 test "$silent" = yes && exec 6>/dev/null
1148 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1149 ac_ls_di=`ls -di .` &&
1150 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1151 as_fn_error "working directory cannot be determined"
1152 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1153 as_fn_error "pwd does not report name of working directory"
1156 # Find the source files, if location was not specified.
1157 if test -z "$srcdir"; then
1158 ac_srcdir_defaulted=yes
1159 # Try the directory containing this script, then the parent directory.
1160 ac_confdir=`$as_dirname -- "$as_myself" ||
1161 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1162 X"$as_myself" : 'X\(//\)[^/]' \| \
1163 X"$as_myself" : 'X\(//\)$' \| \
1164 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1165 $as_echo X"$as_myself" |
1166 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1184 if test ! -r "$srcdir/$ac_unique_file"; then
1188 ac_srcdir_defaulted=no
1190 if test ! -r "$srcdir/$ac_unique_file"; then
1191 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1192 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1194 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1196 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1198 # When building in place, set srcdir=.
1199 if test "$ac_abs_confdir" = "$ac_pwd"; then
1202 # Remove unnecessary trailing slashes from srcdir.
1203 # Double slashes in file names in object file debugging info
1204 # mess up M-x gdb in Emacs.
1206 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1208 for ac_var in $ac_precious_vars; do
1209 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1210 eval ac_env_${ac_var}_value=\$${ac_var}
1211 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1212 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1216 # Report the --help message.
1218 if test "$ac_init_help" = "long"; then
1219 # Omit some internal or obsolete options to make the list less imposing.
1220 # This message is too long to be a string in the A/UX 3.1 sh.
1222 \`configure' configures this package to adapt to many kinds of systems.
1224 Usage: $0 [OPTION]... [VAR=VALUE]...
1226 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1227 VAR=VALUE. See below for descriptions of some of the useful variables.
1229 Defaults for the options are specified in brackets.
1232 -h, --help display this help and exit
1233 --help=short display options specific to this package
1234 --help=recursive display the short help of all the included packages
1235 -V, --version display version information and exit
1236 -q, --quiet, --silent do not print \`checking...' messages
1237 --cache-file=FILE cache test results in FILE [disabled]
1238 -C, --config-cache alias for \`--cache-file=config.cache'
1239 -n, --no-create do not create output files
1240 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1242 Installation directories:
1243 --prefix=PREFIX install architecture-independent files in PREFIX
1244 [$ac_default_prefix]
1245 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1248 By default, \`make install' will install all the files in
1249 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1250 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1251 for instance \`--prefix=\$HOME'.
1253 For better control, use the options below.
1255 Fine tuning of the installation directories:
1256 --bindir=DIR user executables [EPREFIX/bin]
1257 --sbindir=DIR system admin executables [EPREFIX/sbin]
1258 --libexecdir=DIR program executables [EPREFIX/libexec]
1259 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1260 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1261 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1262 --libdir=DIR object code libraries [EPREFIX/lib]
1263 --includedir=DIR C header files [PREFIX/include]
1264 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1265 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1266 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1267 --infodir=DIR info documentation [DATAROOTDIR/info]
1268 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1269 --mandir=DIR man documentation [DATAROOTDIR/man]
1270 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1271 --htmldir=DIR html documentation [DOCDIR]
1272 --dvidir=DIR dvi documentation [DOCDIR]
1273 --pdfdir=DIR pdf documentation [DOCDIR]
1274 --psdir=DIR ps documentation [DOCDIR]
1280 --build=BUILD configure for building on BUILD [guessed]
1281 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1285 if test -n "$ac_init_help"; then
1290 --disable-option-checking ignore unrecognized --enable/--with options
1291 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1292 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1293 --disable-largefile omit support for large files
1296 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1297 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1298 --with-diskdefs Specify diskdefs location
1299 --with-defformat Specify default format (ibm-3740)
1300 --with-libdsk Specify path to libdsk library
1301 --with-dmalloc Specify path to dmalloc library
1303 Some influential environment variables:
1304 CC C compiler command
1305 CFLAGS C compiler flags
1306 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1307 nonstandard directory <lib dir>
1308 LIBS libraries to pass to the linker, e.g. -l<library>
1309 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1310 you have headers in a nonstandard directory <include dir>
1313 Use these variables to override the choices made by `configure' or to help
1314 it to find libraries and programs with nonstandard names/locations.
1316 Report bugs to the package provider.
1321 if test "$ac_init_help" = "recursive"; then
1322 # If there are subdirs, report their specific --help.
1323 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1324 test -d "$ac_dir" ||
1325 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1330 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1332 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1333 # A ".." for each directory in $ac_dir_suffix.
1334 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1335 case $ac_top_builddir_sub in
1336 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1337 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1340 ac_abs_top_builddir=$ac_pwd
1341 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1342 # for backward compatibility:
1343 ac_top_builddir=$ac_top_build_prefix
1346 .) # We are building in place.
1348 ac_top_srcdir=$ac_top_builddir_sub
1349 ac_abs_top_srcdir=$ac_pwd ;;
1350 [\\/]* | ?:[\\/]* ) # Absolute name.
1351 ac_srcdir=$srcdir$ac_dir_suffix;
1352 ac_top_srcdir=$srcdir
1353 ac_abs_top_srcdir=$srcdir ;;
1355 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1356 ac_top_srcdir=$ac_top_build_prefix$srcdir
1357 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1359 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1361 cd "$ac_dir" || { ac_status=$?; continue; }
1362 # Check for guested configure.
1363 if test -f "$ac_srcdir/configure.gnu"; then
1365 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1366 elif test -f "$ac_srcdir/configure"; then
1368 $SHELL "$ac_srcdir/configure" --help=recursive
1370 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1372 cd "$ac_pwd" || { ac_status=$?; break; }
1376 test -n "$ac_init_help" && exit $ac_status
1377 if $ac_init_version; then
1380 generated by GNU Autoconf 2.65
1382 Copyright (C) 2009 Free Software Foundation, Inc.
1383 This configure script is free software; the Free Software Foundation
1384 gives unlimited permission to copy, distribute and modify it.
1389 ## ------------------------ ##
1390 ## Autoconf initialization. ##
1391 ## ------------------------ ##
1393 # ac_fn_c_try_compile LINENO
1394 # --------------------------
1395 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1396 ac_fn_c_try_compile ()
1398 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1399 rm -f conftest.$ac_objext
1400 if { { ac_try="$ac_compile"
1402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1403 *) ac_try_echo=$ac_try;;
1405 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1406 $as_echo "$ac_try_echo"; } >&5
1407 (eval "$ac_compile") 2>conftest.err
1409 if test -s conftest.err; then
1410 grep -v '^ *+' conftest.err >conftest.er1
1411 cat conftest.er1 >&5
1412 mv -f conftest.er1 conftest.err
1414 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1415 test $ac_status = 0; } && {
1416 test -z "$ac_c_werror_flag" ||
1417 test ! -s conftest.err
1418 } && test -s conftest.$ac_objext; then :
1421 $as_echo "$as_me: failed program was:" >&5
1422 sed 's/^/| /' conftest.$ac_ext >&5
1426 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1427 as_fn_set_status $ac_retval
1429 } # ac_fn_c_try_compile
1431 # ac_fn_c_try_cpp LINENO
1432 # ----------------------
1433 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1436 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1437 if { { ac_try="$ac_cpp conftest.$ac_ext"
1439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1440 *) ac_try_echo=$ac_try;;
1442 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1443 $as_echo "$ac_try_echo"; } >&5
1444 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1446 if test -s conftest.err; then
1447 grep -v '^ *+' conftest.err >conftest.er1
1448 cat conftest.er1 >&5
1449 mv -f conftest.er1 conftest.err
1451 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1452 test $ac_status = 0; } >/dev/null && {
1453 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1454 test ! -s conftest.err
1458 $as_echo "$as_me: failed program was:" >&5
1459 sed 's/^/| /' conftest.$ac_ext >&5
1463 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1464 as_fn_set_status $ac_retval
1468 # ac_fn_c_try_link LINENO
1469 # -----------------------
1470 # Try to link conftest.$ac_ext, and return whether this succeeded.
1473 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1474 rm -f conftest.$ac_objext conftest$ac_exeext
1475 if { { ac_try="$ac_link"
1477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1478 *) ac_try_echo=$ac_try;;
1480 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1481 $as_echo "$ac_try_echo"; } >&5
1482 (eval "$ac_link") 2>conftest.err
1484 if test -s conftest.err; then
1485 grep -v '^ *+' conftest.err >conftest.er1
1486 cat conftest.er1 >&5
1487 mv -f conftest.er1 conftest.err
1489 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1490 test $ac_status = 0; } && {
1491 test -z "$ac_c_werror_flag" ||
1492 test ! -s conftest.err
1493 } && test -s conftest$ac_exeext && {
1494 test "$cross_compiling" = yes ||
1495 $as_test_x conftest$ac_exeext
1499 $as_echo "$as_me: failed program was:" >&5
1500 sed 's/^/| /' conftest.$ac_ext >&5
1504 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1505 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1506 # interfere with the next link command; also delete a directory that is
1507 # left behind by Apple's compiler. We do this before executing the actions.
1508 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1509 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1510 as_fn_set_status $ac_retval
1512 } # ac_fn_c_try_link
1514 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1515 # -------------------------------------------------------
1516 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1517 # the include files in INCLUDES and setting the cache variable VAR
1519 ac_fn_c_check_header_mongrel ()
1521 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1522 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1524 $as_echo_n "checking for $2... " >&6; }
1525 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1526 $as_echo_n "(cached) " >&6
1529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1530 $as_echo "$ac_res" >&6; }
1532 # Is the header compilable?
1533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1534 $as_echo_n "checking $2 usability... " >&6; }
1535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1536 /* end confdefs.h. */
1540 if ac_fn_c_try_compile "$LINENO"; then :
1541 ac_header_compiler=yes
1543 ac_header_compiler=no
1545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1547 $as_echo "$ac_header_compiler" >&6; }
1549 # Is the header present?
1550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1551 $as_echo_n "checking $2 presence... " >&6; }
1552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1553 /* end confdefs.h. */
1556 if ac_fn_c_try_cpp "$LINENO"; then :
1557 ac_header_preproc=yes
1559 ac_header_preproc=no
1561 rm -f conftest.err conftest.$ac_ext
1562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1563 $as_echo "$ac_header_preproc" >&6; }
1565 # So? What about this header?
1566 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1568 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1569 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1571 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1574 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1575 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1577 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1579 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1581 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1582 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1583 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1587 $as_echo_n "checking for $2... " >&6; }
1588 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1589 $as_echo_n "(cached) " >&6
1591 eval "$3=\$ac_header_compiler"
1594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1595 $as_echo "$ac_res" >&6; }
1597 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1599 } # ac_fn_c_check_header_mongrel
1601 # ac_fn_c_try_run LINENO
1602 # ----------------------
1603 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1604 # that executables *can* be run.
1607 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1608 if { { ac_try="$ac_link"
1610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1611 *) ac_try_echo=$ac_try;;
1613 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1614 $as_echo "$ac_try_echo"; } >&5
1615 (eval "$ac_link") 2>&5
1617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1618 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1619 { { case "(($ac_try" in
1620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1621 *) ac_try_echo=$ac_try;;
1623 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1624 $as_echo "$ac_try_echo"; } >&5
1625 (eval "$ac_try") 2>&5
1627 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1628 test $ac_status = 0; }; }; then :
1631 $as_echo "$as_me: program exited with status $ac_status" >&5
1632 $as_echo "$as_me: failed program was:" >&5
1633 sed 's/^/| /' conftest.$ac_ext >&5
1635 ac_retval=$ac_status
1637 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1638 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1639 as_fn_set_status $ac_retval
1643 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1644 # -------------------------------------------------------
1645 # Tests whether HEADER exists and can be compiled using the include files in
1646 # INCLUDES, setting the cache variable VAR accordingly.
1647 ac_fn_c_check_header_compile ()
1649 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1651 $as_echo_n "checking for $2... " >&6; }
1652 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1653 $as_echo_n "(cached) " >&6
1655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1656 /* end confdefs.h. */
1660 if ac_fn_c_try_compile "$LINENO"; then :
1665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1669 $as_echo "$ac_res" >&6; }
1670 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1672 } # ac_fn_c_check_header_compile
1674 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1675 # -------------------------------------------
1676 # Tests whether TYPE exists after having included INCLUDES, setting cache
1677 # variable VAR accordingly.
1678 ac_fn_c_check_type ()
1680 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1682 $as_echo_n "checking for $2... " >&6; }
1683 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1684 $as_echo_n "(cached) " >&6
1687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1688 /* end confdefs.h. */
1699 if ac_fn_c_try_compile "$LINENO"; then :
1700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1701 /* end confdefs.h. */
1712 if ac_fn_c_try_compile "$LINENO"; then :
1717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1723 $as_echo "$ac_res" >&6; }
1724 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1726 } # ac_fn_c_check_type
1728 # ac_fn_c_check_func LINENO FUNC VAR
1729 # ----------------------------------
1730 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1731 ac_fn_c_check_func ()
1733 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1735 $as_echo_n "checking for $2... " >&6; }
1736 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1737 $as_echo_n "(cached) " >&6
1739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1740 /* end confdefs.h. */
1741 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1742 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1743 #define $2 innocuous_$2
1745 /* System header to define __stub macros and hopefully few prototypes,
1746 which can conflict with char $2 (); below.
1747 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1748 <limits.h> exists even on freestanding compilers. */
1751 # include <limits.h>
1753 # include <assert.h>
1758 /* Override any GCC internal prototype to avoid an error.
1759 Use char because int might match the return type of a GCC
1760 builtin and then its argument prototype would still apply. */
1765 /* The GNU C library defines this for functions which it implements
1766 to always fail with ENOSYS. Some functions are actually named
1767 something starting with __ and the normal name is an alias. */
1768 #if defined __stub_$2 || defined __stub___$2
1780 if ac_fn_c_try_link "$LINENO"; then :
1785 rm -f core conftest.err conftest.$ac_objext \
1786 conftest$ac_exeext conftest.$ac_ext
1789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1790 $as_echo "$ac_res" >&6; }
1791 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1793 } # ac_fn_c_check_func
1794 cat >config.log <<_ACEOF
1795 This file contains any messages produced by compilers while
1796 running configure, to aid debugging if configure makes a mistake.
1798 It was created by $as_me, which was
1799 generated by GNU Autoconf 2.65. Invocation command line was
1811 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1812 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1813 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1814 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1815 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1817 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1818 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1820 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1821 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1822 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1823 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1824 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1825 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1826 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1834 test -z "$as_dir" && as_dir=.
1835 $as_echo "PATH: $as_dir"
1851 # Keep a trace of the command line.
1852 # Strip out --no-create and --no-recursion so they do not pile up.
1853 # Strip out --silent because we don't want to record it for future runs.
1854 # Also quote any args containing shell meta-characters.
1855 # Make two passes to allow for proper duplicate-argument suppression.
1859 ac_must_keep_next=false
1865 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1866 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1867 | -silent | --silent | --silen | --sile | --sil)
1870 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1873 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1875 as_fn_append ac_configure_args1 " '$ac_arg'"
1876 if test $ac_must_keep_next = true; then
1877 ac_must_keep_next=false # Got value, back to normal.
1880 *=* | --config-cache | -C | -disable-* | --disable-* \
1881 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1882 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1883 | -with-* | --with-* | -without-* | --without-* | --x)
1884 case "$ac_configure_args0 " in
1885 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1888 -* ) ac_must_keep_next=true ;;
1891 as_fn_append ac_configure_args " '$ac_arg'"
1896 { ac_configure_args0=; unset ac_configure_args0;}
1897 { ac_configure_args1=; unset ac_configure_args1;}
1899 # When interrupted or exit'd, cleanup temporary files, and complete
1900 # config.log. We remove comments because anyway the quotes in there
1901 # would cause problems or look ugly.
1902 # WARNING: Use '\'' to represent an apostrophe within the trap.
1903 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1904 trap 'exit_status=$?
1905 # Save into config.log some information that might help in debugging.
1910 ## ---------------- ##
1911 ## Cache variables. ##
1912 ## ---------------- ##
1915 # The following way of writing the cache mishandles newlines in values,
1917 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1918 eval ac_val=\$$ac_var
1922 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1923 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1926 _ | IFS | as_nl) ;; #(
1927 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1928 *) { eval $ac_var=; unset $ac_var;} ;;
1933 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1934 *${as_nl}ac_space=\ *)
1936 "s/'\''/'\''\\\\'\'''\''/g;
1937 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1940 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1948 ## ----------------- ##
1949 ## Output variables. ##
1950 ## ----------------- ##
1953 for ac_var in $ac_subst_vars
1955 eval ac_val=\$$ac_var
1957 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1959 $as_echo "$ac_var='\''$ac_val'\''"
1963 if test -n "$ac_subst_files"; then
1965 ## ------------------- ##
1966 ## File substitutions. ##
1967 ## ------------------- ##
1970 for ac_var in $ac_subst_files
1972 eval ac_val=\$$ac_var
1974 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1976 $as_echo "$ac_var='\''$ac_val'\''"
1981 if test -s confdefs.h; then
1991 test "$ac_signal" != 0 &&
1992 $as_echo "$as_me: caught signal $ac_signal"
1993 $as_echo "$as_me: exit $exit_status"
1995 rm -f core *.core core.conftest.* &&
1996 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1999 for ac_signal in 1 2 13 15; do
2000 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2004 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2005 rm -f -r conftest* confdefs.h
2007 $as_echo "/* confdefs.h */" > confdefs.h
2009 # Predefined preprocessor variables.
2011 cat >>confdefs.h <<_ACEOF
2012 #define PACKAGE_NAME "$PACKAGE_NAME"
2015 cat >>confdefs.h <<_ACEOF
2016 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2019 cat >>confdefs.h <<_ACEOF
2020 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2023 cat >>confdefs.h <<_ACEOF
2024 #define PACKAGE_STRING "$PACKAGE_STRING"
2027 cat >>confdefs.h <<_ACEOF
2028 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2031 cat >>confdefs.h <<_ACEOF
2032 #define PACKAGE_URL "$PACKAGE_URL"
2036 # Let the site file select an alternate cache file if it wants to.
2037 # Prefer an explicitly selected file to automatically selected ones.
2040 if test -n "$CONFIG_SITE"; then
2041 ac_site_file1=$CONFIG_SITE
2042 elif test "x$prefix" != xNONE; then
2043 ac_site_file1=$prefix/share/config.site
2044 ac_site_file2=$prefix/etc/config.site
2046 ac_site_file1=$ac_default_prefix/share/config.site
2047 ac_site_file2=$ac_default_prefix/etc/config.site
2049 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2051 test "x$ac_site_file" = xNONE && continue
2052 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2053 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2054 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2055 sed 's/^/| /' "$ac_site_file" >&5
2060 if test -r "$cache_file"; then
2061 # Some versions of bash will fail to source /dev/null (special files
2062 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2063 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2064 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2065 $as_echo "$as_me: loading cache $cache_file" >&6;}
2067 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2068 *) . "./$cache_file";;
2072 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2073 $as_echo "$as_me: creating cache $cache_file" >&6;}
2077 # Check that the precious variables saved in the cache have kept the same
2079 ac_cache_corrupted=false
2080 for ac_var in $ac_precious_vars; do
2081 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2082 eval ac_new_set=\$ac_env_${ac_var}_set
2083 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2084 eval ac_new_val=\$ac_env_${ac_var}_value
2085 case $ac_old_set,$ac_new_set in
2087 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2088 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2089 ac_cache_corrupted=: ;;
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2092 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2093 ac_cache_corrupted=: ;;
2096 if test "x$ac_old_val" != "x$ac_new_val"; then
2097 # differences in whitespace do not lead to failure.
2098 ac_old_val_w=`echo x $ac_old_val`
2099 ac_new_val_w=`echo x $ac_new_val`
2100 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2102 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2103 ac_cache_corrupted=:
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2106 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2107 eval $ac_var=\$ac_old_val
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2110 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2112 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2115 # Pass precious variables to config.status.
2116 if test "$ac_new_set" = set; then
2118 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2119 *) ac_arg=$ac_var=$ac_new_val ;;
2121 case " $ac_configure_args " in
2122 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2123 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2127 if $ac_cache_corrupted; then
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2129 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2131 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2132 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2134 ## -------------------- ##
2135 ## Main body of script. ##
2136 ## -------------------- ##
2139 ac_cpp='$CPP $CPPFLAGS'
2140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2145 ac_config_headers="$ac_config_headers config.h"
2148 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2149 for ac_t in install-sh install.sh shtool; do
2150 if test -f "$ac_dir/$ac_t"; then
2152 ac_install_sh="$ac_aux_dir/$ac_t -c"
2157 if test -z "$ac_aux_dir"; then
2158 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2161 # These three variables are undocumented and unsupported,
2162 # and are intended to be withdrawn in a future Autoconf release.
2163 # They can cause serious problems if a builder's source tree is in a directory
2164 # whose full name contains unusual characters.
2165 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2166 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2167 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2170 # Make sure we can run config.sub.
2171 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2172 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2175 $as_echo_n "checking build system type... " >&6; }
2176 if test "${ac_cv_build+set}" = set; then :
2177 $as_echo_n "(cached) " >&6
2179 ac_build_alias=$build_alias
2180 test "x$ac_build_alias" = x &&
2181 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2182 test "x$ac_build_alias" = x &&
2183 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2184 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2185 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2189 $as_echo "$ac_cv_build" >&6; }
2190 case $ac_cv_build in
2192 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2195 ac_save_IFS=$IFS; IFS='-'
2201 # Remember, the first character of IFS is used to create $*,
2202 # except with old shells:
2205 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2209 $as_echo_n "checking host system type... " >&6; }
2210 if test "${ac_cv_host+set}" = set; then :
2211 $as_echo_n "(cached) " >&6
2213 if test "x$host_alias" = x; then
2214 ac_cv_host=$ac_cv_build
2216 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2217 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2222 $as_echo "$ac_cv_host" >&6; }
2225 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2228 ac_save_IFS=$IFS; IFS='-'
2234 # Remember, the first character of IFS is used to create $*,
2235 # except with old shells:
2238 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2242 UPDATED='March 30, 2010'
2246 if test "$prefix" = NONE
2252 CFLAGS_LIBDSK=-DNOTWINDLL
2258 ac_cpp='$CPP $CPPFLAGS'
2259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2262 if test -n "$ac_tool_prefix"; then
2263 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2264 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2266 $as_echo_n "checking for $ac_word... " >&6; }
2267 if test "${ac_cv_prog_CC+set}" = set; then :
2268 $as_echo_n "(cached) " >&6
2270 if test -n "$CC"; then
2271 ac_cv_prog_CC="$CC" # Let the user override the test.
2273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2277 test -z "$as_dir" && as_dir=.
2278 for ac_exec_ext in '' $ac_executable_extensions; do
2279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2280 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2291 if test -n "$CC"; then
2292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2293 $as_echo "$CC" >&6; }
2295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2296 $as_echo "no" >&6; }
2301 if test -z "$ac_cv_prog_CC"; then
2303 # Extract the first word of "gcc", so it can be a program name with args.
2304 set dummy gcc; ac_word=$2
2305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2306 $as_echo_n "checking for $ac_word... " >&6; }
2307 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2308 $as_echo_n "(cached) " >&6
2310 if test -n "$ac_ct_CC"; then
2311 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2317 test -z "$as_dir" && as_dir=.
2318 for ac_exec_ext in '' $ac_executable_extensions; do
2319 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2320 ac_cv_prog_ac_ct_CC="gcc"
2321 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2330 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2331 if test -n "$ac_ct_CC"; then
2332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2333 $as_echo "$ac_ct_CC" >&6; }
2335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2336 $as_echo "no" >&6; }
2339 if test "x$ac_ct_CC" = x; then
2342 case $cross_compiling:$ac_tool_warned in
2344 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2345 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2346 ac_tool_warned=yes ;;
2354 if test -z "$CC"; then
2355 if test -n "$ac_tool_prefix"; then
2356 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2357 set dummy ${ac_tool_prefix}cc; ac_word=$2
2358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2359 $as_echo_n "checking for $ac_word... " >&6; }
2360 if test "${ac_cv_prog_CC+set}" = set; then :
2361 $as_echo_n "(cached) " >&6
2363 if test -n "$CC"; then
2364 ac_cv_prog_CC="$CC" # Let the user override the test.
2366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2370 test -z "$as_dir" && as_dir=.
2371 for ac_exec_ext in '' $ac_executable_extensions; do
2372 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2373 ac_cv_prog_CC="${ac_tool_prefix}cc"
2374 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2384 if test -n "$CC"; then
2385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2386 $as_echo "$CC" >&6; }
2388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2389 $as_echo "no" >&6; }
2395 if test -z "$CC"; then
2396 # Extract the first word of "cc", so it can be a program name with args.
2397 set dummy cc; ac_word=$2
2398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2399 $as_echo_n "checking for $ac_word... " >&6; }
2400 if test "${ac_cv_prog_CC+set}" = set; then :
2401 $as_echo_n "(cached) " >&6
2403 if test -n "$CC"; then
2404 ac_cv_prog_CC="$CC" # Let the user override the test.
2407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2411 test -z "$as_dir" && as_dir=.
2412 for ac_exec_ext in '' $ac_executable_extensions; do
2413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2414 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2415 ac_prog_rejected=yes
2419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2426 if test $ac_prog_rejected = yes; then
2427 # We found a bogon in the path, so make sure we never use it.
2428 set dummy $ac_cv_prog_CC
2430 if test $# != 0; then
2431 # We chose a different compiler from the bogus one.
2432 # However, it has the same basename, so the bogon will be chosen
2433 # first if we set CC to just the basename; use the full file name.
2435 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2441 if test -n "$CC"; then
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2443 $as_echo "$CC" >&6; }
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2446 $as_echo "no" >&6; }
2451 if test -z "$CC"; then
2452 if test -n "$ac_tool_prefix"; then
2453 for ac_prog in cl.exe
2455 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2456 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2458 $as_echo_n "checking for $ac_word... " >&6; }
2459 if test "${ac_cv_prog_CC+set}" = set; then :
2460 $as_echo_n "(cached) " >&6
2462 if test -n "$CC"; then
2463 ac_cv_prog_CC="$CC" # Let the user override the test.
2465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2469 test -z "$as_dir" && as_dir=.
2470 for ac_exec_ext in '' $ac_executable_extensions; do
2471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2472 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2483 if test -n "$CC"; then
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2485 $as_echo "$CC" >&6; }
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2488 $as_echo "no" >&6; }
2492 test -n "$CC" && break
2495 if test -z "$CC"; then
2497 for ac_prog in cl.exe
2499 # Extract the first word of "$ac_prog", so it can be a program name with args.
2500 set dummy $ac_prog; ac_word=$2
2501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2502 $as_echo_n "checking for $ac_word... " >&6; }
2503 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2504 $as_echo_n "(cached) " >&6
2506 if test -n "$ac_ct_CC"; then
2507 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2513 test -z "$as_dir" && as_dir=.
2514 for ac_exec_ext in '' $ac_executable_extensions; do
2515 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2516 ac_cv_prog_ac_ct_CC="$ac_prog"
2517 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2526 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2527 if test -n "$ac_ct_CC"; then
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2529 $as_echo "$ac_ct_CC" >&6; }
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2532 $as_echo "no" >&6; }
2536 test -n "$ac_ct_CC" && break
2539 if test "x$ac_ct_CC" = x; then
2542 case $cross_compiling:$ac_tool_warned in
2544 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2545 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2546 ac_tool_warned=yes ;;
2555 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2556 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2557 as_fn_error "no acceptable C compiler found in \$PATH
2558 See \`config.log' for more details." "$LINENO" 5; }
2560 # Provide some information about the compiler.
2561 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2564 for ac_option in --version -v -V -qversion; do
2565 { { ac_try="$ac_compiler $ac_option >&5"
2567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2568 *) ac_try_echo=$ac_try;;
2570 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2571 $as_echo "$ac_try_echo"; } >&5
2572 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2574 if test -s conftest.err; then
2576 ... rest of stderr output deleted ...
2577 10q' conftest.err >conftest.er1
2578 cat conftest.er1 >&5
2580 rm -f conftest.er1 conftest.err
2581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2582 test $ac_status = 0; }
2585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2586 /* end confdefs.h. */
2596 ac_clean_files_save=$ac_clean_files
2597 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2598 # Try to create an executable without -o first, disregard a.out.
2599 # It will help us diagnose broken compilers, and finding out an intuition
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2602 $as_echo_n "checking whether the C compiler works... " >&6; }
2603 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2605 # The possible output files:
2606 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2609 for ac_file in $ac_files
2612 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2613 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2618 if { { ac_try="$ac_link_default"
2620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2621 *) ac_try_echo=$ac_try;;
2623 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2624 $as_echo "$ac_try_echo"; } >&5
2625 (eval "$ac_link_default") 2>&5
2627 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2628 test $ac_status = 0; }; then :
2629 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2630 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2631 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2632 # so that the user can short-circuit this test for compilers unknown to
2634 for ac_file in $ac_files ''
2636 test -f "$ac_file" || continue
2638 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2641 # We found the default executable, but exeext='' is most
2645 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2647 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2649 # We set ac_cv_exeext here because the later test for it is not
2650 # safe: cross compilers may not add the suffix if given an `-o'
2651 # argument, so we may need to know it at that point already.
2652 # Even if this section looks crufty: it has the advantage of
2659 test "$ac_cv_exeext" = no && ac_cv_exeext=
2664 if test -z "$ac_file"; then :
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2666 $as_echo "no" >&6; }
2667 $as_echo "$as_me: failed program was:" >&5
2668 sed 's/^/| /' conftest.$ac_ext >&5
2670 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2671 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2672 { as_fn_set_status 77
2673 as_fn_error "C compiler cannot create executables
2674 See \`config.log' for more details." "$LINENO" 5; }; }
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2677 $as_echo "yes" >&6; }
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2680 $as_echo_n "checking for C compiler default output file name... " >&6; }
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2682 $as_echo "$ac_file" >&6; }
2683 ac_exeext=$ac_cv_exeext
2685 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2686 ac_clean_files=$ac_clean_files_save
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2688 $as_echo_n "checking for suffix of executables... " >&6; }
2689 if { { ac_try="$ac_link"
2691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2692 *) ac_try_echo=$ac_try;;
2694 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2695 $as_echo "$ac_try_echo"; } >&5
2696 (eval "$ac_link") 2>&5
2698 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2699 test $ac_status = 0; }; then :
2700 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2701 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2702 # work properly (i.e., refer to `conftest.exe'), while it won't with
2704 for ac_file in conftest.exe conftest conftest.*; do
2705 test -f "$ac_file" || continue
2707 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2708 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2714 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2715 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2716 as_fn_error "cannot compute suffix of executables: cannot compile and link
2717 See \`config.log' for more details." "$LINENO" 5; }
2719 rm -f conftest conftest$ac_cv_exeext
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2721 $as_echo "$ac_cv_exeext" >&6; }
2723 rm -f conftest.$ac_ext
2724 EXEEXT=$ac_cv_exeext
2726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2727 /* end confdefs.h. */
2732 FILE *f = fopen ("conftest.out", "w");
2733 return ferror (f) || fclose (f) != 0;
2739 ac_clean_files="$ac_clean_files conftest.out"
2740 # Check that the compiler produces executables we can run. If not, either
2741 # the compiler is broken, or we cross compile.
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2743 $as_echo_n "checking whether we are cross compiling... " >&6; }
2744 if test "$cross_compiling" != yes; then
2745 { { ac_try="$ac_link"
2747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2748 *) ac_try_echo=$ac_try;;
2750 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2751 $as_echo "$ac_try_echo"; } >&5
2752 (eval "$ac_link") 2>&5
2754 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2755 test $ac_status = 0; }
2756 if { ac_try='./conftest$ac_cv_exeext'
2757 { { case "(($ac_try" in
2758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2759 *) ac_try_echo=$ac_try;;
2761 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2762 $as_echo "$ac_try_echo"; } >&5
2763 (eval "$ac_try") 2>&5
2765 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2766 test $ac_status = 0; }; }; then
2769 if test "$cross_compiling" = maybe; then
2772 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2773 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2774 as_fn_error "cannot run C compiled programs.
2775 If you meant to cross compile, use \`--host'.
2776 See \`config.log' for more details." "$LINENO" 5; }
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2781 $as_echo "$cross_compiling" >&6; }
2783 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2784 ac_clean_files=$ac_clean_files_save
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2786 $as_echo_n "checking for suffix of object files... " >&6; }
2787 if test "${ac_cv_objext+set}" = set; then :
2788 $as_echo_n "(cached) " >&6
2790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2791 /* end confdefs.h. */
2801 rm -f conftest.o conftest.obj
2802 if { { ac_try="$ac_compile"
2804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2805 *) ac_try_echo=$ac_try;;
2807 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2808 $as_echo "$ac_try_echo"; } >&5
2809 (eval "$ac_compile") 2>&5
2811 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2812 test $ac_status = 0; }; then :
2813 for ac_file in conftest.o conftest.obj conftest.*; do
2814 test -f "$ac_file" || continue;
2816 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2817 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2822 $as_echo "$as_me: failed program was:" >&5
2823 sed 's/^/| /' conftest.$ac_ext >&5
2825 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2826 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2827 as_fn_error "cannot compute suffix of object files: cannot compile
2828 See \`config.log' for more details." "$LINENO" 5; }
2830 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2833 $as_echo "$ac_cv_objext" >&6; }
2834 OBJEXT=$ac_cv_objext
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2837 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2838 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2839 $as_echo_n "(cached) " >&6
2841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2842 /* end confdefs.h. */
2855 if ac_fn_c_try_compile "$LINENO"; then :
2860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2861 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2865 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2866 if test $ac_compiler_gnu = yes; then
2871 ac_test_CFLAGS=${CFLAGS+set}
2872 ac_save_CFLAGS=$CFLAGS
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2874 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2875 if test "${ac_cv_prog_cc_g+set}" = set; then :
2876 $as_echo_n "(cached) " >&6
2878 ac_save_c_werror_flag=$ac_c_werror_flag
2879 ac_c_werror_flag=yes
2882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2883 /* end confdefs.h. */
2893 if ac_fn_c_try_compile "$LINENO"; then :
2897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2898 /* end confdefs.h. */
2908 if ac_fn_c_try_compile "$LINENO"; then :
2911 ac_c_werror_flag=$ac_save_c_werror_flag
2913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2914 /* end confdefs.h. */
2924 if ac_fn_c_try_compile "$LINENO"; then :
2927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2932 ac_c_werror_flag=$ac_save_c_werror_flag
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2935 $as_echo "$ac_cv_prog_cc_g" >&6; }
2936 if test "$ac_test_CFLAGS" = set; then
2937 CFLAGS=$ac_save_CFLAGS
2938 elif test $ac_cv_prog_cc_g = yes; then
2939 if test "$GCC" = yes; then
2945 if test "$GCC" = yes; then
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2952 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2953 if test "${ac_cv_prog_cc_c89+set}" = set; then :
2954 $as_echo_n "(cached) " >&6
2956 ac_cv_prog_cc_c89=no
2958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2959 /* end confdefs.h. */
2962 #include <sys/types.h>
2963 #include <sys/stat.h>
2964 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2965 struct buf { int x; };
2966 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2967 static char *e (p, i)
2973 static char *f (char * (*g) (char **, int), char **p, ...)
2978 s = g (p, va_arg (v,int));
2983 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2984 function prototypes and stuff, but not '\xHH' hex character constants.
2985 These don't provoke an error unfortunately, instead are silently treated
2986 as 'x'. The following induces an error, until -std is added to get
2987 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2988 array size at least. It's necessary to write '\x00'==0 to get something
2989 that's true only with -std. */
2990 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2992 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2993 inside strings and character constants. */
2995 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2997 int test (int i, double x);
2998 struct s1 {int (*f) (int a);};
2999 struct s2 {int (*f) (double a);};
3000 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3006 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3011 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3012 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3014 CC="$ac_save_CC $ac_arg"
3015 if ac_fn_c_try_compile "$LINENO"; then :
3016 ac_cv_prog_cc_c89=$ac_arg
3018 rm -f core conftest.err conftest.$ac_objext
3019 test "x$ac_cv_prog_cc_c89" != "xno" && break
3021 rm -f conftest.$ac_ext
3026 case "x$ac_cv_prog_cc_c89" in
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3029 $as_echo "none needed" >&6; } ;;
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3032 $as_echo "unsupported" >&6; } ;;
3034 CC="$CC $ac_cv_prog_cc_c89"
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3036 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3038 if test "x$ac_cv_prog_cc_c89" != xno; then :
3043 ac_cpp='$CPP $CPPFLAGS'
3044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3048 # Find a good install program. We prefer a C program (faster),
3049 # so one script is as good as another. But avoid the broken or
3050 # incompatible versions:
3051 # SysV /etc/install, /usr/sbin/install
3052 # SunOS /usr/etc/install
3053 # IRIX /sbin/install
3055 # AmigaOS /C/install, which installs bootblocks on floppy discs
3056 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3057 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3058 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3059 # OS/2's system install, which has a completely different semantic
3060 # ./install, which can be erroneously created by make from ./install.sh.
3061 # Reject install programs that cannot install multiple files.
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3063 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3064 if test -z "$INSTALL"; then
3065 if test "${ac_cv_path_install+set}" = set; then :
3066 $as_echo_n "(cached) " >&6
3068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3072 test -z "$as_dir" && as_dir=.
3073 # Account for people who put trailing slashes in PATH elements.
3074 case $as_dir/ in #((
3075 ./ | .// | /[cC]/* | \
3076 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3077 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3080 # OSF1 and SCO ODT 3.0 have their own names for install.
3081 # Don't use installbsd from OSF since it installs stuff as root
3083 for ac_prog in ginstall scoinst install; do
3084 for ac_exec_ext in '' $ac_executable_extensions; do
3085 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3086 if test $ac_prog = install &&
3087 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3088 # AIX install. It has an incompatible calling convention.
3090 elif test $ac_prog = install &&
3091 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3092 # program-specific install script used by HP pwplus--don't use.
3095 rm -rf conftest.one conftest.two conftest.dir
3096 echo one > conftest.one
3097 echo two > conftest.two
3099 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3100 test -s conftest.one && test -s conftest.two &&
3101 test -s conftest.dir/conftest.one &&
3102 test -s conftest.dir/conftest.two
3104 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3117 rm -rf conftest.one conftest.two conftest.dir
3120 if test "${ac_cv_path_install+set}" = set; then
3121 INSTALL=$ac_cv_path_install
3123 # As a last resort, use the slow shell script. Don't cache a
3124 # value for INSTALL within a source directory, because that will
3125 # break other packages using the cache if that directory is
3126 # removed, or if the value is a relative name.
3127 INSTALL=$ac_install_sh
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3131 $as_echo "$INSTALL" >&6; }
3133 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3134 # It thinks the first close brace ends the variable substitution.
3135 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3137 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3139 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3142 ac_cpp='$CPP $CPPFLAGS'
3143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3147 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3148 # On Suns, sometimes $CPP names a directory.
3149 if test -n "$CPP" && test -d "$CPP"; then
3152 if test -z "$CPP"; then
3153 if test "${ac_cv_prog_CPP+set}" = set; then :
3154 $as_echo_n "(cached) " >&6
3156 # Double quotes because CPP needs to be expanded
3157 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3160 for ac_c_preproc_warn_flag in '' yes
3162 # Use a header file that comes with gcc, so configuring glibc
3163 # with a fresh cross-compiler works.
3164 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3165 # <limits.h> exists even on freestanding compilers.
3166 # On the NeXT, cc -E runs the code through the compiler's parser,
3167 # not just through cpp. "Syntax error" is here to catch this case.
3168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3169 /* end confdefs.h. */
3171 # include <limits.h>
3173 # include <assert.h>
3177 if ac_fn_c_try_cpp "$LINENO"; then :
3180 # Broken: fails on valid input.
3183 rm -f conftest.err conftest.$ac_ext
3185 # OK, works on sane cases. Now check whether nonexistent headers
3186 # can be detected and how.
3187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3188 /* end confdefs.h. */
3189 #include <ac_nonexistent.h>
3191 if ac_fn_c_try_cpp "$LINENO"; then :
3192 # Broken: success on invalid input.
3195 # Passes both tests.
3199 rm -f conftest.err conftest.$ac_ext
3202 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3203 rm -f conftest.err conftest.$ac_ext
3204 if $ac_preproc_ok; then :
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3217 $as_echo "$CPP" >&6; }
3219 for ac_c_preproc_warn_flag in '' yes
3221 # Use a header file that comes with gcc, so configuring glibc
3222 # with a fresh cross-compiler works.
3223 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3224 # <limits.h> exists even on freestanding compilers.
3225 # On the NeXT, cc -E runs the code through the compiler's parser,
3226 # not just through cpp. "Syntax error" is here to catch this case.
3227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3228 /* end confdefs.h. */
3230 # include <limits.h>
3232 # include <assert.h>
3236 if ac_fn_c_try_cpp "$LINENO"; then :
3239 # Broken: fails on valid input.
3242 rm -f conftest.err conftest.$ac_ext
3244 # OK, works on sane cases. Now check whether nonexistent headers
3245 # can be detected and how.
3246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3247 /* end confdefs.h. */
3248 #include <ac_nonexistent.h>
3250 if ac_fn_c_try_cpp "$LINENO"; then :
3251 # Broken: success on invalid input.
3254 # Passes both tests.
3258 rm -f conftest.err conftest.$ac_ext
3261 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3262 rm -f conftest.err conftest.$ac_ext
3263 if $ac_preproc_ok; then :
3266 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3267 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3268 as_fn_error "C preprocessor \"$CPP\" fails sanity check
3269 See \`config.log' for more details." "$LINENO" 5; }
3273 ac_cpp='$CPP $CPPFLAGS'
3274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3279 if test "$GCC" = yes
3281 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"
3282 LDFLAGS="${LDFLAGS} ${EXTRA_GLDFLAGS}-g"
3284 CFLAGS="${CFLAGS} ${EXTRA_CFLAGS}"
3285 LDFLAGS="${LDFLAGS} ${EXTRA_LDFLAGS}"
3290 *cygwin* ) CYGWIN=yes;;
3296 *mingw32* ) MINGW32=yes;;
3302 DISKDEFS='${datarootdir}/diskdefs'
3304 if test "$CYGWIN" = "yes"
3307 # DISKDEFS='%USERPROFILE%/diskdefs'
3309 if test "$MINGW32" = "yes"
3312 # DISKDEFS='%USERPROFILE%\\diskdefs'
3316 # Check whether --with-diskdefs was given.
3317 if test "${with_diskdefs+set}" = set; then :
3318 withval=$with_diskdefs; DISKDEFS="$withval"
3320 DISKDEFS="$DISKDEFS"
3324 # Check whether --with-defformat was given.
3325 if test "${with_defformat+set}" = set; then :
3326 withval=$with_defformat; DEFFORMAT="$withval"
3328 DEFFORMAT="ibm-3740"
3332 # Check whether --with-libdsk was given.
3333 if test "${with_libdsk+set}" = set; then :
3334 withval=$with_libdsk; LIBDSK="$withval"
3340 # Check whether --with-dmalloc was given.
3341 if test "${with_dmalloc+set}" = set; then :
3342 withval=$with_dmalloc; CPPFLAGS="$CPPFLAGS -I$with_dmalloc/include"
3343 LDFLAGS="$LDFLAGS -L$with_dmalloc/lib"
3344 LIBS="$LIBS -ldmalloc"
3345 $as_echo "#define USE_DMALLOC 1" >>confdefs.h
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for printw in -lcurses" >&5
3352 $as_echo_n "checking for printw in -lcurses... " >&6; }
3353 if test "${ac_cv_lib_curses_printw+set}" = set; then :
3354 $as_echo_n "(cached) " >&6
3356 ac_check_lib_save_LIBS=$LIBS
3357 LIBS="-lcurses $LIBS"
3358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3359 /* end confdefs.h. */
3361 /* Override any GCC internal prototype to avoid an error.
3362 Use char because int might match the return type of a GCC
3363 builtin and then its argument prototype would still apply. */
3376 if ac_fn_c_try_link "$LINENO"; then :
3377 ac_cv_lib_curses_printw=yes
3379 ac_cv_lib_curses_printw=no
3381 rm -f core conftest.err conftest.$ac_objext \
3382 conftest$ac_exeext conftest.$ac_ext
3383 LIBS=$ac_check_lib_save_LIBS
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_printw" >&5
3386 $as_echo "$ac_cv_lib_curses_printw" >&6; }
3387 if test "x$ac_cv_lib_curses_printw" = x""yes; then :
3388 FSED_CPM=fsed.cpm LIBS="-lcurses $LIBS"
3393 if test x"$FSED_CPM" = x""; then
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for printw in -lncurses" >&5
3395 $as_echo_n "checking for printw in -lncurses... " >&6; }
3396 if test "${ac_cv_lib_ncurses_printw+set}" = set; then :
3397 $as_echo_n "(cached) " >&6
3399 ac_check_lib_save_LIBS=$LIBS
3400 LIBS="-lncurses $LIBS"
3401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3402 /* end confdefs.h. */
3404 /* Override any GCC internal prototype to avoid an error.
3405 Use char because int might match the return type of a GCC
3406 builtin and then its argument prototype would still apply. */
3419 if ac_fn_c_try_link "$LINENO"; then :
3420 ac_cv_lib_ncurses_printw=yes
3422 ac_cv_lib_ncurses_printw=no
3424 rm -f core conftest.err conftest.$ac_objext \
3425 conftest$ac_exeext conftest.$ac_ext
3426 LIBS=$ac_check_lib_save_LIBS
3428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_printw" >&5
3429 $as_echo "$ac_cv_lib_ncurses_printw" >&6; }
3430 if test "x$ac_cv_lib_ncurses_printw" = x""yes; then :
3431 FSED_CPM=fsed.cpm LIBS="-lncurses $LIBS"
3438 if test "$LIBDSK" != ""; then
3440 CPPFLAGS="$CPPFLAGS -I$LIBDSK/include"
3441 CFLAGS="$CFLAGS -I$LIBDSK/include $CFLAGS_LIBDSK"
3442 LDFLAGS="$LDFLAGS -L$LIBDSK/lib"
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dsk_open in -ldsk" >&5
3444 $as_echo_n "checking for dsk_open in -ldsk... " >&6; }
3445 if test "${ac_cv_lib_dsk_dsk_open+set}" = set; then :
3446 $as_echo_n "(cached) " >&6
3448 ac_check_lib_save_LIBS=$LIBS
3450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3451 /* end confdefs.h. */
3453 /* Override any GCC internal prototype to avoid an error.
3454 Use char because int might match the return type of a GCC
3455 builtin and then its argument prototype would still apply. */
3468 if ac_fn_c_try_link "$LINENO"; then :
3469 ac_cv_lib_dsk_dsk_open=yes
3471 ac_cv_lib_dsk_dsk_open=no
3473 rm -f core conftest.err conftest.$ac_objext \
3474 conftest$ac_exeext conftest.$ac_ext
3475 LIBS=$ac_check_lib_save_LIBS
3477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dsk_dsk_open" >&5
3478 $as_echo "$ac_cv_lib_dsk_dsk_open" >&6; }
3479 if test "x$ac_cv_lib_dsk_dsk_open" = x""yes; then :
3480 cat >>confdefs.h <<_ACEOF
3481 #define HAVE_LIBDSK 1
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3490 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3491 if test "${ac_cv_path_GREP+set}" = set; then :
3492 $as_echo_n "(cached) " >&6
3494 if test -z "$GREP"; then
3495 ac_path_GREP_found=false
3496 # Loop through the user's path and test for each of PROGNAME-LIST
3497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3498 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3501 test -z "$as_dir" && as_dir=.
3502 for ac_prog in grep ggrep; do
3503 for ac_exec_ext in '' $ac_executable_extensions; do
3504 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3505 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3506 # Check for GNU ac_path_GREP and select it if it is found.
3507 # Check for GNU $ac_path_GREP
3508 case `"$ac_path_GREP" --version 2>&1` in
3510 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3513 $as_echo_n 0123456789 >"conftest.in"
3516 cat "conftest.in" "conftest.in" >"conftest.tmp"
3517 mv "conftest.tmp" "conftest.in"
3518 cp "conftest.in" "conftest.nl"
3519 $as_echo 'GREP' >> "conftest.nl"
3520 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3521 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3522 as_fn_arith $ac_count + 1 && ac_count=$as_val
3523 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3524 # Best one so far, save it but keep looking for a better one
3525 ac_cv_path_GREP="$ac_path_GREP"
3526 ac_path_GREP_max=$ac_count
3528 # 10*(2^10) chars as input seems more than enough
3529 test $ac_count -gt 10 && break
3531 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3534 $ac_path_GREP_found && break 3
3539 if test -z "$ac_cv_path_GREP"; then
3540 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3543 ac_cv_path_GREP=$GREP
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3548 $as_echo "$ac_cv_path_GREP" >&6; }
3549 GREP="$ac_cv_path_GREP"
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3553 $as_echo_n "checking for egrep... " >&6; }
3554 if test "${ac_cv_path_EGREP+set}" = set; then :
3555 $as_echo_n "(cached) " >&6
3557 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3558 then ac_cv_path_EGREP="$GREP -E"
3560 if test -z "$EGREP"; then
3561 ac_path_EGREP_found=false
3562 # Loop through the user's path and test for each of PROGNAME-LIST
3563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3564 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3567 test -z "$as_dir" && as_dir=.
3568 for ac_prog in egrep; do
3569 for ac_exec_ext in '' $ac_executable_extensions; do
3570 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3571 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3572 # Check for GNU ac_path_EGREP and select it if it is found.
3573 # Check for GNU $ac_path_EGREP
3574 case `"$ac_path_EGREP" --version 2>&1` in
3576 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3579 $as_echo_n 0123456789 >"conftest.in"
3582 cat "conftest.in" "conftest.in" >"conftest.tmp"
3583 mv "conftest.tmp" "conftest.in"
3584 cp "conftest.in" "conftest.nl"
3585 $as_echo 'EGREP' >> "conftest.nl"
3586 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3587 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3588 as_fn_arith $ac_count + 1 && ac_count=$as_val
3589 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3590 # Best one so far, save it but keep looking for a better one
3591 ac_cv_path_EGREP="$ac_path_EGREP"
3592 ac_path_EGREP_max=$ac_count
3594 # 10*(2^10) chars as input seems more than enough
3595 test $ac_count -gt 10 && break
3597 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3600 $ac_path_EGREP_found && break 3
3605 if test -z "$ac_cv_path_EGREP"; then
3606 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3609 ac_cv_path_EGREP=$EGREP
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3615 $as_echo "$ac_cv_path_EGREP" >&6; }
3616 EGREP="$ac_cv_path_EGREP"
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3620 $as_echo_n "checking for ANSI C header files... " >&6; }
3621 if test "${ac_cv_header_stdc+set}" = set; then :
3622 $as_echo_n "(cached) " >&6
3624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3625 /* end confdefs.h. */
3639 if ac_fn_c_try_compile "$LINENO"; then :
3640 ac_cv_header_stdc=yes
3642 ac_cv_header_stdc=no
3644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3646 if test $ac_cv_header_stdc = yes; then
3647 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3649 /* end confdefs.h. */
3653 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3654 $EGREP "memchr" >/dev/null 2>&1; then :
3657 ac_cv_header_stdc=no
3663 if test $ac_cv_header_stdc = yes; then
3664 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3666 /* end confdefs.h. */
3670 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3671 $EGREP "free" >/dev/null 2>&1; then :
3674 ac_cv_header_stdc=no
3680 if test $ac_cv_header_stdc = yes; then
3681 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3682 if test "$cross_compiling" = yes; then :
3685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3686 /* end confdefs.h. */
3689 #if ((' ' & 0x0FF) == 0x020)
3690 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3691 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3693 # define ISLOWER(c) \
3694 (('a' <= (c) && (c) <= 'i') \
3695 || ('j' <= (c) && (c) <= 'r') \
3696 || ('s' <= (c) && (c) <= 'z'))
3697 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3700 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3705 for (i = 0; i < 256; i++)
3706 if (XOR (islower (i), ISLOWER (i))
3707 || toupper (i) != TOUPPER (i))
3712 if ac_fn_c_try_run "$LINENO"; then :
3715 ac_cv_header_stdc=no
3717 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3718 conftest.$ac_objext conftest.beam conftest.$ac_ext
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3724 $as_echo "$ac_cv_header_stdc" >&6; }
3725 if test $ac_cv_header_stdc = yes; then
3727 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3731 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3732 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3733 inttypes.h stdint.h unistd.h
3735 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3736 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3738 eval as_val=\$$as_ac_Header
3739 if test "x$as_val" = x""yes; then :
3740 cat >>confdefs.h <<_ACEOF
3741 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3749 for ac_header in libdsk.h
3751 ac_fn_c_check_header_mongrel "$LINENO" "libdsk.h" "ac_cv_header_libdsk_h" "$ac_includes_default"
3752 if test "x$ac_cv_header_libdsk_h" = x""yes; then :
3753 cat >>confdefs.h <<_ACEOF
3754 #define HAVE_LIBDSK_H 1
3758 echo "No libdsk.h - aborting"; exit 1
3765 if test x"$DEVICE" = x"win32"; then
3766 for ac_header in windows.h
3768 ac_fn_c_check_header_mongrel "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
3769 if test "x$ac_cv_header_windows_h" = x""yes; then :
3770 cat >>confdefs.h <<_ACEOF
3771 #define HAVE_WINDOWS_H 1
3775 echo "Device win32, but <windows.h> not found - aborting"; exit 1
3780 for ac_header in winioctl.h
3782 ac_fn_c_check_header_compile "$LINENO" "winioctl.h" "ac_cv_header_winioctl_h" "#ifdef HAVE_WINDOWS_H
3783 #include <windows.h>
3787 if test "x$ac_cv_header_winioctl_h" = x""yes; then :
3788 cat >>confdefs.h <<_ACEOF
3789 #define HAVE_WINIOCTL_H 1
3793 echo "Device win32, but <winioctl.h> not found - aborting"; exit 1
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3801 $as_echo_n "checking for ANSI C header files... " >&6; }
3802 if test "${ac_cv_header_stdc+set}" = set; then :
3803 $as_echo_n "(cached) " >&6
3805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3806 /* end confdefs.h. */
3820 if ac_fn_c_try_compile "$LINENO"; then :
3821 ac_cv_header_stdc=yes
3823 ac_cv_header_stdc=no
3825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3827 if test $ac_cv_header_stdc = yes; then
3828 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3830 /* end confdefs.h. */
3834 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3835 $EGREP "memchr" >/dev/null 2>&1; then :
3838 ac_cv_header_stdc=no
3844 if test $ac_cv_header_stdc = yes; then
3845 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3847 /* end confdefs.h. */
3851 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3852 $EGREP "free" >/dev/null 2>&1; then :
3855 ac_cv_header_stdc=no
3861 if test $ac_cv_header_stdc = yes; then
3862 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3863 if test "$cross_compiling" = yes; then :
3866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3867 /* end confdefs.h. */
3870 #if ((' ' & 0x0FF) == 0x020)
3871 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3872 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3874 # define ISLOWER(c) \
3875 (('a' <= (c) && (c) <= 'i') \
3876 || ('j' <= (c) && (c) <= 'r') \
3877 || ('s' <= (c) && (c) <= 'z'))
3878 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3881 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3886 for (i = 0; i < 256; i++)
3887 if (XOR (islower (i), ISLOWER (i))
3888 || toupper (i) != TOUPPER (i))
3893 if ac_fn_c_try_run "$LINENO"; then :
3896 ac_cv_header_stdc=no
3898 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3899 conftest.$ac_objext conftest.beam conftest.$ac_ext
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3905 $as_echo "$ac_cv_header_stdc" >&6; }
3906 if test $ac_cv_header_stdc = yes; then
3908 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3912 for ac_header in fcntl.h sys/types.h sys/stat.h limits.h unistd.h
3914 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3915 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
3916 eval as_val=\$$as_ac_Header
3917 if test "x$as_val" = x""yes; then :
3918 cat >>confdefs.h <<_ACEOF
3919 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
3928 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
3929 if test "${ac_cv_c_const+set}" = set; then :
3930 $as_echo_n "(cached) " >&6
3932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3933 /* end confdefs.h. */
3938 /* FIXME: Include the comments suggested by Paul. */
3940 /* Ultrix mips cc rejects this. */
3941 typedef int charset[2];
3943 /* SunOS 4.1.1 cc rejects this. */
3944 char const *const *pcpcc;
3946 /* NEC SVR4.0.2 mips cc rejects this. */
3947 struct point {int x, y;};
3948 static struct point const zero = {0,0};
3949 /* AIX XL C 1.02.0.0 rejects this.
3950 It does not let you subtract one const X* pointer from another in
3951 an arm of an if-expression whose if-part is not a constant
3953 const char *g = "string";
3954 pcpcc = &g + (g ? g-g : 0);
3955 /* HPUX 7.0 cc rejects these. */
3957 ppc = (char**) pcpcc;
3958 pcpcc = (char const *const *) ppc;
3959 { /* SCO 3.2v4 cc rejects this. */
3961 char const *s = 0 ? (char *) 0 : (char const *) 0;
3966 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3968 const int *foo = &x[0];
3971 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3972 typedef const int *iptr;
3976 { /* AIX XL C 1.02.0.0 rejects this saying
3977 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3978 struct s { int j; const int *ap[3]; };
3979 struct s *b; b->j = 5;
3981 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3985 return !cs[0] && !zero.x;
3992 if ac_fn_c_try_compile "$LINENO"; then :
3997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4000 $as_echo "$ac_cv_c_const" >&6; }
4001 if test $ac_cv_c_const = no; then
4003 $as_echo "#define const /**/" >>confdefs.h
4007 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
4008 if test "x$ac_cv_type_mode_t" = x""yes; then :
4012 cat >>confdefs.h <<_ACEOF
4018 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
4019 if test "x$ac_cv_type_off_t" = x""yes; then :
4023 cat >>confdefs.h <<_ACEOF
4024 #define off_t long int
4029 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
4030 if test "x$ac_cv_type_pid_t" = x""yes; then :
4034 cat >>confdefs.h <<_ACEOF
4040 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4041 if test "x$ac_cv_type_size_t" = x""yes; then :
4045 cat >>confdefs.h <<_ACEOF
4046 #define size_t unsigned int
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
4052 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
4053 if test "${ac_cv_struct_tm+set}" = set; then :
4054 $as_echo_n "(cached) " >&6
4056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4057 /* end confdefs.h. */
4058 #include <sys/types.h>
4065 int *p = &tm.tm_sec;
4071 if ac_fn_c_try_compile "$LINENO"; then :
4072 ac_cv_struct_tm=time.h
4074 ac_cv_struct_tm=sys/time.h
4076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
4079 $as_echo "$ac_cv_struct_tm" >&6; }
4080 if test $ac_cv_struct_tm = sys/time.h; then
4082 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
4088 # Check whether --enable-largefile was given.
4089 if test "${enable_largefile+set}" = set; then :
4090 enableval=$enable_largefile;
4093 if test "$enable_largefile" != no; then
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
4096 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
4097 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
4098 $as_echo_n "(cached) " >&6
4100 ac_cv_sys_largefile_CC=no
4101 if test "$GCC" != yes; then
4104 # IRIX 6.2 and later do not support large files by default,
4105 # so use the C compiler's -n32 option if that helps.
4106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4107 /* end confdefs.h. */
4108 #include <sys/types.h>
4109 /* Check that off_t can represent 2**63 - 1 correctly.
4110 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4111 since some C++ compilers masquerading as C compilers
4112 incorrectly reject 9223372036854775807. */
4113 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4114 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4115 && LARGE_OFF_T % 2147483647 == 1)
4125 if ac_fn_c_try_compile "$LINENO"; then :
4128 rm -f core conftest.err conftest.$ac_objext
4130 if ac_fn_c_try_compile "$LINENO"; then :
4131 ac_cv_sys_largefile_CC=' -n32'; break
4133 rm -f core conftest.err conftest.$ac_objext
4137 rm -f conftest.$ac_ext
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
4141 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
4142 if test "$ac_cv_sys_largefile_CC" != no; then
4143 CC=$CC$ac_cv_sys_largefile_CC
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4147 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
4148 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
4149 $as_echo_n "(cached) " >&6
4152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4153 /* end confdefs.h. */
4154 #include <sys/types.h>
4155 /* Check that off_t can represent 2**63 - 1 correctly.
4156 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4157 since some C++ compilers masquerading as C compilers
4158 incorrectly reject 9223372036854775807. */
4159 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4160 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4161 && LARGE_OFF_T % 2147483647 == 1)
4171 if ac_fn_c_try_compile "$LINENO"; then :
4172 ac_cv_sys_file_offset_bits=no; break
4174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4176 /* end confdefs.h. */
4177 #define _FILE_OFFSET_BITS 64
4178 #include <sys/types.h>
4179 /* Check that off_t can represent 2**63 - 1 correctly.
4180 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4181 since some C++ compilers masquerading as C compilers
4182 incorrectly reject 9223372036854775807. */
4183 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4184 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4185 && LARGE_OFF_T % 2147483647 == 1)
4195 if ac_fn_c_try_compile "$LINENO"; then :
4196 ac_cv_sys_file_offset_bits=64; break
4198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4199 ac_cv_sys_file_offset_bits=unknown
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
4204 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
4205 case $ac_cv_sys_file_offset_bits in #(
4208 cat >>confdefs.h <<_ACEOF
4209 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4214 if test $ac_cv_sys_file_offset_bits = unknown; then
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
4216 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
4217 if test "${ac_cv_sys_large_files+set}" = set; then :
4218 $as_echo_n "(cached) " >&6
4221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4222 /* end confdefs.h. */
4223 #include <sys/types.h>
4224 /* Check that off_t can represent 2**63 - 1 correctly.
4225 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4226 since some C++ compilers masquerading as C compilers
4227 incorrectly reject 9223372036854775807. */
4228 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4229 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4230 && LARGE_OFF_T % 2147483647 == 1)
4240 if ac_fn_c_try_compile "$LINENO"; then :
4241 ac_cv_sys_large_files=no; break
4243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4245 /* end confdefs.h. */
4246 #define _LARGE_FILES 1
4247 #include <sys/types.h>
4248 /* Check that off_t can represent 2**63 - 1 correctly.
4249 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4250 since some C++ compilers masquerading as C compilers
4251 incorrectly reject 9223372036854775807. */
4252 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4253 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4254 && LARGE_OFF_T % 2147483647 == 1)
4264 if ac_fn_c_try_compile "$LINENO"; then :
4265 ac_cv_sys_large_files=1; break
4267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4268 ac_cv_sys_large_files=unknown
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
4273 $as_echo "$ac_cv_sys_large_files" >&6; }
4274 case $ac_cv_sys_large_files in #(
4277 cat >>confdefs.h <<_ACEOF
4278 #define _LARGE_FILES $ac_cv_sys_large_files
4287 if test x"$FSED_CPM" != x""; then
4288 FSED_CPM="$FSED_CPM$EXEEXT"
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5
4292 $as_echo_n "checking for working memcmp... " >&6; }
4293 if test "${ac_cv_func_memcmp_working+set}" = set; then :
4294 $as_echo_n "(cached) " >&6
4296 if test "$cross_compiling" = yes; then :
4297 ac_cv_func_memcmp_working=no
4299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4300 /* end confdefs.h. */
4301 $ac_includes_default
4306 /* Some versions of memcmp are not 8-bit clean. */
4307 char c0 = '\100', c1 = '\200', c2 = '\201';
4308 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
4311 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
4312 or more and with at least one buffer not starting on a 4-byte boundary.
4313 William Lewis provided this test program. */
4318 for (i = 0; i < 4; i++)
4322 strcpy (a, "--------01111111");
4323 strcpy (b, "--------10000000");
4324 if (memcmp (a, b, 16) >= 0)
4334 if ac_fn_c_try_run "$LINENO"; then :
4335 ac_cv_func_memcmp_working=yes
4337 ac_cv_func_memcmp_working=no
4339 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4340 conftest.$ac_objext conftest.beam conftest.$ac_ext
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_memcmp_working" >&5
4345 $as_echo "$ac_cv_func_memcmp_working" >&6; }
4346 test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
4347 *" memcmp.$ac_objext "* ) ;;
4348 *) LIBOBJS="$LIBOBJS memcmp.$ac_objext"
4353 for ac_func in strftime
4355 ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
4356 if test "x$ac_cv_func_strftime" = x""yes; then :
4357 cat >>confdefs.h <<_ACEOF
4358 #define HAVE_STRFTIME 1
4362 # strftime is in -lintl on SCO UNIX.
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
4364 $as_echo_n "checking for strftime in -lintl... " >&6; }
4365 if test "${ac_cv_lib_intl_strftime+set}" = set; then :
4366 $as_echo_n "(cached) " >&6
4368 ac_check_lib_save_LIBS=$LIBS
4370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4371 /* end confdefs.h. */
4373 /* Override any GCC internal prototype to avoid an error.
4374 Use char because int might match the return type of a GCC
4375 builtin and then its argument prototype would still apply. */
4388 if ac_fn_c_try_link "$LINENO"; then :
4389 ac_cv_lib_intl_strftime=yes
4391 ac_cv_lib_intl_strftime=no
4393 rm -f core conftest.err conftest.$ac_objext \
4394 conftest$ac_exeext conftest.$ac_ext
4395 LIBS=$ac_check_lib_save_LIBS
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
4398 $as_echo "$ac_cv_lib_intl_strftime" >&6; }
4399 if test "x$ac_cv_lib_intl_strftime" = x""yes; then :
4400 $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
4408 for ac_func in mktime strerror
4410 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4411 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
4412 eval as_val=\$$as_ac_var
4413 if test "x$as_val" = x""yes; then :
4414 cat >>confdefs.h <<_ACEOF
4415 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4425 eval DATADIR=$datadir
4431 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"
4433 cat >confcache <<\_ACEOF
4434 # This file is a shell script that caches the results of configure
4435 # tests run on this system so they can be shared between configure
4436 # scripts and configure runs, see configure's option --config-cache.
4437 # It is not useful on other systems. If it contains results you don't
4438 # want to keep, you may remove or edit it.
4440 # config.status only pays attention to the cache file if you give it
4441 # the --recheck option to rerun configure.
4443 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4444 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4449 # The following way of writing the cache mishandles newlines in values,
4450 # but we know of no workaround that is simple, portable, and efficient.
4451 # So, we kill variables containing newlines.
4452 # Ultrix sh set writes to stderr and can't be redirected directly,
4453 # and sets the high bit in the cache file unless we assign to the vars.
4455 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4456 eval ac_val=\$$ac_var
4460 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4461 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4464 _ | IFS | as_nl) ;; #(
4465 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4466 *) { eval $ac_var=; unset $ac_var;} ;;
4472 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4473 *${as_nl}ac_space=\ *)
4474 # `set' does not quote correctly, so add quotes: double-quote
4475 # substitution turns \\\\ into \\, and sed turns \\ into \.
4478 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4481 # `set' quotes correctly as required by POSIX, so do not add quotes.
4482 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4491 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4493 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4495 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4496 if test -w "$cache_file"; then
4497 test "x$cache_file" != "x/dev/null" &&
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4499 $as_echo "$as_me: updating cache $cache_file" >&6;}
4500 cat confcache >$cache_file
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4503 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4508 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4509 # Let make expand exec_prefix.
4510 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4512 DEFS=-DHAVE_CONFIG_H
4516 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4517 # 1. Remove the extension, and $U if already installed.
4518 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4519 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4520 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4521 # will be set to the directory where LIBOBJS objects are built.
4522 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4523 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4527 LTLIBOBJS=$ac_ltlibobjs
4531 : ${CONFIG_STATUS=./config.status}
4533 ac_clean_files_save=$ac_clean_files
4534 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4536 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4538 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4540 # Generated by $as_me.
4541 # Run this file to recreate the current configuration.
4542 # Compiler output produced by configure, useful for debugging
4543 # configure, is in config.log if it exists.
4549 SHELL=\${CONFIG_SHELL-$SHELL}
4552 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4553 ## -------------------- ##
4554 ## M4sh Initialization. ##
4555 ## -------------------- ##
4557 # Be more Bourne compatible
4558 DUALCASE=1; export DUALCASE # for MKS sh
4559 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4562 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4563 # is contrary to our usage. Disable this feature.
4564 alias -g '${1+"$@"}'='"$@"'
4565 setopt NO_GLOB_SUBST
4567 case `(set -o) 2>/dev/null` in #(
4579 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4580 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4581 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4582 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4583 # Prefer a ksh shell builtin over an external printf program on Solaris,
4584 # but without wasting forks for bash or zsh.
4585 if test -z "$BASH_VERSION$ZSH_VERSION" \
4586 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4587 as_echo='print -r --'
4588 as_echo_n='print -rn --'
4589 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4590 as_echo='printf %s\n'
4591 as_echo_n='printf %s'
4593 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4594 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4595 as_echo_n='/usr/ucb/echo -n'
4597 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4598 as_echo_n_body='eval
4602 expr "X$arg" : "X\\(.*\\)$as_nl";
4603 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4605 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4607 export as_echo_n_body
4608 as_echo_n='sh -c $as_echo_n_body as_echo'
4611 as_echo='sh -c $as_echo_body as_echo'
4614 # The user is always right.
4615 if test "${PATH_SEPARATOR+set}" != set; then
4617 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4618 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4625 # We need space, tab and new line, in precisely that order. Quoting is
4626 # there to prevent editors from complaining about space-tab.
4627 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4628 # splitting by setting IFS to empty value.)
4631 # Find who we are. Look in the path if we contain no directory separator.
4633 *[\\/]* ) as_myself=$0 ;;
4634 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4638 test -z "$as_dir" && as_dir=.
4639 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4645 # We did not find ourselves, most probably we were run as `sh COMMAND'
4646 # in which case we are not to be found in the path.
4647 if test "x$as_myself" = x; then
4650 if test ! -f "$as_myself"; then
4651 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4655 # Unset variables that we do not need and which cause bugs (e.g. in
4656 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4657 # suppresses any "Segmentation fault" message there. '((' could
4658 # trigger a bug in pdksh 5.2.14.
4659 for as_var in BASH_ENV ENV MAIL MAILPATH
4660 do eval test x\${$as_var+set} = xset \
4661 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4674 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4677 # as_fn_error ERROR [LINENO LOG_FD]
4678 # ---------------------------------
4679 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4680 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4681 # script with status $?, using 1 if that was 0.
4684 as_status=$?; test $as_status -eq 0 && as_status=1
4686 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4687 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
4689 $as_echo "$as_me: error: $1" >&2
4690 as_fn_exit $as_status
4694 # as_fn_set_status STATUS
4695 # -----------------------
4696 # Set $? to STATUS, without forking.
4700 } # as_fn_set_status
4704 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4714 # Portably unset VAR.
4717 { eval $1=; unset $1;}
4719 as_unset=as_fn_unset
4720 # as_fn_append VAR VALUE
4721 # ----------------------
4722 # Append the text in VALUE to the end of the definition contained in VAR. Take
4723 # advantage of any shell optimizations that allow amortized linear growth over
4724 # repeated appends, instead of the typical quadratic growth present in naive
4726 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4727 eval 'as_fn_append ()
4738 # as_fn_arith ARG...
4739 # ------------------
4740 # Perform arithmetic evaluation on the ARGs, and store the result in the
4741 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4742 # must be portable across $(()) and expr.
4743 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4744 eval 'as_fn_arith ()
4751 as_val=`expr "$@" || test $? -eq 1`
4756 if expr a : '\(a\)' >/dev/null 2>&1 &&
4757 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4763 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4764 as_basename=basename
4769 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4775 as_me=`$as_basename -- "$0" ||
4776 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4777 X"$0" : 'X\(//\)$' \| \
4778 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4780 sed '/^.*\/\([^/][^/]*\)\/*$/{
4794 # Avoid depending upon Character Ranges.
4795 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4796 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4797 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4798 as_cr_digits='0123456789'
4799 as_cr_alnum=$as_cr_Letters$as_cr_digits
4801 ECHO_C= ECHO_N= ECHO_T=
4802 case `echo -n x` in #(((((
4804 case `echo 'xy\c'` in
4805 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4807 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4814 rm -f conf$$ conf$$.exe conf$$.file
4815 if test -d conf$$.dir; then
4816 rm -f conf$$.dir/conf$$.file
4819 mkdir conf$$.dir 2>/dev/null
4821 if (echo >conf$$.file) 2>/dev/null; then
4822 if ln -s conf$$.file conf$$ 2>/dev/null; then
4824 # ... but there are two gotchas:
4825 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4826 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4827 # In both cases, we have to default to `cp -p'.
4828 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4830 elif ln conf$$.file conf$$ 2>/dev/null; then
4838 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4839 rmdir conf$$.dir 2>/dev/null
4844 # Create "$as_dir" as a directory, including parents if necessary.
4849 -*) as_dir=./$as_dir;;
4851 test -d "$as_dir" || eval $as_mkdir_p || {
4855 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4856 *) as_qdir=$as_dir;;
4858 as_dirs="'$as_qdir' $as_dirs"
4859 as_dir=`$as_dirname -- "$as_dir" ||
4860 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4861 X"$as_dir" : 'X\(//\)[^/]' \| \
4862 X"$as_dir" : 'X\(//\)$' \| \
4863 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4864 $as_echo X"$as_dir" |
4865 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4882 test -d "$as_dir" && break
4884 test -z "$as_dirs" || eval "mkdir $as_dirs"
4885 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
4889 if mkdir -p . 2>/dev/null; then
4890 as_mkdir_p='mkdir -p "$as_dir"'
4892 test -d ./-p && rmdir ./-p
4896 if test -x / >/dev/null 2>&1; then
4899 if ls -dL / >/dev/null 2>&1; then
4906 if test -d "$1"; then
4912 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
4913 ???[sx]*):;;*)false;;esac;fi
4917 as_executable_p=$as_test_x
4919 # Sed expression to map a string onto a valid CPP name.
4920 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4922 # Sed expression to map a string onto a valid variable name.
4923 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4927 ## ----------------------------------- ##
4928 ## Main body of $CONFIG_STATUS script. ##
4929 ## ----------------------------------- ##
4931 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4933 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4934 # Save the log message, to keep $0 and so on meaningful, and to
4935 # report actual input values of CONFIG_FILES etc. instead of their
4936 # values after options handling.
4938 This file was extended by $as_me, which was
4939 generated by GNU Autoconf 2.65. Invocation command line was
4941 CONFIG_FILES = $CONFIG_FILES
4942 CONFIG_HEADERS = $CONFIG_HEADERS
4943 CONFIG_LINKS = $CONFIG_LINKS
4944 CONFIG_COMMANDS = $CONFIG_COMMANDS
4947 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4952 case $ac_config_files in *"
4953 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4956 case $ac_config_headers in *"
4957 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
4961 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4962 # Files that config.status was made for.
4963 config_files="$ac_config_files"
4964 config_headers="$ac_config_headers"
4968 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4970 \`$as_me' instantiates files and other configuration actions
4971 from templates according to the current configuration. Unless the files
4972 and actions are specified as TAGs, all are instantiated by default.
4974 Usage: $0 [OPTION]... [TAG]...
4976 -h, --help print this help, then exit
4977 -V, --version print version number and configuration settings, then exit
4978 --config print configuration, then exit
4979 -q, --quiet, --silent
4980 do not print progress messages
4981 -d, --debug don't remove temporary files
4982 --recheck update $as_me by reconfiguring in the same conditions
4983 --file=FILE[:TEMPLATE]
4984 instantiate the configuration file FILE
4985 --header=FILE[:TEMPLATE]
4986 instantiate the configuration header FILE
4988 Configuration files:
4991 Configuration headers:
4994 Report bugs to the package provider."
4997 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4998 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5001 configured by $0, generated by GNU Autoconf 2.65,
5002 with options \\"\$ac_cs_config\\"
5004 Copyright (C) 2009 Free Software Foundation, Inc.
5005 This config.status script is free software; the Free Software Foundation
5006 gives unlimited permission to copy, distribute and modify it."
5011 test -n "\$AWK" || AWK=awk
5014 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5015 # The default lists apply if the user does not specify any file.
5021 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5022 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5033 # Handling of the options.
5034 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5036 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5037 $as_echo "$ac_cs_version"; exit ;;
5038 --config | --confi | --conf | --con | --co | --c )
5039 $as_echo "$ac_cs_config"; exit ;;
5040 --debug | --debu | --deb | --de | --d | -d )
5042 --file | --fil | --fi | --f )
5045 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5047 as_fn_append CONFIG_FILES " '$ac_optarg'"
5048 ac_need_defaults=false;;
5049 --header | --heade | --head | --hea )
5052 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5054 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5055 ac_need_defaults=false;;
5057 # Conflict between --help and --header
5058 as_fn_error "ambiguous option: \`$1'
5059 Try \`$0 --help' for more information.";;
5060 --help | --hel | -h )
5061 $as_echo "$ac_cs_usage"; exit ;;
5062 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5063 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5067 -*) as_fn_error "unrecognized option: \`$1'
5068 Try \`$0 --help' for more information." ;;
5070 *) as_fn_append ac_config_targets " $1"
5071 ac_need_defaults=false ;;
5077 ac_configure_extra_args=
5079 if $ac_cs_silent; then
5081 ac_configure_extra_args="$ac_configure_extra_args --silent"
5085 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5086 if \$ac_cs_recheck; then
5087 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5089 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5090 CONFIG_SHELL='$SHELL'
5096 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5100 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5101 ## Running $as_me. ##
5107 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5110 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5112 # Handling of arguments.
5113 for ac_config_target in $ac_config_targets
5115 case $ac_config_target in
5116 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5117 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5118 "cpm.5") CONFIG_FILES="$CONFIG_FILES cpm.5" ;;
5119 "cpmchattr.1") CONFIG_FILES="$CONFIG_FILES cpmchattr.1" ;;
5120 "cpmchmod.1") CONFIG_FILES="$CONFIG_FILES cpmchmod.1" ;;
5121 "cpmcp.1") CONFIG_FILES="$CONFIG_FILES cpmcp.1" ;;
5122 "cpmls.1") CONFIG_FILES="$CONFIG_FILES cpmls.1" ;;
5123 "cpmrm.1") CONFIG_FILES="$CONFIG_FILES cpmrm.1" ;;
5124 "fsck.cpm.1") CONFIG_FILES="$CONFIG_FILES fsck.cpm.1" ;;
5125 "fsed.cpm.1") CONFIG_FILES="$CONFIG_FILES fsed.cpm.1" ;;
5126 "mkfs.cpm.1") CONFIG_FILES="$CONFIG_FILES mkfs.cpm.1" ;;
5128 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5133 # If the user did not use the arguments to specify the items to instantiate,
5134 # then the envvar interface is used. Set only those that are not.
5135 # We use the long form for the default assignment because of an extremely
5136 # bizarre bug on SunOS 4.1.3.
5137 if $ac_need_defaults; then
5138 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5139 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5142 # Have a temporary directory for convenience. Make it in the build tree
5143 # simply because there is no reason against having it here, and in addition,
5144 # creating and moving files from /tmp can sometimes cause problems.
5145 # Hook for its removal unless debugging.
5146 # Note that there is a small window in which the directory will not be cleaned:
5147 # after its creation but before its name has been assigned to `$tmp'.
5151 trap 'exit_status=$?
5152 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5154 trap 'as_fn_exit 1' 1 2 13 15
5156 # Create a (secure) tmp directory for tmp files.
5159 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5160 test -n "$tmp" && test -d "$tmp"
5163 tmp=./conf$$-$RANDOM
5164 (umask 077 && mkdir "$tmp")
5165 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
5167 # Set up the scripts for CONFIG_FILES section.
5168 # No need to generate them if there are no CONFIG_FILES.
5169 # This happens for instance with `./config.status config.h'.
5170 if test -n "$CONFIG_FILES"; then
5173 ac_cr=`echo X | tr X '\015'`
5174 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5175 # But we know of no other shell where ac_cr would be empty at this
5176 # point, so we can use a bashism as a fallback.
5177 if test "x$ac_cr" = x; then
5178 eval ac_cr=\$\'\\r\'
5180 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5181 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5187 echo 'BEGIN {' >"$tmp/subs1.awk" &&
5192 echo "cat >conf$$subs.awk <<_ACEOF" &&
5193 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5196 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5197 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
5199 for ac_last_try in false false false false false :; do
5200 . ./conf$$subs.sh ||
5201 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5203 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5204 if test $ac_delim_n = $ac_delim_num; then
5206 elif $ac_last_try; then
5207 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5209 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5214 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5215 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
5219 s/^/S["/; s/!.*/"]=/
5229 s/\(.\{148\}\)..*/\1/
5231 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5236 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5243 s/\(.\{148\}\)..*/\1/
5245 s/["\\]/\\&/g; s/^/"/; s/$/"/
5249 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5254 ' <conf$$subs.awk | sed '
5259 ' >>$CONFIG_STATUS || ac_write_fail=1
5260 rm -f conf$$subs.awk
5261 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5263 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
5264 for (key in S) S_is_set[key] = 1
5270 nfields = split(line, field, "@")
5272 len = length(field[1])
5273 for (i = 2; i < nfields; i++) {
5275 keylen = length(key)
5276 if (S_is_set[key]) {
5278 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5279 len += length(value) + length(field[++i])
5290 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5291 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5292 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5295 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
5296 || as_fn_error "could not setup config files machinery" "$LINENO" 5
5299 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5300 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5301 # trailing colons and then remove the whole line if VPATH becomes empty
5302 # (actually we leave an empty line to preserve line numbers).
5303 if test "x$srcdir" = x.; then
5304 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5308 s/^\([^=]*=[ ]*\):*/\1/
5314 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5315 fi # test -n "$CONFIG_FILES"
5317 # Set up the scripts for CONFIG_HEADERS section.
5318 # No need to generate them if there are no CONFIG_HEADERS.
5319 # This happens for instance with `./config.status Makefile'.
5320 if test -n "$CONFIG_HEADERS"; then
5321 cat >"$tmp/defines.awk" <<\_ACAWK ||
5325 # Transform confdefs.h into an awk script `defines.awk', embedded as
5326 # here-document in config.status, that substitutes the proper values into
5327 # config.h.in to produce config.h.
5329 # Create a delimiter string that does not exist in confdefs.h, to ease
5330 # handling of long lines.
5332 for ac_last_try in false false :; do
5333 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
5334 if test -z "$ac_t"; then
5336 elif $ac_last_try; then
5337 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
5339 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5343 # For the awk script, D is an array of macro values keyed by name,
5344 # likewise P contains macro parameters if any. Preserve backslash
5345 # newline sequences.
5347 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5349 s/.\{148\}/&'"$ac_delim"'/g
5352 s/^[ ]*#[ ]*define[ ][ ]*/ /
5359 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5361 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5365 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5366 D["\1"]=" \3\\\\\\n"\\/p
5368 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5373 s/.\{148\}/&'"$ac_delim"'/g
5378 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5381 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5383 ' <confdefs.h | sed '
5384 s/'"$ac_delim"'/"\\\
5385 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5387 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5388 for (key in D) D_is_set[key] = 1
5391 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5393 split(line, arg, " ")
5394 if (arg[1] == "#") {
5398 defundef = substr(arg[1], 2)
5401 split(mac1, mac2, "(") #)
5403 prefix = substr(line, 1, index(line, defundef) - 1)
5404 if (D_is_set[macro]) {
5405 # Preserve the white space surrounding the "#".
5406 print prefix "define", macro P[macro] D[macro]
5409 # Replace #undef with comments. This is necessary, for example,
5410 # in the case of _POSIX_SOURCE, which is predefined and required
5411 # on some systems where configure will not decide to define it.
5412 if (defundef == "undef") {
5413 print "/*", prefix defundef, macro, "*/"
5421 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5422 as_fn_error "could not setup config headers machinery" "$LINENO" 5
5423 fi # test -n "$CONFIG_HEADERS"
5426 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
5431 :[FHLC]) ac_mode=$ac_tag; continue;;
5433 case $ac_mode$ac_tag in
5435 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
5436 :[FH]-) ac_tag=-:-;;
5437 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5454 -) ac_f="$tmp/stdin";;
5455 *) # Look for the file first in the build tree, then in the source tree
5456 # (if the path is not absolute). The absolute path cannot be DOS-style,
5457 # because $ac_f cannot contain `:'.
5461 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5463 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5465 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5466 as_fn_append ac_file_inputs " '$ac_f'"
5469 # Let's still pretend it is `configure' which instantiates (i.e., don't
5470 # use $as_me), people would be surprised to read:
5471 # /* config.h. Generated by config.status. */
5472 configure_input='Generated from '`
5473 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5475 if test x"$ac_file" != x-; then
5476 configure_input="$ac_file. $configure_input"
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5478 $as_echo "$as_me: creating $ac_file" >&6;}
5480 # Neutralize special characters interpreted by sed in replacement strings.
5481 case $configure_input in #(
5482 *\&* | *\|* | *\\* )
5483 ac_sed_conf_input=`$as_echo "$configure_input" |
5484 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5485 *) ac_sed_conf_input=$configure_input;;
5489 *:-:* | *:-) cat >"$tmp/stdin" \
5490 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
5495 ac_dir=`$as_dirname -- "$ac_file" ||
5496 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5497 X"$ac_file" : 'X\(//\)[^/]' \| \
5498 X"$ac_file" : 'X\(//\)$' \| \
5499 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5500 $as_echo X"$ac_file" |
5501 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5518 as_dir="$ac_dir"; as_fn_mkdir_p
5522 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5524 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5525 # A ".." for each directory in $ac_dir_suffix.
5526 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5527 case $ac_top_builddir_sub in
5528 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5529 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5532 ac_abs_top_builddir=$ac_pwd
5533 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5534 # for backward compatibility:
5535 ac_top_builddir=$ac_top_build_prefix
5538 .) # We are building in place.
5540 ac_top_srcdir=$ac_top_builddir_sub
5541 ac_abs_top_srcdir=$ac_pwd ;;
5542 [\\/]* | ?:[\\/]* ) # Absolute name.
5543 ac_srcdir=$srcdir$ac_dir_suffix;
5544 ac_top_srcdir=$srcdir
5545 ac_abs_top_srcdir=$srcdir ;;
5547 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5548 ac_top_srcdir=$ac_top_build_prefix$srcdir
5549 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5551 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5561 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5562 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5566 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5567 # If the template does not know about datarootdir, expand it.
5568 # FIXME: This hack should be removed a few years after 2.60.
5569 ac_datarootdir_hack=; ac_datarootdir_seen=
5580 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5581 *datarootdir*) ac_datarootdir_seen=yes;;
5582 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5584 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5586 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5587 ac_datarootdir_hack='
5588 s&@datadir@&$datadir&g
5589 s&@docdir@&$docdir&g
5590 s&@infodir@&$infodir&g
5591 s&@localedir@&$localedir&g
5592 s&@mandir@&$mandir&g
5593 s&\\\${datarootdir}&$datarootdir&g' ;;
5597 # Neutralize VPATH when `$srcdir' = `.'.
5598 # Shell code in configure.ac might set extrasub.
5599 # FIXME: do we really want to maintain this feature?
5600 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5601 ac_sed_extra="$ac_vpsub
5604 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5606 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5607 s|@configure_input@|$ac_sed_conf_input|;t t
5608 s&@top_builddir@&$ac_top_builddir_sub&;t t
5609 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5610 s&@srcdir@&$ac_srcdir&;t t
5611 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5612 s&@top_srcdir@&$ac_top_srcdir&;t t
5613 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5614 s&@builddir@&$ac_builddir&;t t
5615 s&@abs_builddir@&$ac_abs_builddir&;t t
5616 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5617 s&@INSTALL@&$ac_INSTALL&;t t
5618 $ac_datarootdir_hack
5620 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
5621 || as_fn_error "could not create $ac_file" "$LINENO" 5
5623 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5624 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5625 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5627 which seems to be undefined. Please make sure it is defined." >&5
5628 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5629 which seems to be undefined. Please make sure it is defined." >&2;}
5633 -) cat "$tmp/out" && rm -f "$tmp/out";;
5634 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
5636 || as_fn_error "could not create $ac_file" "$LINENO" 5
5642 if test x"$ac_file" != x-; then
5644 $as_echo "/* $configure_input */" \
5645 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
5646 } >"$tmp/config.h" \
5647 || as_fn_error "could not create $ac_file" "$LINENO" 5
5648 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5650 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5653 mv "$tmp/config.h" "$ac_file" \
5654 || as_fn_error "could not create $ac_file" "$LINENO" 5
5657 $as_echo "/* $configure_input */" \
5658 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
5659 || as_fn_error "could not create -" "$LINENO" 5
5671 ac_clean_files=$ac_clean_files_save
5673 test $ac_write_fail = 0 ||
5674 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
5677 # configure is writing to config.log, and then calls config.status.
5678 # config.status does its own redirection, appending to config.log.
5679 # Unfortunately, on DOS this fails, as config.log is still kept open
5680 # by configure, so config.status won't be able to write to it; its
5681 # output is simply discarded. So we exec the FD to /dev/null,
5682 # effectively closing config.log, so it can be properly (re)opened and
5683 # appended to by config.status. When coming back to configure, we
5684 # need to make the FD available again.
5685 if test "$no_create" != yes; then
5687 ac_config_status_args=
5688 test "$silent" = yes &&
5689 ac_config_status_args="$ac_config_status_args --quiet"
5691 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5693 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5694 # would make configure fail if this is the last instruction.
5695 $ac_cs_success || as_fn_exit $?
5697 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5699 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}