3 # Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
6 --- bvi-1.3.1/configure.in~configure
7 +++ bvi-1.3.1/configure.in
11 dnl Some curses specials
12 +AC_DEFINE(NEED_PUTC_CHAR, [], [Description])
13 +AC_DEFINE(HAVE_CURSES_H, [], [Description])
15 dnl Solaris needs for tputs 'putc(char)' instead of 'putc(int)'
19 AC_CHECK_HEADERS(fcntl.h termcap.h termio.h termios.h unistd.h)
21 dnl Check if ncurses requested
22 -_cppflags="${CPPFLAGS}"
23 -_ldflags="${LDFLAGS}"
26 [ --with-ncurses[=DIR] path to ncurses],[
27 if test "$withval" != "no"; then
29 AC_CHECK_LIB(ncurses, initscr,
30 AC_DEFINE(HAVE_NCURSES_H) LIBS="${LIBS} -lncurses",
31 AC_CHECK_LIB(curses, initscr,
32 - AC_DEFINE(HAVE_CURSES_H) LIBS="${LIBS} -lcurses",
33 - AC_MSG_ERROR([bvi requires the curses library]))),
34 - AC_CHECK_HEADER(curses.h,
35 - AC_CHECK_LIB(curses, initscr,
36 - AC_DEFINE(HAVE_CURSES_H) LIBS="${LIBS} -lcurses",
37 - AC_MSG_ERROR([bvi requires the curses library])),
38 - AC_MSG_ERROR([bvi requires the curses library])))
39 + AC_DEFINE(HAVE_CURSES_H) LIBS="${LIBS} -lcurses",
40 + AC_MSG_ERROR([bvi requires the curses library])
43 + AC_MSG_ERROR([bvi requires the curses library])
46 dnl Checks for typedefs, structures, and compiler characteristics.
48 --- bvi-1.3.1/configure~configure
49 +++ bvi-1.3.1/configure
52 # Guess values for system-dependent variables and create Makefiles.
53 -# Generated by Autoconf 2.52.
54 +# Generated by GNU Autoconf 2.57.
56 -# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
57 +# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
58 # Free Software Foundation, Inc.
59 # This configure script is free software; the Free Software Foundation
60 # gives unlimited permission to copy, distribute and modify it.
61 +## --------------------- ##
62 +## M4sh Initialization. ##
63 +## --------------------- ##
65 +# Be Bourne compatible
66 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
69 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
70 + # is contrary to our usage. Disable this feature.
71 + alias -g '${1+"$@"}'='"$@"'
72 +elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
76 +# Support unset when possible.
77 +if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
84 +# Work around bugs in pre-3.0 UWIN ksh.
85 +$as_unset ENV MAIL MAILPATH
92 + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
93 + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
94 + LC_TELEPHONE LC_TIME
96 + if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
97 + eval $as_var=C; export $as_var
103 +# Required to use basename.
104 +if expr a : '\(a\)' >/dev/null 2>&1; then
110 +if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
111 + as_basename=basename
117 +# Name of the executable.
118 +as_me=`$as_basename "$0" ||
119 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
120 + X"$0" : 'X\(//\)$' \| \
121 + X"$0" : 'X\(/\)$' \| \
122 + . : '\(.\)' 2>/dev/null ||
124 + sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
125 + /^X\/\(\/\/\)$/{ s//\1/; q; }
126 + /^X\/\(\/\).*/{ s//\1/; q; }
130 +# PATH needs CR, and LINENO needs CR and PATH.
131 # Avoid depending upon Character Ranges.
132 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
133 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
135 as_cr_digits='0123456789'
136 as_cr_alnum=$as_cr_Letters$as_cr_digits
138 -# Sed expression to map a string onto a valid variable name.
139 -as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
140 +# The user is always right.
141 +if test "${PATH_SEPARATOR+set}" != set; then
142 + echo "#! /bin/sh" >conf$$.sh
143 + echo "exit 0" >>conf$$.sh
145 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
153 -# Sed expression to map a string onto a valid CPP name.
154 -as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
156 -# Be Bourne compatible
157 -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
160 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
163 + as_lineno_1=$LINENO
164 + as_lineno_2=$LINENO
165 + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
166 + test "x$as_lineno_1" != "x$as_lineno_2" &&
167 + test "x$as_lineno_3" = "x$as_lineno_2" || {
168 + # Find who we are. Look in the path if we contain no path at all
171 + *[\\/]* ) as_myself=$0 ;;
172 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
176 + test -z "$as_dir" && as_dir=.
177 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
182 + # We did not find ourselves, most probably we were run as `sh COMMAND'
183 + # in which case we are not to be found in the path.
184 + if test "x$as_myself" = x; then
187 + if test ! -f "$as_myself"; then
188 + { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
189 + { (exit 1); exit 1; }; }
191 + case $CONFIG_SHELL in
193 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
194 +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
197 + test -z "$as_dir" && as_dir=.
198 + for as_base in sh bash ksh sh5; do
201 + if ("$as_dir/$as_base" -c '
202 + as_lineno_1=$LINENO
203 + as_lineno_2=$LINENO
204 + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
205 + test "x$as_lineno_1" != "x$as_lineno_2" &&
206 + test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
207 + $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
208 + $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
209 + CONFIG_SHELL=$as_dir/$as_base
210 + export CONFIG_SHELL
211 + exec "$CONFIG_SHELL" "$0" ${1+"$@"}
219 + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
220 + # uniformly replaced by the line number. The first 'sed' inserts a
221 + # line-number line before each line; the second 'sed' does the real
222 + # work. The second script uses 'N' to pair each line-number line
223 + # with the numbered line, and appends trailing '-' during
224 + # substitution so that $LINENO is not a special case at line end.
225 + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
226 + # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
227 + sed '=' <$as_myself |
232 + s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
235 + s,^['$as_cr_digits']*\n,,
236 + ' >$as_me.lineno &&
237 + chmod +x $as_me.lineno ||
238 + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
239 + { (exit 1); exit 1; }; }
241 + # Don't try to exec as it changes $[0], causing all sort of problems
242 + # (the dirname of $[0] is not the place where we might find the
243 + # original and so on. Autoconf is especially sensible to this).
245 + # Exit status is that of the last command.
249 -# Name of the executable.
250 -as_me=`echo "$0" |sed 's,.*[\\/],,'`
252 +case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
253 + *c*,-n*) ECHO_N= ECHO_C='
255 + *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
256 + *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
259 if expr a : '\(a\)' >/dev/null 2>&1; then
263 rm -f conf$$ conf$$.exe conf$$.file
265 -as_executable_p="test -f"
267 -# Support unset when possible.
268 -if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
270 +if mkdir -p . 2>/dev/null; then
278 -$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
279 -$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
280 -$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
281 -$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
282 -$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
283 -$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
284 -$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
285 -$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
286 +as_executable_p="test -f"
288 +# Sed expression to map a string onto a valid CPP name.
289 +as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
291 +# Sed expression to map a string onto a valid variable name.
292 +as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
296 # We need space, tab and new line, in precisely that order.
301 -$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
306 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
310 ac_default_prefix=/usr/local
311 +ac_config_libobj_dir=.
317 SHELL=${CONFIG_SHELL-/bin/sh}
319 # Maximum number of lines to put in a shell here document.
321 # only ac_max_sed_lines should be used.
322 : ${ac_max_here_lines=38}
324 +# Identity of this package.
331 ac_unique_file="bvi.c"
332 # Factoring default headers for most tests.
333 ac_includes_default="\
338 +ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CPP EGREP LIBOBJS LTLIBOBJS'
341 # Initialize some variables set by options.
343 ac_init_version=false
345 infodir='${prefix}/info'
346 mandir='${prefix}/man'
348 -# Identity of this package.
361 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
362 - | --no-cr | --no-c)
363 + | --no-cr | --no-c | -n)
366 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
368 eval ac_val=$`echo $ac_var`
370 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
371 - *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
372 + *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
373 { (exit 1); exit 1; }; };;
376 @@ -510,18 +672,19 @@
377 eval ac_val=$`echo $ac_var`
379 [\\/$]* | ?:[\\/]* ) ;;
380 - *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
381 + *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
382 { (exit 1); exit 1; }; };;
386 # There might be people who depend on the old broken behavior: `$host'
387 # used to hold the argument of --host etc.
388 +# FIXME: To remove some day.
393 -# FIXME: should be removed in autoconf 3.0.
394 +# FIXME: To remove some day.
395 if test "x$host_alias" != x; then
396 if test "x$build_alias" = x; then
397 cross_compiling=maybe
398 @@ -537,13 +700,23 @@
400 test "$silent" = yes && exec 6>/dev/null
403 # Find the source files, if location was not specified.
404 if test -z "$srcdir"; then
405 ac_srcdir_defaulted=yes
406 # Try the directory containing this script, then its parent.
408 - ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
409 - test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
410 + ac_confdir=`(dirname "$0") 2>/dev/null ||
411 +$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
412 + X"$0" : 'X\(//\)[^/]' \| \
413 + X"$0" : 'X\(//\)$' \| \
414 + X"$0" : 'X\(/\)' \| \
415 + . : '\(.\)' 2>/dev/null ||
417 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
418 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
419 + /^X\(\/\/\)$/{ s//\1/; q; }
420 + /^X\(\/\).*/{ s//\1/; q; }
423 if test ! -r $srcdir/$ac_unique_file; then
425 @@ -553,13 +726,16 @@
427 if test ! -r $srcdir/$ac_unique_file; then
428 if test "$ac_srcdir_defaulted" = yes; then
429 - { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
430 + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
431 { (exit 1); exit 1; }; }
433 - { echo "$as_me: error: cannot find sources in $srcdir" >&2
434 + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
435 { (exit 1); exit 1; }; }
438 +(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
439 + { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
440 + { (exit 1); exit 1; }; }
441 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
442 ac_env_build_alias_set=${build_alias+set}
443 ac_env_build_alias_value=$build_alias
445 if test "$ac_init_help" = "long"; then
446 # Omit some internal or obsolete options to make the list less imposing.
447 # This message is too long to be a string in the A/UX 3.1 sh.
450 \`configure' configures this package to adapt to many kinds of systems.
452 Usage: $0 [OPTION]... [VAR=VALUE]...
454 -n, --no-create do not create output files
455 --srcdir=DIR find the sources in DIR [configure dir or \`..']
462 Installation directories:
463 --prefix=PREFIX install architecture-independent files in PREFIX
465 @@ -650,19 +826,19 @@
466 --oldincludedir=DIR C header files for non-gcc [/usr/include]
467 --infodir=DIR info documentation [PREFIX/info]
468 --mandir=DIR man documentation [PREFIX/man]
476 --build=BUILD configure for building on BUILD [guessed]
477 - --host=HOST build programs to run on HOST [BUILD]
479 + --host=HOST cross-compile to build programs to run on HOST [BUILD]
483 if test -n "$ac_init_help"; then
489 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
490 @@ -681,40 +857,60 @@
491 Use these variables to override the choices made by `configure' or to help
492 it to find libraries and programs with nonstandard names/locations.
498 if test "$ac_init_help" = "recursive"; then
499 # If there are subdirs, report their specific --help.
501 - for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
503 - # A "../" for each directory in /$ac_subdir.
504 - ac_dots=`echo $ac_subdir |
505 - sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
506 + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
507 + test -d $ac_dir || continue
511 - .) # No --srcdir option. We are building in place.
512 - ac_sub_srcdir=$srcdir ;;
513 - [\\/]* | ?:[\\/]* ) # Absolute path.
514 - ac_sub_srcdir=$srcdir/$ac_subdir ;;
515 - *) # Relative path.
516 - ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
518 +if test "$ac_dir" != .; then
519 + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
520 + # A "../" for each directory in $ac_dir_suffix.
521 + ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
523 + ac_dir_suffix= ac_top_builddir=
527 + .) # No --srcdir option. We are building in place.
529 + if test -z "$ac_top_builddir"; then
532 + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
534 + [\\/]* | ?:[\\/]* ) # Absolute path.
535 + ac_srcdir=$srcdir$ac_dir_suffix;
536 + ac_top_srcdir=$srcdir ;;
537 + *) # Relative path.
538 + ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
539 + ac_top_srcdir=$ac_top_builddir$srcdir ;;
541 +# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
543 +ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
544 +ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
545 +ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
546 +ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
549 # Check for guested configure; otherwise get Cygnus style configure.
550 - if test -f $ac_sub_srcdir/configure.gnu; then
551 + if test -f $ac_srcdir/configure.gnu; then
553 - $SHELL $ac_sub_srcdir/configure.gnu --help=recursive
554 - elif test -f $ac_sub_srcdir/configure; then
555 + $SHELL $ac_srcdir/configure.gnu --help=recursive
556 + elif test -f $ac_srcdir/configure; then
558 - $SHELL $ac_sub_srcdir/configure --help=recursive
559 - elif test -f $ac_sub_srcdir/configure.ac ||
560 - test -f $ac_sub_srcdir/configure.in; then
561 + $SHELL $ac_srcdir/configure --help=recursive
562 + elif test -f $ac_srcdir/configure.ac ||
563 + test -f $ac_srcdir/configure.in; then
567 - echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
568 + echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
572 @@ -722,31 +918,31 @@
574 test -n "$ac_init_help" && exit 0
575 if $ac_init_version; then
579 -Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
580 +Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
581 Free Software Foundation, Inc.
582 This configure script is free software; the Free Software Foundation
583 gives unlimited permission to copy, distribute and modify it.
591 This file contains any messages produced by compilers while
592 running configure, to aid debugging if configure makes a mistake.
594 It was created by $as_me, which was
595 -generated by GNU Autoconf 2.52. Invocation command line was
596 +generated by GNU Autoconf 2.57. Invocation command line was
611 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
612 uname -m = `(uname -m) 2>/dev/null || echo unknown`
613 @@ -765,51 +961,96 @@
614 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
615 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
621 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
625 + test -z "$as_dir" && as_dir=.
626 + echo "PATH: $as_dir"
646 # Keep a trace of the command line.
647 # Strip out --no-create and --no-recursion so they do not pile up.
648 +# Strip out --silent because we don't want to record it for future runs.
649 # Also quote any args containing shell meta-characters.
650 +# Make two passes to allow for proper duplicate-argument suppression.
656 +ac_must_keep_next=false
660 - -no-create | --no-create | --no-creat | --no-crea | --no-cre \
661 - | --no-cr | --no-c) ;;
662 - -no-recursion | --no-recursion | --no-recursio | --no-recursi \
663 - | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
664 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
665 - ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
666 - ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
668 - *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
671 - # Get rid of the leading space.
675 + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
676 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
677 + | -silent | --silent | --silen | --sile | --sil)
679 + *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
680 + ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
683 + 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
685 + ac_configure_args1="$ac_configure_args1 '$ac_arg'"
686 + if test $ac_must_keep_next = true; then
687 + ac_must_keep_next=false # Got value, back to normal.
690 + *=* | --config-cache | -C | -disable-* | --disable-* \
691 + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
692 + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
693 + | -with-* | --with-* | -without-* | --without-* | --x)
694 + case "$ac_configure_args0 " in
695 + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
698 + -* ) ac_must_keep_next=true ;;
701 + ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
702 + # Get rid of the leading space.
708 +$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
709 +$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
711 # When interrupted or exit'd, cleanup temporary files, and complete
712 # config.log. We remove comments because anyway the quotes in there
713 # would cause problems or look ugly.
714 +# WARNING: Be sure not to use single quotes in there, as some shells,
715 +# such as our DU 5.0 friend, will then `close' the trap.
717 # Save into config.log some information that might help in debugging.
719 - echo "## ----------------- ##" >&5
720 - echo "## Cache variables. ##" >&5
721 - echo "## ----------------- ##" >&5
723 - # The following way of writing the cache mishandles newlines in values,
728 +## ---------------- ##
729 +## Cache variables. ##
730 +## ---------------- ##
733 + # The following way of writing the cache mishandles newlines in values,
736 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
737 @@ -823,21 +1064,53 @@
738 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
742 - sed "/^$/d" confdefs.h >conftest.log
743 - if test -s conftest.log; then
745 - echo "## ------------ ##" >&5
746 - echo "## confdefs.h. ##" >&5
747 - echo "## ------------ ##" >&5
749 - cat conftest.log >&5
752 - test "$ac_signal" != 0 &&
753 - echo "$as_me: caught signal $ac_signal" >&5
754 - echo "$as_me: exit $exit_status" >&5
755 - rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
760 +## ----------------- ##
761 +## Output variables. ##
762 +## ----------------- ##
765 + for ac_var in $ac_subst_vars
767 + eval ac_val=$`echo $ac_var`
768 + echo "$ac_var='"'"'$ac_val'"'"'"
772 + if test -n "$ac_subst_files"; then
779 + for ac_var in $ac_subst_files
781 + eval ac_val=$`echo $ac_var`
782 + echo "$ac_var='"'"'$ac_val'"'"'"
787 + if test -s confdefs.h; then
794 + sed "/^$/d" confdefs.h | sort
797 + test "$ac_signal" != 0 &&
798 + echo "$as_me: caught signal $ac_signal"
799 + echo "$as_me: exit $exit_status"
801 + rm -f core core.* *.core &&
802 + rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
805 for ac_signal in 1 2 13 15; do
806 @@ -850,6 +1123,33 @@
807 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
810 +# Predefined preprocessor variables.
812 +cat >>confdefs.h <<_ACEOF
813 +#define PACKAGE_NAME "$PACKAGE_NAME"
817 +cat >>confdefs.h <<_ACEOF
818 +#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
822 +cat >>confdefs.h <<_ACEOF
823 +#define PACKAGE_VERSION "$PACKAGE_VERSION"
827 +cat >>confdefs.h <<_ACEOF
828 +#define PACKAGE_STRING "$PACKAGE_STRING"
832 +cat >>confdefs.h <<_ACEOF
833 +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
837 # Let the site file select an alternate cache file if it wants to.
838 # Prefer explicitly selected file to automatically selected ones.
839 if test -z "$CONFIG_SITE"; then
842 for ac_site_file in $CONFIG_SITE; do
843 if test -r "$ac_site_file"; then
844 - { echo "$as_me:864: loading site script $ac_site_file" >&5
845 + { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
846 echo "$as_me: loading site script $ac_site_file" >&6;}
847 - cat "$ac_site_file" >&5
848 + sed 's/^/| /' "$ac_site_file" >&5
853 # Some versions of bash will fail to source /dev/null (special
854 # files actually), so we avoid doing that.
855 if test -f "$cache_file"; then
856 - { echo "$as_me:875: loading cache $cache_file" >&5
857 + { echo "$as_me:$LINENO: loading cache $cache_file" >&5
858 echo "$as_me: loading cache $cache_file" >&6;}
860 [\\/]* | ?:[\\/]* ) . $cache_file;;
865 - { echo "$as_me:883: creating cache $cache_file" >&5
866 + { echo "$as_me:$LINENO: creating cache $cache_file" >&5
867 echo "$as_me: creating cache $cache_file" >&6;}
870 @@ -896,42 +1196,42 @@
871 eval ac_new_val="\$ac_env_${ac_var}_value"
872 case $ac_old_set,$ac_new_set in
874 - { echo "$as_me:899: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
875 + { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
876 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
877 ac_cache_corrupted=: ;;
879 - { echo "$as_me:903: error: \`$ac_var' was not set in the previous run" >&5
880 + { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
881 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
882 ac_cache_corrupted=: ;;
885 if test "x$ac_old_val" != "x$ac_new_val"; then
886 - { echo "$as_me:909: error: \`$ac_var' has changed since the previous run:" >&5
887 + { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
888 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
889 - { echo "$as_me:911: former value: $ac_old_val" >&5
890 + { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
891 echo "$as_me: former value: $ac_old_val" >&2;}
892 - { echo "$as_me:913: current value: $ac_new_val" >&5
893 + { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
894 echo "$as_me: current value: $ac_new_val" >&2;}
898 - # Pass precious variables to config.status. It doesn't matter if
899 - # we pass some twice (in addition to the command line arguments).
900 + # Pass precious variables to config.status.
901 if test "$ac_new_set" = set; then
903 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
904 - ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
905 - ac_configure_args="$ac_configure_args '$ac_arg'"
907 - *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
909 + ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
910 + *) ac_arg=$ac_var=$ac_new_val ;;
912 + case " $ac_configure_args " in
913 + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
914 + *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
918 if $ac_cache_corrupted; then
919 - { echo "$as_me:932: error: changes in the environment can compromise the build" >&5
920 + { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
921 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
922 - { { echo "$as_me:934: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
923 + { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
924 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
925 { (exit 1); exit 1; }; }
927 @@ -942,28 +1242,27 @@
928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
931 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
932 - *c*,-n*) ECHO_N= ECHO_C='
934 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
935 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
937 -echo "#! $SHELL" >conftest.sh
938 -echo "exit 0" >>conftest.sh
939 -chmod +x conftest.sh
940 -if { (echo "$as_me:954: PATH=\".;.\"; conftest.sh") >&5
941 - (PATH=".;."; conftest.sh) 2>&5
943 - echo "$as_me:957: \$? = $ac_status" >&5
944 - (exit $ac_status); }; then
945 - ac_path_separator=';'
947 - ac_path_separator=:
949 -PATH_SEPARATOR="$ac_path_separator"
952 -ac_config_headers="$ac_config_headers config.h"
971 + ac_config_headers="$ac_config_headers config.h"
975 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
979 if test -z "$ac_aux_dir"; then
980 - { { echo "$as_me:985: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
981 + { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
982 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
983 { (exit 1); exit 1; }; }
985 @@ -992,11 +1291,11 @@
987 # Make sure we can run config.sub.
988 $ac_config_sub sun4 >/dev/null 2>&1 ||
989 - { { echo "$as_me:995: error: cannot run $ac_config_sub" >&5
990 + { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
991 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
992 { (exit 1); exit 1; }; }
994 -echo "$as_me:999: checking build system type" >&5
995 +echo "$as_me:$LINENO: checking build system type" >&5
996 echo $ECHO_N "checking build system type... $ECHO_C" >&6
997 if test "${ac_cv_build+set}" = set; then
998 echo $ECHO_N "(cached) $ECHO_C" >&6
999 @@ -1005,23 +1304,24 @@
1000 test -z "$ac_cv_build_alias" &&
1001 ac_cv_build_alias=`$ac_config_guess`
1002 test -z "$ac_cv_build_alias" &&
1003 - { { echo "$as_me:1008: error: cannot guess build type; you must specify one" >&5
1004 + { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1005 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1006 { (exit 1); exit 1; }; }
1007 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1008 - { { echo "$as_me:1012: error: $ac_config_sub $ac_cv_build_alias failed." >&5
1009 -echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
1010 + { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1011 +echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1012 { (exit 1); exit 1; }; }
1015 -echo "$as_me:1017: result: $ac_cv_build" >&5
1016 +echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1017 echo "${ECHO_T}$ac_cv_build" >&6
1019 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1020 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1021 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1023 -echo "$as_me:1024: checking host system type" >&5
1025 +echo "$as_me:$LINENO: checking host system type" >&5
1026 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1027 if test "${ac_cv_host+set}" = set; then
1028 echo $ECHO_N "(cached) $ECHO_C" >&6
1029 @@ -1030,21 +1330,23 @@
1030 test -z "$ac_cv_host_alias" &&
1031 ac_cv_host_alias=$ac_cv_build_alias
1032 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1033 - { { echo "$as_me:1033: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1034 + { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1035 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1036 { (exit 1); exit 1; }; }
1039 -echo "$as_me:1038: result: $ac_cv_host" >&5
1040 +echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1041 echo "${ECHO_T}$ac_cv_host" >&6
1043 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1044 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1045 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1051 - echo "$as_me:1047: result: \"using /usr/5bin/cc\"" >&5
1052 + echo "$as_me:$LINENO: result: \"using /usr/5bin/cc\"" >&5
1053 echo "${ECHO_T}\"using /usr/5bin/cc\"" >&6
1056 @@ -1058,7 +1360,7 @@
1057 if test -n "$ac_tool_prefix"; then
1058 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1059 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1060 -echo "$as_me:1061: checking for $ac_word" >&5
1061 +echo "$as_me:$LINENO: checking for $ac_word" >&5
1062 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1063 if test "${ac_cv_prog_CC+set}" = set; then
1064 echo $ECHO_N "(cached) $ECHO_C" >&6
1065 @@ -1066,25 +1368,28 @@
1066 if test -n "$CC"; then
1067 ac_cv_prog_CC="$CC" # Let the user override the test.
1069 - ac_save_IFS=$IFS; IFS=$ac_path_separator
1071 -for ac_dir in $ac_dummy; do
1073 - test -z "$ac_dir" && ac_dir=.
1074 - $as_executable_p "$ac_dir/$ac_word" || continue
1075 -ac_cv_prog_CC="${ac_tool_prefix}gcc"
1076 -echo "$as_me:1076: found $ac_dir/$ac_word" >&5
1078 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1079 +for as_dir in $PATH
1082 + test -z "$as_dir" && as_dir=.
1083 + for ac_exec_ext in '' $ac_executable_extensions; do
1084 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1085 + ac_cv_prog_CC="${ac_tool_prefix}gcc"
1086 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1095 if test -n "$CC"; then
1096 - echo "$as_me:1084: result: $CC" >&5
1097 + echo "$as_me:$LINENO: result: $CC" >&5
1098 echo "${ECHO_T}$CC" >&6
1100 - echo "$as_me:1087: result: no" >&5
1101 + echo "$as_me:$LINENO: result: no" >&5
1102 echo "${ECHO_T}no" >&6
1105 @@ -1093,7 +1398,7 @@
1107 # Extract the first word of "gcc", so it can be a program name with args.
1108 set dummy gcc; ac_word=$2
1109 -echo "$as_me:1096: checking for $ac_word" >&5
1110 +echo "$as_me:$LINENO: checking for $ac_word" >&5
1111 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1112 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1113 echo $ECHO_N "(cached) $ECHO_C" >&6
1114 @@ -1101,25 +1406,28 @@
1115 if test -n "$ac_ct_CC"; then
1116 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1118 - ac_save_IFS=$IFS; IFS=$ac_path_separator
1120 -for ac_dir in $ac_dummy; do
1122 - test -z "$ac_dir" && ac_dir=.
1123 - $as_executable_p "$ac_dir/$ac_word" || continue
1124 -ac_cv_prog_ac_ct_CC="gcc"
1125 -echo "$as_me:1111: found $ac_dir/$ac_word" >&5
1127 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1128 +for as_dir in $PATH
1131 + test -z "$as_dir" && as_dir=.
1132 + for ac_exec_ext in '' $ac_executable_extensions; do
1133 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1134 + ac_cv_prog_ac_ct_CC="gcc"
1135 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1143 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1144 if test -n "$ac_ct_CC"; then
1145 - echo "$as_me:1119: result: $ac_ct_CC" >&5
1146 + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1147 echo "${ECHO_T}$ac_ct_CC" >&6
1149 - echo "$as_me:1122: result: no" >&5
1150 + echo "$as_me:$LINENO: result: no" >&5
1151 echo "${ECHO_T}no" >&6
1154 @@ -1132,7 +1440,7 @@
1155 if test -n "$ac_tool_prefix"; then
1156 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1157 set dummy ${ac_tool_prefix}cc; ac_word=$2
1158 -echo "$as_me:1135: checking for $ac_word" >&5
1159 +echo "$as_me:$LINENO: checking for $ac_word" >&5
1160 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1161 if test "${ac_cv_prog_CC+set}" = set; then
1162 echo $ECHO_N "(cached) $ECHO_C" >&6
1163 @@ -1140,25 +1448,28 @@
1164 if test -n "$CC"; then
1165 ac_cv_prog_CC="$CC" # Let the user override the test.
1167 - ac_save_IFS=$IFS; IFS=$ac_path_separator
1169 -for ac_dir in $ac_dummy; do
1171 - test -z "$ac_dir" && ac_dir=.
1172 - $as_executable_p "$ac_dir/$ac_word" || continue
1173 -ac_cv_prog_CC="${ac_tool_prefix}cc"
1174 -echo "$as_me:1150: found $ac_dir/$ac_word" >&5
1176 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1177 +for as_dir in $PATH
1180 + test -z "$as_dir" && as_dir=.
1181 + for ac_exec_ext in '' $ac_executable_extensions; do
1182 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1183 + ac_cv_prog_CC="${ac_tool_prefix}cc"
1184 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1193 if test -n "$CC"; then
1194 - echo "$as_me:1158: result: $CC" >&5
1195 + echo "$as_me:$LINENO: result: $CC" >&5
1196 echo "${ECHO_T}$CC" >&6
1198 - echo "$as_me:1161: result: no" >&5
1199 + echo "$as_me:$LINENO: result: no" >&5
1200 echo "${ECHO_T}no" >&6
1203 @@ -1167,7 +1478,7 @@
1205 # Extract the first word of "cc", so it can be a program name with args.
1206 set dummy cc; ac_word=$2
1207 -echo "$as_me:1170: checking for $ac_word" >&5
1208 +echo "$as_me:$LINENO: checking for $ac_word" >&5
1209 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1210 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1211 echo $ECHO_N "(cached) $ECHO_C" >&6
1212 @@ -1175,25 +1486,28 @@
1213 if test -n "$ac_ct_CC"; then
1214 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1216 - ac_save_IFS=$IFS; IFS=$ac_path_separator
1218 -for ac_dir in $ac_dummy; do
1220 - test -z "$ac_dir" && ac_dir=.
1221 - $as_executable_p "$ac_dir/$ac_word" || continue
1222 -ac_cv_prog_ac_ct_CC="cc"
1223 -echo "$as_me:1185: found $ac_dir/$ac_word" >&5
1225 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1226 +for as_dir in $PATH
1229 + test -z "$as_dir" && as_dir=.
1230 + for ac_exec_ext in '' $ac_executable_extensions; do
1231 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1232 + ac_cv_prog_ac_ct_CC="cc"
1233 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1241 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1242 if test -n "$ac_ct_CC"; then
1243 - echo "$as_me:1193: result: $ac_ct_CC" >&5
1244 + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1245 echo "${ECHO_T}$ac_ct_CC" >&6
1247 - echo "$as_me:1196: result: no" >&5
1248 + echo "$as_me:$LINENO: result: no" >&5
1249 echo "${ECHO_T}no" >&6
1252 @@ -1206,7 +1520,7 @@
1253 if test -z "$CC"; then
1254 # Extract the first word of "cc", so it can be a program name with args.
1255 set dummy cc; ac_word=$2
1256 -echo "$as_me:1209: checking for $ac_word" >&5
1257 +echo "$as_me:$LINENO: checking for $ac_word" >&5
1258 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1259 if test "${ac_cv_prog_CC+set}" = set; then
1260 echo $ECHO_N "(cached) $ECHO_C" >&6
1261 @@ -1215,19 +1529,22 @@
1262 ac_cv_prog_CC="$CC" # Let the user override the test.
1265 - ac_save_IFS=$IFS; IFS=$ac_path_separator
1267 -for ac_dir in $ac_dummy; do
1269 - test -z "$ac_dir" && ac_dir=.
1270 - $as_executable_p "$ac_dir/$ac_word" || continue
1271 -if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1272 - ac_prog_rejected=yes
1276 -echo "$as_me:1229: found $ac_dir/$ac_word" >&5
1278 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1279 +for as_dir in $PATH
1282 + test -z "$as_dir" && as_dir=.
1283 + for ac_exec_ext in '' $ac_executable_extensions; do
1284 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1285 + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1286 + ac_prog_rejected=yes
1289 + ac_cv_prog_CC="cc"
1290 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1296 if test $ac_prog_rejected = yes; then
1297 @@ -1239,19 +1556,17 @@
1298 # However, it has the same basename, so the bogon will be chosen
1299 # first if we set CC to just the basename; use the full file name.
1301 - set dummy "$ac_dir/$ac_word" ${1+"$@"}
1303 - ac_cv_prog_CC="$@"
1304 + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1310 if test -n "$CC"; then
1311 - echo "$as_me:1251: result: $CC" >&5
1312 + echo "$as_me:$LINENO: result: $CC" >&5
1313 echo "${ECHO_T}$CC" >&6
1315 - echo "$as_me:1254: result: no" >&5
1316 + echo "$as_me:$LINENO: result: no" >&5
1317 echo "${ECHO_T}no" >&6
1320 @@ -1262,7 +1577,7 @@
1322 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1323 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1324 -echo "$as_me:1265: checking for $ac_word" >&5
1325 +echo "$as_me:$LINENO: checking for $ac_word" >&5
1326 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1327 if test "${ac_cv_prog_CC+set}" = set; then
1328 echo $ECHO_N "(cached) $ECHO_C" >&6
1329 @@ -1270,25 +1585,28 @@
1330 if test -n "$CC"; then
1331 ac_cv_prog_CC="$CC" # Let the user override the test.
1333 - ac_save_IFS=$IFS; IFS=$ac_path_separator
1335 -for ac_dir in $ac_dummy; do
1337 - test -z "$ac_dir" && ac_dir=.
1338 - $as_executable_p "$ac_dir/$ac_word" || continue
1339 -ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1340 -echo "$as_me:1280: found $ac_dir/$ac_word" >&5
1342 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1343 +for as_dir in $PATH
1346 + test -z "$as_dir" && as_dir=.
1347 + for ac_exec_ext in '' $ac_executable_extensions; do
1348 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1349 + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1350 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1359 if test -n "$CC"; then
1360 - echo "$as_me:1288: result: $CC" >&5
1361 + echo "$as_me:$LINENO: result: $CC" >&5
1362 echo "${ECHO_T}$CC" >&6
1364 - echo "$as_me:1291: result: no" >&5
1365 + echo "$as_me:$LINENO: result: no" >&5
1366 echo "${ECHO_T}no" >&6
1369 @@ -1301,7 +1619,7 @@
1371 # Extract the first word of "$ac_prog", so it can be a program name with args.
1372 set dummy $ac_prog; ac_word=$2
1373 -echo "$as_me:1304: checking for $ac_word" >&5
1374 +echo "$as_me:$LINENO: checking for $ac_word" >&5
1375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1376 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1377 echo $ECHO_N "(cached) $ECHO_C" >&6
1378 @@ -1309,25 +1627,28 @@
1379 if test -n "$ac_ct_CC"; then
1380 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1382 - ac_save_IFS=$IFS; IFS=$ac_path_separator
1384 -for ac_dir in $ac_dummy; do
1386 - test -z "$ac_dir" && ac_dir=.
1387 - $as_executable_p "$ac_dir/$ac_word" || continue
1388 -ac_cv_prog_ac_ct_CC="$ac_prog"
1389 -echo "$as_me:1319: found $ac_dir/$ac_word" >&5
1391 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1392 +for as_dir in $PATH
1395 + test -z "$as_dir" && as_dir=.
1396 + for ac_exec_ext in '' $ac_executable_extensions; do
1397 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1398 + ac_cv_prog_ac_ct_CC="$ac_prog"
1399 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1407 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1408 if test -n "$ac_ct_CC"; then
1409 - echo "$as_me:1327: result: $ac_ct_CC" >&5
1410 + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1411 echo "${ECHO_T}$ac_ct_CC" >&6
1413 - echo "$as_me:1330: result: no" >&5
1414 + echo "$as_me:$LINENO: result: no" >&5
1415 echo "${ECHO_T}no" >&6
1418 @@ -1339,33 +1660,40 @@
1422 -test -z "$CC" && { { echo "$as_me:1342: error: no acceptable cc found in \$PATH" >&5
1423 -echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
1425 +test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1426 +See \`config.log' for more details." >&5
1427 +echo "$as_me: error: no acceptable C compiler found in \$PATH
1428 +See \`config.log' for more details." >&2;}
1429 { (exit 1); exit 1; }; }
1431 # Provide some information about the compiler.
1432 -echo "$as_me:1347:" \
1433 +echo "$as_me:$LINENO:" \
1434 "checking for C compiler version" >&5
1435 ac_compiler=`set X $ac_compile; echo $2`
1436 -{ (eval echo "$as_me:1350: \"$ac_compiler --version </dev/null >&5\"") >&5
1437 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1438 (eval $ac_compiler --version </dev/null >&5) 2>&5
1440 - echo "$as_me:1353: \$? = $ac_status" >&5
1441 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1442 (exit $ac_status); }
1443 -{ (eval echo "$as_me:1355: \"$ac_compiler -v </dev/null >&5\"") >&5
1444 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1445 (eval $ac_compiler -v </dev/null >&5) 2>&5
1447 - echo "$as_me:1358: \$? = $ac_status" >&5
1448 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1449 (exit $ac_status); }
1450 -{ (eval echo "$as_me:1360: \"$ac_compiler -V </dev/null >&5\"") >&5
1451 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1452 (eval $ac_compiler -V </dev/null >&5) 2>&5
1454 - echo "$as_me:1363: \$? = $ac_status" >&5
1455 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1456 (exit $ac_status); }
1458 cat >conftest.$ac_ext <<_ACEOF
1459 -#line 1367 "configure"
1460 -#include "confdefs.h"
1461 +#line $LINENO "configure"
1464 +cat confdefs.h >>conftest.$ac_ext
1465 +cat >>conftest.$ac_ext <<_ACEOF
1466 +/* end confdefs.h. */
1470 @@ -1376,100 +1704,120 @@
1473 ac_clean_files_save=$ac_clean_files
1474 -ac_clean_files="$ac_clean_files a.out a.exe"
1475 +ac_clean_files="$ac_clean_files a.out a.exe b.out"
1476 # Try to create an executable without -o first, disregard a.out.
1477 # It will help us diagnose broken compilers, and finding out an intuition
1479 -echo "$as_me:1383: checking for C compiler default output" >&5
1480 +echo "$as_me:$LINENO: checking for C compiler default output" >&5
1481 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1482 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1483 -if { (eval echo "$as_me:1386: \"$ac_link_default\"") >&5
1484 +if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1485 (eval $ac_link_default) 2>&5
1487 - echo "$as_me:1389: \$? = $ac_status" >&5
1488 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1489 (exit $ac_status); }; then
1490 # Find the output, starting from the most likely. This scheme is
1491 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1493 -for ac_file in `ls a.exe conftest.exe 2>/dev/null;
1494 - ls a.out conftest 2>/dev/null;
1495 - ls a.* conftest.* 2>/dev/null`; do
1497 +# Be careful to initialize this variable, since it used to be cached.
1498 +# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1500 +# b.out is created by i960 compilers.
1501 +for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1503 + test -f "$ac_file" || continue
1505 - *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1506 - a.out ) # We found the default executable, but exeext='' is most
1507 - # certainly right.
1509 - *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1510 - # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1511 - export ac_cv_exeext
1514 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1516 + conftest.$ac_ext )
1517 + # This is the source file.
1520 + # We found the default executable, but exeext='' is most
1521 + # certainly right.
1524 + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1525 + # FIXME: I believe we export ac_cv_exeext for Libtool,
1526 + # but it would be cool to find out if it's true. Does anybody
1527 + # maintain Libtool? --akim.
1528 + export ac_cv_exeext
1535 echo "$as_me: failed program was:" >&5
1536 -cat conftest.$ac_ext >&5
1537 -{ { echo "$as_me:1412: error: C compiler cannot create executables" >&5
1538 -echo "$as_me: error: C compiler cannot create executables" >&2;}
1539 +sed 's/^/| /' conftest.$ac_ext >&5
1541 +{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
1542 +See \`config.log' for more details." >&5
1543 +echo "$as_me: error: C compiler cannot create executables
1544 +See \`config.log' for more details." >&2;}
1545 { (exit 77); exit 77; }; }
1548 ac_exeext=$ac_cv_exeext
1549 -echo "$as_me:1418: result: $ac_file" >&5
1550 +echo "$as_me:$LINENO: result: $ac_file" >&5
1551 echo "${ECHO_T}$ac_file" >&6
1553 # Check the compiler produces executables we can run. If not, either
1554 # the compiler is broken, or we cross compile.
1555 -echo "$as_me:1423: checking whether the C compiler works" >&5
1556 +echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1557 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1558 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1559 # If not cross compiling, check that we can run a simple program.
1560 if test "$cross_compiling" != yes; then
1561 if { ac_try='./$ac_file'
1562 - { (eval echo "$as_me:1429: \"$ac_try\"") >&5
1563 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1566 - echo "$as_me:1432: \$? = $ac_status" >&5
1567 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1568 (exit $ac_status); }; }; then
1571 if test "$cross_compiling" = maybe; then
1574 - { { echo "$as_me:1439: error: cannot run C compiled programs.
1575 -If you meant to cross compile, use \`--host'." >&5
1576 + { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1577 +If you meant to cross compile, use \`--host'.
1578 +See \`config.log' for more details." >&5
1579 echo "$as_me: error: cannot run C compiled programs.
1580 -If you meant to cross compile, use \`--host'." >&2;}
1581 +If you meant to cross compile, use \`--host'.
1582 +See \`config.log' for more details." >&2;}
1583 { (exit 1); exit 1; }; }
1587 -echo "$as_me:1447: result: yes" >&5
1588 +echo "$as_me:$LINENO: result: yes" >&5
1589 echo "${ECHO_T}yes" >&6
1591 -rm -f a.out a.exe conftest$ac_cv_exeext
1592 +rm -f a.out a.exe conftest$ac_cv_exeext b.out
1593 ac_clean_files=$ac_clean_files_save
1594 # Check the compiler produces executables we can run. If not, either
1595 # the compiler is broken, or we cross compile.
1596 -echo "$as_me:1454: checking whether we are cross compiling" >&5
1597 +echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1598 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1599 -echo "$as_me:1456: result: $cross_compiling" >&5
1600 +echo "$as_me:$LINENO: result: $cross_compiling" >&5
1601 echo "${ECHO_T}$cross_compiling" >&6
1603 -echo "$as_me:1459: checking for executable suffix" >&5
1604 -echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
1605 -if { (eval echo "$as_me:1461: \"$ac_link\"") >&5
1606 +echo "$as_me:$LINENO: checking for suffix of executables" >&5
1607 +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1608 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1609 (eval $ac_link) 2>&5
1611 - echo "$as_me:1464: \$? = $ac_status" >&5
1612 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1613 (exit $ac_status); }; then
1614 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1615 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1616 # work properly (i.e., refer to `conftest.exe'), while it won't with
1618 -for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1619 +for ac_file in conftest.exe conftest conftest.*; do
1620 + test -f "$ac_file" || continue
1622 - *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1623 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1624 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1627 @@ -1477,26 +1825,32 @@
1631 - { { echo "$as_me:1480: error: cannot compute EXEEXT: cannot compile and link" >&5
1632 -echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
1633 + { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1634 +See \`config.log' for more details." >&5
1635 +echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1636 +See \`config.log' for more details." >&2;}
1637 { (exit 1); exit 1; }; }
1640 rm -f conftest$ac_cv_exeext
1641 -echo "$as_me:1486: result: $ac_cv_exeext" >&5
1642 +echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1643 echo "${ECHO_T}$ac_cv_exeext" >&6
1645 rm -f conftest.$ac_ext
1646 EXEEXT=$ac_cv_exeext
1648 -echo "$as_me:1492: checking for object suffix" >&5
1649 -echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
1650 +echo "$as_me:$LINENO: checking for suffix of object files" >&5
1651 +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1652 if test "${ac_cv_objext+set}" = set; then
1653 echo $ECHO_N "(cached) $ECHO_C" >&6
1655 cat >conftest.$ac_ext <<_ACEOF
1656 -#line 1498 "configure"
1657 -#include "confdefs.h"
1658 +#line $LINENO "configure"
1661 +cat confdefs.h >>conftest.$ac_ext
1662 +cat >>conftest.$ac_ext <<_ACEOF
1663 +/* end confdefs.h. */
1667 @@ -1507,40 +1861,47 @@
1670 rm -f conftest.o conftest.obj
1671 -if { (eval echo "$as_me:1510: \"$ac_compile\"") >&5
1672 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1673 (eval $ac_compile) 2>&5
1675 - echo "$as_me:1513: \$? = $ac_status" >&5
1676 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1677 (exit $ac_status); }; then
1678 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1680 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
1681 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1682 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1687 echo "$as_me: failed program was:" >&5
1688 -cat conftest.$ac_ext >&5
1689 -{ { echo "$as_me:1525: error: cannot compute OBJEXT: cannot compile" >&5
1690 -echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
1691 +sed 's/^/| /' conftest.$ac_ext >&5
1693 +{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1694 +See \`config.log' for more details." >&5
1695 +echo "$as_me: error: cannot compute suffix of object files: cannot compile
1696 +See \`config.log' for more details." >&2;}
1697 { (exit 1); exit 1; }; }
1700 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1702 -echo "$as_me:1532: result: $ac_cv_objext" >&5
1703 +echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1704 echo "${ECHO_T}$ac_cv_objext" >&6
1705 OBJEXT=$ac_cv_objext
1707 -echo "$as_me:1536: checking whether we are using the GNU C compiler" >&5
1708 +echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1709 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1710 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1711 echo $ECHO_N "(cached) $ECHO_C" >&6
1713 cat >conftest.$ac_ext <<_ACEOF
1714 -#line 1542 "configure"
1715 -#include "confdefs.h"
1716 +#line $LINENO "configure"
1719 +cat confdefs.h >>conftest.$ac_ext
1720 +cat >>conftest.$ac_ext <<_ACEOF
1721 +/* end confdefs.h. */
1725 @@ -1554,41 +1915,46 @@
1728 rm -f conftest.$ac_objext
1729 -if { (eval echo "$as_me:1557: \"$ac_compile\"") >&5
1730 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1731 (eval $ac_compile) 2>&5
1733 - echo "$as_me:1560: \$? = $ac_status" >&5
1734 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1735 (exit $ac_status); } &&
1736 { ac_try='test -s conftest.$ac_objext'
1737 - { (eval echo "$as_me:1563: \"$ac_try\"") >&5
1738 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1741 - echo "$as_me:1566: \$? = $ac_status" >&5
1742 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1743 (exit $ac_status); }; }; then
1746 echo "$as_me: failed program was:" >&5
1747 -cat conftest.$ac_ext >&5
1748 +sed 's/^/| /' conftest.$ac_ext >&5
1752 rm -f conftest.$ac_objext conftest.$ac_ext
1753 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1756 -echo "$as_me:1578: result: $ac_cv_c_compiler_gnu" >&5
1757 +echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1758 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1759 GCC=`test $ac_compiler_gnu = yes && echo yes`
1760 ac_test_CFLAGS=${CFLAGS+set}
1761 ac_save_CFLAGS=$CFLAGS
1763 -echo "$as_me:1584: checking whether $CC accepts -g" >&5
1764 +echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1765 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1766 if test "${ac_cv_prog_cc_g+set}" = set; then
1767 echo $ECHO_N "(cached) $ECHO_C" >&6
1769 cat >conftest.$ac_ext <<_ACEOF
1770 -#line 1590 "configure"
1771 -#include "confdefs.h"
1772 +#line $LINENO "configure"
1775 +cat confdefs.h >>conftest.$ac_ext
1776 +cat >>conftest.$ac_ext <<_ACEOF
1777 +/* end confdefs.h. */
1781 @@ -1599,26 +1965,27 @@
1784 rm -f conftest.$ac_objext
1785 -if { (eval echo "$as_me:1602: \"$ac_compile\"") >&5
1786 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1787 (eval $ac_compile) 2>&5
1789 - echo "$as_me:1605: \$? = $ac_status" >&5
1790 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1791 (exit $ac_status); } &&
1792 { ac_try='test -s conftest.$ac_objext'
1793 - { (eval echo "$as_me:1608: \"$ac_try\"") >&5
1794 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1797 - echo "$as_me:1611: \$? = $ac_status" >&5
1798 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1799 (exit $ac_status); }; }; then
1802 echo "$as_me: failed program was:" >&5
1803 -cat conftest.$ac_ext >&5
1804 +sed 's/^/| /' conftest.$ac_ext >&5
1808 rm -f conftest.$ac_objext conftest.$ac_ext
1810 -echo "$as_me:1621: result: $ac_cv_prog_cc_g" >&5
1811 +echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1812 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1813 if test "$ac_test_CFLAGS" = set; then
1814 CFLAGS=$ac_save_CFLAGS
1815 @@ -1635,6 +2002,102 @@
1819 +echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
1820 +echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
1821 +if test "${ac_cv_prog_cc_stdc+set}" = set; then
1822 + echo $ECHO_N "(cached) $ECHO_C" >&6
1824 + ac_cv_prog_cc_stdc=no
1826 +cat >conftest.$ac_ext <<_ACEOF
1827 +#line $LINENO "configure"
1830 +cat confdefs.h >>conftest.$ac_ext
1831 +cat >>conftest.$ac_ext <<_ACEOF
1832 +/* end confdefs.h. */
1833 +#include <stdarg.h>
1835 +#include <sys/types.h>
1836 +#include <sys/stat.h>
1837 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
1838 +struct buf { int x; };
1839 +FILE * (*rcsopen) (struct buf *, struct stat *, int);
1840 +static char *e (p, i)
1846 +static char *f (char * (*g) (char **, int), char **p, ...)
1851 + s = g (p, va_arg (v,int));
1855 +int test (int i, double x);
1856 +struct s1 {int (*f) (int a);};
1857 +struct s2 {int (*f) (double a);};
1858 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
1864 +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
1869 +# Don't try gcc -ansi; that turns off useful extensions and
1870 +# breaks some systems' header files.
1871 +# AIX -qlanglvl=ansi
1872 +# Ultrix and OSF/1 -std1
1873 +# HP-UX 10.20 and later -Ae
1874 +# HP-UX older versions -Aa -D_HPUX_SOURCE
1875 +# SVR4 -Xc -D__EXTENSIONS__
1876 +for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1878 + CC="$ac_save_CC $ac_arg"
1879 + rm -f conftest.$ac_objext
1880 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1881 + (eval $ac_compile) 2>&5
1883 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1884 + (exit $ac_status); } &&
1885 + { ac_try='test -s conftest.$ac_objext'
1886 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1887 + (eval $ac_try) 2>&5
1889 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1890 + (exit $ac_status); }; }; then
1891 + ac_cv_prog_cc_stdc=$ac_arg
1894 + echo "$as_me: failed program was:" >&5
1895 +sed 's/^/| /' conftest.$ac_ext >&5
1898 +rm -f conftest.$ac_objext
1900 +rm -f conftest.$ac_ext conftest.$ac_objext
1905 +case "x$ac_cv_prog_cc_stdc" in
1907 + echo "$as_me:$LINENO: result: none needed" >&5
1908 +echo "${ECHO_T}none needed" >&6 ;;
1910 + echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
1911 +echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
1912 + CC="$CC $ac_cv_prog_cc_stdc" ;;
1915 # Some people use a C++ compiler to compile C. Since we use `exit',
1916 # in C++ we need to declare it. In case someone uses the same compiler
1917 # for both compiling C and C++ we need to have the C++ compiler decide
1918 @@ -1645,16 +2108,16 @@
1921 rm -f conftest.$ac_objext
1922 -if { (eval echo "$as_me:1648: \"$ac_compile\"") >&5
1923 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1924 (eval $ac_compile) 2>&5
1926 - echo "$as_me:1651: \$? = $ac_status" >&5
1927 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1928 (exit $ac_status); } &&
1929 { ac_try='test -s conftest.$ac_objext'
1930 - { (eval echo "$as_me:1654: \"$ac_try\"") >&5
1931 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1934 - echo "$as_me:1657: \$? = $ac_status" >&5
1935 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1936 (exit $ac_status); }; }; then
1937 for ac_declaration in \
1939 @@ -1666,8 +2129,12 @@
1942 cat >conftest.$ac_ext <<_ACEOF
1943 -#line 1669 "configure"
1944 -#include "confdefs.h"
1945 +#line $LINENO "configure"
1948 +cat confdefs.h >>conftest.$ac_ext
1949 +cat >>conftest.$ac_ext <<_ACEOF
1950 +/* end confdefs.h. */
1954 @@ -1679,27 +2146,32 @@
1957 rm -f conftest.$ac_objext
1958 -if { (eval echo "$as_me:1682: \"$ac_compile\"") >&5
1959 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1960 (eval $ac_compile) 2>&5
1962 - echo "$as_me:1685: \$? = $ac_status" >&5
1963 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1964 (exit $ac_status); } &&
1965 { ac_try='test -s conftest.$ac_objext'
1966 - { (eval echo "$as_me:1688: \"$ac_try\"") >&5
1967 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1970 - echo "$as_me:1691: \$? = $ac_status" >&5
1971 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1972 (exit $ac_status); }; }; then
1975 echo "$as_me: failed program was:" >&5
1976 -cat conftest.$ac_ext >&5
1977 +sed 's/^/| /' conftest.$ac_ext >&5
1981 rm -f conftest.$ac_objext conftest.$ac_ext
1982 cat >conftest.$ac_ext <<_ACEOF
1983 -#line 1701 "configure"
1984 -#include "confdefs.h"
1985 +#line $LINENO "configure"
1988 +cat confdefs.h >>conftest.$ac_ext
1989 +cat >>conftest.$ac_ext <<_ACEOF
1990 +/* end confdefs.h. */
1994 @@ -1710,21 +2182,22 @@
1997 rm -f conftest.$ac_objext
1998 -if { (eval echo "$as_me:1713: \"$ac_compile\"") >&5
1999 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2000 (eval $ac_compile) 2>&5
2002 - echo "$as_me:1716: \$? = $ac_status" >&5
2003 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2004 (exit $ac_status); } &&
2005 { ac_try='test -s conftest.$ac_objext'
2006 - { (eval echo "$as_me:1719: \"$ac_try\"") >&5
2007 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2010 - echo "$as_me:1722: \$? = $ac_status" >&5
2011 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2012 (exit $ac_status); }; }; then
2015 echo "$as_me: failed program was:" >&5
2016 -cat conftest.$ac_ext >&5
2017 +sed 's/^/| /' conftest.$ac_ext >&5
2020 rm -f conftest.$ac_objext conftest.$ac_ext
2022 @@ -1737,7 +2210,8 @@
2025 echo "$as_me: failed program was:" >&5
2026 -cat conftest.$ac_ext >&5
2027 +sed 's/^/| /' conftest.$ac_ext >&5
2030 rm -f conftest.$ac_objext conftest.$ac_ext
2032 @@ -1749,18 +2223,31 @@
2038 +cat >>confdefs.h <<\_ACEOF
2039 +#define NEED_PUTC_CHAR
2043 +cat >>confdefs.h <<\_ACEOF
2044 +#define HAVE_CURSES_H
2050 CPPFLAGS="${CPPFLAGS} -D_MSE_INT_H"
2051 - cat >>confdefs.h <<\EOF
2052 + cat >>confdefs.h <<\_ACEOF
2053 #define NEED_PUTC_CHAR 1
2058 hpux9*) DEFS=${DEFS-"-DMINICURSES"}
2063 # Find a good install program. We prefer a C program (faster),
2064 # so one script is as good as another. But avoid the broken or
2065 # incompatible versions:
2066 @@ -1773,43 +2260,48 @@
2067 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2068 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2069 # ./install, which can be erroneously created by make from ./install.sh.
2070 -echo "$as_me:1776: checking for a BSD compatible install" >&5
2071 -echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
2072 +echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2073 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2074 if test -z "$INSTALL"; then
2075 if test "${ac_cv_path_install+set}" = set; then
2076 echo $ECHO_N "(cached) $ECHO_C" >&6
2078 - ac_save_IFS=$IFS; IFS=$ac_path_separator
2079 - for ac_dir in $PATH; do
2081 - # Account for people who put trailing slashes in PATH elements.
2083 - / | ./ | .// | /cC/* \
2084 - | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
2087 - # OSF1 and SCO ODT 3.0 have their own names for install.
2088 - # Don't use installbsd from OSF since it installs stuff as root
2090 - for ac_prog in ginstall scoinst install; do
2091 - if $as_executable_p "$ac_dir/$ac_prog"; then
2092 - if test $ac_prog = install &&
2093 - grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
2094 - # AIX install. It has an incompatible calling convention.
2096 - elif test $ac_prog = install &&
2097 - grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
2098 - # program-specific install script used by HP pwplus--don't use.
2101 - ac_cv_path_install="$ac_dir/$ac_prog -c"
2105 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2106 +for as_dir in $PATH
2109 + test -z "$as_dir" && as_dir=.
2110 + # Account for people who put trailing slashes in PATH elements.
2112 + ./ | .// | /cC/* | \
2113 + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2116 + # OSF1 and SCO ODT 3.0 have their own names for install.
2117 + # Don't use installbsd from OSF since it installs stuff as root
2119 + for ac_prog in ginstall scoinst install; do
2120 + for ac_exec_ext in '' $ac_executable_extensions; do
2121 + if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2122 + if test $ac_prog = install &&
2123 + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2124 + # AIX install. It has an incompatible calling convention.
2126 + elif test $ac_prog = install &&
2127 + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2128 + # program-specific install script used by HP pwplus--don't use.
2131 + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2146 if test "${ac_cv_path_install+set}" = set; then
2147 @@ -1822,7 +2314,7 @@
2148 INSTALL=$ac_install_sh
2151 -echo "$as_me:1825: result: $INSTALL" >&5
2152 +echo "$as_me:$LINENO: result: $INSTALL" >&5
2153 echo "${ECHO_T}$INSTALL" >&6
2155 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2156 @@ -1833,12 +2325,14 @@
2158 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2163 ac_cpp='$CPP $CPPFLAGS'
2164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2167 -echo "$as_me:1841: checking how to run the C preprocessor" >&5
2168 +echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2169 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2170 # On Suns, sometimes $CPP names a directory.
2171 if test -n "$CPP" && test -d "$CPP"; then
2172 @@ -1856,21 +2350,31 @@
2174 # Use a header file that comes with gcc, so configuring glibc
2175 # with a fresh cross-compiler works.
2176 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2177 + # <limits.h> exists even on freestanding compilers.
2178 # On the NeXT, cc -E runs the code through the compiler's parser,
2179 # not just through cpp. "Syntax error" is here to catch this case.
2180 cat >conftest.$ac_ext <<_ACEOF
2181 -#line 1862 "configure"
2182 -#include "confdefs.h"
2183 -#include <assert.h>
2184 +#line $LINENO "configure"
2187 +cat confdefs.h >>conftest.$ac_ext
2188 +cat >>conftest.$ac_ext <<_ACEOF
2189 +/* end confdefs.h. */
2191 +# include <limits.h>
2193 +# include <assert.h>
2197 -if { (eval echo "$as_me:1867: \"$ac_cpp conftest.$ac_ext\"") >&5
2198 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2199 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2201 - egrep -v '^ *\+' conftest.er1 >conftest.err
2202 + grep -v '^ *+' conftest.er1 >conftest.err
2204 cat conftest.err >&5
2205 - echo "$as_me:1873: \$? = $ac_status" >&5
2206 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2207 (exit $ac_status); } >/dev/null; then
2208 if test -s conftest.err; then
2209 ac_cpp_err=$ac_c_preproc_warn_flag
2210 @@ -1884,7 +2388,8 @@
2213 echo "$as_me: failed program was:" >&5
2214 - cat conftest.$ac_ext >&5
2215 +sed 's/^/| /' conftest.$ac_ext >&5
2217 # Broken: fails on valid input.
2220 @@ -1893,17 +2398,21 @@
2221 # OK, works on sane cases. Now check whether non-existent headers
2222 # can be detected and how.
2223 cat >conftest.$ac_ext <<_ACEOF
2224 -#line 1896 "configure"
2225 -#include "confdefs.h"
2226 +#line $LINENO "configure"
2229 +cat confdefs.h >>conftest.$ac_ext
2230 +cat >>conftest.$ac_ext <<_ACEOF
2231 +/* end confdefs.h. */
2232 #include <ac_nonexistent.h>
2234 -if { (eval echo "$as_me:1900: \"$ac_cpp conftest.$ac_ext\"") >&5
2235 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2236 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2238 - egrep -v '^ *\+' conftest.er1 >conftest.err
2239 + grep -v '^ *+' conftest.er1 >conftest.err
2241 cat conftest.err >&5
2242 - echo "$as_me:1906: \$? = $ac_status" >&5
2243 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2244 (exit $ac_status); } >/dev/null; then
2245 if test -s conftest.err; then
2246 ac_cpp_err=$ac_c_preproc_warn_flag
2247 @@ -1918,7 +2427,8 @@
2250 echo "$as_me: failed program was:" >&5
2251 - cat conftest.$ac_ext >&5
2252 +sed 's/^/| /' conftest.$ac_ext >&5
2254 # Passes both tests.
2257 @@ -1940,28 +2450,38 @@
2261 -echo "$as_me:1943: result: $CPP" >&5
2262 +echo "$as_me:$LINENO: result: $CPP" >&5
2263 echo "${ECHO_T}$CPP" >&6
2265 for ac_c_preproc_warn_flag in '' yes
2267 # Use a header file that comes with gcc, so configuring glibc
2268 # with a fresh cross-compiler works.
2269 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2270 + # <limits.h> exists even on freestanding compilers.
2271 # On the NeXT, cc -E runs the code through the compiler's parser,
2272 # not just through cpp. "Syntax error" is here to catch this case.
2273 cat >conftest.$ac_ext <<_ACEOF
2274 -#line 1953 "configure"
2275 -#include "confdefs.h"
2276 -#include <assert.h>
2277 +#line $LINENO "configure"
2280 +cat confdefs.h >>conftest.$ac_ext
2281 +cat >>conftest.$ac_ext <<_ACEOF
2282 +/* end confdefs.h. */
2284 +# include <limits.h>
2286 +# include <assert.h>
2290 -if { (eval echo "$as_me:1958: \"$ac_cpp conftest.$ac_ext\"") >&5
2291 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2292 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2294 - egrep -v '^ *\+' conftest.er1 >conftest.err
2295 + grep -v '^ *+' conftest.er1 >conftest.err
2297 cat conftest.err >&5
2298 - echo "$as_me:1964: \$? = $ac_status" >&5
2299 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2300 (exit $ac_status); } >/dev/null; then
2301 if test -s conftest.err; then
2302 ac_cpp_err=$ac_c_preproc_warn_flag
2303 @@ -1975,7 +2495,8 @@
2306 echo "$as_me: failed program was:" >&5
2307 - cat conftest.$ac_ext >&5
2308 +sed 's/^/| /' conftest.$ac_ext >&5
2310 # Broken: fails on valid input.
2313 @@ -1984,17 +2505,21 @@
2314 # OK, works on sane cases. Now check whether non-existent headers
2315 # can be detected and how.
2316 cat >conftest.$ac_ext <<_ACEOF
2317 -#line 1987 "configure"
2318 -#include "confdefs.h"
2319 +#line $LINENO "configure"
2322 +cat confdefs.h >>conftest.$ac_ext
2323 +cat >>conftest.$ac_ext <<_ACEOF
2324 +/* end confdefs.h. */
2325 #include <ac_nonexistent.h>
2327 -if { (eval echo "$as_me:1991: \"$ac_cpp conftest.$ac_ext\"") >&5
2328 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2329 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2331 - egrep -v '^ *\+' conftest.er1 >conftest.err
2332 + grep -v '^ *+' conftest.er1 >conftest.err
2334 cat conftest.err >&5
2335 - echo "$as_me:1997: \$? = $ac_status" >&5
2336 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2337 (exit $ac_status); } >/dev/null; then
2338 if test -s conftest.err; then
2339 ac_cpp_err=$ac_c_preproc_warn_flag
2340 @@ -2009,7 +2534,8 @@
2343 echo "$as_me: failed program was:" >&5
2344 - cat conftest.$ac_ext >&5
2345 +sed 's/^/| /' conftest.$ac_ext >&5
2347 # Passes both tests.
2350 @@ -2022,8 +2548,10 @@
2351 if $ac_preproc_ok; then
2354 - { { echo "$as_me:2025: error: C preprocessor \"$CPP\" fails sanity check" >&5
2355 -echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2356 + { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2357 +See \`config.log' for more details." >&5
2358 +echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2359 +See \`config.log' for more details." >&2;}
2360 { (exit 1); exit 1; }; }
2363 @@ -2033,55 +2561,82 @@
2364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2367 -echo "$as_me:2036: checking for ANSI C header files" >&5
2369 +echo "$as_me:$LINENO: checking for egrep" >&5
2370 +echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2371 +if test "${ac_cv_prog_egrep+set}" = set; then
2372 + echo $ECHO_N "(cached) $ECHO_C" >&6
2374 + if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2375 + then ac_cv_prog_egrep='grep -E'
2376 + else ac_cv_prog_egrep='egrep'
2379 +echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2380 +echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2381 + EGREP=$ac_cv_prog_egrep
2384 +echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2385 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2386 if test "${ac_cv_header_stdc+set}" = set; then
2387 echo $ECHO_N "(cached) $ECHO_C" >&6
2389 cat >conftest.$ac_ext <<_ACEOF
2390 -#line 2042 "configure"
2391 -#include "confdefs.h"
2392 +#line $LINENO "configure"
2395 +cat confdefs.h >>conftest.$ac_ext
2396 +cat >>conftest.$ac_ext <<_ACEOF
2397 +/* end confdefs.h. */
2411 -if { (eval echo "$as_me:2050: \"$ac_cpp conftest.$ac_ext\"") >&5
2412 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2413 +rm -f conftest.$ac_objext
2414 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2415 + (eval $ac_compile) 2>&5
2417 - egrep -v '^ *\+' conftest.er1 >conftest.err
2418 - rm -f conftest.er1
2419 - cat conftest.err >&5
2420 - echo "$as_me:2056: \$? = $ac_status" >&5
2421 - (exit $ac_status); } >/dev/null; then
2422 - if test -s conftest.err; then
2423 - ac_cpp_err=$ac_c_preproc_warn_flag
2430 -if test -z "$ac_cpp_err"; then
2431 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2432 + (exit $ac_status); } &&
2433 + { ac_try='test -s conftest.$ac_objext'
2434 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2435 + (eval $ac_try) 2>&5
2437 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2438 + (exit $ac_status); }; }; then
2439 ac_cv_header_stdc=yes
2441 echo "$as_me: failed program was:" >&5
2442 - cat conftest.$ac_ext >&5
2443 - ac_cv_header_stdc=no
2444 +sed 's/^/| /' conftest.$ac_ext >&5
2446 +ac_cv_header_stdc=no
2448 -rm -f conftest.err conftest.$ac_ext
2449 +rm -f conftest.$ac_objext conftest.$ac_ext
2451 if test $ac_cv_header_stdc = yes; then
2452 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2453 cat >conftest.$ac_ext <<_ACEOF
2454 -#line 2078 "configure"
2455 -#include "confdefs.h"
2456 +#line $LINENO "configure"
2459 +cat confdefs.h >>conftest.$ac_ext
2460 +cat >>conftest.$ac_ext <<_ACEOF
2461 +/* end confdefs.h. */
2465 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2466 - egrep "memchr" >/dev/null 2>&1; then
2467 + $EGREP "memchr" >/dev/null 2>&1; then
2470 ac_cv_header_stdc=no
2471 @@ -2093,13 +2648,17 @@
2472 if test $ac_cv_header_stdc = yes; then
2473 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2474 cat >conftest.$ac_ext <<_ACEOF
2475 -#line 2096 "configure"
2476 -#include "confdefs.h"
2477 +#line $LINENO "configure"
2480 +cat confdefs.h >>conftest.$ac_ext
2481 +cat >>conftest.$ac_ext <<_ACEOF
2482 +/* end confdefs.h. */
2486 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2487 - egrep "free" >/dev/null 2>&1; then
2488 + $EGREP "free" >/dev/null 2>&1; then
2491 ac_cv_header_stdc=no
2492 @@ -2114,14 +2673,19 @@
2495 cat >conftest.$ac_ext <<_ACEOF
2496 -#line 2117 "configure"
2497 -#include "confdefs.h"
2498 +#line $LINENO "configure"
2501 +cat confdefs.h >>conftest.$ac_ext
2502 +cat >>conftest.$ac_ext <<_ACEOF
2503 +/* end confdefs.h. */
2505 #if ((' ' & 0x0FF) == 0x020)
2506 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2507 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2509 -# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
2510 +# define ISLOWER(c) \
2511 + (('a' <= (c) && (c) <= 'i') \
2512 || ('j' <= (c) && (c) <= 'r') \
2513 || ('s' <= (c) && (c) <= 'z'))
2514 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2515 @@ -2140,92 +2704,114 @@
2518 rm -f conftest$ac_exeext
2519 -if { (eval echo "$as_me:2143: \"$ac_link\"") >&5
2520 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2521 (eval $ac_link) 2>&5
2523 - echo "$as_me:2146: \$? = $ac_status" >&5
2524 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2525 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2526 - { (eval echo "$as_me:2148: \"$ac_try\"") >&5
2527 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2530 - echo "$as_me:2151: \$? = $ac_status" >&5
2531 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2532 (exit $ac_status); }; }; then
2535 echo "$as_me: program exited with status $ac_status" >&5
2536 echo "$as_me: failed program was:" >&5
2537 -cat conftest.$ac_ext >&5
2538 +sed 's/^/| /' conftest.$ac_ext >&5
2540 +( exit $ac_status )
2541 ac_cv_header_stdc=no
2543 -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2544 +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2548 -echo "$as_me:2164: result: $ac_cv_header_stdc" >&5
2549 +echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
2550 echo "${ECHO_T}$ac_cv_header_stdc" >&6
2551 if test $ac_cv_header_stdc = yes; then
2553 -cat >>confdefs.h <<\EOF
2554 +cat >>confdefs.h <<\_ACEOF
2555 #define STDC_HEADERS 1
2561 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
2571 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
2572 inttypes.h stdint.h unistd.h
2574 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2575 -echo "$as_me:2180: checking for $ac_header" >&5
2576 +echo "$as_me:$LINENO: checking for $ac_header" >&5
2577 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2578 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2579 echo $ECHO_N "(cached) $ECHO_C" >&6
2581 cat >conftest.$ac_ext <<_ACEOF
2582 -#line 2186 "configure"
2583 -#include "confdefs.h"
2584 +#line $LINENO "configure"
2587 +cat confdefs.h >>conftest.$ac_ext
2588 +cat >>conftest.$ac_ext <<_ACEOF
2589 +/* end confdefs.h. */
2590 $ac_includes_default
2592 #include <$ac_header>
2594 rm -f conftest.$ac_objext
2595 -if { (eval echo "$as_me:2192: \"$ac_compile\"") >&5
2596 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2597 (eval $ac_compile) 2>&5
2599 - echo "$as_me:2195: \$? = $ac_status" >&5
2600 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2601 (exit $ac_status); } &&
2602 { ac_try='test -s conftest.$ac_objext'
2603 - { (eval echo "$as_me:2198: \"$ac_try\"") >&5
2604 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2607 - echo "$as_me:2201: \$? = $ac_status" >&5
2608 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2609 (exit $ac_status); }; }; then
2610 eval "$as_ac_Header=yes"
2612 echo "$as_me: failed program was:" >&5
2613 -cat conftest.$ac_ext >&5
2614 +sed 's/^/| /' conftest.$ac_ext >&5
2616 eval "$as_ac_Header=no"
2618 rm -f conftest.$ac_objext conftest.$ac_ext
2620 -echo "$as_me:2211: result: `eval echo '${'$as_ac_Header'}'`" >&5
2621 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2622 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2623 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2624 - cat >>confdefs.h <<EOF
2625 + cat >>confdefs.h <<_ACEOF
2626 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2634 -echo "$as_me:2221: checking for int" >&5
2636 +echo "$as_me:$LINENO: checking for int" >&5
2637 echo $ECHO_N "checking for int... $ECHO_C" >&6
2638 if test "${ac_cv_type_int+set}" = set; then
2639 echo $ECHO_N "(cached) $ECHO_C" >&6
2641 cat >conftest.$ac_ext <<_ACEOF
2642 -#line 2227 "configure"
2643 -#include "confdefs.h"
2644 +#line $LINENO "configure"
2647 +cat confdefs.h >>conftest.$ac_ext
2648 +cat >>conftest.$ac_ext <<_ACEOF
2649 +/* end confdefs.h. */
2650 $ac_includes_default
2653 @@ -2239,209 +2825,328 @@
2656 rm -f conftest.$ac_objext
2657 -if { (eval echo "$as_me:2242: \"$ac_compile\"") >&5
2658 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2659 (eval $ac_compile) 2>&5
2661 - echo "$as_me:2245: \$? = $ac_status" >&5
2662 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2663 (exit $ac_status); } &&
2664 { ac_try='test -s conftest.$ac_objext'
2665 - { (eval echo "$as_me:2248: \"$ac_try\"") >&5
2666 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2669 - echo "$as_me:2251: \$? = $ac_status" >&5
2670 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2671 (exit $ac_status); }; }; then
2674 echo "$as_me: failed program was:" >&5
2675 -cat conftest.$ac_ext >&5
2676 +sed 's/^/| /' conftest.$ac_ext >&5
2680 rm -f conftest.$ac_objext conftest.$ac_ext
2682 -echo "$as_me:2261: result: $ac_cv_type_int" >&5
2683 +echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
2684 echo "${ECHO_T}$ac_cv_type_int" >&6
2686 -echo "$as_me:2264: checking size of int" >&5
2687 +echo "$as_me:$LINENO: checking size of int" >&5
2688 echo $ECHO_N "checking size of int... $ECHO_C" >&6
2689 if test "${ac_cv_sizeof_int+set}" = set; then
2690 echo $ECHO_N "(cached) $ECHO_C" >&6
2692 if test "$ac_cv_type_int" = yes; then
2693 + # The cast to unsigned long works around a bug in the HP C Compiler
2694 + # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
2695 + # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
2696 + # This bug is HP SR number 8606223364.
2697 if test "$cross_compiling" = yes; then
2698 # Depending upon the size, compute the lo and hi bounds.
2699 cat >conftest.$ac_ext <<_ACEOF
2700 -#line 2273 "configure"
2701 -#include "confdefs.h"
2702 +#line $LINENO "configure"
2705 +cat confdefs.h >>conftest.$ac_ext
2706 +cat >>conftest.$ac_ext <<_ACEOF
2707 +/* end confdefs.h. */
2708 $ac_includes_default
2712 -int _array_ [1 - 2 * !((sizeof (int)) >= 0)]
2713 +static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
2720 rm -f conftest.$ac_objext
2721 -if { (eval echo "$as_me:2285: \"$ac_compile\"") >&5
2722 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2723 (eval $ac_compile) 2>&5
2725 - echo "$as_me:2288: \$? = $ac_status" >&5
2726 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2727 (exit $ac_status); } &&
2728 { ac_try='test -s conftest.$ac_objext'
2729 - { (eval echo "$as_me:2291: \"$ac_try\"") >&5
2730 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2733 - echo "$as_me:2294: \$? = $ac_status" >&5
2734 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2735 (exit $ac_status); }; }; then
2738 cat >conftest.$ac_ext <<_ACEOF
2739 -#line 2299 "configure"
2740 -#include "confdefs.h"
2741 +#line $LINENO "configure"
2744 +cat confdefs.h >>conftest.$ac_ext
2745 +cat >>conftest.$ac_ext <<_ACEOF
2746 +/* end confdefs.h. */
2747 $ac_includes_default
2751 -int _array_ [1 - 2 * !((sizeof (int)) <= $ac_mid)]
2752 +static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
2759 rm -f conftest.$ac_objext
2760 -if { (eval echo "$as_me:2311: \"$ac_compile\"") >&5
2761 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2762 (eval $ac_compile) 2>&5
2764 - echo "$as_me:2314: \$? = $ac_status" >&5
2765 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2766 (exit $ac_status); } &&
2767 { ac_try='test -s conftest.$ac_objext'
2768 - { (eval echo "$as_me:2317: \"$ac_try\"") >&5
2769 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2772 - echo "$as_me:2320: \$? = $ac_status" >&5
2773 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2774 (exit $ac_status); }; }; then
2775 ac_hi=$ac_mid; break
2777 echo "$as_me: failed program was:" >&5
2778 -cat conftest.$ac_ext >&5
2779 -ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1`
2780 +sed 's/^/| /' conftest.$ac_ext >&5
2782 +ac_lo=`expr $ac_mid + 1`
2783 + if test $ac_lo -le $ac_mid; then
2787 + ac_mid=`expr 2 '*' $ac_mid + 1`
2789 rm -f conftest.$ac_objext conftest.$ac_ext
2792 echo "$as_me: failed program was:" >&5
2793 -cat conftest.$ac_ext >&5
2795 +sed 's/^/| /' conftest.$ac_ext >&5
2797 +cat >conftest.$ac_ext <<_ACEOF
2798 +#line $LINENO "configure"
2801 +cat confdefs.h >>conftest.$ac_ext
2802 +cat >>conftest.$ac_ext <<_ACEOF
2803 +/* end confdefs.h. */
2804 +$ac_includes_default
2808 +static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
2815 +rm -f conftest.$ac_objext
2816 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2817 + (eval $ac_compile) 2>&5
2819 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2820 + (exit $ac_status); } &&
2821 + { ac_try='test -s conftest.$ac_objext'
2822 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2823 + (eval $ac_try) 2>&5
2825 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2826 + (exit $ac_status); }; }; then
2827 + ac_hi=-1 ac_mid=-1
2829 cat >conftest.$ac_ext <<_ACEOF
2830 -#line 2336 "configure"
2831 -#include "confdefs.h"
2832 +#line $LINENO "configure"
2835 +cat confdefs.h >>conftest.$ac_ext
2836 +cat >>conftest.$ac_ext <<_ACEOF
2837 +/* end confdefs.h. */
2838 $ac_includes_default
2842 -int _array_ [1 - 2 * !((sizeof (int)) >= $ac_mid)]
2843 +static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
2850 rm -f conftest.$ac_objext
2851 -if { (eval echo "$as_me:2348: \"$ac_compile\"") >&5
2852 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2853 (eval $ac_compile) 2>&5
2855 - echo "$as_me:2351: \$? = $ac_status" >&5
2856 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2857 (exit $ac_status); } &&
2858 { ac_try='test -s conftest.$ac_objext'
2859 - { (eval echo "$as_me:2354: \"$ac_try\"") >&5
2860 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2863 - echo "$as_me:2357: \$? = $ac_status" >&5
2864 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2865 (exit $ac_status); }; }; then
2866 ac_lo=$ac_mid; break
2868 echo "$as_me: failed program was:" >&5
2869 -cat conftest.$ac_ext >&5
2870 -ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid`
2871 +sed 's/^/| /' conftest.$ac_ext >&5
2873 +ac_hi=`expr '(' $ac_mid ')' - 1`
2874 + if test $ac_mid -le $ac_hi; then
2878 + ac_mid=`expr 2 '*' $ac_mid`
2880 rm -f conftest.$ac_objext conftest.$ac_ext
2883 + echo "$as_me: failed program was:" >&5
2884 +sed 's/^/| /' conftest.$ac_ext >&5
2888 +rm -f conftest.$ac_objext conftest.$ac_ext
2890 rm -f conftest.$ac_objext conftest.$ac_ext
2891 # Binary search between lo and hi bounds.
2892 while test "x$ac_lo" != "x$ac_hi"; do
2893 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
2894 cat >conftest.$ac_ext <<_ACEOF
2895 -#line 2373 "configure"
2896 -#include "confdefs.h"
2897 +#line $LINENO "configure"
2900 +cat confdefs.h >>conftest.$ac_ext
2901 +cat >>conftest.$ac_ext <<_ACEOF
2902 +/* end confdefs.h. */
2903 $ac_includes_default
2907 -int _array_ [1 - 2 * !((sizeof (int)) <= $ac_mid)]
2908 +static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
2915 rm -f conftest.$ac_objext
2916 -if { (eval echo "$as_me:2385: \"$ac_compile\"") >&5
2917 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2918 (eval $ac_compile) 2>&5
2920 - echo "$as_me:2388: \$? = $ac_status" >&5
2921 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2922 (exit $ac_status); } &&
2923 { ac_try='test -s conftest.$ac_objext'
2924 - { (eval echo "$as_me:2391: \"$ac_try\"") >&5
2925 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2928 - echo "$as_me:2394: \$? = $ac_status" >&5
2929 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2930 (exit $ac_status); }; }; then
2933 echo "$as_me: failed program was:" >&5
2934 -cat conftest.$ac_ext >&5
2935 -ac_lo=`expr $ac_mid + 1`
2936 +sed 's/^/| /' conftest.$ac_ext >&5
2938 +ac_lo=`expr '(' $ac_mid ')' + 1`
2940 rm -f conftest.$ac_objext conftest.$ac_ext
2942 -ac_cv_sizeof_int=$ac_lo
2944 +?*) ac_cv_sizeof_int=$ac_lo;;
2945 +'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
2946 +See \`config.log' for more details." >&5
2947 +echo "$as_me: error: cannot compute sizeof (int), 77
2948 +See \`config.log' for more details." >&2;}
2949 + { (exit 1); exit 1; }; } ;;
2952 if test "$cross_compiling" = yes; then
2953 - { { echo "$as_me:2407: error: cannot run test program while cross compiling" >&5
2954 -echo "$as_me: error: cannot run test program while cross compiling" >&2;}
2955 + { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
2956 +See \`config.log' for more details." >&5
2957 +echo "$as_me: error: cannot run test program while cross compiling
2958 +See \`config.log' for more details." >&2;}
2959 { (exit 1); exit 1; }; }
2961 cat >conftest.$ac_ext <<_ACEOF
2962 -#line 2412 "configure"
2963 -#include "confdefs.h"
2964 +#line $LINENO "configure"
2967 +cat confdefs.h >>conftest.$ac_ext
2968 +cat >>conftest.$ac_ext <<_ACEOF
2969 +/* end confdefs.h. */
2970 $ac_includes_default
2971 +long longval () { return (long) (sizeof (int)); }
2972 +unsigned long ulongval () { return (long) (sizeof (int)); }
2974 +#include <stdlib.h>
2978 -FILE *f = fopen ("conftest.val", "w");
2981 -fprintf (f, "%d", (sizeof (int)));
2984 + FILE *f = fopen ("conftest.val", "w");
2987 + if (((long) (sizeof (int))) < 0)
2989 + long i = longval ();
2990 + if (i != ((long) (sizeof (int))))
2992 + fprintf (f, "%ld\n", i);
2996 + unsigned long i = ulongval ();
2997 + if (i != ((long) (sizeof (int))))
2999 + fprintf (f, "%lu\n", i);
3001 + exit (ferror (f) || fclose (f) != 0);
3007 rm -f conftest$ac_exeext
3008 -if { (eval echo "$as_me:2428: \"$ac_link\"") >&5
3009 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3010 (eval $ac_link) 2>&5
3012 - echo "$as_me:2431: \$? = $ac_status" >&5
3013 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3014 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3015 - { (eval echo "$as_me:2433: \"$ac_try\"") >&5
3016 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3019 - echo "$as_me:2436: \$? = $ac_status" >&5
3020 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3021 (exit $ac_status); }; }; then
3022 ac_cv_sizeof_int=`cat conftest.val`
3024 echo "$as_me: program exited with status $ac_status" >&5
3025 echo "$as_me: failed program was:" >&5
3026 -cat conftest.$ac_ext >&5
3027 +sed 's/^/| /' conftest.$ac_ext >&5
3029 +( exit $ac_status )
3030 +{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
3031 +See \`config.log' for more details." >&5
3032 +echo "$as_me: error: cannot compute sizeof (int), 77
3033 +See \`config.log' for more details." >&2;}
3034 + { (exit 1); exit 1; }; }
3036 -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3037 +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3041 @@ -2449,20 +3154,25 @@
3045 -echo "$as_me:2452: result: $ac_cv_sizeof_int" >&5
3046 +echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
3047 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
3048 -cat >>confdefs.h <<EOF
3049 +cat >>confdefs.h <<_ACEOF
3050 #define SIZEOF_INT $ac_cv_sizeof_int
3054 -echo "$as_me:2458: checking for long" >&5
3056 +echo "$as_me:$LINENO: checking for long" >&5
3057 echo $ECHO_N "checking for long... $ECHO_C" >&6
3058 if test "${ac_cv_type_long+set}" = set; then
3059 echo $ECHO_N "(cached) $ECHO_C" >&6
3061 cat >conftest.$ac_ext <<_ACEOF
3062 -#line 2464 "configure"
3063 -#include "confdefs.h"
3064 +#line $LINENO "configure"
3067 +cat confdefs.h >>conftest.$ac_ext
3068 +cat >>conftest.$ac_ext <<_ACEOF
3069 +/* end confdefs.h. */
3070 $ac_includes_default
3073 @@ -2476,209 +3186,328 @@
3076 rm -f conftest.$ac_objext
3077 -if { (eval echo "$as_me:2479: \"$ac_compile\"") >&5
3078 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3079 (eval $ac_compile) 2>&5
3081 - echo "$as_me:2482: \$? = $ac_status" >&5
3082 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3083 (exit $ac_status); } &&
3084 { ac_try='test -s conftest.$ac_objext'
3085 - { (eval echo "$as_me:2485: \"$ac_try\"") >&5
3086 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3089 - echo "$as_me:2488: \$? = $ac_status" >&5
3090 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3091 (exit $ac_status); }; }; then
3094 echo "$as_me: failed program was:" >&5
3095 -cat conftest.$ac_ext >&5
3096 +sed 's/^/| /' conftest.$ac_ext >&5
3100 rm -f conftest.$ac_objext conftest.$ac_ext
3102 -echo "$as_me:2498: result: $ac_cv_type_long" >&5
3103 +echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
3104 echo "${ECHO_T}$ac_cv_type_long" >&6
3106 -echo "$as_me:2501: checking size of long" >&5
3107 +echo "$as_me:$LINENO: checking size of long" >&5
3108 echo $ECHO_N "checking size of long... $ECHO_C" >&6
3109 if test "${ac_cv_sizeof_long+set}" = set; then
3110 echo $ECHO_N "(cached) $ECHO_C" >&6
3112 if test "$ac_cv_type_long" = yes; then
3113 + # The cast to unsigned long works around a bug in the HP C Compiler
3114 + # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
3115 + # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
3116 + # This bug is HP SR number 8606223364.
3117 if test "$cross_compiling" = yes; then
3118 # Depending upon the size, compute the lo and hi bounds.
3119 cat >conftest.$ac_ext <<_ACEOF
3120 -#line 2510 "configure"
3121 -#include "confdefs.h"
3122 +#line $LINENO "configure"
3125 +cat confdefs.h >>conftest.$ac_ext
3126 +cat >>conftest.$ac_ext <<_ACEOF
3127 +/* end confdefs.h. */
3128 $ac_includes_default
3132 -int _array_ [1 - 2 * !((sizeof (long)) >= 0)]
3133 +static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
3140 rm -f conftest.$ac_objext
3141 -if { (eval echo "$as_me:2522: \"$ac_compile\"") >&5
3142 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3143 (eval $ac_compile) 2>&5
3145 - echo "$as_me:2525: \$? = $ac_status" >&5
3146 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3147 (exit $ac_status); } &&
3148 { ac_try='test -s conftest.$ac_objext'
3149 - { (eval echo "$as_me:2528: \"$ac_try\"") >&5
3150 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3153 - echo "$as_me:2531: \$? = $ac_status" >&5
3154 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3155 (exit $ac_status); }; }; then
3158 cat >conftest.$ac_ext <<_ACEOF
3159 -#line 2536 "configure"
3160 -#include "confdefs.h"
3161 +#line $LINENO "configure"
3164 +cat confdefs.h >>conftest.$ac_ext
3165 +cat >>conftest.$ac_ext <<_ACEOF
3166 +/* end confdefs.h. */
3167 $ac_includes_default
3171 -int _array_ [1 - 2 * !((sizeof (long)) <= $ac_mid)]
3172 +static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
3179 rm -f conftest.$ac_objext
3180 -if { (eval echo "$as_me:2548: \"$ac_compile\"") >&5
3181 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3182 (eval $ac_compile) 2>&5
3184 - echo "$as_me:2551: \$? = $ac_status" >&5
3185 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3186 (exit $ac_status); } &&
3187 { ac_try='test -s conftest.$ac_objext'
3188 - { (eval echo "$as_me:2554: \"$ac_try\"") >&5
3189 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3192 - echo "$as_me:2557: \$? = $ac_status" >&5
3193 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3194 (exit $ac_status); }; }; then
3195 ac_hi=$ac_mid; break
3197 echo "$as_me: failed program was:" >&5
3198 -cat conftest.$ac_ext >&5
3199 -ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1`
3200 +sed 's/^/| /' conftest.$ac_ext >&5
3202 +ac_lo=`expr $ac_mid + 1`
3203 + if test $ac_lo -le $ac_mid; then
3207 + ac_mid=`expr 2 '*' $ac_mid + 1`
3209 rm -f conftest.$ac_objext conftest.$ac_ext
3212 echo "$as_me: failed program was:" >&5
3213 -cat conftest.$ac_ext >&5
3215 +sed 's/^/| /' conftest.$ac_ext >&5
3217 +cat >conftest.$ac_ext <<_ACEOF
3218 +#line $LINENO "configure"
3221 +cat confdefs.h >>conftest.$ac_ext
3222 +cat >>conftest.$ac_ext <<_ACEOF
3223 +/* end confdefs.h. */
3224 +$ac_includes_default
3228 +static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
3235 +rm -f conftest.$ac_objext
3236 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3237 + (eval $ac_compile) 2>&5
3239 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3240 + (exit $ac_status); } &&
3241 + { ac_try='test -s conftest.$ac_objext'
3242 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3243 + (eval $ac_try) 2>&5
3245 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3246 + (exit $ac_status); }; }; then
3247 + ac_hi=-1 ac_mid=-1
3249 cat >conftest.$ac_ext <<_ACEOF
3250 -#line 2573 "configure"
3251 -#include "confdefs.h"
3252 +#line $LINENO "configure"
3255 +cat confdefs.h >>conftest.$ac_ext
3256 +cat >>conftest.$ac_ext <<_ACEOF
3257 +/* end confdefs.h. */
3258 $ac_includes_default
3262 -int _array_ [1 - 2 * !((sizeof (long)) >= $ac_mid)]
3263 +static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
3270 rm -f conftest.$ac_objext
3271 -if { (eval echo "$as_me:2585: \"$ac_compile\"") >&5
3272 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3273 (eval $ac_compile) 2>&5
3275 - echo "$as_me:2588: \$? = $ac_status" >&5
3276 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3277 (exit $ac_status); } &&
3278 { ac_try='test -s conftest.$ac_objext'
3279 - { (eval echo "$as_me:2591: \"$ac_try\"") >&5
3280 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3283 - echo "$as_me:2594: \$? = $ac_status" >&5
3284 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3285 (exit $ac_status); }; }; then
3286 ac_lo=$ac_mid; break
3288 echo "$as_me: failed program was:" >&5
3289 -cat conftest.$ac_ext >&5
3290 -ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid`
3291 +sed 's/^/| /' conftest.$ac_ext >&5
3293 +ac_hi=`expr '(' $ac_mid ')' - 1`
3294 + if test $ac_mid -le $ac_hi; then
3298 + ac_mid=`expr 2 '*' $ac_mid`
3300 rm -f conftest.$ac_objext conftest.$ac_ext
3303 + echo "$as_me: failed program was:" >&5
3304 +sed 's/^/| /' conftest.$ac_ext >&5
3308 +rm -f conftest.$ac_objext conftest.$ac_ext
3310 rm -f conftest.$ac_objext conftest.$ac_ext
3311 # Binary search between lo and hi bounds.
3312 while test "x$ac_lo" != "x$ac_hi"; do
3313 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
3314 cat >conftest.$ac_ext <<_ACEOF
3315 -#line 2610 "configure"
3316 -#include "confdefs.h"
3317 +#line $LINENO "configure"
3320 +cat confdefs.h >>conftest.$ac_ext
3321 +cat >>conftest.$ac_ext <<_ACEOF
3322 +/* end confdefs.h. */
3323 $ac_includes_default
3327 -int _array_ [1 - 2 * !((sizeof (long)) <= $ac_mid)]
3328 +static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
3335 rm -f conftest.$ac_objext
3336 -if { (eval echo "$as_me:2622: \"$ac_compile\"") >&5
3337 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3338 (eval $ac_compile) 2>&5
3340 - echo "$as_me:2625: \$? = $ac_status" >&5
3341 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3342 (exit $ac_status); } &&
3343 { ac_try='test -s conftest.$ac_objext'
3344 - { (eval echo "$as_me:2628: \"$ac_try\"") >&5
3345 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3348 - echo "$as_me:2631: \$? = $ac_status" >&5
3349 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3350 (exit $ac_status); }; }; then
3353 echo "$as_me: failed program was:" >&5
3354 -cat conftest.$ac_ext >&5
3355 -ac_lo=`expr $ac_mid + 1`
3356 +sed 's/^/| /' conftest.$ac_ext >&5
3358 +ac_lo=`expr '(' $ac_mid ')' + 1`
3360 rm -f conftest.$ac_objext conftest.$ac_ext
3362 -ac_cv_sizeof_long=$ac_lo
3364 +?*) ac_cv_sizeof_long=$ac_lo;;
3365 +'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
3366 +See \`config.log' for more details." >&5
3367 +echo "$as_me: error: cannot compute sizeof (long), 77
3368 +See \`config.log' for more details." >&2;}
3369 + { (exit 1); exit 1; }; } ;;
3372 if test "$cross_compiling" = yes; then
3373 - { { echo "$as_me:2644: error: cannot run test program while cross compiling" >&5
3374 -echo "$as_me: error: cannot run test program while cross compiling" >&2;}
3375 + { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
3376 +See \`config.log' for more details." >&5
3377 +echo "$as_me: error: cannot run test program while cross compiling
3378 +See \`config.log' for more details." >&2;}
3379 { (exit 1); exit 1; }; }
3381 cat >conftest.$ac_ext <<_ACEOF
3382 -#line 2649 "configure"
3383 -#include "confdefs.h"
3384 +#line $LINENO "configure"
3387 +cat confdefs.h >>conftest.$ac_ext
3388 +cat >>conftest.$ac_ext <<_ACEOF
3389 +/* end confdefs.h. */
3390 $ac_includes_default
3391 +long longval () { return (long) (sizeof (long)); }
3392 +unsigned long ulongval () { return (long) (sizeof (long)); }
3394 +#include <stdlib.h>
3398 -FILE *f = fopen ("conftest.val", "w");
3401 -fprintf (f, "%d", (sizeof (long)));
3404 + FILE *f = fopen ("conftest.val", "w");
3407 + if (((long) (sizeof (long))) < 0)
3409 + long i = longval ();
3410 + if (i != ((long) (sizeof (long))))
3412 + fprintf (f, "%ld\n", i);
3416 + unsigned long i = ulongval ();
3417 + if (i != ((long) (sizeof (long))))
3419 + fprintf (f, "%lu\n", i);
3421 + exit (ferror (f) || fclose (f) != 0);
3427 rm -f conftest$ac_exeext
3428 -if { (eval echo "$as_me:2665: \"$ac_link\"") >&5
3429 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3430 (eval $ac_link) 2>&5
3432 - echo "$as_me:2668: \$? = $ac_status" >&5
3433 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3434 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3435 - { (eval echo "$as_me:2670: \"$ac_try\"") >&5
3436 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3439 - echo "$as_me:2673: \$? = $ac_status" >&5
3440 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3441 (exit $ac_status); }; }; then
3442 ac_cv_sizeof_long=`cat conftest.val`
3444 echo "$as_me: program exited with status $ac_status" >&5
3445 echo "$as_me: failed program was:" >&5
3446 -cat conftest.$ac_ext >&5
3447 +sed 's/^/| /' conftest.$ac_ext >&5
3449 +( exit $ac_status )
3450 +{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
3451 +See \`config.log' for more details." >&5
3452 +echo "$as_me: error: cannot compute sizeof (long), 77
3453 +See \`config.log' for more details." >&2;}
3454 + { (exit 1); exit 1; }; }
3456 -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3457 +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3461 @@ -2686,20 +3515,25 @@
3465 -echo "$as_me:2689: result: $ac_cv_sizeof_long" >&5
3466 +echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
3467 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
3468 -cat >>confdefs.h <<EOF
3469 +cat >>confdefs.h <<_ACEOF
3470 #define SIZEOF_LONG $ac_cv_sizeof_long
3474 -echo "$as_me:2695: checking for void *" >&5
3476 +echo "$as_me:$LINENO: checking for void *" >&5
3477 echo $ECHO_N "checking for void *... $ECHO_C" >&6
3478 if test "${ac_cv_type_void_p+set}" = set; then
3479 echo $ECHO_N "(cached) $ECHO_C" >&6
3481 cat >conftest.$ac_ext <<_ACEOF
3482 -#line 2701 "configure"
3483 -#include "confdefs.h"
3484 +#line $LINENO "configure"
3487 +cat confdefs.h >>conftest.$ac_ext
3488 +cat >>conftest.$ac_ext <<_ACEOF
3489 +/* end confdefs.h. */
3490 $ac_includes_default
3493 @@ -2713,209 +3547,328 @@
3496 rm -f conftest.$ac_objext
3497 -if { (eval echo "$as_me:2716: \"$ac_compile\"") >&5
3498 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3499 (eval $ac_compile) 2>&5
3501 - echo "$as_me:2719: \$? = $ac_status" >&5
3502 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3503 (exit $ac_status); } &&
3504 { ac_try='test -s conftest.$ac_objext'
3505 - { (eval echo "$as_me:2722: \"$ac_try\"") >&5
3506 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3509 - echo "$as_me:2725: \$? = $ac_status" >&5
3510 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3511 (exit $ac_status); }; }; then
3512 ac_cv_type_void_p=yes
3514 echo "$as_me: failed program was:" >&5
3515 -cat conftest.$ac_ext >&5
3516 +sed 's/^/| /' conftest.$ac_ext >&5
3518 ac_cv_type_void_p=no
3520 rm -f conftest.$ac_objext conftest.$ac_ext
3522 -echo "$as_me:2735: result: $ac_cv_type_void_p" >&5
3523 +echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
3524 echo "${ECHO_T}$ac_cv_type_void_p" >&6
3526 -echo "$as_me:2738: checking size of void *" >&5
3527 +echo "$as_me:$LINENO: checking size of void *" >&5
3528 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
3529 if test "${ac_cv_sizeof_void_p+set}" = set; then
3530 echo $ECHO_N "(cached) $ECHO_C" >&6
3532 if test "$ac_cv_type_void_p" = yes; then
3533 + # The cast to unsigned long works around a bug in the HP C Compiler
3534 + # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
3535 + # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
3536 + # This bug is HP SR number 8606223364.
3537 if test "$cross_compiling" = yes; then
3538 # Depending upon the size, compute the lo and hi bounds.
3539 cat >conftest.$ac_ext <<_ACEOF
3540 -#line 2747 "configure"
3541 -#include "confdefs.h"
3542 +#line $LINENO "configure"
3545 +cat confdefs.h >>conftest.$ac_ext
3546 +cat >>conftest.$ac_ext <<_ACEOF
3547 +/* end confdefs.h. */
3548 $ac_includes_default
3552 -int _array_ [1 - 2 * !((sizeof (void *)) >= 0)]
3553 +static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
3560 rm -f conftest.$ac_objext
3561 -if { (eval echo "$as_me:2759: \"$ac_compile\"") >&5
3562 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3563 (eval $ac_compile) 2>&5
3565 - echo "$as_me:2762: \$? = $ac_status" >&5
3566 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3567 (exit $ac_status); } &&
3568 { ac_try='test -s conftest.$ac_objext'
3569 - { (eval echo "$as_me:2765: \"$ac_try\"") >&5
3570 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3573 - echo "$as_me:2768: \$? = $ac_status" >&5
3574 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3575 (exit $ac_status); }; }; then
3578 cat >conftest.$ac_ext <<_ACEOF
3579 -#line 2773 "configure"
3580 -#include "confdefs.h"
3581 +#line $LINENO "configure"
3584 +cat confdefs.h >>conftest.$ac_ext
3585 +cat >>conftest.$ac_ext <<_ACEOF
3586 +/* end confdefs.h. */
3587 $ac_includes_default
3591 -int _array_ [1 - 2 * !((sizeof (void *)) <= $ac_mid)]
3592 +static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
3599 rm -f conftest.$ac_objext
3600 -if { (eval echo "$as_me:2785: \"$ac_compile\"") >&5
3601 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3602 (eval $ac_compile) 2>&5
3604 - echo "$as_me:2788: \$? = $ac_status" >&5
3605 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3606 (exit $ac_status); } &&
3607 { ac_try='test -s conftest.$ac_objext'
3608 - { (eval echo "$as_me:2791: \"$ac_try\"") >&5
3609 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3612 - echo "$as_me:2794: \$? = $ac_status" >&5
3613 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3614 (exit $ac_status); }; }; then
3615 ac_hi=$ac_mid; break
3617 echo "$as_me: failed program was:" >&5
3618 -cat conftest.$ac_ext >&5
3619 -ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1`
3620 +sed 's/^/| /' conftest.$ac_ext >&5
3622 +ac_lo=`expr $ac_mid + 1`
3623 + if test $ac_lo -le $ac_mid; then
3627 + ac_mid=`expr 2 '*' $ac_mid + 1`
3629 rm -f conftest.$ac_objext conftest.$ac_ext
3632 echo "$as_me: failed program was:" >&5
3633 -cat conftest.$ac_ext >&5
3635 +sed 's/^/| /' conftest.$ac_ext >&5
3637 +cat >conftest.$ac_ext <<_ACEOF
3638 +#line $LINENO "configure"
3641 +cat confdefs.h >>conftest.$ac_ext
3642 +cat >>conftest.$ac_ext <<_ACEOF
3643 +/* end confdefs.h. */
3644 +$ac_includes_default
3648 +static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
3655 +rm -f conftest.$ac_objext
3656 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3657 + (eval $ac_compile) 2>&5
3659 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3660 + (exit $ac_status); } &&
3661 + { ac_try='test -s conftest.$ac_objext'
3662 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3663 + (eval $ac_try) 2>&5
3665 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3666 + (exit $ac_status); }; }; then
3667 + ac_hi=-1 ac_mid=-1
3669 cat >conftest.$ac_ext <<_ACEOF
3670 -#line 2810 "configure"
3671 -#include "confdefs.h"
3672 +#line $LINENO "configure"
3675 +cat confdefs.h >>conftest.$ac_ext
3676 +cat >>conftest.$ac_ext <<_ACEOF
3677 +/* end confdefs.h. */
3678 $ac_includes_default
3682 -int _array_ [1 - 2 * !((sizeof (void *)) >= $ac_mid)]
3683 +static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
3690 rm -f conftest.$ac_objext
3691 -if { (eval echo "$as_me:2822: \"$ac_compile\"") >&5
3692 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3693 (eval $ac_compile) 2>&5
3695 - echo "$as_me:2825: \$? = $ac_status" >&5
3696 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3697 (exit $ac_status); } &&
3698 { ac_try='test -s conftest.$ac_objext'
3699 - { (eval echo "$as_me:2828: \"$ac_try\"") >&5
3700 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3703 - echo "$as_me:2831: \$? = $ac_status" >&5
3704 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3705 (exit $ac_status); }; }; then
3706 ac_lo=$ac_mid; break
3708 echo "$as_me: failed program was:" >&5
3709 -cat conftest.$ac_ext >&5
3710 -ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid`
3711 +sed 's/^/| /' conftest.$ac_ext >&5
3713 +ac_hi=`expr '(' $ac_mid ')' - 1`
3714 + if test $ac_mid -le $ac_hi; then
3718 + ac_mid=`expr 2 '*' $ac_mid`
3720 rm -f conftest.$ac_objext conftest.$ac_ext
3723 + echo "$as_me: failed program was:" >&5
3724 +sed 's/^/| /' conftest.$ac_ext >&5
3728 +rm -f conftest.$ac_objext conftest.$ac_ext
3730 rm -f conftest.$ac_objext conftest.$ac_ext
3731 # Binary search between lo and hi bounds.
3732 while test "x$ac_lo" != "x$ac_hi"; do
3733 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
3734 cat >conftest.$ac_ext <<_ACEOF
3735 -#line 2847 "configure"
3736 -#include "confdefs.h"
3737 +#line $LINENO "configure"
3740 +cat confdefs.h >>conftest.$ac_ext
3741 +cat >>conftest.$ac_ext <<_ACEOF
3742 +/* end confdefs.h. */
3743 $ac_includes_default
3747 -int _array_ [1 - 2 * !((sizeof (void *)) <= $ac_mid)]
3748 +static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
3755 rm -f conftest.$ac_objext
3756 -if { (eval echo "$as_me:2859: \"$ac_compile\"") >&5
3757 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3758 (eval $ac_compile) 2>&5
3760 - echo "$as_me:2862: \$? = $ac_status" >&5
3761 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3762 (exit $ac_status); } &&
3763 { ac_try='test -s conftest.$ac_objext'
3764 - { (eval echo "$as_me:2865: \"$ac_try\"") >&5
3765 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3768 - echo "$as_me:2868: \$? = $ac_status" >&5
3769 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3770 (exit $ac_status); }; }; then
3773 echo "$as_me: failed program was:" >&5
3774 -cat conftest.$ac_ext >&5
3775 -ac_lo=`expr $ac_mid + 1`
3776 +sed 's/^/| /' conftest.$ac_ext >&5
3778 +ac_lo=`expr '(' $ac_mid ')' + 1`
3780 rm -f conftest.$ac_objext conftest.$ac_ext
3782 -ac_cv_sizeof_void_p=$ac_lo
3784 +?*) ac_cv_sizeof_void_p=$ac_lo;;
3785 +'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
3786 +See \`config.log' for more details." >&5
3787 +echo "$as_me: error: cannot compute sizeof (void *), 77
3788 +See \`config.log' for more details." >&2;}
3789 + { (exit 1); exit 1; }; } ;;
3792 if test "$cross_compiling" = yes; then
3793 - { { echo "$as_me:2881: error: cannot run test program while cross compiling" >&5
3794 -echo "$as_me: error: cannot run test program while cross compiling" >&2;}
3795 + { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
3796 +See \`config.log' for more details." >&5
3797 +echo "$as_me: error: cannot run test program while cross compiling
3798 +See \`config.log' for more details." >&2;}
3799 { (exit 1); exit 1; }; }
3801 cat >conftest.$ac_ext <<_ACEOF
3802 -#line 2886 "configure"
3803 -#include "confdefs.h"
3804 +#line $LINENO "configure"
3807 +cat confdefs.h >>conftest.$ac_ext
3808 +cat >>conftest.$ac_ext <<_ACEOF
3809 +/* end confdefs.h. */
3810 $ac_includes_default
3811 +long longval () { return (long) (sizeof (void *)); }
3812 +unsigned long ulongval () { return (long) (sizeof (void *)); }
3814 +#include <stdlib.h>
3818 -FILE *f = fopen ("conftest.val", "w");
3821 -fprintf (f, "%d", (sizeof (void *)));
3824 + FILE *f = fopen ("conftest.val", "w");
3827 + if (((long) (sizeof (void *))) < 0)
3829 + long i = longval ();
3830 + if (i != ((long) (sizeof (void *))))
3832 + fprintf (f, "%ld\n", i);
3836 + unsigned long i = ulongval ();
3837 + if (i != ((long) (sizeof (void *))))
3839 + fprintf (f, "%lu\n", i);
3841 + exit (ferror (f) || fclose (f) != 0);
3847 rm -f conftest$ac_exeext
3848 -if { (eval echo "$as_me:2902: \"$ac_link\"") >&5
3849 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3850 (eval $ac_link) 2>&5
3852 - echo "$as_me:2905: \$? = $ac_status" >&5
3853 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3854 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3855 - { (eval echo "$as_me:2907: \"$ac_try\"") >&5
3856 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3859 - echo "$as_me:2910: \$? = $ac_status" >&5
3860 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3861 (exit $ac_status); }; }; then
3862 ac_cv_sizeof_void_p=`cat conftest.val`
3864 echo "$as_me: program exited with status $ac_status" >&5
3865 echo "$as_me: failed program was:" >&5
3866 -cat conftest.$ac_ext >&5
3867 +sed 's/^/| /' conftest.$ac_ext >&5
3869 +( exit $ac_status )
3870 +{ { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
3871 +See \`config.log' for more details." >&5
3872 +echo "$as_me: error: cannot compute sizeof (void *), 77
3873 +See \`config.log' for more details." >&2;}
3874 + { (exit 1); exit 1; }; }
3876 -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3877 +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3881 @@ -2923,20 +3876,26 @@
3882 ac_cv_sizeof_void_p=0
3885 -echo "$as_me:2926: result: $ac_cv_sizeof_void_p" >&5
3886 +echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
3887 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
3888 -cat >>confdefs.h <<EOF
3889 +cat >>confdefs.h <<_ACEOF
3890 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
3894 -echo "$as_me:2932: checking for size_t" >&5
3897 +echo "$as_me:$LINENO: checking for size_t" >&5
3898 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
3899 if test "${ac_cv_type_size_t+set}" = set; then
3900 echo $ECHO_N "(cached) $ECHO_C" >&6
3902 cat >conftest.$ac_ext <<_ACEOF
3903 -#line 2938 "configure"
3904 -#include "confdefs.h"
3905 +#line $LINENO "configure"
3908 +cat confdefs.h >>conftest.$ac_ext
3909 +cat >>conftest.$ac_ext <<_ACEOF
3910 +/* end confdefs.h. */
3911 $ac_includes_default
3914 @@ -2950,45 +3909,50 @@
3917 rm -f conftest.$ac_objext
3918 -if { (eval echo "$as_me:2953: \"$ac_compile\"") >&5
3919 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3920 (eval $ac_compile) 2>&5
3922 - echo "$as_me:2956: \$? = $ac_status" >&5
3923 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3924 (exit $ac_status); } &&
3925 { ac_try='test -s conftest.$ac_objext'
3926 - { (eval echo "$as_me:2959: \"$ac_try\"") >&5
3927 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3930 - echo "$as_me:2962: \$? = $ac_status" >&5
3931 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3932 (exit $ac_status); }; }; then
3933 ac_cv_type_size_t=yes
3935 echo "$as_me: failed program was:" >&5
3936 -cat conftest.$ac_ext >&5
3937 +sed 's/^/| /' conftest.$ac_ext >&5
3939 ac_cv_type_size_t=no
3941 rm -f conftest.$ac_objext conftest.$ac_ext
3943 -echo "$as_me:2972: result: $ac_cv_type_size_t" >&5
3944 +echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
3945 echo "${ECHO_T}$ac_cv_type_size_t" >&6
3946 if test $ac_cv_type_size_t = yes; then
3950 -cat >>confdefs.h <<EOF
3951 +cat >>confdefs.h <<_ACEOF
3952 #define size_t unsigned int
3958 -echo "$as_me:2984: checking for off_t" >&5
3959 +echo "$as_me:$LINENO: checking for off_t" >&5
3960 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
3961 if test "${ac_cv_type_off_t+set}" = set; then
3962 echo $ECHO_N "(cached) $ECHO_C" >&6
3964 cat >conftest.$ac_ext <<_ACEOF
3965 -#line 2990 "configure"
3966 -#include "confdefs.h"
3967 +#line $LINENO "configure"
3970 +cat confdefs.h >>conftest.$ac_ext
3971 +cat >>conftest.$ac_ext <<_ACEOF
3972 +/* end confdefs.h. */
3973 $ac_includes_default
3976 @@ -3002,86 +3966,99 @@
3979 rm -f conftest.$ac_objext
3980 -if { (eval echo "$as_me:3005: \"$ac_compile\"") >&5
3981 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3982 (eval $ac_compile) 2>&5
3984 - echo "$as_me:3008: \$? = $ac_status" >&5
3985 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3986 (exit $ac_status); } &&
3987 { ac_try='test -s conftest.$ac_objext'
3988 - { (eval echo "$as_me:3011: \"$ac_try\"") >&5
3989 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3992 - echo "$as_me:3014: \$? = $ac_status" >&5
3993 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3994 (exit $ac_status); }; }; then
3995 ac_cv_type_off_t=yes
3997 echo "$as_me: failed program was:" >&5
3998 -cat conftest.$ac_ext >&5
3999 +sed 's/^/| /' conftest.$ac_ext >&5
4003 rm -f conftest.$ac_objext conftest.$ac_ext
4005 -echo "$as_me:3024: result: $ac_cv_type_off_t" >&5
4006 +echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
4007 echo "${ECHO_T}$ac_cv_type_off_t" >&6
4008 if test $ac_cv_type_off_t = yes; then
4012 -cat >>confdefs.h <<EOF
4013 +cat >>confdefs.h <<_ACEOF
4020 -echo "$as_me:3036: checking for ANSI C header files" >&5
4022 +echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4023 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4024 if test "${ac_cv_header_stdc+set}" = set; then
4025 echo $ECHO_N "(cached) $ECHO_C" >&6
4027 cat >conftest.$ac_ext <<_ACEOF
4028 -#line 3042 "configure"
4029 -#include "confdefs.h"
4030 +#line $LINENO "configure"
4033 +cat confdefs.h >>conftest.$ac_ext
4034 +cat >>conftest.$ac_ext <<_ACEOF
4035 +/* end confdefs.h. */
4049 -if { (eval echo "$as_me:3050: \"$ac_cpp conftest.$ac_ext\"") >&5
4050 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4051 +rm -f conftest.$ac_objext
4052 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4053 + (eval $ac_compile) 2>&5
4055 - egrep -v '^ *\+' conftest.er1 >conftest.err
4056 - rm -f conftest.er1
4057 - cat conftest.err >&5
4058 - echo "$as_me:3056: \$? = $ac_status" >&5
4059 - (exit $ac_status); } >/dev/null; then
4060 - if test -s conftest.err; then
4061 - ac_cpp_err=$ac_c_preproc_warn_flag
4068 -if test -z "$ac_cpp_err"; then
4069 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4070 + (exit $ac_status); } &&
4071 + { ac_try='test -s conftest.$ac_objext'
4072 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4073 + (eval $ac_try) 2>&5
4075 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4076 + (exit $ac_status); }; }; then
4077 ac_cv_header_stdc=yes
4079 echo "$as_me: failed program was:" >&5
4080 - cat conftest.$ac_ext >&5
4081 - ac_cv_header_stdc=no
4082 +sed 's/^/| /' conftest.$ac_ext >&5
4084 +ac_cv_header_stdc=no
4086 -rm -f conftest.err conftest.$ac_ext
4087 +rm -f conftest.$ac_objext conftest.$ac_ext
4089 if test $ac_cv_header_stdc = yes; then
4090 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4091 cat >conftest.$ac_ext <<_ACEOF
4092 -#line 3078 "configure"
4093 -#include "confdefs.h"
4094 +#line $LINENO "configure"
4097 +cat confdefs.h >>conftest.$ac_ext
4098 +cat >>conftest.$ac_ext <<_ACEOF
4099 +/* end confdefs.h. */
4103 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4104 - egrep "memchr" >/dev/null 2>&1; then
4105 + $EGREP "memchr" >/dev/null 2>&1; then
4108 ac_cv_header_stdc=no
4109 @@ -3093,13 +4070,17 @@
4110 if test $ac_cv_header_stdc = yes; then
4111 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4112 cat >conftest.$ac_ext <<_ACEOF
4113 -#line 3096 "configure"
4114 -#include "confdefs.h"
4115 +#line $LINENO "configure"
4118 +cat confdefs.h >>conftest.$ac_ext
4119 +cat >>conftest.$ac_ext <<_ACEOF
4120 +/* end confdefs.h. */
4124 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4125 - egrep "free" >/dev/null 2>&1; then
4126 + $EGREP "free" >/dev/null 2>&1; then
4129 ac_cv_header_stdc=no
4130 @@ -3114,14 +4095,19 @@
4133 cat >conftest.$ac_ext <<_ACEOF
4134 -#line 3117 "configure"
4135 -#include "confdefs.h"
4136 +#line $LINENO "configure"
4139 +cat confdefs.h >>conftest.$ac_ext
4140 +cat >>conftest.$ac_ext <<_ACEOF
4141 +/* end confdefs.h. */
4143 #if ((' ' & 0x0FF) == 0x020)
4144 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4145 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4147 -# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
4148 +# define ISLOWER(c) \
4149 + (('a' <= (c) && (c) <= 'i') \
4150 || ('j' <= (c) && (c) <= 'r') \
4151 || ('s' <= (c) && (c) <= 'z'))
4152 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4153 @@ -3140,57 +4126,111 @@
4156 rm -f conftest$ac_exeext
4157 -if { (eval echo "$as_me:3143: \"$ac_link\"") >&5
4158 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4159 (eval $ac_link) 2>&5
4161 - echo "$as_me:3146: \$? = $ac_status" >&5
4162 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4163 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4164 - { (eval echo "$as_me:3148: \"$ac_try\"") >&5
4165 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4168 - echo "$as_me:3151: \$? = $ac_status" >&5
4169 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4170 (exit $ac_status); }; }; then
4173 echo "$as_me: program exited with status $ac_status" >&5
4174 echo "$as_me: failed program was:" >&5
4175 -cat conftest.$ac_ext >&5
4176 +sed 's/^/| /' conftest.$ac_ext >&5
4178 +( exit $ac_status )
4179 ac_cv_header_stdc=no
4181 -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4182 +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4186 -echo "$as_me:3164: result: $ac_cv_header_stdc" >&5
4187 +echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4188 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4189 if test $ac_cv_header_stdc = yes; then
4191 -cat >>confdefs.h <<\EOF
4192 +cat >>confdefs.h <<\_ACEOF
4193 #define STDC_HEADERS 1
4204 for ac_header in fcntl.h termcap.h termio.h termios.h unistd.h
4206 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4207 -echo "$as_me:3177: checking for $ac_header" >&5
4208 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
4209 + echo "$as_me:$LINENO: checking for $ac_header" >&5
4210 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4211 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4212 echo $ECHO_N "(cached) $ECHO_C" >&6
4214 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4215 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4217 - cat >conftest.$ac_ext <<_ACEOF
4218 -#line 3183 "configure"
4219 -#include "confdefs.h"
4220 + # Is the header compilable?
4221 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
4222 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4223 +cat >conftest.$ac_ext <<_ACEOF
4224 +#line $LINENO "configure"
4227 +cat confdefs.h >>conftest.$ac_ext
4228 +cat >>conftest.$ac_ext <<_ACEOF
4229 +/* end confdefs.h. */
4230 +$ac_includes_default
4231 #include <$ac_header>
4233 -if { (eval echo "$as_me:3187: \"$ac_cpp conftest.$ac_ext\"") >&5
4234 +rm -f conftest.$ac_objext
4235 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4236 + (eval $ac_compile) 2>&5
4238 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4239 + (exit $ac_status); } &&
4240 + { ac_try='test -s conftest.$ac_objext'
4241 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4242 + (eval $ac_try) 2>&5
4244 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4245 + (exit $ac_status); }; }; then
4246 + ac_header_compiler=yes
4248 + echo "$as_me: failed program was:" >&5
4249 +sed 's/^/| /' conftest.$ac_ext >&5
4251 +ac_header_compiler=no
4253 +rm -f conftest.$ac_objext conftest.$ac_ext
4254 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4255 +echo "${ECHO_T}$ac_header_compiler" >&6
4257 +# Is the header present?
4258 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
4259 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4260 +cat >conftest.$ac_ext <<_ACEOF
4261 +#line $LINENO "configure"
4264 +cat confdefs.h >>conftest.$ac_ext
4265 +cat >>conftest.$ac_ext <<_ACEOF
4266 +/* end confdefs.h. */
4267 +#include <$ac_header>
4269 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4270 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4272 - egrep -v '^ *\+' conftest.er1 >conftest.err
4273 + grep -v '^ *+' conftest.er1 >conftest.err
4275 cat conftest.err >&5
4276 - echo "$as_me:3193: \$? = $ac_status" >&5
4277 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4278 (exit $ac_status); } >/dev/null; then
4279 if test -s conftest.err; then
4280 ac_cpp_err=$ac_c_preproc_warn_flag
4281 @@ -3201,26 +4241,71 @@
4284 if test -z "$ac_cpp_err"; then
4285 - eval "$as_ac_Header=yes"
4286 + ac_header_preproc=yes
4288 echo "$as_me: failed program was:" >&5
4289 - cat conftest.$ac_ext >&5
4290 - eval "$as_ac_Header=no"
4291 +sed 's/^/| /' conftest.$ac_ext >&5
4293 + ac_header_preproc=no
4295 rm -f conftest.err conftest.$ac_ext
4296 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4297 +echo "${ECHO_T}$ac_header_preproc" >&6
4299 +# So? What about this header?
4300 +case $ac_header_compiler:$ac_header_preproc in
4302 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4303 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4304 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4305 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4308 +## ------------------------------------ ##
4309 +## Report this to bug-autoconf@gnu.org. ##
4310 +## ------------------------------------ ##
4313 + sed "s/^/$as_me: WARNING: /" >&2
4316 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4317 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4318 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4319 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4320 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4321 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4324 +## ------------------------------------ ##
4325 +## Report this to bug-autoconf@gnu.org. ##
4326 +## ------------------------------------ ##
4329 + sed "s/^/$as_me: WARNING: /" >&2
4332 +echo "$as_me:$LINENO: checking for $ac_header" >&5
4333 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4334 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
4335 + echo $ECHO_N "(cached) $ECHO_C" >&6
4337 + eval "$as_ac_Header=$ac_header_preproc"
4339 -echo "$as_me:3212: result: `eval echo '${'$as_ac_Header'}'`" >&5
4340 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4341 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4344 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4345 - cat >>confdefs.h <<EOF
4346 + cat >>confdefs.h <<_ACEOF
4347 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4355 -_cppflags="${CPPFLAGS}"
4356 -_ldflags="${LDFLAGS}"
4359 # Check whether --with-ncurses or --without-ncurses was given.
4360 if test "${with_ncurses+set}" = set; then
4361 @@ -3233,23 +4318,70 @@
4365 -echo "$as_me:3236: checking for ncurses.h" >&5
4366 +if test "${ac_cv_header_ncurses_h+set}" = set; then
4367 + echo "$as_me:$LINENO: checking for ncurses.h" >&5
4368 echo $ECHO_N "checking for ncurses.h... $ECHO_C" >&6
4369 if test "${ac_cv_header_ncurses_h+set}" = set; then
4370 echo $ECHO_N "(cached) $ECHO_C" >&6
4372 +echo "$as_me:$LINENO: result: $ac_cv_header_ncurses_h" >&5
4373 +echo "${ECHO_T}$ac_cv_header_ncurses_h" >&6
4375 - cat >conftest.$ac_ext <<_ACEOF
4376 -#line 3242 "configure"
4377 -#include "confdefs.h"
4378 + # Is the header compilable?
4379 +echo "$as_me:$LINENO: checking ncurses.h usability" >&5
4380 +echo $ECHO_N "checking ncurses.h usability... $ECHO_C" >&6
4381 +cat >conftest.$ac_ext <<_ACEOF
4382 +#line $LINENO "configure"
4385 +cat confdefs.h >>conftest.$ac_ext
4386 +cat >>conftest.$ac_ext <<_ACEOF
4387 +/* end confdefs.h. */
4388 +$ac_includes_default
4389 #include <ncurses.h>
4391 -if { (eval echo "$as_me:3246: \"$ac_cpp conftest.$ac_ext\"") >&5
4392 +rm -f conftest.$ac_objext
4393 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4394 + (eval $ac_compile) 2>&5
4396 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4397 + (exit $ac_status); } &&
4398 + { ac_try='test -s conftest.$ac_objext'
4399 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4400 + (eval $ac_try) 2>&5
4402 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4403 + (exit $ac_status); }; }; then
4404 + ac_header_compiler=yes
4406 + echo "$as_me: failed program was:" >&5
4407 +sed 's/^/| /' conftest.$ac_ext >&5
4409 +ac_header_compiler=no
4411 +rm -f conftest.$ac_objext conftest.$ac_ext
4412 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4413 +echo "${ECHO_T}$ac_header_compiler" >&6
4415 +# Is the header present?
4416 +echo "$as_me:$LINENO: checking ncurses.h presence" >&5
4417 +echo $ECHO_N "checking ncurses.h presence... $ECHO_C" >&6
4418 +cat >conftest.$ac_ext <<_ACEOF
4419 +#line $LINENO "configure"
4422 +cat confdefs.h >>conftest.$ac_ext
4423 +cat >>conftest.$ac_ext <<_ACEOF
4424 +/* end confdefs.h. */
4425 +#include <ncurses.h>
4427 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4428 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4430 - egrep -v '^ *\+' conftest.er1 >conftest.err
4431 + grep -v '^ *+' conftest.er1 >conftest.err
4433 cat conftest.err >&5
4434 - echo "$as_me:3252: \$? = $ac_status" >&5
4435 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4436 (exit $ac_status); } >/dev/null; then
4437 if test -s conftest.err; then
4438 ac_cpp_err=$ac_c_preproc_warn_flag
4439 @@ -3260,18 +4392,63 @@
4442 if test -z "$ac_cpp_err"; then
4443 - ac_cv_header_ncurses_h=yes
4444 + ac_header_preproc=yes
4446 echo "$as_me: failed program was:" >&5
4447 - cat conftest.$ac_ext >&5
4448 - ac_cv_header_ncurses_h=no
4449 +sed 's/^/| /' conftest.$ac_ext >&5
4451 + ac_header_preproc=no
4453 rm -f conftest.err conftest.$ac_ext
4454 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4455 +echo "${ECHO_T}$ac_header_preproc" >&6
4457 +# So? What about this header?
4458 +case $ac_header_compiler:$ac_header_preproc in
4460 + { echo "$as_me:$LINENO: WARNING: ncurses.h: accepted by the compiler, rejected by the preprocessor!" >&5
4461 +echo "$as_me: WARNING: ncurses.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4462 + { echo "$as_me:$LINENO: WARNING: ncurses.h: proceeding with the preprocessor's result" >&5
4463 +echo "$as_me: WARNING: ncurses.h: proceeding with the preprocessor's result" >&2;}
4466 +## ------------------------------------ ##
4467 +## Report this to bug-autoconf@gnu.org. ##
4468 +## ------------------------------------ ##
4471 + sed "s/^/$as_me: WARNING: /" >&2
4474 + { echo "$as_me:$LINENO: WARNING: ncurses.h: present but cannot be compiled" >&5
4475 +echo "$as_me: WARNING: ncurses.h: present but cannot be compiled" >&2;}
4476 + { echo "$as_me:$LINENO: WARNING: ncurses.h: check for missing prerequisite headers?" >&5
4477 +echo "$as_me: WARNING: ncurses.h: check for missing prerequisite headers?" >&2;}
4478 + { echo "$as_me:$LINENO: WARNING: ncurses.h: proceeding with the preprocessor's result" >&5
4479 +echo "$as_me: WARNING: ncurses.h: proceeding with the preprocessor's result" >&2;}
4482 +## ------------------------------------ ##
4483 +## Report this to bug-autoconf@gnu.org. ##
4484 +## ------------------------------------ ##
4487 + sed "s/^/$as_me: WARNING: /" >&2
4490 +echo "$as_me:$LINENO: checking for ncurses.h" >&5
4491 +echo $ECHO_N "checking for ncurses.h... $ECHO_C" >&6
4492 +if test "${ac_cv_header_ncurses_h+set}" = set; then
4493 + echo $ECHO_N "(cached) $ECHO_C" >&6
4495 + ac_cv_header_ncurses_h=$ac_header_preproc
4497 -echo "$as_me:3271: result: $ac_cv_header_ncurses_h" >&5
4498 +echo "$as_me:$LINENO: result: $ac_cv_header_ncurses_h" >&5
4499 echo "${ECHO_T}$ac_cv_header_ncurses_h" >&6
4502 if test $ac_cv_header_ncurses_h = yes; then
4503 - echo "$as_me:3274: checking for initscr in -lncurses" >&5
4504 + echo "$as_me:$LINENO: checking for initscr in -lncurses" >&5
4505 echo $ECHO_N "checking for initscr in -lncurses... $ECHO_C" >&6
4506 if test "${ac_cv_lib_ncurses_initscr+set}" = set; then
4507 echo $ECHO_N "(cached) $ECHO_C" >&6
4508 @@ -3279,8 +4456,12 @@
4509 ac_check_lib_save_LIBS=$LIBS
4510 LIBS="-lncurses $LIBS"
4511 cat >conftest.$ac_ext <<_ACEOF
4512 -#line 3282 "configure"
4513 -#include "confdefs.h"
4514 +#line $LINENO "configure"
4517 +cat confdefs.h >>conftest.$ac_ext
4518 +cat >>conftest.$ac_ext <<_ACEOF
4519 +/* end confdefs.h. */
4521 /* Override any gcc2 internal prototype to avoid an error. */
4523 @@ -3298,35 +4479,36 @@
4526 rm -f conftest.$ac_objext conftest$ac_exeext
4527 -if { (eval echo "$as_me:3301: \"$ac_link\"") >&5
4528 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4529 (eval $ac_link) 2>&5
4531 - echo "$as_me:3304: \$? = $ac_status" >&5
4532 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4533 (exit $ac_status); } &&
4534 { ac_try='test -s conftest$ac_exeext'
4535 - { (eval echo "$as_me:3307: \"$ac_try\"") >&5
4536 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4539 - echo "$as_me:3310: \$? = $ac_status" >&5
4540 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4541 (exit $ac_status); }; }; then
4542 ac_cv_lib_ncurses_initscr=yes
4544 echo "$as_me: failed program was:" >&5
4545 -cat conftest.$ac_ext >&5
4546 +sed 's/^/| /' conftest.$ac_ext >&5
4548 ac_cv_lib_ncurses_initscr=no
4550 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4551 LIBS=$ac_check_lib_save_LIBS
4553 -echo "$as_me:3321: result: $ac_cv_lib_ncurses_initscr" >&5
4554 +echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_initscr" >&5
4555 echo "${ECHO_T}$ac_cv_lib_ncurses_initscr" >&6
4556 if test $ac_cv_lib_ncurses_initscr = yes; then
4557 - cat >>confdefs.h <<\EOF
4558 + cat >>confdefs.h <<\_ACEOF
4559 #define HAVE_NCURSES_H 1
4562 LIBS="${LIBS} -lncurses"
4564 - echo "$as_me:3329: checking for initscr in -lcurses" >&5
4565 + echo "$as_me:$LINENO: checking for initscr in -lcurses" >&5
4566 echo $ECHO_N "checking for initscr in -lcurses... $ECHO_C" >&6
4567 if test "${ac_cv_lib_curses_initscr+set}" = set; then
4568 echo $ECHO_N "(cached) $ECHO_C" >&6
4569 @@ -3334,8 +4516,12 @@
4570 ac_check_lib_save_LIBS=$LIBS
4571 LIBS="-lcurses $LIBS"
4572 cat >conftest.$ac_ext <<_ACEOF
4573 -#line 3337 "configure"
4574 -#include "confdefs.h"
4575 +#line $LINENO "configure"
4578 +cat confdefs.h >>conftest.$ac_ext
4579 +cat >>conftest.$ac_ext <<_ACEOF
4580 +/* end confdefs.h. */
4582 /* Override any gcc2 internal prototype to avoid an error. */
4584 @@ -3353,217 +4539,142 @@
4587 rm -f conftest.$ac_objext conftest$ac_exeext
4588 -if { (eval echo "$as_me:3356: \"$ac_link\"") >&5
4589 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4590 (eval $ac_link) 2>&5
4592 - echo "$as_me:3359: \$? = $ac_status" >&5
4593 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4594 (exit $ac_status); } &&
4595 { ac_try='test -s conftest$ac_exeext'
4596 - { (eval echo "$as_me:3362: \"$ac_try\"") >&5
4597 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4600 - echo "$as_me:3365: \$? = $ac_status" >&5
4601 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4602 (exit $ac_status); }; }; then
4603 ac_cv_lib_curses_initscr=yes
4605 echo "$as_me: failed program was:" >&5
4606 -cat conftest.$ac_ext >&5
4607 +sed 's/^/| /' conftest.$ac_ext >&5
4609 ac_cv_lib_curses_initscr=no
4611 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4612 LIBS=$ac_check_lib_save_LIBS
4614 -echo "$as_me:3376: result: $ac_cv_lib_curses_initscr" >&5
4615 +echo "$as_me:$LINENO: result: $ac_cv_lib_curses_initscr" >&5
4616 echo "${ECHO_T}$ac_cv_lib_curses_initscr" >&6
4617 if test $ac_cv_lib_curses_initscr = yes; then
4618 - cat >>confdefs.h <<\EOF
4619 + cat >>confdefs.h <<\_ACEOF
4620 #define HAVE_CURSES_H 1
4623 LIBS="${LIBS} -lcurses"
4625 - { { echo "$as_me:3384: error: bvi requires the curses library" >&5
4626 + { { echo "$as_me:$LINENO: error: bvi requires the curses library" >&5
4627 echo "$as_me: error: bvi requires the curses library" >&2;}
4628 { (exit 1); exit 1; }; }
4634 - echo "$as_me:3392: checking for curses.h" >&5
4635 -echo $ECHO_N "checking for curses.h... $ECHO_C" >&6
4636 -if test "${ac_cv_header_curses_h+set}" = set; then
4637 - echo $ECHO_N "(cached) $ECHO_C" >&6
4639 - cat >conftest.$ac_ext <<_ACEOF
4640 -#line 3398 "configure"
4641 -#include "confdefs.h"
4642 -#include <curses.h>
4644 -if { (eval echo "$as_me:3402: \"$ac_cpp conftest.$ac_ext\"") >&5
4645 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4647 - egrep -v '^ *\+' conftest.er1 >conftest.err
4648 - rm -f conftest.er1
4649 - cat conftest.err >&5
4650 - echo "$as_me:3408: \$? = $ac_status" >&5
4651 - (exit $ac_status); } >/dev/null; then
4652 - if test -s conftest.err; then
4653 - ac_cpp_err=$ac_c_preproc_warn_flag
4660 -if test -z "$ac_cpp_err"; then
4661 - ac_cv_header_curses_h=yes
4663 - echo "$as_me: failed program was:" >&5
4664 - cat conftest.$ac_ext >&5
4665 - ac_cv_header_curses_h=no
4667 -rm -f conftest.err conftest.$ac_ext
4669 -echo "$as_me:3427: result: $ac_cv_header_curses_h" >&5
4670 -echo "${ECHO_T}$ac_cv_header_curses_h" >&6
4671 -if test $ac_cv_header_curses_h = yes; then
4672 - echo "$as_me:3430: checking for initscr in -lcurses" >&5
4673 -echo $ECHO_N "checking for initscr in -lcurses... $ECHO_C" >&6
4674 -if test "${ac_cv_lib_curses_initscr+set}" = set; then
4675 - echo $ECHO_N "(cached) $ECHO_C" >&6
4677 - ac_check_lib_save_LIBS=$LIBS
4678 -LIBS="-lcurses $LIBS"
4679 -cat >conftest.$ac_ext <<_ACEOF
4680 -#line 3438 "configure"
4681 -#include "confdefs.h"
4683 -/* Override any gcc2 internal prototype to avoid an error. */
4687 -/* We use char because int might match the return type of a gcc2
4688 - builtin and then its argument prototype would still apply. */
4698 -rm -f conftest.$ac_objext conftest$ac_exeext
4699 -if { (eval echo "$as_me:3457: \"$ac_link\"") >&5
4700 - (eval $ac_link) 2>&5
4702 - echo "$as_me:3460: \$? = $ac_status" >&5
4703 - (exit $ac_status); } &&
4704 - { ac_try='test -s conftest$ac_exeext'
4705 - { (eval echo "$as_me:3463: \"$ac_try\"") >&5
4706 - (eval $ac_try) 2>&5
4708 - echo "$as_me:3466: \$? = $ac_status" >&5
4709 - (exit $ac_status); }; }; then
4710 - ac_cv_lib_curses_initscr=yes
4712 - echo "$as_me: failed program was:" >&5
4713 -cat conftest.$ac_ext >&5
4714 -ac_cv_lib_curses_initscr=no
4716 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4717 -LIBS=$ac_check_lib_save_LIBS
4719 -echo "$as_me:3477: result: $ac_cv_lib_curses_initscr" >&5
4720 -echo "${ECHO_T}$ac_cv_lib_curses_initscr" >&6
4721 -if test $ac_cv_lib_curses_initscr = yes; then
4722 - cat >>confdefs.h <<\EOF
4723 -#define HAVE_CURSES_H 1
4725 - LIBS="${LIBS} -lcurses"
4727 - { { echo "$as_me:3485: error: bvi requires the curses library" >&5
4728 -echo "$as_me: error: bvi requires the curses library" >&2;}
4729 - { (exit 1); exit 1; }; }
4733 - { { echo "$as_me:3491: error: bvi requires the curses library" >&5
4734 + { { echo "$as_me:$LINENO: error: bvi requires the curses library" >&5
4735 echo "$as_me: error: bvi requires the curses library" >&2;}
4736 { (exit 1); exit 1; }; }
4748 for ac_func in strdup strtol strerror memmove
4750 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4751 -echo "$as_me:3501: checking for $ac_func" >&5
4752 +echo "$as_me:$LINENO: checking for $ac_func" >&5
4753 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4754 if eval "test \"\${$as_ac_var+set}\" = set"; then
4755 echo $ECHO_N "(cached) $ECHO_C" >&6
4757 cat >conftest.$ac_ext <<_ACEOF
4758 -#line 3507 "configure"
4759 -#include "confdefs.h"
4760 +#line $LINENO "configure"
4763 +cat confdefs.h >>conftest.$ac_ext
4764 +cat >>conftest.$ac_ext <<_ACEOF
4765 +/* end confdefs.h. */
4766 /* System header to define __stub macros and hopefully few prototypes,
4767 - which can conflict with char $ac_func (); below. */
4768 -#include <assert.h>
4769 + which can conflict with char $ac_func (); below.
4770 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4771 + <limits.h> exists even on freestanding compilers. */
4773 +# include <limits.h>
4775 +# include <assert.h>
4777 /* Override any gcc2 internal prototype to avoid an error. */
4782 /* We use char because int might match the return type of a gcc2
4783 builtin and then its argument prototype would still apply. */
4790 /* The GNU C library defines this for functions which it implements
4791 to always fail with ENOSYS. Some functions are actually named
4792 something starting with __ and the normal name is an alias. */
4793 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4797 +char (*f) () = $ac_func;
4806 +return f != $ac_func;
4811 rm -f conftest.$ac_objext conftest$ac_exeext
4812 -if { (eval echo "$as_me:3538: \"$ac_link\"") >&5
4813 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4814 (eval $ac_link) 2>&5
4816 - echo "$as_me:3541: \$? = $ac_status" >&5
4817 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4818 (exit $ac_status); } &&
4819 { ac_try='test -s conftest$ac_exeext'
4820 - { (eval echo "$as_me:3544: \"$ac_try\"") >&5
4821 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4824 - echo "$as_me:3547: \$? = $ac_status" >&5
4825 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4826 (exit $ac_status); }; }; then
4827 eval "$as_ac_var=yes"
4829 echo "$as_me: failed program was:" >&5
4830 -cat conftest.$ac_ext >&5
4831 +sed 's/^/| /' conftest.$ac_ext >&5
4833 eval "$as_ac_var=no"
4835 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4837 -echo "$as_me:3557: result: `eval echo '${'$as_ac_var'}'`" >&5
4838 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4839 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4840 if test `eval echo '${'$as_ac_var'}'` = yes; then
4841 - cat >>confdefs.h <<EOF
4842 + cat >>confdefs.h <<_ACEOF
4843 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4851 # Find a good install program. We prefer a C program (faster),
4852 # so one script is as good as another. But avoid the broken or
4853 # incompatible versions:
4854 @@ -3576,43 +4687,48 @@
4855 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4856 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4857 # ./install, which can be erroneously created by make from ./install.sh.
4858 -echo "$as_me:3579: checking for a BSD compatible install" >&5
4859 -echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
4860 +echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4861 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4862 if test -z "$INSTALL"; then
4863 if test "${ac_cv_path_install+set}" = set; then
4864 echo $ECHO_N "(cached) $ECHO_C" >&6
4866 - ac_save_IFS=$IFS; IFS=$ac_path_separator
4867 - for ac_dir in $PATH; do
4869 - # Account for people who put trailing slashes in PATH elements.
4871 - / | ./ | .// | /cC/* \
4872 - | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
4875 - # OSF1 and SCO ODT 3.0 have their own names for install.
4876 - # Don't use installbsd from OSF since it installs stuff as root
4878 - for ac_prog in ginstall scoinst install; do
4879 - if $as_executable_p "$ac_dir/$ac_prog"; then
4880 - if test $ac_prog = install &&
4881 - grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
4882 - # AIX install. It has an incompatible calling convention.
4884 - elif test $ac_prog = install &&
4885 - grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
4886 - # program-specific install script used by HP pwplus--don't use.
4889 - ac_cv_path_install="$ac_dir/$ac_prog -c"
4893 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4894 +for as_dir in $PATH
4897 + test -z "$as_dir" && as_dir=.
4898 + # Account for people who put trailing slashes in PATH elements.
4900 + ./ | .// | /cC/* | \
4901 + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4904 + # OSF1 and SCO ODT 3.0 have their own names for install.
4905 + # Don't use installbsd from OSF since it installs stuff as root
4907 + for ac_prog in ginstall scoinst install; do
4908 + for ac_exec_ext in '' $ac_executable_extensions; do
4909 + if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4910 + if test $ac_prog = install &&
4911 + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4912 + # AIX install. It has an incompatible calling convention.
4914 + elif test $ac_prog = install &&
4915 + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4916 + # program-specific install script used by HP pwplus--don't use.
4919 + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4934 if test "${ac_cv_path_install+set}" = set; then
4935 @@ -3625,7 +4741,7 @@
4936 INSTALL=$ac_install_sh
4939 -echo "$as_me:3628: result: $INSTALL" >&5
4940 +echo "$as_me:$LINENO: result: $INSTALL" >&5
4941 echo "${ECHO_T}$INSTALL" >&6
4943 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4944 @@ -3636,7 +4752,8 @@
4946 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4948 -ac_config_files="$ac_config_files Makefile"
4950 + ac_config_files="$ac_config_files Makefile"
4952 cat >confcache <<\_ACEOF
4953 # This file is a shell script that caches the results of configure
4954 @@ -3648,7 +4765,7 @@
4955 # config.status only pays attention to the cache file if you give it
4956 # the --recheck option to rerun configure.
4958 -# `ac_cv_env_foo' variables (set or unset) will be overriden when
4959 +# `ac_cv_env_foo' variables (set or unset) will be overridden when
4960 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4963 @@ -3683,7 +4800,7 @@
4965 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4967 -if cmp -s $cache_file confcache; then :; else
4968 +if diff $cache_file confcache >/dev/null 2>&1; then :; else
4969 if test -w $cache_file; then
4970 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4971 cat confcache >$cache_file
4972 @@ -3714,35 +4831,227 @@
4974 DEFS=-DHAVE_CONFIG_H
4978 +for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4979 + # 1. Remove the extension, and $U if already installed.
4980 + ac_i=`echo "$ac_i" |
4981 + sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
4983 + ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
4984 + ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
4986 +LIBOBJS=$ac_libobjs
4988 +LTLIBOBJS=$ac_ltlibobjs
4992 : ${CONFIG_STATUS=./config.status}
4993 ac_clean_files_save=$ac_clean_files
4994 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4995 -{ echo "$as_me:3720: creating $CONFIG_STATUS" >&5
4996 +{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4997 echo "$as_me: creating $CONFIG_STATUS" >&6;}
4998 cat >$CONFIG_STATUS <<_ACEOF
5000 -# Generated automatically by configure.
5001 +# Generated by $as_me.
5002 # Run this file to recreate the current configuration.
5003 # Compiler output produced by configure, useful for debugging
5004 # configure, is in config.log if it exists.
5007 +ac_cs_recheck=false
5009 SHELL=\${CONFIG_SHELL-$SHELL}
5010 -ac_cs_invocation="\$0 \$@"
5014 cat >>$CONFIG_STATUS <<\_ACEOF
5015 +## --------------------- ##
5016 +## M4sh Initialization. ##
5017 +## --------------------- ##
5019 # Be Bourne compatible
5020 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5023 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5024 + # is contrary to our usage. Disable this feature.
5025 + alias -g '${1+"$@"}'='"$@"'
5026 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5030 +# Support unset when possible.
5031 +if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
5038 +# Work around bugs in pre-3.0 UWIN ksh.
5039 +$as_unset ENV MAIL MAILPATH
5046 + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5047 + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5048 + LC_TELEPHONE LC_TIME
5050 + if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
5051 + eval $as_var=C; export $as_var
5057 +# Required to use basename.
5058 +if expr a : '\(a\)' >/dev/null 2>&1; then
5064 +if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5065 + as_basename=basename
5071 # Name of the executable.
5072 -as_me=`echo "$0" |sed 's,.*[\\/],,'`
5073 +as_me=`$as_basename "$0" ||
5074 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5075 + X"$0" : 'X\(//\)$' \| \
5076 + X"$0" : 'X\(/\)$' \| \
5077 + . : '\(.\)' 2>/dev/null ||
5079 + sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5080 + /^X\/\(\/\/\)$/{ s//\1/; q; }
5081 + /^X\/\(\/\).*/{ s//\1/; q; }
5085 +# PATH needs CR, and LINENO needs CR and PATH.
5086 +# Avoid depending upon Character Ranges.
5087 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5088 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5089 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5090 +as_cr_digits='0123456789'
5091 +as_cr_alnum=$as_cr_Letters$as_cr_digits
5093 +# The user is always right.
5094 +if test "${PATH_SEPARATOR+set}" != set; then
5095 + echo "#! /bin/sh" >conf$$.sh
5096 + echo "exit 0" >>conf$$.sh
5097 + chmod +x conf$$.sh
5098 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5099 + PATH_SEPARATOR=';'
5107 + as_lineno_1=$LINENO
5108 + as_lineno_2=$LINENO
5109 + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5110 + test "x$as_lineno_1" != "x$as_lineno_2" &&
5111 + test "x$as_lineno_3" = "x$as_lineno_2" || {
5112 + # Find who we are. Look in the path if we contain no path at all
5113 + # relative or not.
5115 + *[\\/]* ) as_myself=$0 ;;
5116 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5117 +for as_dir in $PATH
5120 + test -z "$as_dir" && as_dir=.
5121 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5126 + # We did not find ourselves, most probably we were run as `sh COMMAND'
5127 + # in which case we are not to be found in the path.
5128 + if test "x$as_myself" = x; then
5131 + if test ! -f "$as_myself"; then
5132 + { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5133 +echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5134 + { (exit 1); exit 1; }; }
5136 + case $CONFIG_SHELL in
5138 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5139 +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5142 + test -z "$as_dir" && as_dir=.
5143 + for as_base in sh bash ksh sh5; do
5146 + if ("$as_dir/$as_base" -c '
5147 + as_lineno_1=$LINENO
5148 + as_lineno_2=$LINENO
5149 + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5150 + test "x$as_lineno_1" != "x$as_lineno_2" &&
5151 + test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
5152 + $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5153 + $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5154 + CONFIG_SHELL=$as_dir/$as_base
5155 + export CONFIG_SHELL
5156 + exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5164 + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5165 + # uniformly replaced by the line number. The first 'sed' inserts a
5166 + # line-number line before each line; the second 'sed' does the real
5167 + # work. The second script uses 'N' to pair each line-number line
5168 + # with the numbered line, and appends trailing '-' during
5169 + # substitution so that $LINENO is not a special case at line end.
5170 + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5171 + # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5172 + sed '=' <$as_myself |
5177 + s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5180 + s,^['$as_cr_digits']*\n,,
5181 + ' >$as_me.lineno &&
5182 + chmod +x $as_me.lineno ||
5183 + { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5184 +echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5185 + { (exit 1); exit 1; }; }
5187 + # Don't try to exec as it changes $[0], causing all sort of problems
5188 + # (the dirname of $[0] is not the place where we might find the
5189 + # original and so on. Autoconf is especially sensible to this).
5191 + # Exit status is that of the last command.
5196 +case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5197 + *c*,-n*) ECHO_N= ECHO_C='
5199 + *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5200 + *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
5203 if expr a : '\(a\)' >/dev/null 2>&1; then
5205 @@ -3768,24 +5077,20 @@
5207 rm -f conf$$ conf$$.exe conf$$.file
5209 -as_executable_p="test -f"
5211 -# Support unset when possible.
5212 -if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
5214 +if mkdir -p . 2>/dev/null; then
5222 -$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
5223 -$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
5224 -$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
5225 -$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
5226 -$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
5227 -$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
5228 -$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
5229 -$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
5230 +as_executable_p="test -f"
5232 +# Sed expression to map a string onto a valid CPP name.
5233 +as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
5235 +# Sed expression to map a string onto a valid variable name.
5236 +as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
5240 # We need space, tab and new line, in precisely that order.
5241 @@ -3794,10 +5099,34 @@
5245 -$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
5250 +# Open the log real soon, to keep \$[0] and so on meaningful, and to
5251 +# report actual input values of CONFIG_FILES etc. instead of their
5252 +# values after options handling. Logging --version etc. is OK.
5256 + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5257 +## Running $as_me. ##
5262 +This file was extended by $as_me, which was
5263 +generated by GNU Autoconf 2.57. Invocation command line was
5265 + CONFIG_FILES = $CONFIG_FILES
5266 + CONFIG_HEADERS = $CONFIG_HEADERS
5267 + CONFIG_LINKS = $CONFIG_LINKS
5268 + CONFIG_COMMANDS = $CONFIG_COMMANDS
5272 +echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5276 # Files that config.status was made for.
5277 @@ -3817,7 +5146,7 @@
5278 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5281 -cat >>$CONFIG_STATUS <<\EOF
5282 +cat >>$CONFIG_STATUS <<\_ACEOF
5285 \`$as_me' instantiates files from templates according to the
5286 @@ -3827,6 +5156,7 @@
5288 -h, --help print this help, then exit
5289 -V, --version print version number, then exit
5290 + -q, --quiet do not print progress messages
5291 -d, --debug don't remove temporary files
5292 --recheck update $as_me by reconfiguring in the same conditions
5293 --file=FILE[:TEMPLATE]
5294 @@ -3841,12 +5171,12 @@
5297 Report bugs to <bug-autoconf@gnu.org>."
5301 -cat >>$CONFIG_STATUS <<EOF
5302 +cat >>$CONFIG_STATUS <<_ACEOF
5305 -configured by $0, generated by GNU Autoconf 2.52,
5306 +configured by $0, generated by GNU Autoconf 2.57,
5307 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5309 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
5310 @@ -3855,9 +5185,9 @@
5311 gives unlimited permission to copy, distribute and modify it."
5317 -cat >>$CONFIG_STATUS <<\EOF
5318 +cat >>$CONFIG_STATUS <<\_ACEOF
5319 # If no file are specified by the user, then we need to provide default
5320 # value. By we need to know if files were specified by the user.
5322 @@ -3867,30 +5197,30 @@
5324 ac_option=`expr "x$1" : 'x\([^=]*\)='`
5325 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5327 - set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
5337 *) # This is not an option, so the user has probably given explicit
5340 ac_need_defaults=false;;
5344 + case $ac_option in
5345 # Handling of the options.
5347 -cat >>$CONFIG_STATUS <<EOF
5349 +cat >>$CONFIG_STATUS <<\_ACEOF
5350 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5351 - echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
5352 - exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
5354 -cat >>$CONFIG_STATUS <<\EOF
5355 + ac_cs_recheck=: ;;
5356 --version | --vers* | -V )
5357 echo "$ac_cs_version"; exit 0 ;;
5359 # Conflict between --help and --header
5360 - { { echo "$as_me:3893: error: ambiguous option: $1
5361 + { { echo "$as_me:$LINENO: error: ambiguous option: $1
5362 Try \`$0 --help' for more information." >&5
5363 echo "$as_me: error: ambiguous option: $1
5364 Try \`$0 --help' for more information." >&2;}
5365 @@ -3900,16 +5230,19 @@
5366 --debug | --d* | -d )
5368 --file | --fil | --fi | --f )
5370 - CONFIG_FILES="$CONFIG_FILES $1"
5372 + CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5373 ac_need_defaults=false;;
5374 --header | --heade | --head | --hea )
5376 - CONFIG_HEADERS="$CONFIG_HEADERS $1"
5378 + CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5379 ac_need_defaults=false;;
5380 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5381 + | -silent | --silent | --silen | --sile | --sil | --si | --s)
5385 - -*) { { echo "$as_me:3912: error: unrecognized option: $1
5386 + -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5387 Try \`$0 --help' for more information." >&5
5388 echo "$as_me: error: unrecognized option: $1
5389 Try \`$0 --help' for more information." >&2;}
5390 @@ -3921,32 +5254,34 @@
5396 +ac_configure_extra_args=
5398 -## ----------------------- ##
5399 -## Running config.status. ##
5400 -## ----------------------- ##
5401 +if $ac_cs_silent; then
5403 + ac_configure_extra_args="$ac_configure_extra_args --silent"
5406 -This file was extended by $as_me 2.52, executed with
5407 - CONFIG_FILES = $CONFIG_FILES
5408 - CONFIG_HEADERS = $CONFIG_HEADERS
5409 - CONFIG_LINKS = $CONFIG_LINKS
5410 - CONFIG_COMMANDS = $CONFIG_COMMANDS
5411 - > $ac_cs_invocation
5412 -on `(hostname || uname -n) 2>/dev/null | sed 1q`
5414 +cat >>$CONFIG_STATUS <<_ACEOF
5415 +if \$ac_cs_recheck; then
5416 + echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5417 + exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5423 -cat >>$CONFIG_STATUS <<\EOF
5428 +cat >>$CONFIG_STATUS <<\_ACEOF
5429 for ac_config_target in $ac_config_targets
5431 case "$ac_config_target" in
5432 # Handling of arguments.
5433 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5434 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5435 - *) { { echo "$as_me:3949: error: invalid argument: $ac_config_target" >&5
5436 + *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5437 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5438 { (exit 1); exit 1; }; };;
5440 @@ -3961,6 +5296,9 @@
5441 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5444 +# Have a temporary directory for convenience. Make it in the build tree
5445 +# simply because there is no reason to put it here, and in addition,
5446 +# creating and moving files from /tmp can sometimes cause problems.
5447 # Create a temporary directory, and hook for its removal unless debugging.
5450 @@ -3969,23 +5307,23 @@
5453 # Create a (secure) tmp directory for tmp files.
5457 - tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
5458 + tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5459 test -n "$tmp" && test -d "$tmp"
5462 - tmp=$TMPDIR/cs$$-$RANDOM
5463 + tmp=./confstat$$-$RANDOM
5464 (umask 077 && mkdir $tmp)
5467 - echo "$me: cannot create a temporary directory in $TMPDIR" >&2
5468 + echo "$me: cannot create a temporary directory in ." >&2
5469 { (exit 1); exit 1; }
5475 -cat >>$CONFIG_STATUS <<EOF
5476 +cat >>$CONFIG_STATUS <<_ACEOF
5479 # CONFIG_FILES section.
5480 @@ -3998,6 +5336,12 @@
5481 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5482 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5483 s,@SHELL@,$SHELL,;t t
5484 +s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5485 +s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5486 +s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5487 +s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5488 +s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5489 +s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5490 s,@exec_prefix@,$exec_prefix,;t t
5491 s,@prefix@,$prefix,;t t
5492 s,@program_transform_name@,$program_transform_name,;t t
5493 @@ -4013,19 +5357,13 @@
5494 s,@oldincludedir@,$oldincludedir,;t t
5495 s,@infodir@,$infodir,;t t
5496 s,@mandir@,$mandir,;t t
5497 -s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5498 -s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5499 -s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5500 -s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5501 -s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5502 s,@build_alias@,$build_alias,;t t
5503 s,@host_alias@,$host_alias,;t t
5504 s,@target_alias@,$target_alias,;t t
5505 +s,@DEFS@,$DEFS,;t t
5506 s,@ECHO_C@,$ECHO_C,;t t
5507 s,@ECHO_N@,$ECHO_N,;t t
5508 s,@ECHO_T@,$ECHO_T,;t t
5509 -s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5510 -s,@DEFS@,$DEFS,;t t
5512 s,@build@,$build,;t t
5513 s,@build_cpu@,$build_cpu,;t t
5514 @@ -4046,11 +5384,14 @@
5515 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5516 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5518 +s,@EGREP@,$EGREP,;t t
5519 +s,@LIBOBJS@,$LIBOBJS,;t t
5520 +s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5526 - cat >>$CONFIG_STATUS <<\EOF
5527 + cat >>$CONFIG_STATUS <<\_ACEOF
5528 # Split the substitutions into bite-sized pieces for seds with
5529 # small command number limits, like on Digital OSF/1 and HP-UX.
5531 @@ -4089,8 +5430,8 @@
5533 fi # test -n "$CONFIG_FILES"
5536 -cat >>$CONFIG_STATUS <<\EOF
5538 +cat >>$CONFIG_STATUS <<\_ACEOF
5539 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5540 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5542 @@ -4104,7 +5445,8 @@
5545 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5546 - ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5547 + ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5548 +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5549 X"$ac_file" : 'X\(//\)[^/]' \| \
5550 X"$ac_file" : 'X\(//\)$' \| \
5551 X"$ac_file" : 'X\(/\)' \| \
5552 @@ -4115,60 +5457,84 @@
5553 /^X\(\/\/\)$/{ s//\1/; q; }
5554 /^X\(\/\).*/{ s//\1/; q; }
5556 - if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
5557 - { case "$ac_dir" in
5558 - [\\/]* | ?:[\\/]* ) as_incr_dir=;;
5559 - *) as_incr_dir=.;;
5562 -for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
5563 - case $as_mkdir_dir in
5564 - # Skip DOS drivespec
5565 - ?:) as_incr_dir=$as_mkdir_dir ;;
5567 - as_incr_dir=$as_incr_dir/$as_mkdir_dir
5568 - test -d "$as_incr_dir" || mkdir "$as_incr_dir"
5573 - ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
5574 - # A "../" for each directory in $ac_dir_suffix.
5575 - ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
5576 + { if $as_mkdir_p; then
5577 + mkdir -p "$ac_dir"
5579 - ac_dir_suffix= ac_dots=
5583 + while test ! -d "$as_dir"; do
5584 + as_dirs="$as_dir $as_dirs"
5585 + as_dir=`(dirname "$as_dir") 2>/dev/null ||
5586 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5587 + X"$as_dir" : 'X\(//\)[^/]' \| \
5588 + X"$as_dir" : 'X\(//\)$' \| \
5589 + X"$as_dir" : 'X\(/\)' \| \
5590 + . : '\(.\)' 2>/dev/null ||
5592 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5593 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5594 + /^X\(\/\/\)$/{ s//\1/; q; }
5595 + /^X\(\/\).*/{ s//\1/; q; }
5598 + test ! -n "$as_dirs" || mkdir $as_dirs
5599 + fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5600 +echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5601 + { (exit 1); exit 1; }; }; }
5605 - if test -z "$ac_dots"; then
5608 - ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
5610 - [\\/]* | ?:[\\/]* )
5611 - ac_srcdir=$srcdir$ac_dir_suffix;
5612 - ac_top_srcdir=$srcdir ;;
5615 +if test "$ac_dir" != .; then
5616 + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5617 + # A "../" for each directory in $ac_dir_suffix.
5618 + ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5620 + ac_dir_suffix= ac_top_builddir=
5624 + .) # No --srcdir option. We are building in place.
5626 + if test -z "$ac_top_builddir"; then
5629 + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5631 + [\\/]* | ?:[\\/]* ) # Absolute path.
5632 + ac_srcdir=$srcdir$ac_dir_suffix;
5633 + ac_top_srcdir=$srcdir ;;
5635 - ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
5636 - ac_top_srcdir=$ac_dots$srcdir ;;
5638 + ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5639 + ac_top_srcdir=$ac_top_builddir$srcdir ;;
5641 +# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
5643 +ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
5644 +ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
5645 +ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
5646 +ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
5650 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5651 - *) ac_INSTALL=$ac_dots$INSTALL ;;
5652 + *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
5655 if test x"$ac_file" != x-; then
5656 - { echo "$as_me:4163: creating $ac_file" >&5
5657 + { echo "$as_me:$LINENO: creating $ac_file" >&5
5658 echo "$as_me: creating $ac_file" >&6;}
5661 # Let's still pretend it is `configure' which instantiates (i.e., don't
5662 # use $as_me), people would be surprised to read:
5663 - # /* config.h. Generated automatically by config.status. */
5664 - configure_input="Generated automatically from `echo $ac_file_in |
5665 - sed 's,.*/,,'` by configure."
5666 + # /* config.h. Generated by config.status. */
5667 + if test x"$ac_file" = x-; then
5670 + configure_input="$ac_file. "
5672 + configure_input=$configure_input"Generated from `echo $ac_file_in |
5673 + sed 's,.*/,,'` by configure."
5675 # First look for the input files in the build tree, otherwise in the
5677 @@ -4178,7 +5544,7 @@
5678 -) echo $tmp/stdin ;;
5680 # Absolute (can't be DOS-style, as IFS=:)
5681 - test -f "$f" || { { echo "$as_me:4181: error: cannot find input file: $f" >&5
5682 + test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5683 echo "$as_me: error: cannot find input file: $f" >&2;}
5684 { (exit 1); exit 1; }; }
5686 @@ -4191,23 +5557,29 @@
5690 - { { echo "$as_me:4194: error: cannot find input file: $f" >&5
5691 + { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5692 echo "$as_me: error: cannot find input file: $f" >&2;}
5693 { (exit 1); exit 1; }; }
5696 done` || { (exit 1); exit 1; }
5698 -cat >>$CONFIG_STATUS <<EOF
5700 +cat >>$CONFIG_STATUS <<_ACEOF
5704 -cat >>$CONFIG_STATUS <<\EOF
5706 +cat >>$CONFIG_STATUS <<\_ACEOF
5708 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5709 s,@configure_input@,$configure_input,;t t
5710 s,@srcdir@,$ac_srcdir,;t t
5711 +s,@abs_srcdir@,$ac_abs_srcdir,;t t
5712 s,@top_srcdir@,$ac_top_srcdir,;t t
5713 +s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
5714 +s,@builddir@,$ac_builddir,;t t
5715 +s,@abs_builddir@,$ac_abs_builddir,;t t
5716 +s,@top_builddir@,$ac_top_builddir,;t t
5717 +s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
5718 s,@INSTALL@,$ac_INSTALL,;t t
5719 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5721 @@ -4219,8 +5591,8 @@
5726 -cat >>$CONFIG_STATUS <<\EOF
5728 +cat >>$CONFIG_STATUS <<\_ACEOF
5731 # CONFIG_HEADER section.
5732 @@ -4252,7 +5624,7 @@
5733 * ) ac_file_in=$ac_file.in ;;
5736 - test x"$ac_file" != x- && { echo "$as_me:4255: creating $ac_file" >&5
5737 + test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
5738 echo "$as_me: creating $ac_file" >&6;}
5740 # First look for the input files in the build tree, otherwise in the
5741 @@ -4263,7 +5635,7 @@
5742 -) echo $tmp/stdin ;;
5744 # Absolute (can't be DOS-style, as IFS=:)
5745 - test -f "$f" || { { echo "$as_me:4266: error: cannot find input file: $f" >&5
5746 + test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5747 echo "$as_me: error: cannot find input file: $f" >&2;}
5748 { (exit 1); exit 1; }; }
5750 @@ -4276,7 +5648,7 @@
5754 - { { echo "$as_me:4279: error: cannot find input file: $f" >&5
5755 + { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5756 echo "$as_me: error: cannot find input file: $f" >&2;}
5757 { (exit 1); exit 1; }; }
5759 @@ -4285,7 +5657,7 @@
5760 # Remove the trailing spaces.
5761 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
5766 # Transform confdefs.h into two sed scripts, `conftest.defines' and
5767 # `conftest.undefs', that substitutes the proper values into
5768 @@ -4301,16 +5673,16 @@
5769 # `end' is used to avoid that the second main sed command (meant for
5770 # 0-ary CPP macros) applies to n-ary macro definitions.
5771 # See the Autoconf documentation for `clear'.
5772 -cat >confdef2sed.sed <<\EOF
5773 +cat >confdef2sed.sed <<\_ACEOF
5778 -s,^[ ]*#[ ]*define[ ][ ]*\(\([^ (][^ (]*\)([^)]*)\)[ ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
5779 +s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
5781 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
5785 # If some macros were called several times there might be several times
5786 # the same #defines, which is useless. Nevertheless, we may not want to
5787 # sort them, since we want the *last* AC-DEFINE to be honored.
5788 @@ -4321,14 +5693,14 @@
5789 # This sed command replaces #undef with comments. This is necessary, for
5790 # example, in the case of _POSIX_SOURCE, which is predefined and required
5791 # on some systems where configure will not decide to define it.
5792 -cat >>conftest.undefs <<\EOF
5793 +cat >>conftest.undefs <<\_ACEOF
5794 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
5798 # Break up conftest.defines because some shells have a limit on the size
5799 # of here documents, and old seds have small limits too (100 cmds).
5800 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
5801 -echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
5802 +echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
5803 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
5804 echo ' :' >>$CONFIG_STATUS
5806 @@ -4352,7 +5724,7 @@
5807 mv conftest.tail conftest.defines
5809 rm -f conftest.defines
5810 -echo ' fi # egrep' >>$CONFIG_STATUS
5811 +echo ' fi # grep' >>$CONFIG_STATUS
5812 echo >>$CONFIG_STATUS
5814 # Break up conftest.undefs because some shells have a limit on the size
5815 @@ -4380,23 +5752,24 @@
5817 rm -f conftest.undefs
5819 -cat >>$CONFIG_STATUS <<\EOF
5820 +cat >>$CONFIG_STATUS <<\_ACEOF
5821 # Let's still pretend it is `configure' which instantiates (i.e., don't
5822 # use $as_me), people would be surprised to read:
5823 - # /* config.h. Generated automatically by config.status. */
5824 + # /* config.h. Generated by config.status. */
5825 if test x"$ac_file" = x-; then
5826 - echo "/* Generated automatically by configure. */" >$tmp/config.h
5827 + echo "/* Generated by configure. */" >$tmp/config.h
5829 - echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config.h
5830 + echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
5832 cat $tmp/in >>$tmp/config.h
5834 if test x"$ac_file" != x-; then
5835 - if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
5836 - { echo "$as_me:4396: $ac_file is unchanged" >&5
5837 + if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
5838 + { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5839 echo "$as_me: $ac_file is unchanged" >&6;}
5841 - ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5842 + ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5843 +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5844 X"$ac_file" : 'X\(//\)[^/]' \| \
5845 X"$ac_file" : 'X\(//\)$' \| \
5846 X"$ac_file" : 'X\(/\)' \| \
5847 @@ -4407,24 +5780,31 @@
5848 /^X\(\/\/\)$/{ s//\1/; q; }
5849 /^X\(\/\).*/{ s//\1/; q; }
5851 - if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
5852 - { case "$ac_dir" in
5853 - [\\/]* | ?:[\\/]* ) as_incr_dir=;;
5854 - *) as_incr_dir=.;;
5857 -for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
5858 - case $as_mkdir_dir in
5859 - # Skip DOS drivespec
5860 - ?:) as_incr_dir=$as_mkdir_dir ;;
5862 - as_incr_dir=$as_incr_dir/$as_mkdir_dir
5863 - test -d "$as_incr_dir" || mkdir "$as_incr_dir"
5867 + { if $as_mkdir_p; then
5868 + mkdir -p "$ac_dir"
5872 + while test ! -d "$as_dir"; do
5873 + as_dirs="$as_dir $as_dirs"
5874 + as_dir=`(dirname "$as_dir") 2>/dev/null ||
5875 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5876 + X"$as_dir" : 'X\(//\)[^/]' \| \
5877 + X"$as_dir" : 'X\(//\)$' \| \
5878 + X"$as_dir" : 'X\(/\)' \| \
5879 + . : '\(.\)' 2>/dev/null ||
5881 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5882 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5883 + /^X\(\/\/\)$/{ s//\1/; q; }
5884 + /^X\(\/\).*/{ s//\1/; q; }
5887 + test ! -n "$as_dirs" || mkdir $as_dirs
5888 + fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5889 +echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5890 + { (exit 1); exit 1; }; }; }
5894 mv $tmp/config.h $ac_file
5896 @@ -4433,15 +5813,16 @@
5903 -cat >>$CONFIG_STATUS <<\EOF
5904 +cat >>$CONFIG_STATUS <<\_ACEOF
5906 { (exit 0); exit 0; }
5909 chmod +x $CONFIG_STATUS
5910 ac_clean_files=$ac_clean_files_save
5913 # configure is writing to config.log, and then calls config.status.
5914 # config.status does its own redirection, appending to config.log.
5915 # Unfortunately, on DOS this fails, as config.log is still kept open
5916 @@ -4452,8 +5833,11 @@
5917 # need to make the FD available again.
5918 if test "$no_create" != yes; then
5920 + ac_config_status_args=
5921 + test "$silent" = yes &&
5922 + ac_config_status_args="$ac_config_status_args --quiet"
5924 - $SHELL $CONFIG_STATUS || ac_cs_success=false
5925 + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5927 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5928 # would make configure fail if this is the last instruction.