3 # Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
6 --- links-2.1pre12/configure.in~configure
7 +++ links-2.1pre12/configure.in
10 # This file is a part of the Links program, released under GPL.
14 +AC_CONFIG_SRCDIR([main.c])
16 AM_INIT_AUTOMAKE(links, 2.1pre12)
19 AUTOHEADER="./missing autoheader"
20 image_formats="GIF PNG XBM"
22 -AM_CONFIG_HEADER(config.h)
23 +AC_CONFIG_HEADERS([config.h])
25 dnl Checks for programs.
34 #AC_CHECK_LIB(fl,main,AC_DEFINE(JS) LIBS="$LIBS -lfl",AC_MSG_WARN(You don't have libfl; you won't be able to run javascript))
36 AC_CACHE_CHECK([for EMX], ac_cv_have_emx,
37 - AC_TRY_COMPILE(, [#ifndef __EMX__
38 + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[#ifndef __EMX__
40 - #endif ], ac_cv_have_emx=yes, ac_cv_have_emx=no)
41 + #endif ]])],[ac_cv_have_emx=yes],[ac_cv_have_emx=no])
43 test "$ac_cv_have_emx" = yes && LDFLAGS=`echo "$LDFLAGS" | sed "s/-Zexe//g" | sed "s/-Zbin-files//g"`
45 AC_CACHE_CHECK([for typeof], ac_cv_have_typeof,
46 - AC_TRY_COMPILE(, [int a;
47 - typeof(a) b;], ac_cv_have_typeof=yes, ac_cv_have_typeof=no)
48 + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[int a;
49 + typeof(a) b;]])],[ac_cv_have_typeof=yes],[ac_cv_have_typeof=no])
51 test "$ac_cv_have_typeof" = yes && AC_DEFINE(HAVE_TYPEOF)
53 AC_CACHE_CHECK([for long long], ac_cv_have_long_long,
54 - AC_TRY_COMPILE(, [unsigned long long a; ], ac_cv_have_long_long=yes, ac_cv_have_long_long=no)
55 + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[unsigned long long a; ]])],[ac_cv_have_long_long=yes],[ac_cv_have_long_long=no])
57 test "$ac_cv_have_long_long" = yes && AC_DEFINE(HAVE_LONG_LONG)
60 AC_CHECK_SIZEOF(long, "$default_int")
61 AC_CHECK_SIZEOF(unsigned long, "$default_int")
62 AC_CACHE_CHECK([for big endian], ac_cv_big_endian,
64 + AC_RUN_IFELSE([AC_LANG_SOURCE([[
70 return !(c[[sizeof(long) - 1]] == 0x78 && c[[sizeof(long) - 2]] == 0x56 && c[[sizeof(long) - 3]] == 0x34 && c[[sizeof(long) - 4]] == 0x12);
72 - ], ac_cv_big_endian=yes, ac_cv_big_endian=no, ac_cv_big_endian=no)
73 + ]])],[ac_cv_big_endian=yes],[ac_cv_big_endian=no],[ac_cv_big_endian=no])
75 AC_CACHE_CHECK([for little endian], ac_cv_little_endian,
77 + AC_RUN_IFELSE([AC_LANG_SOURCE([[
83 return !(c[[0]] == 0x78 && c[[1]] == 0x56 && c[[2]] == 0x34 && c[[3]] == 0x12);
85 - ], ac_cv_little_endian=yes, ac_cv_little_endian=no, ac_cv_little_endian="$ac_cv_have_emx")
86 + ]])],[ac_cv_little_endian=yes],[ac_cv_little_endian=no],[ac_cv_little_endian="$ac_cv_have_emx"])
89 +AC_DEFUN([AC_BIG_ENDIAN],[],[])
90 +AC_DEFUN([AC_LITTLE_ENDIAN],[],[])
92 if test "$ac_cv_big_endian" = yes; then
93 AC_DEFINE(AC_BIG_ENDIAN)
94 else if test "$ac_cv_little_endian" = yes; then
99 -AC_HAVE_FUNCS(calloc)
100 -AC_HAVE_FUNCS(snprintf)
101 -AC_HAVE_FUNCS(gettimeofday mkdir select strcspn strerror strstr strtol strtoul alarm chmod)
102 -AC_HAVE_FUNCS(getpid setpgid getpgid setpgrp getpgrp)
103 -AC_HAVE_FUNCS(popen)
104 -AC_HAVE_FUNCS(uname)
105 -AC_HAVE_FUNCS(strptime)
106 -AC_HAVE_FUNCS(setlocale)
107 -AC_HAVE_FUNCS(nl_langinfo)
108 -dnl AC_HAVE_FUNCS(sigsetjmp siglongjmp)
109 +AC_CHECK_FUNCS([calloc])
110 +AC_CHECK_FUNCS([snprintf])
111 +AC_CHECK_FUNCS([gettimeofday mkdir select strcspn strerror strstr strtol strtoul alarm chmod])
112 +AC_CHECK_FUNCS([getpid setpgid getpgid setpgrp getpgrp])
113 +AC_CHECK_FUNCS([popen])
114 +AC_CHECK_FUNCS([uname])
115 +AC_CHECK_FUNCS([strptime])
116 +AC_CHECK_FUNCS([setlocale])
117 +AC_CHECK_FUNCS([nl_langinfo])
118 +dnl AC_CHECK_FUNCS([sigsetjmp siglongjmp])
120 AC_CACHE_CHECK([for sigsetjmp/siglongjmp], ac_cv_have_sigsetjmp,
121 - AC_TRY_LINK([#include <setjmp.h>], [sigjmp_buf env;sigsetjmp(env, 1);siglongjmp(env, 2);], ac_cv_have_sigsetjmp=yes, ac_cv_have_sigsetjmp=no)
122 + AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <setjmp.h>]], [[sigjmp_buf env;sigsetjmp(env, 1);siglongjmp(env, 2);]])],[ac_cv_have_sigsetjmp=yes],[ac_cv_have_sigsetjmp=no])
124 if test "$ac_cv_have_sigsetjmp" = yes; then
125 AC_DEFINE(HAVE_SIGSETJMP)
129 #AC_MSG_CHECKING([for gethostbyname])
130 -#AC_TRY_LINK([#include <netdb.h>], [gethostbyname("")], cf_result=yes, cf_result=no)
131 +#AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <netdb.h>]], [[gethostbyname("")]])],[cf_result=yes],[cf_result=no])
132 #AC_MSG_RESULT($cf_result)
133 AC_CHECK_FUNC(gethostbyname, cf_result=yes, cf_result=no)
134 if test "$cf_result" = no; then
136 AC_CHECK_FUNC(herror, AC_DEFINE(HAVE_HERROR))
137 AC_CHECK_FUNC(cfmakeraw, AC_DEFINE(HAVE_CFMAKERAW))
139 -AC_HAVE_FUNCS(cygwin_conv_to_full_win32_path)
140 +AC_CHECK_FUNCS([cygwin_conv_to_full_win32_path])
142 AC_MSG_CHECKING([if you want to enable javascript])
143 AC_ARG_ENABLE(javascript, [ --enable-javascript use javascript interpreter], cf_use_javascript=yes, cf_use_javascript=no)
145 AC_CACHE_CHECK([for OS/2 threads], ac_cv_have_beginthread,
147 CFLAGS="$CFLAGS -Zmt"
148 - AC_TRY_LINK([#include <stdlib.h>], [_beginthread(NULL, NULL, 0, NULL)], ac_cv_have_beginthread=yes, ac_cv_have_beginthread=no)
149 + AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <stdlib.h>]], [[_beginthread(NULL, NULL, 0, NULL)]])],[ac_cv_have_beginthread=yes],[ac_cv_have_beginthread=no])
152 if test "$ac_cv_have_beginthread" = yes; then
155 #AC_CHECK_FUNC(clone, AC_DEFINE(HAVE_CLONE))
156 AC_CHECK_HEADERS(atheos/threads.h)
157 -AC_HAVE_FUNCS(spawn_thread)
158 -AC_HAVE_FUNCS(resume_thread)
159 +AC_CHECK_FUNCS([spawn_thread])
160 +AC_CHECK_FUNCS([resume_thread])
162 AC_CHECK_FUNC(MouOpen, AC_DEFINE(HAVE_MOUOPEN))
163 AC_CHECK_FUNC(_read_kbd, AC_DEFINE(HAVE_READ_KBD))
164 @@ -222,10 +226,10 @@
165 if test -n "$X11ROOT"; then
166 CPPFLAGS="$CPPFLAGS_X -I$X11ROOT/XFree86/include"
167 LIBS="$LIBS_X -L$X11ROOT/XFree86/lib -lxf86_gcc"
168 - AC_TRY_LINK([#include <pty.h>], [struct winsize win;ptioctl(1, TIOCGWINSZ, &win)], ac_cv_have_x2=xf86_gcc, ac_cv_have_x2=no)
169 + AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <pty.h>]], [[struct winsize win;ptioctl(1, TIOCGWINSZ, &win)]])],[ac_cv_have_x2=xf86_gcc],[ac_cv_have_x2=no])
170 if test "$ac_cv_have_x2" = no; then
171 LIBS="$LIBS_X -L$X11ROOT/XFree86/lib -lxf86"
172 - AC_TRY_LINK([#include <pty.h>], [struct winsize win;ptioctl(1, TIOCGWINSZ, &win)], ac_cv_have_x2=xf86, ac_cv_have_x2=no)
173 + AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <pty.h>]], [[struct winsize win;ptioctl(1, TIOCGWINSZ, &win)]])],[ac_cv_have_x2=xf86],[ac_cv_have_x2=no])
176 CPPFLAGS="$CPPFLAGS_X"
179 LIBS="-lssl -lcrypto $LIBS_X"
181 - AC_TRY_LINK([#include <openssl/ssl.h>], [OpenSSL_add_all_algorithms()], cf_result=yes, cf_result=no)
182 + AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <openssl/ssl.h>]], [[OpenSSL_add_all_algorithms()]])],[cf_result=yes],[cf_result=no])
183 if test "$cf_result" != yes; then
184 - AC_TRY_LINK([#include <openssl/ssl.h>], [SSLeay_add_ssl_algorithms()], cf_result=yes, cf_result=no)
185 + AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <openssl/ssl.h>]], [[SSLeay_add_ssl_algorithms()]])],[cf_result=yes],[cf_result=no])
189 @@ -287,14 +291,14 @@
190 AC_CHECK_HEADERS(png.h libpng/png.h)
191 AC_CHECK_LIB(png, png_create_info_struct)
192 if test "$ac_cv_header_png_h" != yes && test "$ac_cv_header_libpng_png_h" != yes || test "$ac_cv_lib_png_png_create_info_struct" != yes; then
193 - AC_ERROR([You need libpng to compile Links in graphics mode])
194 + AC_MSG_ERROR([You need libpng to compile Links in graphics mode])
197 - AC_HAVE_FUNCS(png_set_rgb_to_gray)
198 + AC_CHECK_FUNCS([png_set_rgb_to_gray])
200 AC_CACHE_CHECK(if you can include both setjmp.h and png.h, ac_cv_include_setjmp_png,
201 - AC_TRY_COMPILE([#include <setjmp.h>
202 - #include <png.h>], [jmp_buf bla;], ac_cv_include_setjmp_png=yes, ac_cv_include_setjmp_png=no)
203 + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <setjmp.h>
204 + #include <png.h>]], [[jmp_buf bla;]])],[ac_cv_include_setjmp_png=yes],[ac_cv_include_setjmp_png=no])
207 if test "$ac_cv_include_setjmp_png" != yes; then
209 AC_CACHE_CHECK([for svgalib], ac_cv_have_svgalib,
212 - AC_TRY_LINK([#include <vga.h>], [vga_setmode(0)], ac_cv_have_svgalib=yes, ac_cv_have_svgalib=no)
213 + AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <vga.h>]], [[vga_setmode(0)]])],[ac_cv_have_svgalib=yes],[ac_cv_have_svgalib=no])
219 dnl braine, tohle jsem predelal
220 dnl AC_CACHE_CHECK([for framebuffer], ac_cv_have_fb,
221 -dnl AC_TRY_RUN([#include <stdio.h>
222 +dnl AC_RUN_IFELSE([AC_LANG_SOURCE([[#include <stdio.h>
223 dnl #include <fcntl.h>
224 -dnl main(){return open("/dev/fb",O_RDWR)==-1;}], ac_cv_have_fb=yes, ac_cv_have_fb=no, ac_cv_have_fb=no)
225 +dnl main(){return open("/dev/fb",O_RDWR)==-1;}]])],[ac_cv_have_fb=yes],[ac_cv_have_fb=no],[ac_cv_have_fb=no])
228 if test "$disable_fb" != yes ; then
229 @@ -406,14 +410,12 @@
231 if test "$disable_pmshell" != yes ; then
232 AC_CACHE_CHECK([for pmshell], ac_cv_have_pmshell,
233 - AC_TRY_LINK([#define INCL_WIN
234 + AC_LINK_IFELSE([AC_LANG_PROGRAM([[#define INCL_WIN
237 - #include <sys/fmutex.h>],
239 + #include <sys/fmutex.h>]], [[_fmutex mutex;
240 WinDrawText(NULLHANDLE, -1, NULL, NULL, 0, 0, 0),
241 - GpiSetPel(NULLHANDLE, NULL)],
242 - ac_cv_have_pmshell=yes, ac_cv_have_pmshell=no)
243 + GpiSetPel(NULLHANDLE, NULL)]])],[ac_cv_have_pmshell=yes],[ac_cv_have_pmshell=no])
246 if test "$ac_cv_have_pmshell" = yes; then
248 test "$ac_cv_have_emx" = yes && LDFLAGS="$LDFLAGS -Zexe"
249 test "$ac_cv_have_emx" = yes && LDFLAGS=`echo "$LDFLAGS" | sed "s/-Zbin-files//g"`
252 +AC_CONFIG_FILES([Makefile])
255 echo "---------------------------------------------------------"
256 echo "Configuration results:"
260 #if test -z "$AWK"; then
261 -# AC_WARN([awk not found. You won't be able to rebuild code page table.]);
262 +# AC_MSG_WARN([awk not found. You won't be able to rebuild code page table.]);
264 --- links-2.1pre12/configure~configure
265 +++ links-2.1pre12/configure
269 # Guess values for system-dependent variables and create Makefiles.
270 -# Generated automatically using autoconf version 2.13
271 -# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
272 +# Generated by GNU Autoconf 2.57.
274 +# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
275 +# Free Software Foundation, Inc.
276 # This configure script is free software; the Free Software Foundation
277 # gives unlimited permission to copy, distribute and modify it.
278 +## --------------------- ##
279 +## M4sh Initialization. ##
280 +## --------------------- ##
284 +# Be Bourne compatible
285 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
288 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
289 + # is contrary to our usage. Disable this feature.
290 + alias -g '${1+"$@"}'='"$@"'
291 +elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
295 +# Support unset when possible.
296 +if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
303 +# Work around bugs in pre-3.0 UWIN ksh.
304 +$as_unset ENV MAIL MAILPATH
311 + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
312 + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
313 + LC_TELEPHONE LC_TIME
315 + if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
316 + eval $as_var=C; export $as_var
322 +# Required to use basename.
323 +if expr a : '\(a\)' >/dev/null 2>&1; then
329 +if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
330 + as_basename=basename
336 +# Name of the executable.
337 +as_me=`$as_basename "$0" ||
338 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
339 + X"$0" : 'X\(//\)$' \| \
340 + X"$0" : 'X\(/\)$' \| \
341 + . : '\(.\)' 2>/dev/null ||
343 + sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
344 + /^X\/\(\/\/\)$/{ s//\1/; q; }
345 + /^X\/\(\/\).*/{ s//\1/; q; }
349 +# PATH needs CR, and LINENO needs CR and PATH.
350 +# Avoid depending upon Character Ranges.
351 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
352 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
353 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
354 +as_cr_digits='0123456789'
355 +as_cr_alnum=$as_cr_Letters$as_cr_digits
357 +# The user is always right.
358 +if test "${PATH_SEPARATOR+set}" != set; then
359 + echo "#! /bin/sh" >conf$$.sh
360 + echo "exit 0" >>conf$$.sh
362 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
371 + as_lineno_1=$LINENO
372 + as_lineno_2=$LINENO
373 + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
374 + test "x$as_lineno_1" != "x$as_lineno_2" &&
375 + test "x$as_lineno_3" = "x$as_lineno_2" || {
376 + # Find who we are. Look in the path if we contain no path at all
379 + *[\\/]* ) as_myself=$0 ;;
380 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
384 + test -z "$as_dir" && as_dir=.
385 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
390 + # We did not find ourselves, most probably we were run as `sh COMMAND'
391 + # in which case we are not to be found in the path.
392 + if test "x$as_myself" = x; then
395 + if test ! -f "$as_myself"; then
396 + { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
397 + { (exit 1); exit 1; }; }
399 + case $CONFIG_SHELL in
401 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
402 +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
405 + test -z "$as_dir" && as_dir=.
406 + for as_base in sh bash ksh sh5; do
409 + if ("$as_dir/$as_base" -c '
410 + as_lineno_1=$LINENO
411 + as_lineno_2=$LINENO
412 + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
413 + test "x$as_lineno_1" != "x$as_lineno_2" &&
414 + test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
415 + $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
416 + $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
417 + CONFIG_SHELL=$as_dir/$as_base
418 + export CONFIG_SHELL
419 + exec "$CONFIG_SHELL" "$0" ${1+"$@"}
427 + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
428 + # uniformly replaced by the line number. The first 'sed' inserts a
429 + # line-number line before each line; the second 'sed' does the real
430 + # work. The second script uses 'N' to pair each line-number line
431 + # with the numbered line, and appends trailing '-' during
432 + # substitution so that $LINENO is not a special case at line end.
433 + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
434 + # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
435 + sed '=' <$as_myself |
440 + s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
443 + s,^['$as_cr_digits']*\n,,
444 + ' >$as_me.lineno &&
445 + chmod +x $as_me.lineno ||
446 + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
447 + { (exit 1); exit 1; }; }
449 + # Don't try to exec as it changes $[0], causing all sort of problems
450 + # (the dirname of $[0] is not the place where we might find the
451 + # original and so on. Autoconf is especially sensible to this).
453 + # Exit status is that of the last command.
458 +case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
459 + *c*,-n*) ECHO_N= ECHO_C='
461 + *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
462 + *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
465 +if expr a : '\(a\)' >/dev/null 2>&1; then
471 +rm -f conf$$ conf$$.exe conf$$.file
473 +if ln -s conf$$.file conf$$ 2>/dev/null; then
474 + # We could just check for DJGPP; but this test a) works b) is more generic
475 + # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
476 + if test -f conf$$.exe; then
477 + # Don't use ln at all; we don't have any links
482 +elif ln conf$$.file conf$$ 2>/dev/null; then
487 +rm -f conf$$ conf$$.exe conf$$.file
489 +if mkdir -p . 2>/dev/null; then
495 +as_executable_p="test -f"
497 +# Sed expression to map a string onto a valid CPP name.
498 +as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
500 +# Sed expression to map a string onto a valid variable name.
501 +as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
505 +# We need space, tab and new line, in precisely that order.
515 +# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
516 +# so uname gets run too.
517 +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
524 ac_default_prefix=/usr/local
525 -# Any additions from configure.in:
527 - --enable-javascript use javascript interpreter"
529 - --with-libfl use libfl"
531 - --enable-graphics use graphics"
533 - --with-ssl(=directory) enable SSL support"
535 - --without-libjpeg compile without JPEG support"
537 - --without-libtiff compile without TIFF support"
539 - --without-svgalib compile without svgalib graphics driver"
541 - --without-x compile without X Window System graphics driver"
543 - --without-fb compile without Linux Framebuffer graphics driver"
545 - --without-directfb compile without DirectFB graphics driver"
547 - --without-pmshell compile without PMShell graphics driver"
549 - --without-atheos compile without Atheos graphics driver"
551 - --with-x use the X Window System"
552 +ac_config_libobj_dir=.
557 +SHELL=${CONFIG_SHELL-/bin/sh}
559 +# Maximum number of lines to put in a shell here document.
560 +# This variable seems obsolete. It should probably be removed, and
561 +# only ac_max_sed_lines should be used.
562 +: ${ac_max_here_lines=38}
564 +# Identity of this package.
571 +ac_unique_file="main.c"
572 +# Factoring default headers for most tests.
573 +ac_includes_default="\
575 +#if HAVE_SYS_TYPES_H
576 +# include <sys/types.h>
579 +# include <sys/stat.h>
582 +# include <stdlib.h>
583 +# include <stddef.h>
586 +# include <stdlib.h>
590 +# if !STDC_HEADERS && HAVE_MEMORY_H
591 +# include <memory.h>
593 +# include <string.h>
596 +# include <strings.h>
599 +# include <inttypes.h>
602 +# include <stdint.h>
606 +# include <unistd.h>
609 +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 INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CPP EGREP LIBOBJS DIRECTFB_CONFIG ATHEOS_GR_TRUE ATHEOS_GR_FALSE LTLIBOBJS'
612 # Initialize some variables set by options.
614 +ac_init_version=false
615 # The variables have the same names as the options, with
616 # dashes changed to underlines.
618 -cache_file=./config.cache
619 +cache_file=/dev/null
636 +# Installation directory options.
637 +# These are left unexpanded so users can "make install exec_prefix=/foo"
638 +# and all the variables that are supposed to be based on exec_prefix
639 +# by default will actually change.
640 +# Use braces instead of parens because sh, perl, etc. also accept them.
641 bindir='${exec_prefix}/bin'
642 sbindir='${exec_prefix}/sbin'
643 libexecdir='${exec_prefix}/libexec'
645 infodir='${prefix}/info'
646 mandir='${prefix}/man'
648 -# Initialize some other variables.
651 -SHELL=${CONFIG_SHELL-/bin/sh}
652 -# Maximum number of lines to put in a shell here document.
653 -ac_max_here_lines=12
659 # If the previous option needs an argument, assign it.
660 if test -n "$ac_prev"; then
661 eval "$ac_prev=\$ac_option"
666 - case "$ac_option" in
667 - -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
670 + ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
672 # Accept the important Cygnus configure options, so we can diagnose typos.
674 - case "$ac_option" in
677 -bindir | --bindir | --bindi | --bind | --bin | --bi)
679 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
680 - bindir="$ac_optarg" ;;
681 + bindir=$ac_optarg ;;
683 -build | --build | --buil | --bui | --bu)
685 + ac_prev=build_alias ;;
686 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
687 - build="$ac_optarg" ;;
688 + build_alias=$ac_optarg ;;
690 -cache-file | --cache-file | --cache-fil | --cache-fi \
691 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
692 ac_prev=cache_file ;;
693 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
694 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
695 - cache_file="$ac_optarg" ;;
696 + cache_file=$ac_optarg ;;
698 + --config-cache | -C)
699 + cache_file=config.cache ;;
701 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
703 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
705 - datadir="$ac_optarg" ;;
706 + datadir=$ac_optarg ;;
708 -disable-* | --disable-*)
709 - ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
710 + ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
711 # Reject names that are not valid shell variable names.
712 - if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
713 - { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
715 - ac_feature=`echo $ac_feature| sed 's/-/_/g'`
716 - eval "enable_${ac_feature}=no" ;;
717 + expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
718 + { echo "$as_me: error: invalid feature name: $ac_feature" >&2
719 + { (exit 1); exit 1; }; }
720 + ac_feature=`echo $ac_feature | sed 's/-/_/g'`
721 + eval "enable_$ac_feature=no" ;;
723 -enable-* | --enable-*)
724 - ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
725 + ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
726 # Reject names that are not valid shell variable names.
727 - if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
728 - { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
730 - ac_feature=`echo $ac_feature| sed 's/-/_/g'`
731 - case "$ac_option" in
733 + expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
734 + { echo "$as_me: error: invalid feature name: $ac_feature" >&2
735 + { (exit 1); exit 1; }; }
736 + ac_feature=`echo $ac_feature | sed 's/-/_/g'`
738 + *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
741 - eval "enable_${ac_feature}='$ac_optarg'" ;;
742 + eval "enable_$ac_feature='$ac_optarg'" ;;
744 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
745 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
746 @@ -151,95 +420,47 @@
747 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
748 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
749 | --exec=* | --exe=* | --ex=*)
750 - exec_prefix="$ac_optarg" ;;
751 + exec_prefix=$ac_optarg ;;
753 -gas | --gas | --ga | --g)
754 # Obsolete; use --with-gas.
757 - -help | --help | --hel | --he)
758 - # Omit some internal or obsolete options to make the list less imposing.
759 - # This message is too long to be a string in the A/UX 3.1 sh.
761 -Usage: configure [options] [host]
762 -Options: [defaults in brackets after descriptions]
764 - --cache-file=FILE cache test results in FILE
765 - --help print this message
766 - --no-create do not create output files
767 - --quiet, --silent do not print \`checking...' messages
768 - --version print the version of autoconf that created configure
769 -Directory and file names:
770 - --prefix=PREFIX install architecture-independent files in PREFIX
771 - [$ac_default_prefix]
772 - --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
774 - --bindir=DIR user executables in DIR [EPREFIX/bin]
775 - --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
776 - --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
777 - --datadir=DIR read-only architecture-independent data in DIR
779 - --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
780 - --sharedstatedir=DIR modifiable architecture-independent data in DIR
782 - --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
783 - --libdir=DIR object code libraries in DIR [EPREFIX/lib]
784 - --includedir=DIR C header files in DIR [PREFIX/include]
785 - --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
786 - --infodir=DIR info documentation in DIR [PREFIX/info]
787 - --mandir=DIR man documentation in DIR [PREFIX/man]
788 - --srcdir=DIR find the sources in DIR [configure dir or ..]
789 - --program-prefix=PREFIX prepend PREFIX to installed program names
790 - --program-suffix=SUFFIX append SUFFIX to installed program names
791 - --program-transform-name=PROGRAM
792 - run sed PROGRAM on installed program names
796 - --build=BUILD configure for building on BUILD [BUILD=HOST]
797 - --host=HOST configure for HOST [guessed]
798 - --target=TARGET configure for TARGET [TARGET=HOST]
799 -Features and packages:
800 - --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
801 - --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
802 - --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
803 - --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
804 - --x-includes=DIR X include files are in DIR
805 - --x-libraries=DIR X library files are in DIR
807 - if test -n "$ac_help"; then
808 - echo "--enable and --with options recognized:$ac_help"
811 + -help | --help | --hel | --he | -h)
812 + ac_init_help=long ;;
813 + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
814 + ac_init_help=recursive ;;
815 + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
816 + ac_init_help=short ;;
818 -host | --host | --hos | --ho)
820 + ac_prev=host_alias ;;
821 -host=* | --host=* | --hos=* | --ho=*)
822 - host="$ac_optarg" ;;
823 + host_alias=$ac_optarg ;;
825 -includedir | --includedir | --includedi | --included | --include \
826 | --includ | --inclu | --incl | --inc)
827 ac_prev=includedir ;;
828 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
829 | --includ=* | --inclu=* | --incl=* | --inc=*)
830 - includedir="$ac_optarg" ;;
831 + includedir=$ac_optarg ;;
833 -infodir | --infodir | --infodi | --infod | --info | --inf)
835 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
836 - infodir="$ac_optarg" ;;
837 + infodir=$ac_optarg ;;
839 -libdir | --libdir | --libdi | --libd)
841 -libdir=* | --libdir=* | --libdi=* | --libd=*)
842 - libdir="$ac_optarg" ;;
843 + libdir=$ac_optarg ;;
845 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
846 | --libexe | --libex | --libe)
847 ac_prev=libexecdir ;;
848 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
849 | --libexe=* | --libex=* | --libe=*)
850 - libexecdir="$ac_optarg" ;;
851 + libexecdir=$ac_optarg ;;
853 -localstatedir | --localstatedir | --localstatedi | --localstated \
854 | --localstate | --localstat | --localsta | --localst \
855 @@ -248,19 +469,19 @@
856 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
857 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
858 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
859 - localstatedir="$ac_optarg" ;;
860 + localstatedir=$ac_optarg ;;
862 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
864 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
865 - mandir="$ac_optarg" ;;
866 + mandir=$ac_optarg ;;
869 # Obsolete; use --without-fp.
872 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
873 - | --no-cr | --no-c)
874 + | --no-cr | --no-c | -n)
877 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
878 @@ -274,26 +495,26 @@
879 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
880 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
881 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
882 - oldincludedir="$ac_optarg" ;;
883 + oldincludedir=$ac_optarg ;;
885 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
887 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
888 - prefix="$ac_optarg" ;;
889 + prefix=$ac_optarg ;;
891 -program-prefix | --program-prefix | --program-prefi | --program-pref \
892 | --program-pre | --program-pr | --program-p)
893 ac_prev=program_prefix ;;
894 -program-prefix=* | --program-prefix=* | --program-prefi=* \
895 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
896 - program_prefix="$ac_optarg" ;;
897 + program_prefix=$ac_optarg ;;
899 -program-suffix | --program-suffix | --program-suffi | --program-suff \
900 | --program-suf | --program-su | --program-s)
901 ac_prev=program_suffix ;;
902 -program-suffix=* | --program-suffix=* | --program-suffi=* \
903 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
904 - program_suffix="$ac_optarg" ;;
905 + program_suffix=$ac_optarg ;;
907 -program-transform-name | --program-transform-name \
908 | --program-transform-nam | --program-transform-na \
910 | --program-transfo=* | --program-transf=* \
911 | --program-trans=* | --program-tran=* \
912 | --progr-tra=* | --program-tr=* | --program-t=*)
913 - program_transform_name="$ac_optarg" ;;
914 + program_transform_name=$ac_optarg ;;
916 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
917 | -silent | --silent | --silen | --sile | --sil)
920 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
922 - sbindir="$ac_optarg" ;;
923 + sbindir=$ac_optarg ;;
925 -sharedstatedir | --sharedstatedir | --sharedstatedi \
926 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
927 @@ -331,58 +552,57 @@
928 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
929 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
931 - sharedstatedir="$ac_optarg" ;;
932 + sharedstatedir=$ac_optarg ;;
934 -site | --site | --sit)
936 -site=* | --site=* | --sit=*)
937 - site="$ac_optarg" ;;
940 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
942 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
943 - srcdir="$ac_optarg" ;;
944 + srcdir=$ac_optarg ;;
946 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
947 | --syscon | --sysco | --sysc | --sys | --sy)
948 ac_prev=sysconfdir ;;
949 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
950 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
951 - sysconfdir="$ac_optarg" ;;
952 + sysconfdir=$ac_optarg ;;
954 -target | --target | --targe | --targ | --tar | --ta | --t)
956 + ac_prev=target_alias ;;
957 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
958 - target="$ac_optarg" ;;
959 + target_alias=$ac_optarg ;;
961 -v | -verbose | --verbose | --verbos | --verbo | --verb)
964 - -version | --version | --versio | --versi | --vers)
965 - echo "configure generated by autoconf version 2.13"
967 + -version | --version | --versio | --versi | --vers | -V)
968 + ac_init_version=: ;;
971 - ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
972 + ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
973 # Reject names that are not valid shell variable names.
974 - if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
975 - { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
977 + expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
978 + { echo "$as_me: error: invalid package name: $ac_package" >&2
979 + { (exit 1); exit 1; }; }
980 ac_package=`echo $ac_package| sed 's/-/_/g'`
981 - case "$ac_option" in
984 + *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
987 - eval "with_${ac_package}='$ac_optarg'" ;;
988 + eval "with_$ac_package='$ac_optarg'" ;;
990 -without-* | --without-*)
991 - ac_package=`echo $ac_option|sed -e 's/-*without-//'`
992 + ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
993 # Reject names that are not valid shell variable names.
994 - if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
995 - { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
997 - ac_package=`echo $ac_package| sed 's/-/_/g'`
998 - eval "with_${ac_package}=no" ;;
999 + expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1000 + { echo "$as_me: error: invalid package name: $ac_package" >&2
1001 + { (exit 1); exit 1; }; }
1002 + ac_package=`echo $ac_package | sed 's/-/_/g'`
1003 + eval "with_$ac_package=no" ;;
1006 # Obsolete; use --with-x.
1007 @@ -393,99 +613,110 @@
1008 ac_prev=x_includes ;;
1009 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1010 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1011 - x_includes="$ac_optarg" ;;
1012 + x_includes=$ac_optarg ;;
1014 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1015 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1016 ac_prev=x_libraries ;;
1017 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1018 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1019 - x_libraries="$ac_optarg" ;;
1020 + x_libraries=$ac_optarg ;;
1022 - -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
1023 + -*) { echo "$as_me: error: unrecognized option: $ac_option
1024 +Try \`$0 --help' for more information." >&2
1025 + { (exit 1); exit 1; }; }
1029 + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1030 + # Reject names that are not valid shell variable names.
1031 + expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1032 + { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1033 + { (exit 1); exit 1; }; }
1034 + ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
1035 + eval "$ac_envvar='$ac_optarg'"
1036 + export $ac_envvar ;;
1039 - if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
1040 - echo "configure: warning: $ac_option: invalid host type" 1>&2
1042 - if test "x$nonopt" != xNONE; then
1043 - { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
1045 - nonopt="$ac_option"
1046 + # FIXME: should be removed in autoconf 3.0.
1047 + echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1048 + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1049 + echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1050 + : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1056 if test -n "$ac_prev"; then
1057 - { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
1060 -trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
1062 -# File descriptor usage:
1065 -# 2 errors and warnings
1066 -# 3 some systems may open it to /dev/tty
1067 -# 4 used on the Kubota Titan
1068 -# 6 checking for... messages and results
1069 -# 5 compiler messages saved in config.log
1070 -if test "$silent" = yes; then
1074 + ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1075 + { echo "$as_me: error: missing argument to $ac_option" >&2
1076 + { (exit 1); exit 1; }; }
1078 -exec 5>./config.log
1081 -This file contains any messages produced by compilers while
1082 -running configure, to aid debugging if configure makes a mistake.
1084 +# Be sure to have absolute paths.
1085 +for ac_var in exec_prefix prefix
1087 + eval ac_val=$`echo $ac_var`
1089 + [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
1090 + *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1091 + { (exit 1); exit 1; }; };;
1095 -# Strip out --no-create and --no-recursion so they do not pile up.
1096 -# Also quote any args containing shell metacharacters.
1099 +# Be sure to have absolute paths.
1100 +for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
1101 + localstatedir libdir includedir oldincludedir infodir mandir
1104 - -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1105 - | --no-cr | --no-c) ;;
1106 - -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1107 - | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
1108 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
1109 - ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1110 - *) ac_configure_args="$ac_configure_args $ac_arg" ;;
1111 + eval ac_val=$`echo $ac_var`
1113 + [\\/$]* | ?:[\\/]* ) ;;
1114 + *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1115 + { (exit 1); exit 1; }; };;
1120 -# Only set these to C if already set. These must not be set unconditionally
1121 -# because not all systems understand e.g. LANG=C (notably SCO).
1122 -# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
1123 -# Non-C LC_CTYPE values break the ctype check.
1124 -if test "${LANG+set}" = set; then LANG=C; export LANG; fi
1125 -if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
1126 -if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
1127 -if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
1128 +# There might be people who depend on the old broken behavior: `$host'
1129 +# used to hold the argument of --host etc.
1130 +# FIXME: To remove some day.
1133 +target=$target_alias
1135 -# confdefs.h avoids OS command line length limits that DEFS can exceed.
1136 -rm -rf conftest* confdefs.h
1137 -# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1139 +# FIXME: To remove some day.
1140 +if test "x$host_alias" != x; then
1141 + if test "x$build_alias" = x; then
1142 + cross_compiling=maybe
1143 + echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1144 + If a cross compiler is detected then cross compile mode will be used." >&2
1145 + elif test "x$build_alias" != "x$host_alias"; then
1146 + cross_compiling=yes
1151 +test -n "$host_alias" && ac_tool_prefix=$host_alias-
1153 +test "$silent" = yes && exec 6>/dev/null
1155 -# A filename unique to this package, relative to the directory that
1156 -# configure is in, which we can look for to find out if srcdir is correct.
1157 -ac_unique_file=main.c
1159 # Find the source files, if location was not specified.
1160 if test -z "$srcdir"; then
1161 ac_srcdir_defaulted=yes
1162 # Try the directory containing this script, then its parent.
1164 - ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
1165 - test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
1166 + ac_confdir=`(dirname "$0") 2>/dev/null ||
1167 +$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1168 + X"$0" : 'X\(//\)[^/]' \| \
1169 + X"$0" : 'X\(//\)$' \| \
1170 + X"$0" : 'X\(/\)' \| \
1171 + . : '\(.\)' 2>/dev/null ||
1173 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1174 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1175 + /^X\(\/\/\)$/{ s//\1/; q; }
1176 + /^X\(\/\).*/{ s//\1/; q; }
1179 if test ! -r $srcdir/$ac_unique_file; then
1181 @@ -495,13 +726,464 @@
1183 if test ! -r $srcdir/$ac_unique_file; then
1184 if test "$ac_srcdir_defaulted" = yes; then
1185 - { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
1186 + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
1187 + { (exit 1); exit 1; }; }
1189 - { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
1190 + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1191 + { (exit 1); exit 1; }; }
1194 -srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
1195 +(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
1196 + { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
1197 + { (exit 1); exit 1; }; }
1198 +srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
1199 +ac_env_build_alias_set=${build_alias+set}
1200 +ac_env_build_alias_value=$build_alias
1201 +ac_cv_env_build_alias_set=${build_alias+set}
1202 +ac_cv_env_build_alias_value=$build_alias
1203 +ac_env_host_alias_set=${host_alias+set}
1204 +ac_env_host_alias_value=$host_alias
1205 +ac_cv_env_host_alias_set=${host_alias+set}
1206 +ac_cv_env_host_alias_value=$host_alias
1207 +ac_env_target_alias_set=${target_alias+set}
1208 +ac_env_target_alias_value=$target_alias
1209 +ac_cv_env_target_alias_set=${target_alias+set}
1210 +ac_cv_env_target_alias_value=$target_alias
1211 +ac_env_CC_set=${CC+set}
1212 +ac_env_CC_value=$CC
1213 +ac_cv_env_CC_set=${CC+set}
1214 +ac_cv_env_CC_value=$CC
1215 +ac_env_CFLAGS_set=${CFLAGS+set}
1216 +ac_env_CFLAGS_value=$CFLAGS
1217 +ac_cv_env_CFLAGS_set=${CFLAGS+set}
1218 +ac_cv_env_CFLAGS_value=$CFLAGS
1219 +ac_env_LDFLAGS_set=${LDFLAGS+set}
1220 +ac_env_LDFLAGS_value=$LDFLAGS
1221 +ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
1222 +ac_cv_env_LDFLAGS_value=$LDFLAGS
1223 +ac_env_CPPFLAGS_set=${CPPFLAGS+set}
1224 +ac_env_CPPFLAGS_value=$CPPFLAGS
1225 +ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
1226 +ac_cv_env_CPPFLAGS_value=$CPPFLAGS
1227 +ac_env_CXX_set=${CXX+set}
1228 +ac_env_CXX_value=$CXX
1229 +ac_cv_env_CXX_set=${CXX+set}
1230 +ac_cv_env_CXX_value=$CXX
1231 +ac_env_CXXFLAGS_set=${CXXFLAGS+set}
1232 +ac_env_CXXFLAGS_value=$CXXFLAGS
1233 +ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
1234 +ac_cv_env_CXXFLAGS_value=$CXXFLAGS
1235 +ac_env_CPP_set=${CPP+set}
1236 +ac_env_CPP_value=$CPP
1237 +ac_cv_env_CPP_set=${CPP+set}
1238 +ac_cv_env_CPP_value=$CPP
1241 +# Report the --help message.
1243 +if test "$ac_init_help" = "long"; then
1244 + # Omit some internal or obsolete options to make the list less imposing.
1245 + # This message is too long to be a string in the A/UX 3.1 sh.
1247 +\`configure' configures this package to adapt to many kinds of systems.
1249 +Usage: $0 [OPTION]... [VAR=VALUE]...
1251 +To assign environment variables (e.g., CC, CFLAGS...), specify them as
1252 +VAR=VALUE. See below for descriptions of some of the useful variables.
1254 +Defaults for the options are specified in brackets.
1257 + -h, --help display this help and exit
1258 + --help=short display options specific to this package
1259 + --help=recursive display the short help of all the included packages
1260 + -V, --version display version information and exit
1261 + -q, --quiet, --silent do not print \`checking...' messages
1262 + --cache-file=FILE cache test results in FILE [disabled]
1263 + -C, --config-cache alias for \`--cache-file=config.cache'
1264 + -n, --no-create do not create output files
1265 + --srcdir=DIR find the sources in DIR [configure dir or \`..']
1270 +Installation directories:
1271 + --prefix=PREFIX install architecture-independent files in PREFIX
1272 + [$ac_default_prefix]
1273 + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1276 +By default, \`make install' will install all the files in
1277 +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1278 +an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1279 +for instance \`--prefix=\$HOME'.
1281 +For better control, use the options below.
1283 +Fine tuning of the installation directories:
1284 + --bindir=DIR user executables [EPREFIX/bin]
1285 + --sbindir=DIR system admin executables [EPREFIX/sbin]
1286 + --libexecdir=DIR program executables [EPREFIX/libexec]
1287 + --datadir=DIR read-only architecture-independent data [PREFIX/share]
1288 + --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1289 + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1290 + --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1291 + --libdir=DIR object code libraries [EPREFIX/lib]
1292 + --includedir=DIR C header files [PREFIX/include]
1293 + --oldincludedir=DIR C header files for non-gcc [/usr/include]
1294 + --infodir=DIR info documentation [PREFIX/info]
1295 + --mandir=DIR man documentation [PREFIX/man]
1301 + --program-prefix=PREFIX prepend PREFIX to installed program names
1302 + --program-suffix=SUFFIX append SUFFIX to installed program names
1303 + --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1306 + --x-includes=DIR X include files are in DIR
1307 + --x-libraries=DIR X library files are in DIR
1311 +if test -n "$ac_init_help"; then
1316 + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1317 + --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1318 + --disable-dependency-tracking Speeds up one-time builds
1319 + --enable-dependency-tracking Do not reject slow dependency extractors
1320 + --enable-javascript use javascript interpreter
1321 + --enable-graphics use graphics
1324 + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1325 + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1326 + --with-libfl use libfl
1327 + --with-ssl(=directory) enable SSL support
1328 + --without-libjpeg compile without JPEG support
1329 + --without-libtiff compile without TIFF support
1330 + --without-svgalib compile without svgalib graphics driver
1331 + --without-x compile without X Window System graphics driver
1332 + --without-fb compile without Linux Framebuffer graphics driver
1333 + --without-directfb compile without DirectFB graphics driver
1334 + --without-pmshell compile without PMShell graphics driver
1335 + --without-atheos compile without Atheos graphics driver
1336 + --with-x use the X Window System
1338 +Some influential environment variables:
1339 + CC C compiler command
1340 + CFLAGS C compiler flags
1341 + LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1342 + nonstandard directory <lib dir>
1343 + CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1344 + headers in a nonstandard directory <include dir>
1345 + CXX C++ compiler command
1346 + CXXFLAGS C++ compiler flags
1347 + CPP C preprocessor
1349 +Use these variables to override the choices made by `configure' or to help
1350 +it to find libraries and programs with nonstandard names/locations.
1355 +if test "$ac_init_help" = "recursive"; then
1356 + # If there are subdirs, report their specific --help.
1358 + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1359 + test -d $ac_dir || continue
1362 +if test "$ac_dir" != .; then
1363 + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1364 + # A "../" for each directory in $ac_dir_suffix.
1365 + ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1367 + ac_dir_suffix= ac_top_builddir=
1371 + .) # No --srcdir option. We are building in place.
1373 + if test -z "$ac_top_builddir"; then
1376 + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1378 + [\\/]* | ?:[\\/]* ) # Absolute path.
1379 + ac_srcdir=$srcdir$ac_dir_suffix;
1380 + ac_top_srcdir=$srcdir ;;
1381 + *) # Relative path.
1382 + ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1383 + ac_top_srcdir=$ac_top_builddir$srcdir ;;
1385 +# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1387 +ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1388 +ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1389 +ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1390 +ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1393 + # Check for guested configure; otherwise get Cygnus style configure.
1394 + if test -f $ac_srcdir/configure.gnu; then
1396 + $SHELL $ac_srcdir/configure.gnu --help=recursive
1397 + elif test -f $ac_srcdir/configure; then
1399 + $SHELL $ac_srcdir/configure --help=recursive
1400 + elif test -f $ac_srcdir/configure.ac ||
1401 + test -f $ac_srcdir/configure.in; then
1403 + $ac_configure --help
1405 + echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1411 +test -n "$ac_init_help" && exit 0
1412 +if $ac_init_version; then
1415 +Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1416 +Free Software Foundation, Inc.
1417 +This configure script is free software; the Free Software Foundation
1418 +gives unlimited permission to copy, distribute and modify it.
1424 +This file contains any messages produced by compilers while
1425 +running configure, to aid debugging if configure makes a mistake.
1427 +It was created by $as_me, which was
1428 +generated by GNU Autoconf 2.57. Invocation command line was
1439 +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1440 +uname -m = `(uname -m) 2>/dev/null || echo unknown`
1441 +uname -r = `(uname -r) 2>/dev/null || echo unknown`
1442 +uname -s = `(uname -s) 2>/dev/null || echo unknown`
1443 +uname -v = `(uname -v) 2>/dev/null || echo unknown`
1445 +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1446 +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1448 +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1449 +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1450 +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1451 +hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1452 +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1453 +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1454 +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1458 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1459 +for as_dir in $PATH
1462 + test -z "$as_dir" && as_dir=.
1463 + echo "PATH: $as_dir"
1478 +# Keep a trace of the command line.
1479 +# Strip out --no-create and --no-recursion so they do not pile up.
1480 +# Strip out --silent because we don't want to record it for future runs.
1481 +# Also quote any args containing shell meta-characters.
1482 +# Make two passes to allow for proper duplicate-argument suppression.
1484 +ac_configure_args0=
1485 +ac_configure_args1=
1487 +ac_must_keep_next=false
1493 + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1494 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1495 + | -silent | --silent | --silen | --sile | --sil)
1497 + *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1498 + ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1501 + 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1503 + ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1504 + if test $ac_must_keep_next = true; then
1505 + ac_must_keep_next=false # Got value, back to normal.
1508 + *=* | --config-cache | -C | -disable-* | --disable-* \
1509 + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1510 + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1511 + | -with-* | --with-* | -without-* | --without-* | --x)
1512 + case "$ac_configure_args0 " in
1513 + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1516 + -* ) ac_must_keep_next=true ;;
1519 + ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1520 + # Get rid of the leading space.
1526 +$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1527 +$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1529 +# When interrupted or exit'd, cleanup temporary files, and complete
1530 +# config.log. We remove comments because anyway the quotes in there
1531 +# would cause problems or look ugly.
1532 +# WARNING: Be sure not to use single quotes in there, as some shells,
1533 +# such as our DU 5.0 friend, will then `close' the trap.
1534 +trap 'exit_status=$?
1535 + # Save into config.log some information that might help in debugging.
1540 +## ---------------- ##
1541 +## Cache variables. ##
1542 +## ---------------- ##
1545 + # The following way of writing the cache mishandles newlines in values,
1548 + case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1551 + "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1552 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1556 + "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1563 +## ----------------- ##
1564 +## Output variables. ##
1565 +## ----------------- ##
1568 + for ac_var in $ac_subst_vars
1570 + eval ac_val=$`echo $ac_var`
1571 + echo "$ac_var='"'"'$ac_val'"'"'"
1575 + if test -n "$ac_subst_files"; then
1577 +## ------------- ##
1578 +## Output files. ##
1579 +## ------------- ##
1582 + for ac_var in $ac_subst_files
1584 + eval ac_val=$`echo $ac_var`
1585 + echo "$ac_var='"'"'$ac_val'"'"'"
1590 + if test -s confdefs.h; then
1597 + sed "/^$/d" confdefs.h | sort
1600 + test "$ac_signal" != 0 &&
1601 + echo "$as_me: caught signal $ac_signal"
1602 + echo "$as_me: exit $exit_status"
1604 + rm -f core core.* *.core &&
1605 + rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1608 +for ac_signal in 1 2 13 15; do
1609 + trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1613 +# confdefs.h avoids OS command line length limits that DEFS can exceed.
1614 +rm -rf conftest* confdefs.h
1615 +# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1618 +# Predefined preprocessor variables.
1620 +cat >>confdefs.h <<_ACEOF
1621 +#define PACKAGE_NAME "$PACKAGE_NAME"
1625 +cat >>confdefs.h <<_ACEOF
1626 +#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1630 +cat >>confdefs.h <<_ACEOF
1631 +#define PACKAGE_VERSION "$PACKAGE_VERSION"
1635 +cat >>confdefs.h <<_ACEOF
1636 +#define PACKAGE_STRING "$PACKAGE_STRING"
1640 +cat >>confdefs.h <<_ACEOF
1641 +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1645 +# Let the site file select an alternate cache file if it wants to.
1646 # Prefer explicitly selected file to automatically selected ones.
1647 if test -z "$CONFIG_SITE"; then
1648 if test "x$prefix" != xNONE; then
1649 @@ -512,42 +1194,108 @@
1651 for ac_site_file in $CONFIG_SITE; do
1652 if test -r "$ac_site_file"; then
1653 - echo "loading site script $ac_site_file"
1654 + { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1655 +echo "$as_me: loading site script $ac_site_file" >&6;}
1656 + sed 's/^/| /' "$ac_site_file" >&5
1661 if test -r "$cache_file"; then
1662 - echo "loading cache $cache_file"
1664 + # Some versions of bash will fail to source /dev/null (special
1665 + # files actually), so we avoid doing that.
1666 + if test -f "$cache_file"; then
1667 + { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1668 +echo "$as_me: loading cache $cache_file" >&6;}
1669 + case $cache_file in
1670 + [\\/]* | ?:[\\/]* ) . $cache_file;;
1671 + *) . ./$cache_file;;
1675 - echo "creating cache $cache_file"
1677 + { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1678 +echo "$as_me: creating cache $cache_file" >&6;}
1682 +# Check that the precious variables saved in the cache have kept the same
1684 +ac_cache_corrupted=false
1685 +for ac_var in `(set) 2>&1 |
1686 + sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1687 + eval ac_old_set=\$ac_cv_env_${ac_var}_set
1688 + eval ac_new_set=\$ac_env_${ac_var}_set
1689 + eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1690 + eval ac_new_val="\$ac_env_${ac_var}_value"
1691 + case $ac_old_set,$ac_new_set in
1693 + { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1694 +echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1695 + ac_cache_corrupted=: ;;
1697 + { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1698 +echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1699 + ac_cache_corrupted=: ;;
1702 + if test "x$ac_old_val" != "x$ac_new_val"; then
1703 + { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1704 +echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1705 + { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1706 +echo "$as_me: former value: $ac_old_val" >&2;}
1707 + { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1708 +echo "$as_me: current value: $ac_new_val" >&2;}
1709 + ac_cache_corrupted=:
1712 + # Pass precious variables to config.status.
1713 + if test "$ac_new_set" = set; then
1714 + case $ac_new_val in
1715 + *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1716 + ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1717 + *) ac_arg=$ac_var=$ac_new_val ;;
1719 + case " $ac_configure_args " in
1720 + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1721 + *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1725 +if $ac_cache_corrupted; then
1726 + { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1727 +echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1728 + { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1729 +echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1730 + { (exit 1); exit 1; }; }
1734 -# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1735 ac_cpp='$CPP $CPPFLAGS'
1736 -ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1737 -ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1738 -cross_compiling=$ac_cv_prog_cc_cross
1739 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1740 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1741 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1749 -if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
1750 - # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
1751 - if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
1755 - ac_n=-n ac_c= ac_t=
1758 - ac_n= ac_c='\c' ac_t=
1776 +am__api_version="1.7"
1778 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1779 if test -f $ac_dir/install-sh; then
1780 @@ -558,14 +1306,20 @@
1782 ac_install_sh="$ac_aux_dir/install.sh -c"
1784 + elif test -f $ac_dir/shtool; then
1785 + ac_aux_dir=$ac_dir
1786 + ac_install_sh="$ac_aux_dir/shtool install -c"
1790 if test -z "$ac_aux_dir"; then
1791 - { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
1792 + { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1793 +echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1794 + { (exit 1); exit 1; }; }
1796 -ac_config_guess=$ac_aux_dir/config.guess
1797 -ac_config_sub=$ac_aux_dir/config.sub
1798 -ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
1799 +ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1800 +ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1801 +ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1803 # Find a good install program. We prefer a C program (faster),
1804 # so one script is as good as another. But avoid the broken or
1805 @@ -574,231 +1328,371 @@
1806 # SunOS /usr/etc/install
1807 # IRIX /sbin/install
1809 +# AmigaOS /C/install, which installs bootblocks on floppy discs
1810 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1811 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1812 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1813 # ./install, which can be erroneously created by make from ./install.sh.
1814 -echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1815 -echo "configure:583: checking for a BSD compatible install" >&5
1816 +echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1817 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1818 if test -z "$INSTALL"; then
1819 -if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1820 - echo $ac_n "(cached) $ac_c" 1>&6
1821 +if test "${ac_cv_path_install+set}" = set; then
1822 + echo $ECHO_N "(cached) $ECHO_C" >&6
1824 - IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1825 - for ac_dir in $PATH; do
1826 - # Account for people who put trailing slashes in PATH elements.
1827 - case "$ac_dir/" in
1828 - /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1830 - # OSF1 and SCO ODT 3.0 have their own names for install.
1831 - # Don't use installbsd from OSF since it installs stuff as root
1833 - for ac_prog in ginstall scoinst install; do
1834 - if test -f $ac_dir/$ac_prog; then
1835 - if test $ac_prog = install &&
1836 - grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1837 - # AIX install. It has an incompatible calling convention.
1840 - ac_cv_path_install="$ac_dir/$ac_prog -c"
1844 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1845 +for as_dir in $PATH
1848 + test -z "$as_dir" && as_dir=.
1849 + # Account for people who put trailing slashes in PATH elements.
1851 + ./ | .// | /cC/* | \
1852 + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1855 + # OSF1 and SCO ODT 3.0 have their own names for install.
1856 + # Don't use installbsd from OSF since it installs stuff as root
1858 + for ac_prog in ginstall scoinst install; do
1859 + for ac_exec_ext in '' $ac_executable_extensions; do
1860 + if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1861 + if test $ac_prog = install &&
1862 + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1863 + # AIX install. It has an incompatible calling convention.
1865 + elif test $ac_prog = install &&
1866 + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1867 + # program-specific install script used by HP pwplus--don't use.
1870 + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1878 - IFS="$ac_save_IFS"
1886 if test "${ac_cv_path_install+set}" = set; then
1887 - INSTALL="$ac_cv_path_install"
1888 + INSTALL=$ac_cv_path_install
1890 # As a last resort, use the slow shell script. We don't cache a
1891 # path for INSTALL within a source directory, because that will
1892 # break other packages using the cache if that directory is
1893 # removed, or if the path is relative.
1894 - INSTALL="$ac_install_sh"
1895 + INSTALL=$ac_install_sh
1898 -echo "$ac_t""$INSTALL" 1>&6
1899 +echo "$as_me:$LINENO: result: $INSTALL" >&5
1900 +echo "${ECHO_T}$INSTALL" >&6
1902 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1903 # It thinks the first close brace ends the variable substitution.
1904 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1906 -test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1907 +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1909 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1911 -echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
1912 -echo "configure:636: checking whether build environment is sane" >&5
1913 +echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1914 +echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1917 -echo timestamp > conftestfile
1918 +echo timestamp > conftest.file
1919 # Do `set' in a subshell so we don't clobber the current shell's
1920 # arguments. Must try -L first in case configure is actually a
1921 # symlink; some systems play weird games with the mod time of symlinks
1922 # (eg FreeBSD returns the mod time of the symlink's containing
1925 - set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
1926 + set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1927 if test "$*" = "X"; then
1929 - set X `ls -t $srcdir/configure conftestfile`
1930 + set X `ls -t $srcdir/configure conftest.file`
1932 - if test "$*" != "X $srcdir/configure conftestfile" \
1933 - && test "$*" != "X conftestfile $srcdir/configure"; then
1934 + rm -f conftest.file
1935 + if test "$*" != "X $srcdir/configure conftest.file" \
1936 + && test "$*" != "X conftest.file $srcdir/configure"; then
1938 # If neither matched, then we have a broken ls. This can happen
1939 # if, for instance, CONFIG_SHELL is bash and it inherits a
1940 # broken ls alias from the environment. This has actually
1941 # happened. Such a system could not be considered "sane".
1942 - { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
1943 -alias in your environment" 1>&2; exit 1; }
1944 + { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1945 +alias in your environment" >&5
1946 +echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1947 +alias in your environment" >&2;}
1948 + { (exit 1); exit 1; }; }
1951 - test "$2" = conftestfile
1952 + test "$2" = conftest.file
1958 - { echo "configure: error: newly created file is older than distributed files!
1959 -Check your system clock" 1>&2; exit 1; }
1962 -echo "$ac_t""yes" 1>&6
1963 -if test "$program_transform_name" = s,x,x,; then
1964 - program_transform_name=
1966 - # Double any \ or $. echo might interpret backslashes.
1967 - cat <<\EOF_SED > conftestsed
1968 -s,\\,\\\\,g; s,\$,$$,g
1970 - program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
1972 + { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1973 +Check your system clock" >&5
1974 +echo "$as_me: error: newly created file is older than distributed files!
1975 +Check your system clock" >&2;}
1976 + { (exit 1); exit 1; }; }
1978 +echo "$as_me:$LINENO: result: yes" >&5
1979 +echo "${ECHO_T}yes" >&6
1980 test "$program_prefix" != NONE &&
1981 - program_transform_name="s,^,${program_prefix},; $program_transform_name"
1982 + program_transform_name="s,^,$program_prefix,;$program_transform_name"
1983 # Use a double $ so make ignores it.
1984 test "$program_suffix" != NONE &&
1985 - program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
1986 + program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1987 +# Double any \ or $. echo might interpret backslashes.
1988 +# By default was `s,x,x', remove it if useless.
1989 +cat <<\_ACEOF >conftest.sed
1990 +s/[\\$]/&&/g;s/;s,x,x,$//
1992 +program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1995 -# sed with no file args requires a program.
1996 -test "$program_transform_name" = "" && program_transform_name="s,x,x,"
1998 -echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
1999 -echo "configure:693: checking whether ${MAKE-make} sets \${MAKE}" >&5
2000 -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
2001 -if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
2002 - echo $ac_n "(cached) $ac_c" 1>&6
2003 +# expand $ac_aux_dir to an absolute path
2004 +am_aux_dir=`cd $ac_aux_dir && pwd`
2006 +test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2007 +# Use eval to expand $SHELL
2008 +if eval "$MISSING --run true"; then
2009 + am_missing_run="$MISSING --run "
2011 - cat > conftestmake <<\EOF
2013 + { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2014 +echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2017 +for ac_prog in gawk mawk nawk awk
2019 + # Extract the first word of "$ac_prog", so it can be a program name with args.
2020 +set dummy $ac_prog; ac_word=$2
2021 +echo "$as_me:$LINENO: checking for $ac_word" >&5
2022 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2023 +if test "${ac_cv_prog_AWK+set}" = set; then
2024 + echo $ECHO_N "(cached) $ECHO_C" >&6
2026 + if test -n "$AWK"; then
2027 + ac_cv_prog_AWK="$AWK" # Let the user override the test.
2029 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2030 +for as_dir in $PATH
2033 + test -z "$as_dir" && as_dir=.
2034 + for ac_exec_ext in '' $ac_executable_extensions; do
2035 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2036 + ac_cv_prog_AWK="$ac_prog"
2037 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2045 +AWK=$ac_cv_prog_AWK
2046 +if test -n "$AWK"; then
2047 + echo "$as_me:$LINENO: result: $AWK" >&5
2048 +echo "${ECHO_T}$AWK" >&6
2050 + echo "$as_me:$LINENO: result: no" >&5
2051 +echo "${ECHO_T}no" >&6
2054 + test -n "$AWK" && break
2057 +echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2058 +echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2059 +set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
2060 +if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2061 + echo $ECHO_N "(cached) $ECHO_C" >&6
2063 + cat >conftest.make <<\_ACEOF
2065 - @echo 'ac_maketemp="${MAKE}"'
2067 + @echo 'ac_maketemp="$(MAKE)"'
2069 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2070 -eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
2071 +eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2072 if test -n "$ac_maketemp"; then
2073 eval ac_cv_prog_make_${ac_make}_set=yes
2075 eval ac_cv_prog_make_${ac_make}_set=no
2078 +rm -f conftest.make
2080 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2081 - echo "$ac_t""yes" 1>&6
2082 + echo "$as_me:$LINENO: result: yes" >&5
2083 +echo "${ECHO_T}yes" >&6
2086 - echo "$ac_t""no" 1>&6
2087 + echo "$as_me:$LINENO: result: no" >&5
2088 +echo "${ECHO_T}no" >&6
2089 SET_MAKE="MAKE=${MAKE-make}"
2092 +rm -rf .tst 2>/dev/null
2093 +mkdir .tst 2>/dev/null
2094 +if test -d .tst; then
2099 +rmdir .tst 2>/dev/null
2104 + # test to see if srcdir already configured
2105 +if test "`cd $srcdir && pwd`" != "`pwd`" &&
2106 + test -f $srcdir/config.status; then
2107 + { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2108 +echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2109 + { (exit 1); exit 1; }; }
2112 -if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
2113 - { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
2114 +# test whether we have cygpath
2115 +if test -z "$CYGPATH_W"; then
2116 + if (cygpath --version) >/dev/null 2>/dev/null; then
2117 + CYGPATH_W='cygpath -w'
2122 -cat >> confdefs.h <<EOF
2125 +# Define the identity of the package.
2130 +cat >>confdefs.h <<_ACEOF
2131 #define PACKAGE "$PACKAGE"
2135 -cat >> confdefs.h <<EOF
2137 +cat >>confdefs.h <<_ACEOF
2138 #define VERSION "$VERSION"
2142 +# Some tools Automake needs.
2144 +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2146 -missing_dir=`cd $ac_aux_dir && pwd`
2147 -echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
2148 -echo "configure:739: checking for working aclocal" >&5
2149 -# Run test in a subshell; some versions of sh will print an error if
2150 -# an executable is not found, even if stderr is redirected.
2151 -# Redirect stdin to placate older versions of autoconf. Sigh.
2152 -if (aclocal --version) < /dev/null > /dev/null 2>&1; then
2154 - echo "$ac_t""found" 1>&6
2156 +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2159 +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2162 +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2165 +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2168 +AMTAR=${AMTAR-"${am_missing_run}tar"}
2170 +install_sh=${install_sh-"$am_aux_dir/install-sh"}
2172 +# Installed binaries are usually stripped using `strip' when the user
2173 +# run `make install-strip'. However `strip' might not be the right
2174 +# tool to use in cross-compilation environments, therefore Automake
2175 +# will honor the `STRIP' environment variable to overrule this program.
2176 +if test "$cross_compiling" != no; then
2177 + if test -n "$ac_tool_prefix"; then
2178 + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2179 +set dummy ${ac_tool_prefix}strip; ac_word=$2
2180 +echo "$as_me:$LINENO: checking for $ac_word" >&5
2181 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2182 +if test "${ac_cv_prog_STRIP+set}" = set; then
2183 + echo $ECHO_N "(cached) $ECHO_C" >&6
2185 - ACLOCAL="$missing_dir/missing aclocal"
2186 - echo "$ac_t""missing" 1>&6
2188 + if test -n "$STRIP"; then
2189 + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2191 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2192 +for as_dir in $PATH
2195 + test -z "$as_dir" && as_dir=.
2196 + for ac_exec_ext in '' $ac_executable_extensions; do
2197 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2198 + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2199 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2205 -echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
2206 -echo "configure:752: checking for working autoconf" >&5
2207 -# Run test in a subshell; some versions of sh will print an error if
2208 -# an executable is not found, even if stderr is redirected.
2209 -# Redirect stdin to placate older versions of autoconf. Sigh.
2210 -if (autoconf --version) < /dev/null > /dev/null 2>&1; then
2212 - echo "$ac_t""found" 1>&6
2215 +STRIP=$ac_cv_prog_STRIP
2216 +if test -n "$STRIP"; then
2217 + echo "$as_me:$LINENO: result: $STRIP" >&5
2218 +echo "${ECHO_T}$STRIP" >&6
2220 - AUTOCONF="$missing_dir/missing autoconf"
2221 - echo "$ac_t""missing" 1>&6
2222 + echo "$as_me:$LINENO: result: no" >&5
2223 +echo "${ECHO_T}no" >&6
2226 -echo $ac_n "checking for working automake""... $ac_c" 1>&6
2227 -echo "configure:765: checking for working automake" >&5
2228 -# Run test in a subshell; some versions of sh will print an error if
2229 -# an executable is not found, even if stderr is redirected.
2230 -# Redirect stdin to placate older versions of autoconf. Sigh.
2231 -if (automake --version) < /dev/null > /dev/null 2>&1; then
2233 - echo "$ac_t""found" 1>&6
2235 - AUTOMAKE="$missing_dir/missing automake"
2236 - echo "$ac_t""missing" 1>&6
2238 +if test -z "$ac_cv_prog_STRIP"; then
2239 + ac_ct_STRIP=$STRIP
2240 + # Extract the first word of "strip", so it can be a program name with args.
2241 +set dummy strip; ac_word=$2
2242 +echo "$as_me:$LINENO: checking for $ac_word" >&5
2243 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2244 +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2245 + echo $ECHO_N "(cached) $ECHO_C" >&6
2247 + if test -n "$ac_ct_STRIP"; then
2248 + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2250 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2251 +for as_dir in $PATH
2254 + test -z "$as_dir" && as_dir=.
2255 + for ac_exec_ext in '' $ac_executable_extensions; do
2256 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2257 + ac_cv_prog_ac_ct_STRIP="strip"
2258 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2264 -echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
2265 -echo "configure:778: checking for working autoheader" >&5
2266 -# Run test in a subshell; some versions of sh will print an error if
2267 -# an executable is not found, even if stderr is redirected.
2268 -# Redirect stdin to placate older versions of autoconf. Sigh.
2269 -if (autoheader --version) < /dev/null > /dev/null 2>&1; then
2270 - AUTOHEADER=autoheader
2271 - echo "$ac_t""found" 1>&6
2272 + test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2275 +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2276 +if test -n "$ac_ct_STRIP"; then
2277 + echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2278 +echo "${ECHO_T}$ac_ct_STRIP" >&6
2280 - AUTOHEADER="$missing_dir/missing autoheader"
2281 - echo "$ac_t""missing" 1>&6
2282 + echo "$as_me:$LINENO: result: no" >&5
2283 +echo "${ECHO_T}no" >&6
2286 -echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
2287 -echo "configure:791: checking for working makeinfo" >&5
2288 -# Run test in a subshell; some versions of sh will print an error if
2289 -# an executable is not found, even if stderr is redirected.
2290 -# Redirect stdin to placate older versions of autoconf. Sigh.
2291 -if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
2293 - echo "$ac_t""found" 1>&6
2294 + STRIP=$ac_ct_STRIP
2296 - MAKEINFO="$missing_dir/missing makeinfo"
2297 - echo "$ac_t""missing" 1>&6
2298 + STRIP="$ac_cv_prog_STRIP"
2302 +INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2304 +# We need awk for the "check" target. The system "awk" is bad on
2310 ACLOCAL="./missing aclocal"
2311 @@ -807,218 +1701,646 @@
2312 AUTOHEADER="./missing autoheader"
2313 image_formats="GIF PNG XBM"
2315 + ac_config_headers="$ac_config_headers config.h"
2319 +ac_cpp='$CPP $CPPFLAGS'
2320 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2321 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2322 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2323 +if test -n "$ac_tool_prefix"; then
2324 + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2325 +set dummy ${ac_tool_prefix}gcc; ac_word=$2
2326 +echo "$as_me:$LINENO: checking for $ac_word" >&5
2327 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2328 +if test "${ac_cv_prog_CC+set}" = set; then
2329 + echo $ECHO_N "(cached) $ECHO_C" >&6
2331 + if test -n "$CC"; then
2332 + ac_cv_prog_CC="$CC" # Let the user override the test.
2334 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2335 +for as_dir in $PATH
2338 + test -z "$as_dir" && as_dir=.
2339 + for ac_exec_ext in '' $ac_executable_extensions; do
2340 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2341 + ac_cv_prog_CC="${ac_tool_prefix}gcc"
2342 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2351 +if test -n "$CC"; then
2352 + echo "$as_me:$LINENO: result: $CC" >&5
2353 +echo "${ECHO_T}$CC" >&6
2355 + echo "$as_me:$LINENO: result: no" >&5
2356 +echo "${ECHO_T}no" >&6
2359 -# Extract the first word of "gcc", so it can be a program name with args.
2361 +if test -z "$ac_cv_prog_CC"; then
2363 + # Extract the first word of "gcc", so it can be a program name with args.
2364 set dummy gcc; ac_word=$2
2365 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2366 -echo "configure:818: checking for $ac_word" >&5
2367 -if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
2368 - echo $ac_n "(cached) $ac_c" 1>&6
2369 +echo "$as_me:$LINENO: checking for $ac_word" >&5
2370 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2371 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2372 + echo $ECHO_N "(cached) $ECHO_C" >&6
2374 + if test -n "$ac_ct_CC"; then
2375 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2377 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2378 +for as_dir in $PATH
2381 + test -z "$as_dir" && as_dir=.
2382 + for ac_exec_ext in '' $ac_executable_extensions; do
2383 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2384 + ac_cv_prog_ac_ct_CC="gcc"
2385 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2393 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
2394 +if test -n "$ac_ct_CC"; then
2395 + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2396 +echo "${ECHO_T}$ac_ct_CC" >&6
2398 + echo "$as_me:$LINENO: result: no" >&5
2399 +echo "${ECHO_T}no" >&6
2404 + CC="$ac_cv_prog_CC"
2407 +if test -z "$CC"; then
2408 + if test -n "$ac_tool_prefix"; then
2409 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2410 +set dummy ${ac_tool_prefix}cc; ac_word=$2
2411 +echo "$as_me:$LINENO: checking for $ac_word" >&5
2412 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2413 +if test "${ac_cv_prog_CC+set}" = set; then
2414 + echo $ECHO_N "(cached) $ECHO_C" >&6
2416 if test -n "$CC"; then
2417 ac_cv_prog_CC="$CC" # Let the user override the test.
2419 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2421 - for ac_dir in $ac_dummy; do
2422 - test -z "$ac_dir" && ac_dir=.
2423 - if test -f $ac_dir/$ac_word; then
2424 - ac_cv_prog_CC="gcc"
2428 - IFS="$ac_save_ifs"
2429 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2430 +for as_dir in $PATH
2433 + test -z "$as_dir" && as_dir=.
2434 + for ac_exec_ext in '' $ac_executable_extensions; do
2435 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2436 + ac_cv_prog_CC="${ac_tool_prefix}cc"
2437 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2445 -CC="$ac_cv_prog_CC"
2447 if test -n "$CC"; then
2448 - echo "$ac_t""$CC" 1>&6
2449 + echo "$as_me:$LINENO: result: $CC" >&5
2450 +echo "${ECHO_T}$CC" >&6
2452 - echo "$ac_t""no" 1>&6
2453 + echo "$as_me:$LINENO: result: no" >&5
2454 +echo "${ECHO_T}no" >&6
2458 +if test -z "$ac_cv_prog_CC"; then
2460 + # Extract the first word of "cc", so it can be a program name with args.
2461 +set dummy cc; ac_word=$2
2462 +echo "$as_me:$LINENO: checking for $ac_word" >&5
2463 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2464 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2465 + echo $ECHO_N "(cached) $ECHO_C" >&6
2467 + if test -n "$ac_ct_CC"; then
2468 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2470 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2471 +for as_dir in $PATH
2474 + test -z "$as_dir" && as_dir=.
2475 + for ac_exec_ext in '' $ac_executable_extensions; do
2476 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2477 + ac_cv_prog_ac_ct_CC="cc"
2478 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2486 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
2487 +if test -n "$ac_ct_CC"; then
2488 + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2489 +echo "${ECHO_T}$ac_ct_CC" >&6
2491 + echo "$as_me:$LINENO: result: no" >&5
2492 +echo "${ECHO_T}no" >&6
2497 + CC="$ac_cv_prog_CC"
2501 if test -z "$CC"; then
2502 # Extract the first word of "cc", so it can be a program name with args.
2503 set dummy cc; ac_word=$2
2504 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2505 -echo "configure:848: checking for $ac_word" >&5
2506 -if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
2507 - echo $ac_n "(cached) $ac_c" 1>&6
2508 +echo "$as_me:$LINENO: checking for $ac_word" >&5
2509 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2510 +if test "${ac_cv_prog_CC+set}" = set; then
2511 + echo $ECHO_N "(cached) $ECHO_C" >&6
2513 if test -n "$CC"; then
2514 ac_cv_prog_CC="$CC" # Let the user override the test.
2516 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2519 - for ac_dir in $ac_dummy; do
2520 - test -z "$ac_dir" && ac_dir=.
2521 - if test -f $ac_dir/$ac_word; then
2522 - if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
2523 - ac_prog_rejected=yes
2526 - ac_cv_prog_CC="cc"
2530 - IFS="$ac_save_ifs"
2531 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2532 +for as_dir in $PATH
2535 + test -z "$as_dir" && as_dir=.
2536 + for ac_exec_ext in '' $ac_executable_extensions; do
2537 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2538 + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2539 + ac_prog_rejected=yes
2542 + ac_cv_prog_CC="cc"
2543 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2549 if test $ac_prog_rejected = yes; then
2550 # We found a bogon in the path, so make sure we never use it.
2551 set dummy $ac_cv_prog_CC
2553 - if test $# -gt 0; then
2554 + if test $# != 0; then
2555 # We chose a different compiler from the bogus one.
2556 # However, it has the same basename, so the bogon will be chosen
2557 # first if we set CC to just the basename; use the full file name.
2559 - set dummy "$ac_dir/$ac_word" "$@"
2561 - ac_cv_prog_CC="$@"
2562 + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2567 -CC="$ac_cv_prog_CC"
2569 if test -n "$CC"; then
2570 - echo "$ac_t""$CC" 1>&6
2571 + echo "$as_me:$LINENO: result: $CC" >&5
2572 +echo "${ECHO_T}$CC" >&6
2574 - echo "$ac_t""no" 1>&6
2575 + echo "$as_me:$LINENO: result: no" >&5
2576 +echo "${ECHO_T}no" >&6
2579 - if test -z "$CC"; then
2580 - case "`uname -s`" in
2581 - *win32* | *WIN32*)
2582 - # Extract the first word of "cl", so it can be a program name with args.
2583 -set dummy cl; ac_word=$2
2584 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2585 -echo "configure:899: checking for $ac_word" >&5
2586 -if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
2587 - echo $ac_n "(cached) $ac_c" 1>&6
2589 +if test -z "$CC"; then
2590 + if test -n "$ac_tool_prefix"; then
2593 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2594 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2595 +echo "$as_me:$LINENO: checking for $ac_word" >&5
2596 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2597 +if test "${ac_cv_prog_CC+set}" = set; then
2598 + echo $ECHO_N "(cached) $ECHO_C" >&6
2600 if test -n "$CC"; then
2601 ac_cv_prog_CC="$CC" # Let the user override the test.
2603 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2605 - for ac_dir in $ac_dummy; do
2606 - test -z "$ac_dir" && ac_dir=.
2607 - if test -f $ac_dir/$ac_word; then
2608 - ac_cv_prog_CC="cl"
2612 - IFS="$ac_save_ifs"
2613 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2614 +for as_dir in $PATH
2617 + test -z "$as_dir" && as_dir=.
2618 + for ac_exec_ext in '' $ac_executable_extensions; do
2619 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2620 + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2621 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2629 -CC="$ac_cv_prog_CC"
2631 if test -n "$CC"; then
2632 - echo "$ac_t""$CC" 1>&6
2633 + echo "$as_me:$LINENO: result: $CC" >&5
2634 +echo "${ECHO_T}$CC" >&6
2636 - echo "$ac_t""no" 1>&6
2637 + echo "$as_me:$LINENO: result: no" >&5
2638 +echo "${ECHO_T}no" >&6
2643 + test -n "$CC" && break
2646 +if test -z "$CC"; then
2650 + # Extract the first word of "$ac_prog", so it can be a program name with args.
2651 +set dummy $ac_prog; ac_word=$2
2652 +echo "$as_me:$LINENO: checking for $ac_word" >&5
2653 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2654 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2655 + echo $ECHO_N "(cached) $ECHO_C" >&6
2657 + if test -n "$ac_ct_CC"; then
2658 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2660 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2661 +for as_dir in $PATH
2664 + test -z "$as_dir" && as_dir=.
2665 + for ac_exec_ext in '' $ac_executable_extensions; do
2666 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2667 + ac_cv_prog_ac_ct_CC="$ac_prog"
2668 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2671 - test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
2677 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
2678 +if test -n "$ac_ct_CC"; then
2679 + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2680 +echo "${ECHO_T}$ac_ct_CC" >&6
2682 + echo "$as_me:$LINENO: result: no" >&5
2683 +echo "${ECHO_T}no" >&6
2686 -echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
2687 -echo "configure:931: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
2688 + test -n "$ac_ct_CC" && break
2692 -# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2693 -ac_cpp='$CPP $CPPFLAGS'
2694 -ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2695 -ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2696 -cross_compiling=$ac_cv_prog_cc_cross
2700 -cat > conftest.$ac_ext << EOF
2703 -#line 942 "configure"
2704 -#include "confdefs.h"
2708 -if { (eval echo configure:947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2709 - ac_cv_prog_cc_works=yes
2710 - # If we can't run a trivial program, we are probably using a cross compiler.
2711 - if (./conftest; exit) 2>/dev/null; then
2712 - ac_cv_prog_cc_cross=no
2713 +test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2714 +See \`config.log' for more details." >&5
2715 +echo "$as_me: error: no acceptable C compiler found in \$PATH
2716 +See \`config.log' for more details." >&2;}
2717 + { (exit 1); exit 1; }; }
2719 +# Provide some information about the compiler.
2720 +echo "$as_me:$LINENO:" \
2721 + "checking for C compiler version" >&5
2722 +ac_compiler=`set X $ac_compile; echo $2`
2723 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2724 + (eval $ac_compiler --version </dev/null >&5) 2>&5
2726 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2727 + (exit $ac_status); }
2728 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2729 + (eval $ac_compiler -v </dev/null >&5) 2>&5
2731 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2732 + (exit $ac_status); }
2733 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2734 + (eval $ac_compiler -V </dev/null >&5) 2>&5
2736 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2737 + (exit $ac_status); }
2739 +cat >conftest.$ac_ext <<_ACEOF
2740 +#line $LINENO "configure"
2743 +cat confdefs.h >>conftest.$ac_ext
2744 +cat >>conftest.$ac_ext <<_ACEOF
2745 +/* end confdefs.h. */
2755 +ac_clean_files_save=$ac_clean_files
2756 +ac_clean_files="$ac_clean_files a.out a.exe b.out"
2757 +# Try to create an executable without -o first, disregard a.out.
2758 +# It will help us diagnose broken compilers, and finding out an intuition
2760 +echo "$as_me:$LINENO: checking for C compiler default output" >&5
2761 +echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2762 +ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2763 +if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2764 + (eval $ac_link_default) 2>&5
2766 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2767 + (exit $ac_status); }; then
2768 + # Find the output, starting from the most likely. This scheme is
2769 +# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2772 +# Be careful to initialize this variable, since it used to be cached.
2773 +# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2775 +# b.out is created by i960 compilers.
2776 +for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2778 + test -f "$ac_file" || continue
2780 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2782 + conftest.$ac_ext )
2783 + # This is the source file.
2786 + # We found the default executable, but exeext='' is most
2787 + # certainly right.
2790 + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2791 + # FIXME: I believe we export ac_cv_exeext for Libtool,
2792 + # but it would be cool to find out if it's true. Does anybody
2793 + # maintain Libtool? --akim.
2794 + export ac_cv_exeext
2801 + echo "$as_me: failed program was:" >&5
2802 +sed 's/^/| /' conftest.$ac_ext >&5
2804 +{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2805 +See \`config.log' for more details." >&5
2806 +echo "$as_me: error: C compiler cannot create executables
2807 +See \`config.log' for more details." >&2;}
2808 + { (exit 77); exit 77; }; }
2811 +ac_exeext=$ac_cv_exeext
2812 +echo "$as_me:$LINENO: result: $ac_file" >&5
2813 +echo "${ECHO_T}$ac_file" >&6
2815 +# Check the compiler produces executables we can run. If not, either
2816 +# the compiler is broken, or we cross compile.
2817 +echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2818 +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2819 +# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2820 +# If not cross compiling, check that we can run a simple program.
2821 +if test "$cross_compiling" != yes; then
2822 + if { ac_try='./$ac_file'
2823 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2824 + (eval $ac_try) 2>&5
2826 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2827 + (exit $ac_status); }; }; then
2828 + cross_compiling=no
2830 - ac_cv_prog_cc_cross=yes
2831 + if test "$cross_compiling" = maybe; then
2832 + cross_compiling=yes
2834 + { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2835 +If you meant to cross compile, use \`--host'.
2836 +See \`config.log' for more details." >&5
2837 +echo "$as_me: error: cannot run C compiled programs.
2838 +If you meant to cross compile, use \`--host'.
2839 +See \`config.log' for more details." >&2;}
2840 + { (exit 1); exit 1; }; }
2844 - echo "configure: failed program was:" >&5
2845 - cat conftest.$ac_ext >&5
2846 - ac_cv_prog_cc_works=no
2850 -# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2851 -ac_cpp='$CPP $CPPFLAGS'
2852 -ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2853 -ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2854 -cross_compiling=$ac_cv_prog_cc_cross
2855 +echo "$as_me:$LINENO: result: yes" >&5
2856 +echo "${ECHO_T}yes" >&6
2858 -echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
2859 -if test $ac_cv_prog_cc_works = no; then
2860 - { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
2861 +rm -f a.out a.exe conftest$ac_cv_exeext b.out
2862 +ac_clean_files=$ac_clean_files_save
2863 +# Check the compiler produces executables we can run. If not, either
2864 +# the compiler is broken, or we cross compile.
2865 +echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2866 +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2867 +echo "$as_me:$LINENO: result: $cross_compiling" >&5
2868 +echo "${ECHO_T}$cross_compiling" >&6
2870 +echo "$as_me:$LINENO: checking for suffix of executables" >&5
2871 +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2872 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2873 + (eval $ac_link) 2>&5
2875 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2876 + (exit $ac_status); }; then
2877 + # If both `conftest.exe' and `conftest' are `present' (well, observable)
2878 +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2879 +# work properly (i.e., refer to `conftest.exe'), while it won't with
2881 +for ac_file in conftest.exe conftest conftest.*; do
2882 + test -f "$ac_file" || continue
2884 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2885 + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2886 + export ac_cv_exeext
2892 + { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2893 +See \`config.log' for more details." >&5
2894 +echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2895 +See \`config.log' for more details." >&2;}
2896 + { (exit 1); exit 1; }; }
2898 -echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
2899 -echo "configure:973: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
2900 -echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
2901 -cross_compiling=$ac_cv_prog_cc_cross
2903 -echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
2904 -echo "configure:978: checking whether we are using GNU C" >&5
2905 -if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
2906 - echo $ac_n "(cached) $ac_c" 1>&6
2907 +rm -f conftest$ac_cv_exeext
2908 +echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2909 +echo "${ECHO_T}$ac_cv_exeext" >&6
2911 +rm -f conftest.$ac_ext
2912 +EXEEXT=$ac_cv_exeext
2914 +echo "$as_me:$LINENO: checking for suffix of object files" >&5
2915 +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2916 +if test "${ac_cv_objext+set}" = set; then
2917 + echo $ECHO_N "(cached) $ECHO_C" >&6
2919 - cat > conftest.c <<EOF
2924 -if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:987: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
2925 - ac_cv_prog_gcc=yes
2926 + cat >conftest.$ac_ext <<_ACEOF
2927 +#line $LINENO "configure"
2930 +cat confdefs.h >>conftest.$ac_ext
2931 +cat >>conftest.$ac_ext <<_ACEOF
2932 +/* end confdefs.h. */
2942 +rm -f conftest.o conftest.obj
2943 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2944 + (eval $ac_compile) 2>&5
2946 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2947 + (exit $ac_status); }; then
2948 + for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2950 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2951 + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2957 + echo "$as_me: failed program was:" >&5
2958 +sed 's/^/| /' conftest.$ac_ext >&5
2960 +{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2961 +See \`config.log' for more details." >&5
2962 +echo "$as_me: error: cannot compute suffix of object files: cannot compile
2963 +See \`config.log' for more details." >&2;}
2964 + { (exit 1); exit 1; }; }
2967 +rm -f conftest.$ac_cv_objext conftest.$ac_ext
2969 +echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2970 +echo "${ECHO_T}$ac_cv_objext" >&6
2971 +OBJEXT=$ac_cv_objext
2973 +echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2974 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2975 +if test "${ac_cv_c_compiler_gnu+set}" = set; then
2976 + echo $ECHO_N "(cached) $ECHO_C" >&6
2978 + cat >conftest.$ac_ext <<_ACEOF
2979 +#line $LINENO "configure"
2982 +cat confdefs.h >>conftest.$ac_ext
2983 +cat >>conftest.$ac_ext <<_ACEOF
2984 +/* end confdefs.h. */
2986 -echo "$ac_t""$ac_cv_prog_gcc" 1>&6
2994 -if test $ac_cv_prog_gcc = yes; then
3000 +rm -f conftest.$ac_objext
3001 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3002 + (eval $ac_compile) 2>&5
3004 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3005 + (exit $ac_status); } &&
3006 + { ac_try='test -s conftest.$ac_objext'
3007 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3008 + (eval $ac_try) 2>&5
3010 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3011 + (exit $ac_status); }; }; then
3012 + ac_compiler_gnu=yes
3015 + echo "$as_me: failed program was:" >&5
3016 +sed 's/^/| /' conftest.$ac_ext >&5
3020 +rm -f conftest.$ac_objext conftest.$ac_ext
3021 +ac_cv_c_compiler_gnu=$ac_compiler_gnu
3023 -ac_test_CFLAGS="${CFLAGS+set}"
3024 -ac_save_CFLAGS="$CFLAGS"
3026 -echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
3027 -echo "configure:1006: checking whether ${CC-cc} accepts -g" >&5
3028 -if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
3029 - echo $ac_n "(cached) $ac_c" 1>&6
3031 +echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3032 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3033 +GCC=`test $ac_compiler_gnu = yes && echo yes`
3034 +ac_test_CFLAGS=${CFLAGS+set}
3035 +ac_save_CFLAGS=$CFLAGS
3037 +echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3038 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3039 +if test "${ac_cv_prog_cc_g+set}" = set; then
3040 + echo $ECHO_N "(cached) $ECHO_C" >&6
3042 - echo 'void f(){}' > conftest.c
3043 -if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
3044 + cat >conftest.$ac_ext <<_ACEOF
3045 +#line $LINENO "configure"
3048 +cat confdefs.h >>conftest.$ac_ext
3049 +cat >>conftest.$ac_ext <<_ACEOF
3050 +/* end confdefs.h. */
3060 +rm -f conftest.$ac_objext
3061 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3062 + (eval $ac_compile) 2>&5
3064 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3065 + (exit $ac_status); } &&
3066 + { ac_try='test -s conftest.$ac_objext'
3067 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3068 + (eval $ac_try) 2>&5
3070 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3071 + (exit $ac_status); }; }; then
3074 - ac_cv_prog_cc_g=no
3077 + echo "$as_me: failed program was:" >&5
3078 +sed 's/^/| /' conftest.$ac_ext >&5
3083 -echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
3084 +rm -f conftest.$ac_objext conftest.$ac_ext
3086 +echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3087 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3088 if test "$ac_test_CFLAGS" = set; then
3089 - CFLAGS="$ac_save_CFLAGS"
3090 + CFLAGS=$ac_save_CFLAGS
3091 elif test $ac_cv_prog_cc_g = yes; then
3092 if test "$GCC" = yes; then
3094 @@ -1032,356 +2354,1564 @@
3098 +echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3099 +echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3100 +if test "${ac_cv_prog_cc_stdc+set}" = set; then
3101 + echo $ECHO_N "(cached) $ECHO_C" >&6
3103 + ac_cv_prog_cc_stdc=no
3105 +cat >conftest.$ac_ext <<_ACEOF
3106 +#line $LINENO "configure"
3109 +cat confdefs.h >>conftest.$ac_ext
3110 +cat >>conftest.$ac_ext <<_ACEOF
3111 +/* end confdefs.h. */
3112 +#include <stdarg.h>
3114 +#include <sys/types.h>
3115 +#include <sys/stat.h>
3116 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3117 +struct buf { int x; };
3118 +FILE * (*rcsopen) (struct buf *, struct stat *, int);
3119 +static char *e (p, i)
3125 +static char *f (char * (*g) (char **, int), char **p, ...)
3130 + s = g (p, va_arg (v,int));
3134 +int test (int i, double x);
3135 +struct s1 {int (*f) (int a);};
3136 +struct s2 {int (*f) (double a);};
3137 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3143 +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3148 +# Don't try gcc -ansi; that turns off useful extensions and
3149 +# breaks some systems' header files.
3150 +# AIX -qlanglvl=ansi
3151 +# Ultrix and OSF/1 -std1
3152 +# HP-UX 10.20 and later -Ae
3153 +# HP-UX older versions -Aa -D_HPUX_SOURCE
3154 +# SVR4 -Xc -D__EXTENSIONS__
3155 +for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3157 + CC="$ac_save_CC $ac_arg"
3158 + rm -f conftest.$ac_objext
3159 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3160 + (eval $ac_compile) 2>&5
3162 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3163 + (exit $ac_status); } &&
3164 + { ac_try='test -s conftest.$ac_objext'
3165 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3166 + (eval $ac_try) 2>&5
3168 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3169 + (exit $ac_status); }; }; then
3170 + ac_cv_prog_cc_stdc=$ac_arg
3173 + echo "$as_me: failed program was:" >&5
3174 +sed 's/^/| /' conftest.$ac_ext >&5
3177 +rm -f conftest.$ac_objext
3179 +rm -f conftest.$ac_ext conftest.$ac_objext
3184 +case "x$ac_cv_prog_cc_stdc" in
3186 + echo "$as_me:$LINENO: result: none needed" >&5
3187 +echo "${ECHO_T}none needed" >&6 ;;
3189 + echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3190 +echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3191 + CC="$CC $ac_cv_prog_cc_stdc" ;;
3194 +# Some people use a C++ compiler to compile C. Since we use `exit',
3195 +# in C++ we need to declare it. In case someone uses the same compiler
3196 +# for both compiling C and C++ we need to have the C++ compiler decide
3197 +# the declaration of exit, since it's the most demanding environment.
3198 +cat >conftest.$ac_ext <<_ACEOF
3199 +#ifndef __cplusplus
3203 +rm -f conftest.$ac_objext
3204 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3205 + (eval $ac_compile) 2>&5
3207 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3208 + (exit $ac_status); } &&
3209 + { ac_try='test -s conftest.$ac_objext'
3210 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3211 + (eval $ac_try) 2>&5
3213 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3214 + (exit $ac_status); }; }; then
3215 + for ac_declaration in \
3217 + '#include <stdlib.h>' \
3218 + 'extern "C" void std::exit (int) throw (); using std::exit;' \
3219 + 'extern "C" void std::exit (int); using std::exit;' \
3220 + 'extern "C" void exit (int) throw ();' \
3221 + 'extern "C" void exit (int);' \
3222 + 'void exit (int);'
3224 + cat >conftest.$ac_ext <<_ACEOF
3225 +#line $LINENO "configure"
3228 +cat confdefs.h >>conftest.$ac_ext
3229 +cat >>conftest.$ac_ext <<_ACEOF
3230 +/* end confdefs.h. */
3231 +#include <stdlib.h>
3241 +rm -f conftest.$ac_objext
3242 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3243 + (eval $ac_compile) 2>&5
3245 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3246 + (exit $ac_status); } &&
3247 + { ac_try='test -s conftest.$ac_objext'
3248 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3249 + (eval $ac_try) 2>&5
3251 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3252 + (exit $ac_status); }; }; then
3255 + echo "$as_me: failed program was:" >&5
3256 +sed 's/^/| /' conftest.$ac_ext >&5
3260 +rm -f conftest.$ac_objext conftest.$ac_ext
3261 + cat >conftest.$ac_ext <<_ACEOF
3262 +#line $LINENO "configure"
3265 +cat confdefs.h >>conftest.$ac_ext
3266 +cat >>conftest.$ac_ext <<_ACEOF
3267 +/* end confdefs.h. */
3277 +rm -f conftest.$ac_objext
3278 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3279 + (eval $ac_compile) 2>&5
3281 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3282 + (exit $ac_status); } &&
3283 + { ac_try='test -s conftest.$ac_objext'
3284 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3285 + (eval $ac_try) 2>&5
3287 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3288 + (exit $ac_status); }; }; then
3291 + echo "$as_me: failed program was:" >&5
3292 +sed 's/^/| /' conftest.$ac_ext >&5
3295 +rm -f conftest.$ac_objext conftest.$ac_ext
3298 +if test -n "$ac_declaration"; then
3299 + echo '#ifdef __cplusplus' >>confdefs.h
3300 + echo $ac_declaration >>confdefs.h
3301 + echo '#endif' >>confdefs.h
3305 + echo "$as_me: failed program was:" >&5
3306 +sed 's/^/| /' conftest.$ac_ext >&5
3309 +rm -f conftest.$ac_objext conftest.$ac_ext
3311 +ac_cpp='$CPP $CPPFLAGS'
3312 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3313 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3314 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3315 +DEPDIR="${am__leading_dot}deps"
3317 + ac_config_commands="$ac_config_commands depfiles"
3320 +am_make=${MAKE-make}
3321 +cat > confinc << 'END'
3326 +# If we don't find an include directive, just comment out the code.
3327 +echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3328 +echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3332 +# First try GNU make style include.
3333 +echo "include confinc" > confmf
3334 +# We grep out `Entering directory' and `Leaving directory'
3335 +# messages which can occur if `w' ends up in MAKEFLAGS.
3336 +# In particular we don't look at `^make:' because GNU make might
3337 +# be invoked under some other name (usually "gmake"), in which
3338 +# case it prints its new name instead of `make'.
3339 +if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3340 + am__include=include
3344 +# Now try BSD make style include.
3345 +if test "$am__include" = "#"; then
3346 + echo '.include "confinc"' > confmf
3347 + if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3348 + am__include=.include
3355 +echo "$as_me:$LINENO: result: $_am_result" >&5
3356 +echo "${ECHO_T}$_am_result" >&6
3357 +rm -f confinc confmf
3359 +# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3360 +if test "${enable_dependency_tracking+set}" = set; then
3361 + enableval="$enable_dependency_tracking"
3364 +if test "x$enable_dependency_tracking" != xno; then
3365 + am_depcomp="$ac_aux_dir/depcomp"
3366 + AMDEPBACKSLASH='\'
3370 +if test "x$enable_dependency_tracking" != xno; then
3381 +depcc="$CC" am_compiler_list=
3383 +echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3384 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3385 +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3386 + echo $ECHO_N "(cached) $ECHO_C" >&6
3388 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3389 + # We make a subdir and do the tests there. Otherwise we can end up
3390 + # making bogus files that we don't know about and never remove. For
3391 + # instance it was reported that on HP-UX the gcc test will end up
3392 + # making a dummy file named `D' -- because `-MD' means `put the output
3394 + mkdir conftest.dir
3395 + # Copy depcomp to subdir because otherwise we won't find it if we're
3396 + # using a relative directory.
3397 + cp "$am_depcomp" conftest.dir
3399 + # We will build objects and dependencies in a subdirectory because
3400 + # it helps to detect inapplicable dependency modes. For instance
3401 + # both Tru64's cc and ICC support -MD to output dependencies as a
3402 + # side effect of compilation, but ICC will put the dependencies in
3403 + # the current directory while Tru64 will put them in the object
3407 + am_cv_CC_dependencies_compiler_type=none
3408 + if test "$am_compiler_list" = ""; then
3409 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3411 + for depmode in $am_compiler_list; do
3412 + # Setup a source with many dependencies, because some compilers
3413 + # like to wrap large dependency lists on column 80 (with \), and
3414 + # we should not choose a depcomp mode which is confused by this.
3416 + # We need to recreate these files for each test, as the compiler may
3417 + # overwrite some of them when testing with obscure command lines.
3418 + # This happens at least with the AIX C compiler.
3419 + : > sub/conftest.c
3420 + for i in 1 2 3 4 5 6; do
3421 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
3422 + : > sub/conftst$i.h
3424 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3428 + # after this tag, mechanisms are not by side-effect, so they'll
3429 + # only be used when explicitly requested
3430 + if test "x$enable_dependency_tracking" = xyes; then
3438 + # We check with `-c' and `-o' for the sake of the "dashmstdout"
3439 + # mode. It turns out that the SunPro C++ compiler does not properly
3440 + # handle `-M -o', and we need to detect this.
3441 + if depmode=$depmode \
3442 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3443 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3444 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3445 + >/dev/null 2>conftest.err &&
3446 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3447 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3448 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3449 + # icc doesn't choke on unknown options, it will just issue warnings
3450 + # (even with -Werror). So we grep stderr for any message
3451 + # that says an option was ignored.
3452 + if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
3453 + am_cv_CC_dependencies_compiler_type=$depmode
3460 + rm -rf conftest.dir
3462 + am_cv_CC_dependencies_compiler_type=none
3466 +echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3467 +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3468 +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3473 + test "x$enable_dependency_tracking" != xno \
3474 + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3475 + am__fastdepCC_TRUE=
3476 + am__fastdepCC_FALSE='#'
3478 + am__fastdepCC_TRUE='#'
3479 + am__fastdepCC_FALSE=
3485 +ac_cpp='$CXXCPP $CPPFLAGS'
3486 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3487 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3488 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3489 +if test -n "$ac_tool_prefix"; then
3490 + for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3492 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3493 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3494 +echo "$as_me:$LINENO: checking for $ac_word" >&5
3495 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3496 +if test "${ac_cv_prog_CXX+set}" = set; then
3497 + echo $ECHO_N "(cached) $ECHO_C" >&6
3499 + if test -n "$CXX"; then
3500 + ac_cv_prog_CXX="$CXX" # Let the user override the test.
3502 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3503 +for as_dir in $PATH
3506 + test -z "$as_dir" && as_dir=.
3507 + for ac_exec_ext in '' $ac_executable_extensions; do
3508 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3509 + ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3510 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3518 +CXX=$ac_cv_prog_CXX
3519 +if test -n "$CXX"; then
3520 + echo "$as_me:$LINENO: result: $CXX" >&5
3521 +echo "${ECHO_T}$CXX" >&6
3523 + echo "$as_me:$LINENO: result: no" >&5
3524 +echo "${ECHO_T}no" >&6
3527 + test -n "$CXX" && break
3530 +if test -z "$CXX"; then
3532 + for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3534 + # Extract the first word of "$ac_prog", so it can be a program name with args.
3535 +set dummy $ac_prog; ac_word=$2
3536 +echo "$as_me:$LINENO: checking for $ac_word" >&5
3537 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3538 +if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3539 + echo $ECHO_N "(cached) $ECHO_C" >&6
3541 + if test -n "$ac_ct_CXX"; then
3542 + ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3544 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3545 +for as_dir in $PATH
3548 + test -z "$as_dir" && as_dir=.
3549 + for ac_exec_ext in '' $ac_executable_extensions; do
3550 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3551 + ac_cv_prog_ac_ct_CXX="$ac_prog"
3552 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3560 +ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3561 +if test -n "$ac_ct_CXX"; then
3562 + echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3563 +echo "${ECHO_T}$ac_ct_CXX" >&6
3565 + echo "$as_me:$LINENO: result: no" >&5
3566 +echo "${ECHO_T}no" >&6
3569 + test -n "$ac_ct_CXX" && break
3571 +test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3577 +# Provide some information about the compiler.
3578 +echo "$as_me:$LINENO:" \
3579 + "checking for C++ compiler version" >&5
3580 +ac_compiler=`set X $ac_compile; echo $2`
3581 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3582 + (eval $ac_compiler --version </dev/null >&5) 2>&5
3584 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3585 + (exit $ac_status); }
3586 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3587 + (eval $ac_compiler -v </dev/null >&5) 2>&5
3589 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3590 + (exit $ac_status); }
3591 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3592 + (eval $ac_compiler -V </dev/null >&5) 2>&5
3594 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3595 + (exit $ac_status); }
3597 +echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3598 +echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3599 +if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3600 + echo $ECHO_N "(cached) $ECHO_C" >&6
3602 + cat >conftest.$ac_ext <<_ACEOF
3603 +#line $LINENO "configure"
3606 +cat confdefs.h >>conftest.$ac_ext
3607 +cat >>conftest.$ac_ext <<_ACEOF
3608 +/* end confdefs.h. */
3621 +rm -f conftest.$ac_objext
3622 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3623 + (eval $ac_compile) 2>&5
3625 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3626 + (exit $ac_status); } &&
3627 + { ac_try='test -s conftest.$ac_objext'
3628 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3629 + (eval $ac_try) 2>&5
3631 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3632 + (exit $ac_status); }; }; then
3633 + ac_compiler_gnu=yes
3635 + echo "$as_me: failed program was:" >&5
3636 +sed 's/^/| /' conftest.$ac_ext >&5
3640 +rm -f conftest.$ac_objext conftest.$ac_ext
3641 +ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3644 +echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3645 +echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3646 +GXX=`test $ac_compiler_gnu = yes && echo yes`
3647 +ac_test_CXXFLAGS=${CXXFLAGS+set}
3648 +ac_save_CXXFLAGS=$CXXFLAGS
3650 +echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3651 +echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3652 +if test "${ac_cv_prog_cxx_g+set}" = set; then
3653 + echo $ECHO_N "(cached) $ECHO_C" >&6
3655 + cat >conftest.$ac_ext <<_ACEOF
3656 +#line $LINENO "configure"
3659 +cat confdefs.h >>conftest.$ac_ext
3660 +cat >>conftest.$ac_ext <<_ACEOF
3661 +/* end confdefs.h. */
3671 +rm -f conftest.$ac_objext
3672 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3673 + (eval $ac_compile) 2>&5
3675 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3676 + (exit $ac_status); } &&
3677 + { ac_try='test -s conftest.$ac_objext'
3678 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3679 + (eval $ac_try) 2>&5
3681 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3682 + (exit $ac_status); }; }; then
3683 + ac_cv_prog_cxx_g=yes
3685 + echo "$as_me: failed program was:" >&5
3686 +sed 's/^/| /' conftest.$ac_ext >&5
3688 +ac_cv_prog_cxx_g=no
3690 +rm -f conftest.$ac_objext conftest.$ac_ext
3692 +echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3693 +echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3694 +if test "$ac_test_CXXFLAGS" = set; then
3695 + CXXFLAGS=$ac_save_CXXFLAGS
3696 +elif test $ac_cv_prog_cxx_g = yes; then
3697 + if test "$GXX" = yes; then
3703 + if test "$GXX" = yes; then
3709 +for ac_declaration in \
3711 + '#include <stdlib.h>' \
3712 + 'extern "C" void std::exit (int) throw (); using std::exit;' \
3713 + 'extern "C" void std::exit (int); using std::exit;' \
3714 + 'extern "C" void exit (int) throw ();' \
3715 + 'extern "C" void exit (int);' \
3716 + 'void exit (int);'
3718 + cat >conftest.$ac_ext <<_ACEOF
3719 +#line $LINENO "configure"
3722 +cat confdefs.h >>conftest.$ac_ext
3723 +cat >>conftest.$ac_ext <<_ACEOF
3724 +/* end confdefs.h. */
3725 +#include <stdlib.h>
3735 +rm -f conftest.$ac_objext
3736 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3737 + (eval $ac_compile) 2>&5
3739 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3740 + (exit $ac_status); } &&
3741 + { ac_try='test -s conftest.$ac_objext'
3742 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3743 + (eval $ac_try) 2>&5
3745 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3746 + (exit $ac_status); }; }; then
3749 + echo "$as_me: failed program was:" >&5
3750 +sed 's/^/| /' conftest.$ac_ext >&5
3754 +rm -f conftest.$ac_objext conftest.$ac_ext
3755 + cat >conftest.$ac_ext <<_ACEOF
3756 +#line $LINENO "configure"
3759 +cat confdefs.h >>conftest.$ac_ext
3760 +cat >>conftest.$ac_ext <<_ACEOF
3761 +/* end confdefs.h. */
3771 +rm -f conftest.$ac_objext
3772 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3773 + (eval $ac_compile) 2>&5
3775 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3776 + (exit $ac_status); } &&
3777 + { ac_try='test -s conftest.$ac_objext'
3778 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3779 + (eval $ac_try) 2>&5
3781 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3782 + (exit $ac_status); }; }; then
3785 + echo "$as_me: failed program was:" >&5
3786 +sed 's/^/| /' conftest.$ac_ext >&5
3789 +rm -f conftest.$ac_objext conftest.$ac_ext
3792 +if test -n "$ac_declaration"; then
3793 + echo '#ifdef __cplusplus' >>confdefs.h
3794 + echo $ac_declaration >>confdefs.h
3795 + echo '#endif' >>confdefs.h
3799 +ac_cpp='$CPP $CPPFLAGS'
3800 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3801 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3802 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3804 +depcc="$CXX" am_compiler_list=
3806 +echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3807 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3808 +if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3809 + echo $ECHO_N "(cached) $ECHO_C" >&6
3811 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3812 + # We make a subdir and do the tests there. Otherwise we can end up
3813 + # making bogus files that we don't know about and never remove. For
3814 + # instance it was reported that on HP-UX the gcc test will end up
3815 + # making a dummy file named `D' -- because `-MD' means `put the output
3817 + mkdir conftest.dir
3818 + # Copy depcomp to subdir because otherwise we won't find it if we're
3819 + # using a relative directory.
3820 + cp "$am_depcomp" conftest.dir
3822 + # We will build objects and dependencies in a subdirectory because
3823 + # it helps to detect inapplicable dependency modes. For instance
3824 + # both Tru64's cc and ICC support -MD to output dependencies as a
3825 + # side effect of compilation, but ICC will put the dependencies in
3826 + # the current directory while Tru64 will put them in the object
3830 + am_cv_CXX_dependencies_compiler_type=none
3831 + if test "$am_compiler_list" = ""; then
3832 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3834 + for depmode in $am_compiler_list; do
3835 + # Setup a source with many dependencies, because some compilers
3836 + # like to wrap large dependency lists on column 80 (with \), and
3837 + # we should not choose a depcomp mode which is confused by this.
3839 + # We need to recreate these files for each test, as the compiler may
3840 + # overwrite some of them when testing with obscure command lines.
3841 + # This happens at least with the AIX C compiler.
3842 + : > sub/conftest.c
3843 + for i in 1 2 3 4 5 6; do
3844 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
3845 + : > sub/conftst$i.h
3847 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3851 + # after this tag, mechanisms are not by side-effect, so they'll
3852 + # only be used when explicitly requested
3853 + if test "x$enable_dependency_tracking" = xyes; then
3861 + # We check with `-c' and `-o' for the sake of the "dashmstdout"
3862 + # mode. It turns out that the SunPro C++ compiler does not properly
3863 + # handle `-M -o', and we need to detect this.
3864 + if depmode=$depmode \
3865 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3866 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3867 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3868 + >/dev/null 2>conftest.err &&
3869 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3870 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3871 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3872 + # icc doesn't choke on unknown options, it will just issue warnings
3873 + # (even with -Werror). So we grep stderr for any message
3874 + # that says an option was ignored.
3875 + if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
3876 + am_cv_CXX_dependencies_compiler_type=$depmode
3883 + rm -rf conftest.dir
3885 + am_cv_CXX_dependencies_compiler_type=none
3889 +echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3890 +echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
3891 +CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3896 + test "x$enable_dependency_tracking" != xno \
3897 + && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3898 + am__fastdepCXX_TRUE=
3899 + am__fastdepCXX_FALSE='#'
3901 + am__fastdepCXX_TRUE='#'
3902 + am__fastdepCXX_FALSE=
3911 #AC_CHECK_LIB(fl,main,AC_DEFINE(JS) LIBS="$LIBS -lfl",AC_MSG_WARN(You don't have libfl; you won't be able to run javascript))
3913 -echo $ac_n "checking for EMX""... $ac_c" 1>&6
3914 -echo "configure:1046: checking for EMX" >&5
3915 -if eval "test \"`echo '$''{'ac_cv_have_emx'+set}'`\" = set"; then
3916 - echo $ac_n "(cached) $ac_c" 1>&6
3917 +echo "$as_me:$LINENO: checking for EMX" >&5
3918 +echo $ECHO_N "checking for EMX... $ECHO_C" >&6
3919 +if test "${ac_cv_have_emx+set}" = set; then
3920 + echo $ECHO_N "(cached) $ECHO_C" >&6
3922 - cat > conftest.$ac_ext <<EOF
3923 -#line 1051 "configure"
3924 -#include "confdefs.h"
3927 +cat >conftest.$ac_ext <<_ACEOF
3928 +#line $LINENO "configure"
3931 +cat confdefs.h >>conftest.$ac_ext
3932 +cat >>conftest.$ac_ext <<_ACEOF
3933 +/* end confdefs.h. */
3943 -if { (eval echo configure:1060: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3950 +rm -f conftest.$ac_objext
3951 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3952 + (eval $ac_compile) 2>&5
3954 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3955 + (exit $ac_status); } &&
3956 + { ac_try='test -s conftest.$ac_objext'
3957 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3958 + (eval $ac_try) 2>&5
3960 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3961 + (exit $ac_status); }; }; then
3964 - echo "configure: failed program was:" >&5
3965 - cat conftest.$ac_ext >&5
3970 + echo "$as_me: failed program was:" >&5
3971 +sed 's/^/| /' conftest.$ac_ext >&5
3975 +rm -f conftest.$ac_objext conftest.$ac_ext
3977 -echo "$ac_t""$ac_cv_have_emx" 1>&6
3979 +echo "$as_me:$LINENO: result: $ac_cv_have_emx" >&5
3980 +echo "${ECHO_T}$ac_cv_have_emx" >&6
3981 test "$ac_cv_have_emx" = yes && LDFLAGS=`echo "$LDFLAGS" | sed "s/-Zexe//g" | sed "s/-Zbin-files//g"`
3983 -echo $ac_n "checking for typeof""... $ac_c" 1>&6
3984 -echo "configure:1077: checking for typeof" >&5
3985 -if eval "test \"`echo '$''{'ac_cv_have_typeof'+set}'`\" = set"; then
3986 - echo $ac_n "(cached) $ac_c" 1>&6
3987 +echo "$as_me:$LINENO: checking for typeof" >&5
3988 +echo $ECHO_N "checking for typeof... $ECHO_C" >&6
3989 +if test "${ac_cv_have_typeof+set}" = set; then
3990 + echo $ECHO_N "(cached) $ECHO_C" >&6
3992 - cat > conftest.$ac_ext <<EOF
3993 -#line 1082 "configure"
3994 -#include "confdefs.h"
3995 + cat >conftest.$ac_ext <<_ACEOF
3996 +#line $LINENO "configure"
3999 +cat confdefs.h >>conftest.$ac_ext
4000 +cat >>conftest.$ac_ext <<_ACEOF
4001 +/* end confdefs.h. */
4011 -if { (eval echo configure:1090: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4017 +rm -f conftest.$ac_objext
4018 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4019 + (eval $ac_compile) 2>&5
4021 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4022 + (exit $ac_status); } &&
4023 + { ac_try='test -s conftest.$ac_objext'
4024 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4025 + (eval $ac_try) 2>&5
4027 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4028 + (exit $ac_status); }; }; then
4029 ac_cv_have_typeof=yes
4031 - echo "configure: failed program was:" >&5
4032 - cat conftest.$ac_ext >&5
4034 - ac_cv_have_typeof=no
4038 + echo "$as_me: failed program was:" >&5
4039 +sed 's/^/| /' conftest.$ac_ext >&5
4041 +ac_cv_have_typeof=no
4043 +rm -f conftest.$ac_objext conftest.$ac_ext
4045 -echo "$ac_t""$ac_cv_have_typeof" 1>&6
4046 -test "$ac_cv_have_typeof" = yes && cat >> confdefs.h <<\EOF
4048 +echo "$as_me:$LINENO: result: $ac_cv_have_typeof" >&5
4049 +echo "${ECHO_T}$ac_cv_have_typeof" >&6
4050 +test "$ac_cv_have_typeof" = yes && cat >>confdefs.h <<\_ACEOF
4051 #define HAVE_TYPEOF 1
4056 -echo $ac_n "checking for long long""... $ac_c" 1>&6
4057 -echo "configure:1110: checking for long long" >&5
4058 -if eval "test \"`echo '$''{'ac_cv_have_long_long'+set}'`\" = set"; then
4059 - echo $ac_n "(cached) $ac_c" 1>&6
4060 +echo "$as_me:$LINENO: checking for long long" >&5
4061 +echo $ECHO_N "checking for long long... $ECHO_C" >&6
4062 +if test "${ac_cv_have_long_long+set}" = set; then
4063 + echo $ECHO_N "(cached) $ECHO_C" >&6
4065 - cat > conftest.$ac_ext <<EOF
4066 -#line 1115 "configure"
4067 -#include "confdefs.h"
4068 + cat >conftest.$ac_ext <<_ACEOF
4069 +#line $LINENO "configure"
4072 +cat confdefs.h >>conftest.$ac_ext
4073 +cat >>conftest.$ac_ext <<_ACEOF
4074 +/* end confdefs.h. */
4077 -unsigned long long a;
4080 -if { (eval echo configure:1122: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4085 +unsigned long long a;
4090 +rm -f conftest.$ac_objext
4091 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4092 + (eval $ac_compile) 2>&5
4094 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4095 + (exit $ac_status); } &&
4096 + { ac_try='test -s conftest.$ac_objext'
4097 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4098 + (eval $ac_try) 2>&5
4100 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4101 + (exit $ac_status); }; }; then
4102 ac_cv_have_long_long=yes
4104 - echo "configure: failed program was:" >&5
4105 - cat conftest.$ac_ext >&5
4107 - ac_cv_have_long_long=no
4110 + echo "$as_me: failed program was:" >&5
4111 +sed 's/^/| /' conftest.$ac_ext >&5
4113 +ac_cv_have_long_long=no
4115 +rm -f conftest.$ac_objext conftest.$ac_ext
4117 -echo "$ac_t""$ac_cv_have_long_long" 1>&6
4118 -test "$ac_cv_have_long_long" = yes && cat >> confdefs.h <<\EOF
4120 +echo "$as_me:$LINENO: result: $ac_cv_have_long_long" >&5
4121 +echo "${ECHO_T}$ac_cv_have_long_long" >&6
4122 +test "$ac_cv_have_long_long" = yes && cat >>confdefs.h <<\_ACEOF
4123 #define HAVE_LONG_LONG 1
4134 -for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h
4136 -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4137 -echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6
4138 -echo "configure:1146: checking for $ac_hdr that defines DIR" >&5
4139 -if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
4140 - echo $ac_n "(cached) $ac_c" 1>&6
4141 +for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
4142 + as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
4143 +echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
4144 +echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
4145 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
4146 + echo $ECHO_N "(cached) $ECHO_C" >&6
4148 - cat > conftest.$ac_ext <<EOF
4149 -#line 1151 "configure"
4150 -#include "confdefs.h"
4151 + cat >conftest.$ac_ext <<_ACEOF
4152 +#line $LINENO "configure"
4155 +cat confdefs.h >>conftest.$ac_ext
4156 +cat >>conftest.$ac_ext <<_ACEOF
4157 +/* end confdefs.h. */
4158 #include <sys/types.h>
4164 -if { (eval echo configure:1159: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4166 - eval "ac_cv_header_dirent_$ac_safe=yes"
4177 +rm -f conftest.$ac_objext
4178 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4179 + (eval $ac_compile) 2>&5
4181 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4182 + (exit $ac_status); } &&
4183 + { ac_try='test -s conftest.$ac_objext'
4184 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4185 + (eval $ac_try) 2>&5
4187 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4188 + (exit $ac_status); }; }; then
4189 + eval "$as_ac_Header=yes"
4191 - echo "configure: failed program was:" >&5
4192 - cat conftest.$ac_ext >&5
4194 - eval "ac_cv_header_dirent_$ac_safe=no"
4195 + echo "$as_me: failed program was:" >&5
4196 +sed 's/^/| /' conftest.$ac_ext >&5
4198 +eval "$as_ac_Header=no"
4201 +rm -f conftest.$ac_objext conftest.$ac_ext
4203 -if eval "test \"`echo '$ac_cv_header_dirent_'$ac_safe`\" = yes"; then
4204 - echo "$ac_t""yes" 1>&6
4205 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4206 - cat >> confdefs.h <<EOF
4207 -#define $ac_tr_hdr 1
4209 - ac_header_dirent=$ac_hdr; break
4211 - echo "$ac_t""no" 1>&6
4212 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4213 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4214 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
4215 + cat >>confdefs.h <<_ACEOF
4216 +#define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
4219 +ac_header_dirent=$ac_hdr; break
4223 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
4224 if test $ac_header_dirent = dirent.h; then
4225 -echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6
4226 -echo "configure:1184: checking for opendir in -ldir" >&5
4227 -ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'`
4228 -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4229 - echo $ac_n "(cached) $ac_c" 1>&6
4230 + echo "$as_me:$LINENO: checking for library containing opendir" >&5
4231 +echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
4232 +if test "${ac_cv_search_opendir+set}" = set; then
4233 + echo $ECHO_N "(cached) $ECHO_C" >&6
4235 - ac_save_LIBS="$LIBS"
4237 -cat > conftest.$ac_ext <<EOF
4238 -#line 1192 "configure"
4239 -#include "confdefs.h"
4240 + ac_func_search_save_LIBS=$LIBS
4241 +ac_cv_search_opendir=no
4242 +cat >conftest.$ac_ext <<_ACEOF
4243 +#line $LINENO "configure"
4246 +cat confdefs.h >>conftest.$ac_ext
4247 +cat >>conftest.$ac_ext <<_ACEOF
4248 +/* end confdefs.h. */
4250 /* Override any gcc2 internal prototype to avoid an error. */
4254 /* We use char because int might match the return type of a gcc2
4255 - builtin and then its argument prototype would still apply. */
4262 -if { (eval echo configure:1203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4264 - eval "ac_cv_lib_$ac_lib_var=yes"
4265 + builtin and then its argument prototype would still apply. */
4275 +rm -f conftest.$ac_objext conftest$ac_exeext
4276 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4277 + (eval $ac_link) 2>&5
4279 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4280 + (exit $ac_status); } &&
4281 + { ac_try='test -s conftest$ac_exeext'
4282 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4283 + (eval $ac_try) 2>&5
4285 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4286 + (exit $ac_status); }; }; then
4287 + ac_cv_search_opendir="none required"
4289 - echo "configure: failed program was:" >&5
4290 - cat conftest.$ac_ext >&5
4292 - eval "ac_cv_lib_$ac_lib_var=no"
4295 -LIBS="$ac_save_LIBS"
4296 + echo "$as_me: failed program was:" >&5
4297 +sed 's/^/| /' conftest.$ac_ext >&5
4300 -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4301 - echo "$ac_t""yes" 1>&6
4302 - LIBS="$LIBS -ldir"
4303 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4304 +if test "$ac_cv_search_opendir" = no; then
4305 + for ac_lib in dir; do
4306 + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4307 + cat >conftest.$ac_ext <<_ACEOF
4308 +#line $LINENO "configure"
4311 +cat confdefs.h >>conftest.$ac_ext
4312 +cat >>conftest.$ac_ext <<_ACEOF
4313 +/* end confdefs.h. */
4315 +/* Override any gcc2 internal prototype to avoid an error. */
4319 +/* We use char because int might match the return type of a gcc2
4320 + builtin and then its argument prototype would still apply. */
4330 +rm -f conftest.$ac_objext conftest$ac_exeext
4331 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4332 + (eval $ac_link) 2>&5
4334 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4335 + (exit $ac_status); } &&
4336 + { ac_try='test -s conftest$ac_exeext'
4337 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4338 + (eval $ac_try) 2>&5
4340 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4341 + (exit $ac_status); }; }; then
4342 + ac_cv_search_opendir="-l$ac_lib"
4345 - echo "$ac_t""no" 1>&6
4346 + echo "$as_me: failed program was:" >&5
4347 +sed 's/^/| /' conftest.$ac_ext >&5
4350 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4353 +LIBS=$ac_func_search_save_LIBS
4355 +echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4356 +echo "${ECHO_T}$ac_cv_search_opendir" >&6
4357 +if test "$ac_cv_search_opendir" != no; then
4358 + test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
4363 -echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6
4364 -echo "configure:1225: checking for opendir in -lx" >&5
4365 -ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'`
4366 -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4367 - echo $ac_n "(cached) $ac_c" 1>&6
4368 + echo "$as_me:$LINENO: checking for library containing opendir" >&5
4369 +echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
4370 +if test "${ac_cv_search_opendir+set}" = set; then
4371 + echo $ECHO_N "(cached) $ECHO_C" >&6
4373 - ac_save_LIBS="$LIBS"
4375 -cat > conftest.$ac_ext <<EOF
4376 -#line 1233 "configure"
4377 -#include "confdefs.h"
4378 + ac_func_search_save_LIBS=$LIBS
4379 +ac_cv_search_opendir=no
4380 +cat >conftest.$ac_ext <<_ACEOF
4381 +#line $LINENO "configure"
4384 +cat confdefs.h >>conftest.$ac_ext
4385 +cat >>conftest.$ac_ext <<_ACEOF
4386 +/* end confdefs.h. */
4388 /* Override any gcc2 internal prototype to avoid an error. */
4392 /* We use char because int might match the return type of a gcc2
4393 - builtin and then its argument prototype would still apply. */
4400 -if { (eval echo configure:1244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4402 - eval "ac_cv_lib_$ac_lib_var=yes"
4403 + builtin and then its argument prototype would still apply. */
4413 +rm -f conftest.$ac_objext conftest$ac_exeext
4414 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4415 + (eval $ac_link) 2>&5
4417 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4418 + (exit $ac_status); } &&
4419 + { ac_try='test -s conftest$ac_exeext'
4420 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4421 + (eval $ac_try) 2>&5
4423 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4424 + (exit $ac_status); }; }; then
4425 + ac_cv_search_opendir="none required"
4427 - echo "configure: failed program was:" >&5
4428 - cat conftest.$ac_ext >&5
4430 - eval "ac_cv_lib_$ac_lib_var=no"
4433 -LIBS="$ac_save_LIBS"
4434 + echo "$as_me: failed program was:" >&5
4435 +sed 's/^/| /' conftest.$ac_ext >&5
4438 -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4439 - echo "$ac_t""yes" 1>&6
4441 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4442 +if test "$ac_cv_search_opendir" = no; then
4443 + for ac_lib in x; do
4444 + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4445 + cat >conftest.$ac_ext <<_ACEOF
4446 +#line $LINENO "configure"
4449 +cat confdefs.h >>conftest.$ac_ext
4450 +cat >>conftest.$ac_ext <<_ACEOF
4451 +/* end confdefs.h. */
4453 +/* Override any gcc2 internal prototype to avoid an error. */
4457 +/* We use char because int might match the return type of a gcc2
4458 + builtin and then its argument prototype would still apply. */
4468 +rm -f conftest.$ac_objext conftest$ac_exeext
4469 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4470 + (eval $ac_link) 2>&5
4472 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4473 + (exit $ac_status); } &&
4474 + { ac_try='test -s conftest$ac_exeext'
4475 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4476 + (eval $ac_try) 2>&5
4478 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4479 + (exit $ac_status); }; }; then
4480 + ac_cv_search_opendir="-l$ac_lib"
4483 - echo "$ac_t""no" 1>&6
4484 + echo "$as_me: failed program was:" >&5
4485 +sed 's/^/| /' conftest.$ac_ext >&5
4488 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4491 +LIBS=$ac_func_search_save_LIBS
4493 +echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4494 +echo "${ECHO_T}$ac_cv_search_opendir" >&6
4495 +if test "$ac_cv_search_opendir" != no; then
4496 + test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
4500 -echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
4501 -echo "configure:1267: checking how to run the C preprocessor" >&5
4505 +ac_cpp='$CPP $CPPFLAGS'
4506 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4507 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4508 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
4509 +echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4510 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4511 # On Suns, sometimes $CPP names a directory.
4512 if test -n "$CPP" && test -d "$CPP"; then
4515 if test -z "$CPP"; then
4516 -if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
4517 - echo $ac_n "(cached) $ac_c" 1>&6
4518 + if test "${ac_cv_prog_CPP+set}" = set; then
4519 + echo $ECHO_N "(cached) $ECHO_C" >&6
4521 - # This must be in double quotes, not single quotes, because CPP may get
4522 - # substituted into the Makefile and "${CC-cc}" will confuse make.
4524 + # Double quotes because CPP needs to be expanded
4525 + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4527 + ac_preproc_ok=false
4528 +for ac_c_preproc_warn_flag in '' yes
4530 + # Use a header file that comes with gcc, so configuring glibc
4531 + # with a fresh cross-compiler works.
4532 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4533 + # <limits.h> exists even on freestanding compilers.
4534 # On the NeXT, cc -E runs the code through the compiler's parser,
4535 - # not just through cpp.
4536 - cat > conftest.$ac_ext <<EOF
4537 -#line 1282 "configure"
4538 -#include "confdefs.h"
4539 -#include <assert.h>
4542 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4543 -{ (eval echo configure:1288: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4544 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4545 -if test -z "$ac_err"; then
4547 + # not just through cpp. "Syntax error" is here to catch this case.
4548 + cat >conftest.$ac_ext <<_ACEOF
4549 +#line $LINENO "configure"
4552 +cat confdefs.h >>conftest.$ac_ext
4553 +cat >>conftest.$ac_ext <<_ACEOF
4554 +/* end confdefs.h. */
4556 +# include <limits.h>
4558 +# include <assert.h>
4562 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4563 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4565 + grep -v '^ *+' conftest.er1 >conftest.err
4566 + rm -f conftest.er1
4567 + cat conftest.err >&5
4568 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4569 + (exit $ac_status); } >/dev/null; then
4570 + if test -s conftest.err; then
4571 + ac_cpp_err=$ac_c_preproc_warn_flag
4576 - echo "$ac_err" >&5
4577 - echo "configure: failed program was:" >&5
4578 - cat conftest.$ac_ext >&5
4580 - CPP="${CC-cc} -E -traditional-cpp"
4581 - cat > conftest.$ac_ext <<EOF
4582 -#line 1299 "configure"
4583 -#include "confdefs.h"
4584 -#include <assert.h>
4587 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4588 -{ (eval echo configure:1305: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4589 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4590 -if test -z "$ac_err"; then
4593 +if test -z "$ac_cpp_err"; then
4596 - echo "$ac_err" >&5
4597 - echo "configure: failed program was:" >&5
4598 - cat conftest.$ac_ext >&5
4600 - CPP="${CC-cc} -nologo -E"
4601 - cat > conftest.$ac_ext <<EOF
4602 -#line 1316 "configure"
4603 -#include "confdefs.h"
4604 -#include <assert.h>
4607 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4608 -{ (eval echo configure:1322: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4609 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4610 -if test -z "$ac_err"; then
4611 + echo "$as_me: failed program was:" >&5
4612 +sed 's/^/| /' conftest.$ac_ext >&5
4614 + # Broken: fails on valid input.
4617 +rm -f conftest.err conftest.$ac_ext
4619 + # OK, works on sane cases. Now check whether non-existent headers
4620 + # can be detected and how.
4621 + cat >conftest.$ac_ext <<_ACEOF
4622 +#line $LINENO "configure"
4625 +cat confdefs.h >>conftest.$ac_ext
4626 +cat >>conftest.$ac_ext <<_ACEOF
4627 +/* end confdefs.h. */
4628 +#include <ac_nonexistent.h>
4630 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4631 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4633 + grep -v '^ *+' conftest.er1 >conftest.err
4634 + rm -f conftest.er1
4635 + cat conftest.err >&5
4636 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4637 + (exit $ac_status); } >/dev/null; then
4638 + if test -s conftest.err; then
4639 + ac_cpp_err=$ac_c_preproc_warn_flag
4646 +if test -z "$ac_cpp_err"; then
4647 + # Broken: success on invalid input.
4650 + echo "$as_me: failed program was:" >&5
4651 +sed 's/^/| /' conftest.$ac_ext >&5
4653 + # Passes both tests.
4657 +rm -f conftest.err conftest.$ac_ext
4660 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4661 +rm -f conftest.err conftest.$ac_ext
4662 +if $ac_preproc_ok; then
4667 + ac_cv_prog_CPP=$CPP
4670 + CPP=$ac_cv_prog_CPP
4672 + ac_cv_prog_CPP=$CPP
4674 +echo "$as_me:$LINENO: result: $CPP" >&5
4675 +echo "${ECHO_T}$CPP" >&6
4676 +ac_preproc_ok=false
4677 +for ac_c_preproc_warn_flag in '' yes
4679 + # Use a header file that comes with gcc, so configuring glibc
4680 + # with a fresh cross-compiler works.
4681 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4682 + # <limits.h> exists even on freestanding compilers.
4683 + # On the NeXT, cc -E runs the code through the compiler's parser,
4684 + # not just through cpp. "Syntax error" is here to catch this case.
4685 + cat >conftest.$ac_ext <<_ACEOF
4686 +#line $LINENO "configure"
4689 +cat confdefs.h >>conftest.$ac_ext
4690 +cat >>conftest.$ac_ext <<_ACEOF
4691 +/* end confdefs.h. */
4693 +# include <limits.h>
4695 +# include <assert.h>
4699 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4700 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4702 + grep -v '^ *+' conftest.er1 >conftest.err
4703 + rm -f conftest.er1
4704 + cat conftest.err >&5
4705 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4706 + (exit $ac_status); } >/dev/null; then
4707 + if test -s conftest.err; then
4708 + ac_cpp_err=$ac_c_preproc_warn_flag
4715 +if test -z "$ac_cpp_err"; then
4718 - echo "$ac_err" >&5
4719 - echo "configure: failed program was:" >&5
4720 - cat conftest.$ac_ext >&5
4723 + echo "$as_me: failed program was:" >&5
4724 +sed 's/^/| /' conftest.$ac_ext >&5
4726 + # Broken: fails on valid input.
4730 +rm -f conftest.err conftest.$ac_ext
4732 + # OK, works on sane cases. Now check whether non-existent headers
4733 + # can be detected and how.
4734 + cat >conftest.$ac_ext <<_ACEOF
4735 +#line $LINENO "configure"
4738 +cat confdefs.h >>conftest.$ac_ext
4739 +cat >>conftest.$ac_ext <<_ACEOF
4740 +/* end confdefs.h. */
4741 +#include <ac_nonexistent.h>
4743 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4744 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4746 + grep -v '^ *+' conftest.er1 >conftest.err
4747 + rm -f conftest.er1
4748 + cat conftest.err >&5
4749 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4750 + (exit $ac_status); } >/dev/null; then
4751 + if test -s conftest.err; then
4752 + ac_cpp_err=$ac_c_preproc_warn_flag
4760 +if test -z "$ac_cpp_err"; then
4761 + # Broken: success on invalid input.
4764 + echo "$as_me: failed program was:" >&5
4765 +sed 's/^/| /' conftest.$ac_ext >&5
4767 + # Passes both tests.
4772 - ac_cv_prog_CPP="$CPP"
4773 +rm -f conftest.err conftest.$ac_ext
4776 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4777 +rm -f conftest.err conftest.$ac_ext
4778 +if $ac_preproc_ok; then
4781 + { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4782 +See \`config.log' for more details." >&5
4783 +echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4784 +See \`config.log' for more details." >&2;}
4785 + { (exit 1); exit 1; }; }
4787 - CPP="$ac_cv_prog_CPP"
4790 +ac_cpp='$CPP $CPPFLAGS'
4791 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4792 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4793 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
4796 +echo "$as_me:$LINENO: checking for egrep" >&5
4797 +echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4798 +if test "${ac_cv_prog_egrep+set}" = set; then
4799 + echo $ECHO_N "(cached) $ECHO_C" >&6
4801 - ac_cv_prog_CPP="$CPP"
4802 + if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4803 + then ac_cv_prog_egrep='grep -E'
4804 + else ac_cv_prog_egrep='egrep'
4807 -echo "$ac_t""$CPP" 1>&6
4808 +echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4809 +echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4810 + EGREP=$ac_cv_prog_egrep
4812 -echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
4813 -echo "configure:1347: checking for ANSI C header files" >&5
4814 -if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
4815 - echo $ac_n "(cached) $ac_c" 1>&6
4817 +echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4818 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4819 +if test "${ac_cv_header_stdc+set}" = set; then
4820 + echo $ECHO_N "(cached) $ECHO_C" >&6
4822 - cat > conftest.$ac_ext <<EOF
4823 -#line 1352 "configure"
4824 -#include "confdefs.h"
4825 + cat >conftest.$ac_ext <<_ACEOF
4826 +#line $LINENO "configure"
4829 +cat confdefs.h >>conftest.$ac_ext
4830 +cat >>conftest.$ac_ext <<_ACEOF
4831 +/* end confdefs.h. */
4837 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4838 -{ (eval echo configure:1360: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4839 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4840 -if test -z "$ac_err"; then
4851 +rm -f conftest.$ac_objext
4852 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4853 + (eval $ac_compile) 2>&5
4855 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4856 + (exit $ac_status); } &&
4857 + { ac_try='test -s conftest.$ac_objext'
4858 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4859 + (eval $ac_try) 2>&5
4861 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4862 + (exit $ac_status); }; }; then
4863 ac_cv_header_stdc=yes
4865 - echo "$ac_err" >&5
4866 - echo "configure: failed program was:" >&5
4867 - cat conftest.$ac_ext >&5
4869 - ac_cv_header_stdc=no
4870 + echo "$as_me: failed program was:" >&5
4871 +sed 's/^/| /' conftest.$ac_ext >&5
4873 +ac_cv_header_stdc=no
4876 +rm -f conftest.$ac_objext conftest.$ac_ext
4878 if test $ac_cv_header_stdc = yes; then
4879 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4880 -cat > conftest.$ac_ext <<EOF
4881 -#line 1377 "configure"
4882 -#include "confdefs.h"
4883 + cat >conftest.$ac_ext <<_ACEOF
4884 +#line $LINENO "configure"
4887 +cat confdefs.h >>conftest.$ac_ext
4888 +cat >>conftest.$ac_ext <<_ACEOF
4889 +/* end confdefs.h. */
4894 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4895 - egrep "memchr" >/dev/null 2>&1; then
4896 + $EGREP "memchr" >/dev/null 2>&1; then
4900 ac_cv_header_stdc=no
4903 @@ -1390,16 +3920,20 @@
4905 if test $ac_cv_header_stdc = yes; then
4906 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4907 -cat > conftest.$ac_ext <<EOF
4908 -#line 1395 "configure"
4909 -#include "confdefs.h"
4910 + cat >conftest.$ac_ext <<_ACEOF
4911 +#line $LINENO "configure"
4914 +cat confdefs.h >>conftest.$ac_ext
4915 +cat >>conftest.$ac_ext <<_ACEOF
4916 +/* end confdefs.h. */
4921 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4922 - egrep "free" >/dev/null 2>&1; then
4923 + $EGREP "free" >/dev/null 2>&1; then
4927 ac_cv_header_stdc=no
4930 @@ -1408,901 +3942,2658 @@
4932 if test $ac_cv_header_stdc = yes; then
4933 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4934 -if test "$cross_compiling" = yes; then
4935 + if test "$cross_compiling" = yes; then
4938 - cat > conftest.$ac_ext <<EOF
4939 -#line 1416 "configure"
4940 -#include "confdefs.h"
4941 + cat >conftest.$ac_ext <<_ACEOF
4942 +#line $LINENO "configure"
4945 +cat confdefs.h >>conftest.$ac_ext
4946 +cat >>conftest.$ac_ext <<_ACEOF
4947 +/* end confdefs.h. */
4949 -#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4950 -#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4951 -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4952 -int main () { int i; for (i = 0; i < 256; i++)
4953 -if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
4955 +#if ((' ' & 0x0FF) == 0x020)
4956 +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4957 +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4959 +# define ISLOWER(c) \
4960 + (('a' <= (c) && (c) <= 'i') \
4961 + || ('j' <= (c) && (c) <= 'r') \
4962 + || ('s' <= (c) && (c) <= 'z'))
4963 +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4967 -if { (eval echo configure:1427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4969 +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4974 + for (i = 0; i < 256; i++)
4975 + if (XOR (islower (i), ISLOWER (i))
4976 + || toupper (i) != TOUPPER (i))
4981 +rm -f conftest$ac_exeext
4982 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4983 + (eval $ac_link) 2>&5
4985 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4986 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4987 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4988 + (eval $ac_try) 2>&5
4990 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4991 + (exit $ac_status); }; }; then
4994 - echo "configure: failed program was:" >&5
4995 - cat conftest.$ac_ext >&5
4997 - ac_cv_header_stdc=no
4998 + echo "$as_me: program exited with status $ac_status" >&5
4999 +echo "$as_me: failed program was:" >&5
5000 +sed 's/^/| /' conftest.$ac_ext >&5
5002 +( exit $ac_status )
5003 +ac_cv_header_stdc=no
5006 +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5012 -echo "$ac_t""$ac_cv_header_stdc" 1>&6
5013 +echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5014 +echo "${ECHO_T}$ac_cv_header_stdc" >&6
5015 if test $ac_cv_header_stdc = yes; then
5016 - cat >> confdefs.h <<\EOF
5018 +cat >>confdefs.h <<\_ACEOF
5019 #define STDC_HEADERS 1
5025 -echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
5026 -echo "configure:1451: checking for sys/wait.h that is POSIX.1 compatible" >&5
5027 -if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
5028 - echo $ac_n "(cached) $ac_c" 1>&6
5029 +echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
5030 +echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
5031 +if test "${ac_cv_header_sys_wait_h+set}" = set; then
5032 + echo $ECHO_N "(cached) $ECHO_C" >&6
5034 - cat > conftest.$ac_ext <<EOF
5035 -#line 1456 "configure"
5036 -#include "confdefs.h"
5037 + cat >conftest.$ac_ext <<_ACEOF
5038 +#line $LINENO "configure"
5041 +cat confdefs.h >>conftest.$ac_ext
5042 +cat >>conftest.$ac_ext <<_ACEOF
5043 +/* end confdefs.h. */
5044 #include <sys/types.h>
5045 #include <sys/wait.h>
5047 -#define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
5048 +# define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
5051 -#define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
5052 +# define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
5057 -s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
5060 -if { (eval echo configure:1472: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5068 + s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
5073 +rm -f conftest.$ac_objext
5074 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5075 + (eval $ac_compile) 2>&5
5077 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5078 + (exit $ac_status); } &&
5079 + { ac_try='test -s conftest.$ac_objext'
5080 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5081 + (eval $ac_try) 2>&5
5083 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5084 + (exit $ac_status); }; }; then
5085 ac_cv_header_sys_wait_h=yes
5087 - echo "configure: failed program was:" >&5
5088 - cat conftest.$ac_ext >&5
5090 - ac_cv_header_sys_wait_h=no
5091 + echo "$as_me: failed program was:" >&5
5092 +sed 's/^/| /' conftest.$ac_ext >&5
5094 +ac_cv_header_sys_wait_h=no
5097 +rm -f conftest.$ac_objext conftest.$ac_ext
5100 -echo "$ac_t""$ac_cv_header_sys_wait_h" 1>&6
5101 +echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
5102 +echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
5103 if test $ac_cv_header_sys_wait_h = yes; then
5104 - cat >> confdefs.h <<\EOF
5106 +cat >>confdefs.h <<\_ACEOF
5107 #define HAVE_SYS_WAIT_H 1
5113 -for ac_hdr in fcntl.h limits.h sys/ioctl.h sys/time.h time.h unistd.h math.h ieee.h endian.h
5114 +# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5124 +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5125 + inttypes.h stdint.h unistd.h
5127 -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5128 -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5129 -echo "configure:1496: checking for $ac_hdr" >&5
5130 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5131 - echo $ac_n "(cached) $ac_c" 1>&6
5132 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5133 +echo "$as_me:$LINENO: checking for $ac_header" >&5
5134 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5135 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
5136 + echo $ECHO_N "(cached) $ECHO_C" >&6
5138 - cat > conftest.$ac_ext <<EOF
5139 -#line 1501 "configure"
5140 -#include "confdefs.h"
5143 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5144 -{ (eval echo configure:1506: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5145 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5146 -if test -z "$ac_err"; then
5148 - eval "ac_cv_header_$ac_safe=yes"
5149 + cat >conftest.$ac_ext <<_ACEOF
5150 +#line $LINENO "configure"
5153 +cat confdefs.h >>conftest.$ac_ext
5154 +cat >>conftest.$ac_ext <<_ACEOF
5155 +/* end confdefs.h. */
5156 +$ac_includes_default
5158 +#include <$ac_header>
5160 +rm -f conftest.$ac_objext
5161 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5162 + (eval $ac_compile) 2>&5
5164 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5165 + (exit $ac_status); } &&
5166 + { ac_try='test -s conftest.$ac_objext'
5167 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5168 + (eval $ac_try) 2>&5
5170 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5171 + (exit $ac_status); }; }; then
5172 + eval "$as_ac_Header=yes"
5174 - echo "$ac_err" >&5
5175 - echo "configure: failed program was:" >&5
5176 - cat conftest.$ac_ext >&5
5178 - eval "ac_cv_header_$ac_safe=no"
5179 + echo "$as_me: failed program was:" >&5
5180 +sed 's/^/| /' conftest.$ac_ext >&5
5182 +eval "$as_ac_Header=no"
5185 +rm -f conftest.$ac_objext conftest.$ac_ext
5187 -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5188 - echo "$ac_t""yes" 1>&6
5189 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5190 - cat >> confdefs.h <<EOF
5191 -#define $ac_tr_hdr 1
5194 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5195 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5196 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
5197 + cat >>confdefs.h <<_ACEOF
5198 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5215 +for ac_header in fcntl.h limits.h sys/ioctl.h sys/time.h time.h unistd.h math.h ieee.h endian.h
5217 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5218 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
5219 + echo "$as_me:$LINENO: checking for $ac_header" >&5
5220 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5221 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
5222 + echo $ECHO_N "(cached) $ECHO_C" >&6
5224 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5225 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5227 - echo "$ac_t""no" 1>&6
5228 + # Is the header compilable?
5229 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
5230 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5231 +cat >conftest.$ac_ext <<_ACEOF
5232 +#line $LINENO "configure"
5235 +cat confdefs.h >>conftest.$ac_ext
5236 +cat >>conftest.$ac_ext <<_ACEOF
5237 +/* end confdefs.h. */
5238 +$ac_includes_default
5239 +#include <$ac_header>
5241 +rm -f conftest.$ac_objext
5242 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5243 + (eval $ac_compile) 2>&5
5245 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5246 + (exit $ac_status); } &&
5247 + { ac_try='test -s conftest.$ac_objext'
5248 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5249 + (eval $ac_try) 2>&5
5251 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5252 + (exit $ac_status); }; }; then
5253 + ac_header_compiler=yes
5255 + echo "$as_me: failed program was:" >&5
5256 +sed 's/^/| /' conftest.$ac_ext >&5
5258 +ac_header_compiler=no
5260 +rm -f conftest.$ac_objext conftest.$ac_ext
5261 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5262 +echo "${ECHO_T}$ac_header_compiler" >&6
5264 +# Is the header present?
5265 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
5266 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5267 +cat >conftest.$ac_ext <<_ACEOF
5268 +#line $LINENO "configure"
5271 +cat confdefs.h >>conftest.$ac_ext
5272 +cat >>conftest.$ac_ext <<_ACEOF
5273 +/* end confdefs.h. */
5274 +#include <$ac_header>
5276 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5277 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5279 + grep -v '^ *+' conftest.er1 >conftest.err
5280 + rm -f conftest.er1
5281 + cat conftest.err >&5
5282 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5283 + (exit $ac_status); } >/dev/null; then
5284 + if test -s conftest.err; then
5285 + ac_cpp_err=$ac_c_preproc_warn_flag
5292 +if test -z "$ac_cpp_err"; then
5293 + ac_header_preproc=yes
5295 + echo "$as_me: failed program was:" >&5
5296 +sed 's/^/| /' conftest.$ac_ext >&5
5298 + ac_header_preproc=no
5300 +rm -f conftest.err conftest.$ac_ext
5301 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5302 +echo "${ECHO_T}$ac_header_preproc" >&6
5304 +# So? What about this header?
5305 +case $ac_header_compiler:$ac_header_preproc in
5307 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5308 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5309 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5310 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5313 +## ------------------------------------ ##
5314 +## Report this to bug-autoconf@gnu.org. ##
5315 +## ------------------------------------ ##
5318 + sed "s/^/$as_me: WARNING: /" >&2
5321 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5322 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5323 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5324 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5325 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5326 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5329 +## ------------------------------------ ##
5330 +## Report this to bug-autoconf@gnu.org. ##
5331 +## ------------------------------------ ##
5334 + sed "s/^/$as_me: WARNING: /" >&2
5337 +echo "$as_me:$LINENO: checking for $ac_header" >&5
5338 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5339 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
5340 + echo $ECHO_N "(cached) $ECHO_C" >&6
5342 + eval "$as_ac_Header=$ac_header_preproc"
5344 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5345 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5348 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
5349 + cat >>confdefs.h <<_ACEOF
5350 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5357 -for ac_hdr in values.h
5359 +for ac_header in values.h
5361 -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5362 -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5363 -echo "configure:1536: checking for $ac_hdr" >&5
5364 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5365 - echo $ac_n "(cached) $ac_c" 1>&6
5366 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5367 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
5368 + echo "$as_me:$LINENO: checking for $ac_header" >&5
5369 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5370 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
5371 + echo $ECHO_N "(cached) $ECHO_C" >&6
5373 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5374 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5376 - cat > conftest.$ac_ext <<EOF
5377 -#line 1541 "configure"
5378 -#include "confdefs.h"
5381 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5382 -{ (eval echo configure:1546: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5383 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5384 -if test -z "$ac_err"; then
5386 - eval "ac_cv_header_$ac_safe=yes"
5387 + # Is the header compilable?
5388 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
5389 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5390 +cat >conftest.$ac_ext <<_ACEOF
5391 +#line $LINENO "configure"
5394 +cat confdefs.h >>conftest.$ac_ext
5395 +cat >>conftest.$ac_ext <<_ACEOF
5396 +/* end confdefs.h. */
5397 +$ac_includes_default
5398 +#include <$ac_header>
5400 +rm -f conftest.$ac_objext
5401 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5402 + (eval $ac_compile) 2>&5
5404 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5405 + (exit $ac_status); } &&
5406 + { ac_try='test -s conftest.$ac_objext'
5407 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5408 + (eval $ac_try) 2>&5
5410 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5411 + (exit $ac_status); }; }; then
5412 + ac_header_compiler=yes
5414 - echo "$ac_err" >&5
5415 - echo "configure: failed program was:" >&5
5416 - cat conftest.$ac_ext >&5
5418 - eval "ac_cv_header_$ac_safe=no"
5419 + echo "$as_me: failed program was:" >&5
5420 +sed 's/^/| /' conftest.$ac_ext >&5
5422 +ac_header_compiler=no
5425 +rm -f conftest.$ac_objext conftest.$ac_ext
5426 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5427 +echo "${ECHO_T}$ac_header_compiler" >&6
5429 +# Is the header present?
5430 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
5431 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5432 +cat >conftest.$ac_ext <<_ACEOF
5433 +#line $LINENO "configure"
5436 +cat confdefs.h >>conftest.$ac_ext
5437 +cat >>conftest.$ac_ext <<_ACEOF
5438 +/* end confdefs.h. */
5439 +#include <$ac_header>
5441 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5442 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5444 + grep -v '^ *+' conftest.er1 >conftest.err
5445 + rm -f conftest.er1
5446 + cat conftest.err >&5
5447 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5448 + (exit $ac_status); } >/dev/null; then
5449 + if test -s conftest.err; then
5450 + ac_cpp_err=$ac_c_preproc_warn_flag
5457 -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5458 - echo "$ac_t""yes" 1>&6
5459 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5460 - cat >> confdefs.h <<EOF
5461 -#define $ac_tr_hdr 1
5464 +if test -z "$ac_cpp_err"; then
5465 + ac_header_preproc=yes
5467 - echo "$ac_t""no" 1>&6
5468 + echo "$as_me: failed program was:" >&5
5469 +sed 's/^/| /' conftest.$ac_ext >&5
5471 + ac_header_preproc=no
5473 +rm -f conftest.err conftest.$ac_ext
5474 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5475 +echo "${ECHO_T}$ac_header_preproc" >&6
5477 +# So? What about this header?
5478 +case $ac_header_compiler:$ac_header_preproc in
5480 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5481 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5482 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5483 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5486 +## ------------------------------------ ##
5487 +## Report this to bug-autoconf@gnu.org. ##
5488 +## ------------------------------------ ##
5491 + sed "s/^/$as_me: WARNING: /" >&2
5494 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5495 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5496 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5497 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5498 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5499 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5502 +## ------------------------------------ ##
5503 +## Report this to bug-autoconf@gnu.org. ##
5504 +## ------------------------------------ ##
5507 + sed "s/^/$as_me: WARNING: /" >&2
5510 +echo "$as_me:$LINENO: checking for $ac_header" >&5
5511 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5512 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
5513 + echo $ECHO_N "(cached) $ECHO_C" >&6
5515 + eval "$as_ac_Header=$ac_header_preproc"
5517 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5518 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5521 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
5522 + cat >>confdefs.h <<_ACEOF
5523 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5530 -for ac_hdr in sigaction.h
5532 +for ac_header in sigaction.h
5534 -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5535 -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5536 -echo "configure:1576: checking for $ac_hdr" >&5
5537 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5538 - echo $ac_n "(cached) $ac_c" 1>&6
5539 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5540 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
5541 + echo "$as_me:$LINENO: checking for $ac_header" >&5
5542 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5543 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
5544 + echo $ECHO_N "(cached) $ECHO_C" >&6
5546 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5547 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5549 - cat > conftest.$ac_ext <<EOF
5550 -#line 1581 "configure"
5551 -#include "confdefs.h"
5554 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5555 -{ (eval echo configure:1586: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5556 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5557 -if test -z "$ac_err"; then
5559 - eval "ac_cv_header_$ac_safe=yes"
5560 + # Is the header compilable?
5561 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
5562 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5563 +cat >conftest.$ac_ext <<_ACEOF
5564 +#line $LINENO "configure"
5567 +cat confdefs.h >>conftest.$ac_ext
5568 +cat >>conftest.$ac_ext <<_ACEOF
5569 +/* end confdefs.h. */
5570 +$ac_includes_default
5571 +#include <$ac_header>
5573 +rm -f conftest.$ac_objext
5574 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5575 + (eval $ac_compile) 2>&5
5577 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5578 + (exit $ac_status); } &&
5579 + { ac_try='test -s conftest.$ac_objext'
5580 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5581 + (eval $ac_try) 2>&5
5583 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5584 + (exit $ac_status); }; }; then
5585 + ac_header_compiler=yes
5587 - echo "$ac_err" >&5
5588 - echo "configure: failed program was:" >&5
5589 - cat conftest.$ac_ext >&5
5591 - eval "ac_cv_header_$ac_safe=no"
5592 + echo "$as_me: failed program was:" >&5
5593 +sed 's/^/| /' conftest.$ac_ext >&5
5595 +ac_header_compiler=no
5598 +rm -f conftest.$ac_objext conftest.$ac_ext
5599 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5600 +echo "${ECHO_T}$ac_header_compiler" >&6
5602 +# Is the header present?
5603 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
5604 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5605 +cat >conftest.$ac_ext <<_ACEOF
5606 +#line $LINENO "configure"
5609 +cat confdefs.h >>conftest.$ac_ext
5610 +cat >>conftest.$ac_ext <<_ACEOF
5611 +/* end confdefs.h. */
5612 +#include <$ac_header>
5614 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5615 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5617 + grep -v '^ *+' conftest.er1 >conftest.err
5618 + rm -f conftest.er1
5619 + cat conftest.err >&5
5620 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5621 + (exit $ac_status); } >/dev/null; then
5622 + if test -s conftest.err; then
5623 + ac_cpp_err=$ac_c_preproc_warn_flag
5630 -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5631 - echo "$ac_t""yes" 1>&6
5632 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5633 - cat >> confdefs.h <<EOF
5634 -#define $ac_tr_hdr 1
5637 +if test -z "$ac_cpp_err"; then
5638 + ac_header_preproc=yes
5640 - echo "$ac_t""no" 1>&6
5641 + echo "$as_me: failed program was:" >&5
5642 +sed 's/^/| /' conftest.$ac_ext >&5
5644 + ac_header_preproc=no
5646 +rm -f conftest.err conftest.$ac_ext
5647 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5648 +echo "${ECHO_T}$ac_header_preproc" >&6
5650 +# So? What about this header?
5651 +case $ac_header_compiler:$ac_header_preproc in
5653 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5654 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5655 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5656 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5659 +## ------------------------------------ ##
5660 +## Report this to bug-autoconf@gnu.org. ##
5661 +## ------------------------------------ ##
5664 + sed "s/^/$as_me: WARNING: /" >&2
5667 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5668 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5669 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5670 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5671 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5672 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5675 +## ------------------------------------ ##
5676 +## Report this to bug-autoconf@gnu.org. ##
5677 +## ------------------------------------ ##
5680 + sed "s/^/$as_me: WARNING: /" >&2
5683 +echo "$as_me:$LINENO: checking for $ac_header" >&5
5684 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5685 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
5686 + echo $ECHO_N "(cached) $ECHO_C" >&6
5688 + eval "$as_ac_Header=$ac_header_preproc"
5690 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5691 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5694 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
5695 + cat >>confdefs.h <<_ACEOF
5696 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5703 -for ac_hdr in netinet/in_systm.h
5705 +for ac_header in netinet/in_systm.h
5707 -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5708 -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5709 -echo "configure:1616: checking for $ac_hdr" >&5
5710 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5711 - echo $ac_n "(cached) $ac_c" 1>&6
5712 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5713 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
5714 + echo "$as_me:$LINENO: checking for $ac_header" >&5
5715 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5716 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
5717 + echo $ECHO_N "(cached) $ECHO_C" >&6
5719 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5720 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5722 - cat > conftest.$ac_ext <<EOF
5723 -#line 1621 "configure"
5724 -#include "confdefs.h"
5727 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5728 -{ (eval echo configure:1626: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5729 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5730 -if test -z "$ac_err"; then
5732 - eval "ac_cv_header_$ac_safe=yes"
5733 + # Is the header compilable?
5734 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
5735 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5736 +cat >conftest.$ac_ext <<_ACEOF
5737 +#line $LINENO "configure"
5740 +cat confdefs.h >>conftest.$ac_ext
5741 +cat >>conftest.$ac_ext <<_ACEOF
5742 +/* end confdefs.h. */
5743 +$ac_includes_default
5744 +#include <$ac_header>
5746 +rm -f conftest.$ac_objext
5747 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5748 + (eval $ac_compile) 2>&5
5750 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5751 + (exit $ac_status); } &&
5752 + { ac_try='test -s conftest.$ac_objext'
5753 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5754 + (eval $ac_try) 2>&5
5756 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5757 + (exit $ac_status); }; }; then
5758 + ac_header_compiler=yes
5760 - echo "$ac_err" >&5
5761 - echo "configure: failed program was:" >&5
5762 - cat conftest.$ac_ext >&5
5764 - eval "ac_cv_header_$ac_safe=no"
5765 + echo "$as_me: failed program was:" >&5
5766 +sed 's/^/| /' conftest.$ac_ext >&5
5768 +ac_header_compiler=no
5771 +rm -f conftest.$ac_objext conftest.$ac_ext
5772 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5773 +echo "${ECHO_T}$ac_header_compiler" >&6
5775 +# Is the header present?
5776 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
5777 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5778 +cat >conftest.$ac_ext <<_ACEOF
5779 +#line $LINENO "configure"
5782 +cat confdefs.h >>conftest.$ac_ext
5783 +cat >>conftest.$ac_ext <<_ACEOF
5784 +/* end confdefs.h. */
5785 +#include <$ac_header>
5787 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5788 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5790 + grep -v '^ *+' conftest.er1 >conftest.err
5791 + rm -f conftest.er1
5792 + cat conftest.err >&5
5793 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5794 + (exit $ac_status); } >/dev/null; then
5795 + if test -s conftest.err; then
5796 + ac_cpp_err=$ac_c_preproc_warn_flag
5803 -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5804 - echo "$ac_t""yes" 1>&6
5805 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5806 - cat >> confdefs.h <<EOF
5807 -#define $ac_tr_hdr 1
5810 +if test -z "$ac_cpp_err"; then
5811 + ac_header_preproc=yes
5813 - echo "$ac_t""no" 1>&6
5814 + echo "$as_me: failed program was:" >&5
5815 +sed 's/^/| /' conftest.$ac_ext >&5
5817 + ac_header_preproc=no
5819 +rm -f conftest.err conftest.$ac_ext
5820 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5821 +echo "${ECHO_T}$ac_header_preproc" >&6
5823 +# So? What about this header?
5824 +case $ac_header_compiler:$ac_header_preproc in
5826 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5827 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5828 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5829 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5832 +## ------------------------------------ ##
5833 +## Report this to bug-autoconf@gnu.org. ##
5834 +## ------------------------------------ ##
5837 + sed "s/^/$as_me: WARNING: /" >&2
5840 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5841 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5842 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5843 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5844 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5845 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5848 +## ------------------------------------ ##
5849 +## Report this to bug-autoconf@gnu.org. ##
5850 +## ------------------------------------ ##
5853 + sed "s/^/$as_me: WARNING: /" >&2
5856 +echo "$as_me:$LINENO: checking for $ac_header" >&5
5857 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5858 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
5859 + echo $ECHO_N "(cached) $ECHO_C" >&6
5861 + eval "$as_ac_Header=$ac_header_preproc"
5863 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5864 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5867 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
5868 + cat >>confdefs.h <<_ACEOF
5869 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5876 -for ac_hdr in netinet/in_system.h
5878 +for ac_header in netinet/in_system.h
5880 -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5881 -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5882 -echo "configure:1656: checking for $ac_hdr" >&5
5883 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5884 - echo $ac_n "(cached) $ac_c" 1>&6
5885 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5886 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
5887 + echo "$as_me:$LINENO: checking for $ac_header" >&5
5888 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5889 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
5890 + echo $ECHO_N "(cached) $ECHO_C" >&6
5892 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5893 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5895 - cat > conftest.$ac_ext <<EOF
5896 -#line 1661 "configure"
5897 -#include "confdefs.h"
5900 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5901 -{ (eval echo configure:1666: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5902 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5903 -if test -z "$ac_err"; then
5905 - eval "ac_cv_header_$ac_safe=yes"
5906 + # Is the header compilable?
5907 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
5908 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5909 +cat >conftest.$ac_ext <<_ACEOF
5910 +#line $LINENO "configure"
5913 +cat confdefs.h >>conftest.$ac_ext
5914 +cat >>conftest.$ac_ext <<_ACEOF
5915 +/* end confdefs.h. */
5916 +$ac_includes_default
5917 +#include <$ac_header>
5919 +rm -f conftest.$ac_objext
5920 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5921 + (eval $ac_compile) 2>&5
5923 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5924 + (exit $ac_status); } &&
5925 + { ac_try='test -s conftest.$ac_objext'
5926 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5927 + (eval $ac_try) 2>&5
5929 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5930 + (exit $ac_status); }; }; then
5931 + ac_header_compiler=yes
5933 - echo "$ac_err" >&5
5934 - echo "configure: failed program was:" >&5
5935 - cat conftest.$ac_ext >&5
5937 - eval "ac_cv_header_$ac_safe=no"
5938 + echo "$as_me: failed program was:" >&5
5939 +sed 's/^/| /' conftest.$ac_ext >&5
5941 +ac_header_compiler=no
5944 +rm -f conftest.$ac_objext conftest.$ac_ext
5945 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5946 +echo "${ECHO_T}$ac_header_compiler" >&6
5948 +# Is the header present?
5949 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
5950 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5951 +cat >conftest.$ac_ext <<_ACEOF
5952 +#line $LINENO "configure"
5955 +cat confdefs.h >>conftest.$ac_ext
5956 +cat >>conftest.$ac_ext <<_ACEOF
5957 +/* end confdefs.h. */
5958 +#include <$ac_header>
5960 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5961 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5963 + grep -v '^ *+' conftest.er1 >conftest.err
5964 + rm -f conftest.er1
5965 + cat conftest.err >&5
5966 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5967 + (exit $ac_status); } >/dev/null; then
5968 + if test -s conftest.err; then
5969 + ac_cpp_err=$ac_c_preproc_warn_flag
5976 -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5977 - echo "$ac_t""yes" 1>&6
5978 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5979 - cat >> confdefs.h <<EOF
5980 -#define $ac_tr_hdr 1
5983 +if test -z "$ac_cpp_err"; then
5984 + ac_header_preproc=yes
5986 - echo "$ac_t""no" 1>&6
5987 + echo "$as_me: failed program was:" >&5
5988 +sed 's/^/| /' conftest.$ac_ext >&5
5990 + ac_header_preproc=no
5992 +rm -f conftest.err conftest.$ac_ext
5993 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5994 +echo "${ECHO_T}$ac_header_preproc" >&6
5996 +# So? What about this header?
5997 +case $ac_header_compiler:$ac_header_preproc in
5999 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6000 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6001 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6002 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6005 +## ------------------------------------ ##
6006 +## Report this to bug-autoconf@gnu.org. ##
6007 +## ------------------------------------ ##
6010 + sed "s/^/$as_me: WARNING: /" >&2
6013 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6014 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6015 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6016 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6017 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6018 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6021 +## ------------------------------------ ##
6022 +## Report this to bug-autoconf@gnu.org. ##
6023 +## ------------------------------------ ##
6026 + sed "s/^/$as_me: WARNING: /" >&2
6029 +echo "$as_me:$LINENO: checking for $ac_header" >&5
6030 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6031 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
6032 + echo $ECHO_N "(cached) $ECHO_C" >&6
6034 + eval "$as_ac_Header=$ac_header_preproc"
6036 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6037 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6040 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
6041 + cat >>confdefs.h <<_ACEOF
6042 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6049 -for ac_hdr in netinet/ip.h
6051 +for ac_header in netinet/ip.h
6053 -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6054 -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6055 -echo "configure:1696: checking for $ac_hdr" >&5
6056 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6057 - echo $ac_n "(cached) $ac_c" 1>&6
6058 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6059 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
6060 + echo "$as_me:$LINENO: checking for $ac_header" >&5
6061 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6062 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
6063 + echo $ECHO_N "(cached) $ECHO_C" >&6
6065 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6066 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6068 - cat > conftest.$ac_ext <<EOF
6069 -#line 1701 "configure"
6070 -#include "confdefs.h"
6073 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6074 -{ (eval echo configure:1706: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6075 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6076 -if test -z "$ac_err"; then
6078 - eval "ac_cv_header_$ac_safe=yes"
6079 + # Is the header compilable?
6080 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
6081 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6082 +cat >conftest.$ac_ext <<_ACEOF
6083 +#line $LINENO "configure"
6086 +cat confdefs.h >>conftest.$ac_ext
6087 +cat >>conftest.$ac_ext <<_ACEOF
6088 +/* end confdefs.h. */
6089 +$ac_includes_default
6090 +#include <$ac_header>
6092 +rm -f conftest.$ac_objext
6093 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6094 + (eval $ac_compile) 2>&5
6096 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6097 + (exit $ac_status); } &&
6098 + { ac_try='test -s conftest.$ac_objext'
6099 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6100 + (eval $ac_try) 2>&5
6102 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6103 + (exit $ac_status); }; }; then
6104 + ac_header_compiler=yes
6106 - echo "$ac_err" >&5
6107 - echo "configure: failed program was:" >&5
6108 - cat conftest.$ac_ext >&5
6110 - eval "ac_cv_header_$ac_safe=no"
6111 + echo "$as_me: failed program was:" >&5
6112 +sed 's/^/| /' conftest.$ac_ext >&5
6114 +ac_header_compiler=no
6117 +rm -f conftest.$ac_objext conftest.$ac_ext
6118 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6119 +echo "${ECHO_T}$ac_header_compiler" >&6
6121 +# Is the header present?
6122 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
6123 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6124 +cat >conftest.$ac_ext <<_ACEOF
6125 +#line $LINENO "configure"
6128 +cat confdefs.h >>conftest.$ac_ext
6129 +cat >>conftest.$ac_ext <<_ACEOF
6130 +/* end confdefs.h. */
6131 +#include <$ac_header>
6133 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6134 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6136 + grep -v '^ *+' conftest.er1 >conftest.err
6137 + rm -f conftest.er1
6138 + cat conftest.err >&5
6139 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6140 + (exit $ac_status); } >/dev/null; then
6141 + if test -s conftest.err; then
6142 + ac_cpp_err=$ac_c_preproc_warn_flag
6149 -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6150 - echo "$ac_t""yes" 1>&6
6151 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6152 - cat >> confdefs.h <<EOF
6153 -#define $ac_tr_hdr 1
6156 +if test -z "$ac_cpp_err"; then
6157 + ac_header_preproc=yes
6159 - echo "$ac_t""no" 1>&6
6160 + echo "$as_me: failed program was:" >&5
6161 +sed 's/^/| /' conftest.$ac_ext >&5
6163 + ac_header_preproc=no
6165 +rm -f conftest.err conftest.$ac_ext
6166 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6167 +echo "${ECHO_T}$ac_header_preproc" >&6
6169 +# So? What about this header?
6170 +case $ac_header_compiler:$ac_header_preproc in
6172 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6173 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6174 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6175 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6178 +## ------------------------------------ ##
6179 +## Report this to bug-autoconf@gnu.org. ##
6180 +## ------------------------------------ ##
6183 + sed "s/^/$as_me: WARNING: /" >&2
6186 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6187 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6188 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6189 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6190 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6191 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6194 +## ------------------------------------ ##
6195 +## Report this to bug-autoconf@gnu.org. ##
6196 +## ------------------------------------ ##
6199 + sed "s/^/$as_me: WARNING: /" >&2
6202 +echo "$as_me:$LINENO: checking for $ac_header" >&5
6203 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6204 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
6205 + echo $ECHO_N "(cached) $ECHO_C" >&6
6207 + eval "$as_ac_Header=$ac_header_preproc"
6209 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6210 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6213 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
6214 + cat >>confdefs.h <<_ACEOF
6215 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6222 -for ac_hdr in sys/select.h
6224 +for ac_header in sys/select.h
6226 -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6227 -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6228 -echo "configure:1736: checking for $ac_hdr" >&5
6229 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6230 - echo $ac_n "(cached) $ac_c" 1>&6
6231 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6232 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
6233 + echo "$as_me:$LINENO: checking for $ac_header" >&5
6234 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6235 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
6236 + echo $ECHO_N "(cached) $ECHO_C" >&6
6238 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6239 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6241 - cat > conftest.$ac_ext <<EOF
6242 -#line 1741 "configure"
6243 -#include "confdefs.h"
6246 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6247 -{ (eval echo configure:1746: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6248 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6249 -if test -z "$ac_err"; then
6251 - eval "ac_cv_header_$ac_safe=yes"
6252 + # Is the header compilable?
6253 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
6254 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6255 +cat >conftest.$ac_ext <<_ACEOF
6256 +#line $LINENO "configure"
6259 +cat confdefs.h >>conftest.$ac_ext
6260 +cat >>conftest.$ac_ext <<_ACEOF
6261 +/* end confdefs.h. */
6262 +$ac_includes_default
6263 +#include <$ac_header>
6265 +rm -f conftest.$ac_objext
6266 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6267 + (eval $ac_compile) 2>&5
6269 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6270 + (exit $ac_status); } &&
6271 + { ac_try='test -s conftest.$ac_objext'
6272 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6273 + (eval $ac_try) 2>&5
6275 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6276 + (exit $ac_status); }; }; then
6277 + ac_header_compiler=yes
6279 - echo "$ac_err" >&5
6280 - echo "configure: failed program was:" >&5
6281 - cat conftest.$ac_ext >&5
6283 - eval "ac_cv_header_$ac_safe=no"
6284 + echo "$as_me: failed program was:" >&5
6285 +sed 's/^/| /' conftest.$ac_ext >&5
6287 +ac_header_compiler=no
6290 +rm -f conftest.$ac_objext conftest.$ac_ext
6291 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6292 +echo "${ECHO_T}$ac_header_compiler" >&6
6294 +# Is the header present?
6295 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
6296 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6297 +cat >conftest.$ac_ext <<_ACEOF
6298 +#line $LINENO "configure"
6301 +cat confdefs.h >>conftest.$ac_ext
6302 +cat >>conftest.$ac_ext <<_ACEOF
6303 +/* end confdefs.h. */
6304 +#include <$ac_header>
6306 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6307 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6309 + grep -v '^ *+' conftest.er1 >conftest.err
6310 + rm -f conftest.er1
6311 + cat conftest.err >&5
6312 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6313 + (exit $ac_status); } >/dev/null; then
6314 + if test -s conftest.err; then
6315 + ac_cpp_err=$ac_c_preproc_warn_flag
6322 -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6323 - echo "$ac_t""yes" 1>&6
6324 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6325 - cat >> confdefs.h <<EOF
6326 -#define $ac_tr_hdr 1
6329 +if test -z "$ac_cpp_err"; then
6330 + ac_header_preproc=yes
6332 - echo "$ac_t""no" 1>&6
6333 + echo "$as_me: failed program was:" >&5
6334 +sed 's/^/| /' conftest.$ac_ext >&5
6336 + ac_header_preproc=no
6338 +rm -f conftest.err conftest.$ac_ext
6339 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6340 +echo "${ECHO_T}$ac_header_preproc" >&6
6342 +# So? What about this header?
6343 +case $ac_header_compiler:$ac_header_preproc in
6345 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6346 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6347 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6348 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6351 +## ------------------------------------ ##
6352 +## Report this to bug-autoconf@gnu.org. ##
6353 +## ------------------------------------ ##
6356 + sed "s/^/$as_me: WARNING: /" >&2
6359 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6360 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6361 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6362 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6363 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6364 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6367 +## ------------------------------------ ##
6368 +## Report this to bug-autoconf@gnu.org. ##
6369 +## ------------------------------------ ##
6372 + sed "s/^/$as_me: WARNING: /" >&2
6375 +echo "$as_me:$LINENO: checking for $ac_header" >&5
6376 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6377 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
6378 + echo $ECHO_N "(cached) $ECHO_C" >&6
6380 + eval "$as_ac_Header=$ac_header_preproc"
6382 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6383 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6386 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
6387 + cat >>confdefs.h <<_ACEOF
6388 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6395 -for ac_hdr in sys/resource.h
6397 +for ac_header in sys/resource.h
6399 -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6400 -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6401 -echo "configure:1776: checking for $ac_hdr" >&5
6402 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6403 - echo $ac_n "(cached) $ac_c" 1>&6
6404 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6405 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
6406 + echo "$as_me:$LINENO: checking for $ac_header" >&5
6407 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6408 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
6409 + echo $ECHO_N "(cached) $ECHO_C" >&6
6411 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6412 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6414 - cat > conftest.$ac_ext <<EOF
6415 -#line 1781 "configure"
6416 -#include "confdefs.h"
6419 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6420 -{ (eval echo configure:1786: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6421 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6422 -if test -z "$ac_err"; then
6424 - eval "ac_cv_header_$ac_safe=yes"
6425 + # Is the header compilable?
6426 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
6427 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6428 +cat >conftest.$ac_ext <<_ACEOF
6429 +#line $LINENO "configure"
6432 +cat confdefs.h >>conftest.$ac_ext
6433 +cat >>conftest.$ac_ext <<_ACEOF
6434 +/* end confdefs.h. */
6435 +$ac_includes_default
6436 +#include <$ac_header>
6438 +rm -f conftest.$ac_objext
6439 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6440 + (eval $ac_compile) 2>&5
6442 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6443 + (exit $ac_status); } &&
6444 + { ac_try='test -s conftest.$ac_objext'
6445 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6446 + (eval $ac_try) 2>&5
6448 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6449 + (exit $ac_status); }; }; then
6450 + ac_header_compiler=yes
6452 - echo "$ac_err" >&5
6453 - echo "configure: failed program was:" >&5
6454 - cat conftest.$ac_ext >&5
6456 - eval "ac_cv_header_$ac_safe=no"
6457 + echo "$as_me: failed program was:" >&5
6458 +sed 's/^/| /' conftest.$ac_ext >&5
6460 +ac_header_compiler=no
6463 +rm -f conftest.$ac_objext conftest.$ac_ext
6464 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6465 +echo "${ECHO_T}$ac_header_compiler" >&6
6467 +# Is the header present?
6468 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
6469 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6470 +cat >conftest.$ac_ext <<_ACEOF
6471 +#line $LINENO "configure"
6474 +cat confdefs.h >>conftest.$ac_ext
6475 +cat >>conftest.$ac_ext <<_ACEOF
6476 +/* end confdefs.h. */
6477 +#include <$ac_header>
6479 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6480 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6482 + grep -v '^ *+' conftest.er1 >conftest.err
6483 + rm -f conftest.er1
6484 + cat conftest.err >&5
6485 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6486 + (exit $ac_status); } >/dev/null; then
6487 + if test -s conftest.err; then
6488 + ac_cpp_err=$ac_c_preproc_warn_flag
6495 -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6496 - echo "$ac_t""yes" 1>&6
6497 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6498 - cat >> confdefs.h <<EOF
6499 -#define $ac_tr_hdr 1
6502 +if test -z "$ac_cpp_err"; then
6503 + ac_header_preproc=yes
6505 - echo "$ac_t""no" 1>&6
6506 + echo "$as_me: failed program was:" >&5
6507 +sed 's/^/| /' conftest.$ac_ext >&5
6509 + ac_header_preproc=no
6511 +rm -f conftest.err conftest.$ac_ext
6512 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6513 +echo "${ECHO_T}$ac_header_preproc" >&6
6515 +# So? What about this header?
6516 +case $ac_header_compiler:$ac_header_preproc in
6518 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6519 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6520 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6521 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6524 +## ------------------------------------ ##
6525 +## Report this to bug-autoconf@gnu.org. ##
6526 +## ------------------------------------ ##
6529 + sed "s/^/$as_me: WARNING: /" >&2
6532 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6533 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6534 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6535 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6536 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6537 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6540 +## ------------------------------------ ##
6541 +## Report this to bug-autoconf@gnu.org. ##
6542 +## ------------------------------------ ##
6545 + sed "s/^/$as_me: WARNING: /" >&2
6548 +echo "$as_me:$LINENO: checking for $ac_header" >&5
6549 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6550 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
6551 + echo $ECHO_N "(cached) $ECHO_C" >&6
6553 + eval "$as_ac_Header=$ac_header_preproc"
6555 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6556 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6559 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
6560 + cat >>confdefs.h <<_ACEOF
6561 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6568 -for ac_hdr in sys/utsname.h
6570 +for ac_header in sys/utsname.h
6572 -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6573 -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6574 -echo "configure:1816: checking for $ac_hdr" >&5
6575 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6576 - echo $ac_n "(cached) $ac_c" 1>&6
6577 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6578 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
6579 + echo "$as_me:$LINENO: checking for $ac_header" >&5
6580 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6581 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
6582 + echo $ECHO_N "(cached) $ECHO_C" >&6
6584 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6585 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6587 - cat > conftest.$ac_ext <<EOF
6588 -#line 1821 "configure"
6589 -#include "confdefs.h"
6592 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6593 -{ (eval echo configure:1826: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6594 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6595 -if test -z "$ac_err"; then
6597 - eval "ac_cv_header_$ac_safe=yes"
6598 + # Is the header compilable?
6599 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
6600 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6601 +cat >conftest.$ac_ext <<_ACEOF
6602 +#line $LINENO "configure"
6605 +cat confdefs.h >>conftest.$ac_ext
6606 +cat >>conftest.$ac_ext <<_ACEOF
6607 +/* end confdefs.h. */
6608 +$ac_includes_default
6609 +#include <$ac_header>
6611 +rm -f conftest.$ac_objext
6612 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6613 + (eval $ac_compile) 2>&5
6615 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6616 + (exit $ac_status); } &&
6617 + { ac_try='test -s conftest.$ac_objext'
6618 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6619 + (eval $ac_try) 2>&5
6621 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6622 + (exit $ac_status); }; }; then
6623 + ac_header_compiler=yes
6625 - echo "$ac_err" >&5
6626 - echo "configure: failed program was:" >&5
6627 - cat conftest.$ac_ext >&5
6629 - eval "ac_cv_header_$ac_safe=no"
6630 + echo "$as_me: failed program was:" >&5
6631 +sed 's/^/| /' conftest.$ac_ext >&5
6633 +ac_header_compiler=no
6636 +rm -f conftest.$ac_objext conftest.$ac_ext
6637 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6638 +echo "${ECHO_T}$ac_header_compiler" >&6
6640 +# Is the header present?
6641 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
6642 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6643 +cat >conftest.$ac_ext <<_ACEOF
6644 +#line $LINENO "configure"
6647 +cat confdefs.h >>conftest.$ac_ext
6648 +cat >>conftest.$ac_ext <<_ACEOF
6649 +/* end confdefs.h. */
6650 +#include <$ac_header>
6652 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6653 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6655 + grep -v '^ *+' conftest.er1 >conftest.err
6656 + rm -f conftest.er1
6657 + cat conftest.err >&5
6658 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6659 + (exit $ac_status); } >/dev/null; then
6660 + if test -s conftest.err; then
6661 + ac_cpp_err=$ac_c_preproc_warn_flag
6668 -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6669 - echo "$ac_t""yes" 1>&6
6670 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6671 - cat >> confdefs.h <<EOF
6672 -#define $ac_tr_hdr 1
6675 +if test -z "$ac_cpp_err"; then
6676 + ac_header_preproc=yes
6678 - echo "$ac_t""no" 1>&6
6679 + echo "$as_me: failed program was:" >&5
6680 +sed 's/^/| /' conftest.$ac_ext >&5
6682 + ac_header_preproc=no
6684 +rm -f conftest.err conftest.$ac_ext
6685 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6686 +echo "${ECHO_T}$ac_header_preproc" >&6
6688 +# So? What about this header?
6689 +case $ac_header_compiler:$ac_header_preproc in
6691 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6692 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6693 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6694 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6697 +## ------------------------------------ ##
6698 +## Report this to bug-autoconf@gnu.org. ##
6699 +## ------------------------------------ ##
6702 + sed "s/^/$as_me: WARNING: /" >&2
6705 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6706 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6707 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6708 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6709 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6710 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6713 +## ------------------------------------ ##
6714 +## Report this to bug-autoconf@gnu.org. ##
6715 +## ------------------------------------ ##
6718 + sed "s/^/$as_me: WARNING: /" >&2
6721 +echo "$as_me:$LINENO: checking for $ac_header" >&5
6722 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6723 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
6724 + echo $ECHO_N "(cached) $ECHO_C" >&6
6726 + eval "$as_ac_Header=$ac_header_preproc"
6728 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6729 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6732 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
6733 + cat >>confdefs.h <<_ACEOF
6734 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6741 -for ac_hdr in sys/un.h
6743 +for ac_header in sys/un.h
6745 -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6746 -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6747 -echo "configure:1856: checking for $ac_hdr" >&5
6748 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6749 - echo $ac_n "(cached) $ac_c" 1>&6
6750 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6751 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
6752 + echo "$as_me:$LINENO: checking for $ac_header" >&5
6753 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6754 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
6755 + echo $ECHO_N "(cached) $ECHO_C" >&6
6757 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6758 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6760 - cat > conftest.$ac_ext <<EOF
6761 -#line 1861 "configure"
6762 -#include "confdefs.h"
6765 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6766 -{ (eval echo configure:1866: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6767 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6768 -if test -z "$ac_err"; then
6770 - eval "ac_cv_header_$ac_safe=yes"
6771 + # Is the header compilable?
6772 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
6773 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6774 +cat >conftest.$ac_ext <<_ACEOF
6775 +#line $LINENO "configure"
6778 +cat confdefs.h >>conftest.$ac_ext
6779 +cat >>conftest.$ac_ext <<_ACEOF
6780 +/* end confdefs.h. */
6781 +$ac_includes_default
6782 +#include <$ac_header>
6784 +rm -f conftest.$ac_objext
6785 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6786 + (eval $ac_compile) 2>&5
6788 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6789 + (exit $ac_status); } &&
6790 + { ac_try='test -s conftest.$ac_objext'
6791 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6792 + (eval $ac_try) 2>&5
6794 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6795 + (exit $ac_status); }; }; then
6796 + ac_header_compiler=yes
6798 - echo "$ac_err" >&5
6799 - echo "configure: failed program was:" >&5
6800 - cat conftest.$ac_ext >&5
6802 - eval "ac_cv_header_$ac_safe=no"
6803 + echo "$as_me: failed program was:" >&5
6804 +sed 's/^/| /' conftest.$ac_ext >&5
6806 +ac_header_compiler=no
6809 +rm -f conftest.$ac_objext conftest.$ac_ext
6810 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6811 +echo "${ECHO_T}$ac_header_compiler" >&6
6813 +# Is the header present?
6814 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
6815 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6816 +cat >conftest.$ac_ext <<_ACEOF
6817 +#line $LINENO "configure"
6820 +cat confdefs.h >>conftest.$ac_ext
6821 +cat >>conftest.$ac_ext <<_ACEOF
6822 +/* end confdefs.h. */
6823 +#include <$ac_header>
6825 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6826 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6828 + grep -v '^ *+' conftest.er1 >conftest.err
6829 + rm -f conftest.er1
6830 + cat conftest.err >&5
6831 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6832 + (exit $ac_status); } >/dev/null; then
6833 + if test -s conftest.err; then
6834 + ac_cpp_err=$ac_c_preproc_warn_flag
6841 -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6842 - echo "$ac_t""yes" 1>&6
6843 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6844 - cat >> confdefs.h <<EOF
6845 -#define $ac_tr_hdr 1
6848 +if test -z "$ac_cpp_err"; then
6849 + ac_header_preproc=yes
6851 - echo "$ac_t""no" 1>&6
6852 + echo "$as_me: failed program was:" >&5
6853 +sed 's/^/| /' conftest.$ac_ext >&5
6855 + ac_header_preproc=no
6857 +rm -f conftest.err conftest.$ac_ext
6858 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6859 +echo "${ECHO_T}$ac_header_preproc" >&6
6861 +# So? What about this header?
6862 +case $ac_header_compiler:$ac_header_preproc in
6864 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6865 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6866 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6867 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6870 +## ------------------------------------ ##
6871 +## Report this to bug-autoconf@gnu.org. ##
6872 +## ------------------------------------ ##
6875 + sed "s/^/$as_me: WARNING: /" >&2
6878 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6879 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6880 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6881 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6882 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6883 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6886 +## ------------------------------------ ##
6887 +## Report this to bug-autoconf@gnu.org. ##
6888 +## ------------------------------------ ##
6891 + sed "s/^/$as_me: WARNING: /" >&2
6894 +echo "$as_me:$LINENO: checking for $ac_header" >&5
6895 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6896 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
6897 + echo $ECHO_N "(cached) $ECHO_C" >&6
6899 + eval "$as_ac_Header=$ac_header_preproc"
6901 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6902 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6905 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
6906 + cat >>confdefs.h <<_ACEOF
6907 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6914 -for ac_hdr in sys/fmutex.h
6916 +for ac_header in sys/fmutex.h
6918 -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6919 -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6920 -echo "configure:1896: checking for $ac_hdr" >&5
6921 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6922 - echo $ac_n "(cached) $ac_c" 1>&6
6923 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6924 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
6925 + echo "$as_me:$LINENO: checking for $ac_header" >&5
6926 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6927 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
6928 + echo $ECHO_N "(cached) $ECHO_C" >&6
6930 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6931 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6933 - cat > conftest.$ac_ext <<EOF
6934 -#line 1901 "configure"
6935 -#include "confdefs.h"
6938 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6939 -{ (eval echo configure:1906: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6940 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6941 -if test -z "$ac_err"; then
6943 - eval "ac_cv_header_$ac_safe=yes"
6944 + # Is the header compilable?
6945 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
6946 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6947 +cat >conftest.$ac_ext <<_ACEOF
6948 +#line $LINENO "configure"
6951 +cat confdefs.h >>conftest.$ac_ext
6952 +cat >>conftest.$ac_ext <<_ACEOF
6953 +/* end confdefs.h. */
6954 +$ac_includes_default
6955 +#include <$ac_header>
6957 +rm -f conftest.$ac_objext
6958 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6959 + (eval $ac_compile) 2>&5
6961 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6962 + (exit $ac_status); } &&
6963 + { ac_try='test -s conftest.$ac_objext'
6964 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6965 + (eval $ac_try) 2>&5
6967 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6968 + (exit $ac_status); }; }; then
6969 + ac_header_compiler=yes
6971 - echo "$ac_err" >&5
6972 - echo "configure: failed program was:" >&5
6973 - cat conftest.$ac_ext >&5
6975 - eval "ac_cv_header_$ac_safe=no"
6976 + echo "$as_me: failed program was:" >&5
6977 +sed 's/^/| /' conftest.$ac_ext >&5
6979 +ac_header_compiler=no
6982 +rm -f conftest.$ac_objext conftest.$ac_ext
6983 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6984 +echo "${ECHO_T}$ac_header_compiler" >&6
6986 +# Is the header present?
6987 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
6988 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6989 +cat >conftest.$ac_ext <<_ACEOF
6990 +#line $LINENO "configure"
6993 +cat confdefs.h >>conftest.$ac_ext
6994 +cat >>conftest.$ac_ext <<_ACEOF
6995 +/* end confdefs.h. */
6996 +#include <$ac_header>
6998 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6999 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7001 + grep -v '^ *+' conftest.er1 >conftest.err
7002 + rm -f conftest.er1
7003 + cat conftest.err >&5
7004 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7005 + (exit $ac_status); } >/dev/null; then
7006 + if test -s conftest.err; then
7007 + ac_cpp_err=$ac_c_preproc_warn_flag
7014 -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7015 - echo "$ac_t""yes" 1>&6
7016 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7017 - cat >> confdefs.h <<EOF
7018 -#define $ac_tr_hdr 1
7021 +if test -z "$ac_cpp_err"; then
7022 + ac_header_preproc=yes
7024 - echo "$ac_t""no" 1>&6
7025 + echo "$as_me: failed program was:" >&5
7026 +sed 's/^/| /' conftest.$ac_ext >&5
7028 + ac_header_preproc=no
7030 +rm -f conftest.err conftest.$ac_ext
7031 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7032 +echo "${ECHO_T}$ac_header_preproc" >&6
7034 +# So? What about this header?
7035 +case $ac_header_compiler:$ac_header_preproc in
7037 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7038 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7039 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7040 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7043 +## ------------------------------------ ##
7044 +## Report this to bug-autoconf@gnu.org. ##
7045 +## ------------------------------------ ##
7048 + sed "s/^/$as_me: WARNING: /" >&2
7051 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7052 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7053 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7054 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7055 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7056 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7059 +## ------------------------------------ ##
7060 +## Report this to bug-autoconf@gnu.org. ##
7061 +## ------------------------------------ ##
7064 + sed "s/^/$as_me: WARNING: /" >&2
7067 +echo "$as_me:$LINENO: checking for $ac_header" >&5
7068 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7069 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
7070 + echo $ECHO_N "(cached) $ECHO_C" >&6
7072 + eval "$as_ac_Header=$ac_header_preproc"
7074 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7075 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7078 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
7079 + cat >>confdefs.h <<_ACEOF
7080 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7087 -for ac_hdr in sys/cygwin.h
7089 +for ac_header in sys/cygwin.h
7091 -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7092 -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7093 -echo "configure:1936: checking for $ac_hdr" >&5
7094 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7095 - echo $ac_n "(cached) $ac_c" 1>&6
7096 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7097 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
7098 + echo "$as_me:$LINENO: checking for $ac_header" >&5
7099 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7100 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
7101 + echo $ECHO_N "(cached) $ECHO_C" >&6
7103 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7104 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7106 - cat > conftest.$ac_ext <<EOF
7107 -#line 1941 "configure"
7108 -#include "confdefs.h"
7111 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7112 -{ (eval echo configure:1946: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7113 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7114 -if test -z "$ac_err"; then
7116 - eval "ac_cv_header_$ac_safe=yes"
7117 + # Is the header compilable?
7118 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
7119 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7120 +cat >conftest.$ac_ext <<_ACEOF
7121 +#line $LINENO "configure"
7124 +cat confdefs.h >>conftest.$ac_ext
7125 +cat >>conftest.$ac_ext <<_ACEOF
7126 +/* end confdefs.h. */
7127 +$ac_includes_default
7128 +#include <$ac_header>
7130 +rm -f conftest.$ac_objext
7131 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7132 + (eval $ac_compile) 2>&5
7134 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7135 + (exit $ac_status); } &&
7136 + { ac_try='test -s conftest.$ac_objext'
7137 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7138 + (eval $ac_try) 2>&5
7140 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7141 + (exit $ac_status); }; }; then
7142 + ac_header_compiler=yes
7144 - echo "$ac_err" >&5
7145 - echo "configure: failed program was:" >&5
7146 - cat conftest.$ac_ext >&5
7148 - eval "ac_cv_header_$ac_safe=no"
7149 + echo "$as_me: failed program was:" >&5
7150 +sed 's/^/| /' conftest.$ac_ext >&5
7152 +ac_header_compiler=no
7155 +rm -f conftest.$ac_objext conftest.$ac_ext
7156 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7157 +echo "${ECHO_T}$ac_header_compiler" >&6
7159 +# Is the header present?
7160 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
7161 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7162 +cat >conftest.$ac_ext <<_ACEOF
7163 +#line $LINENO "configure"
7166 +cat confdefs.h >>conftest.$ac_ext
7167 +cat >>conftest.$ac_ext <<_ACEOF
7168 +/* end confdefs.h. */
7169 +#include <$ac_header>
7171 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7172 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7174 + grep -v '^ *+' conftest.er1 >conftest.err
7175 + rm -f conftest.er1
7176 + cat conftest.err >&5
7177 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7178 + (exit $ac_status); } >/dev/null; then
7179 + if test -s conftest.err; then
7180 + ac_cpp_err=$ac_c_preproc_warn_flag
7187 -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7188 - echo "$ac_t""yes" 1>&6
7189 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7190 - cat >> confdefs.h <<EOF
7191 -#define $ac_tr_hdr 1
7194 +if test -z "$ac_cpp_err"; then
7195 + ac_header_preproc=yes
7197 - echo "$ac_t""no" 1>&6
7198 + echo "$as_me: failed program was:" >&5
7199 +sed 's/^/| /' conftest.$ac_ext >&5
7201 + ac_header_preproc=no
7203 +rm -f conftest.err conftest.$ac_ext
7204 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7205 +echo "${ECHO_T}$ac_header_preproc" >&6
7207 +# So? What about this header?
7208 +case $ac_header_compiler:$ac_header_preproc in
7210 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7211 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7212 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7213 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7216 +## ------------------------------------ ##
7217 +## Report this to bug-autoconf@gnu.org. ##
7218 +## ------------------------------------ ##
7221 + sed "s/^/$as_me: WARNING: /" >&2
7224 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7225 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7226 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7227 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7228 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7229 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7232 +## ------------------------------------ ##
7233 +## Report this to bug-autoconf@gnu.org. ##
7234 +## ------------------------------------ ##
7237 + sed "s/^/$as_me: WARNING: /" >&2
7240 +echo "$as_me:$LINENO: checking for $ac_header" >&5
7241 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7242 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
7243 + echo $ECHO_N "(cached) $ECHO_C" >&6
7245 + eval "$as_ac_Header=$ac_header_preproc"
7247 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7248 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7251 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
7252 + cat >>confdefs.h <<_ACEOF
7253 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7262 +for ac_header in io.h
7264 -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7265 -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7266 -echo "configure:1976: checking for $ac_hdr" >&5
7267 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7268 - echo $ac_n "(cached) $ac_c" 1>&6
7269 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7270 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
7271 + echo "$as_me:$LINENO: checking for $ac_header" >&5
7272 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7273 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
7274 + echo $ECHO_N "(cached) $ECHO_C" >&6
7276 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7277 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7279 - cat > conftest.$ac_ext <<EOF
7280 -#line 1981 "configure"
7281 -#include "confdefs.h"
7284 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7285 -{ (eval echo configure:1986: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7286 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7287 -if test -z "$ac_err"; then
7289 - eval "ac_cv_header_$ac_safe=yes"
7290 + # Is the header compilable?
7291 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
7292 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7293 +cat >conftest.$ac_ext <<_ACEOF
7294 +#line $LINENO "configure"
7297 +cat confdefs.h >>conftest.$ac_ext
7298 +cat >>conftest.$ac_ext <<_ACEOF
7299 +/* end confdefs.h. */
7300 +$ac_includes_default
7301 +#include <$ac_header>
7303 +rm -f conftest.$ac_objext
7304 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7305 + (eval $ac_compile) 2>&5
7307 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7308 + (exit $ac_status); } &&
7309 + { ac_try='test -s conftest.$ac_objext'
7310 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7311 + (eval $ac_try) 2>&5
7313 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7314 + (exit $ac_status); }; }; then
7315 + ac_header_compiler=yes
7317 - echo "$ac_err" >&5
7318 - echo "configure: failed program was:" >&5
7319 - cat conftest.$ac_ext >&5
7321 - eval "ac_cv_header_$ac_safe=no"
7322 + echo "$as_me: failed program was:" >&5
7323 +sed 's/^/| /' conftest.$ac_ext >&5
7325 +ac_header_compiler=no
7328 +rm -f conftest.$ac_objext conftest.$ac_ext
7329 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7330 +echo "${ECHO_T}$ac_header_compiler" >&6
7332 +# Is the header present?
7333 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
7334 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7335 +cat >conftest.$ac_ext <<_ACEOF
7336 +#line $LINENO "configure"
7339 +cat confdefs.h >>conftest.$ac_ext
7340 +cat >>conftest.$ac_ext <<_ACEOF
7341 +/* end confdefs.h. */
7342 +#include <$ac_header>
7344 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7345 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7347 + grep -v '^ *+' conftest.er1 >conftest.err
7348 + rm -f conftest.er1
7349 + cat conftest.err >&5
7350 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7351 + (exit $ac_status); } >/dev/null; then
7352 + if test -s conftest.err; then
7353 + ac_cpp_err=$ac_c_preproc_warn_flag
7360 -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7361 - echo "$ac_t""yes" 1>&6
7362 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7363 - cat >> confdefs.h <<EOF
7364 -#define $ac_tr_hdr 1
7367 +if test -z "$ac_cpp_err"; then
7368 + ac_header_preproc=yes
7370 - echo "$ac_t""no" 1>&6
7371 + echo "$as_me: failed program was:" >&5
7372 +sed 's/^/| /' conftest.$ac_ext >&5
7374 + ac_header_preproc=no
7376 +rm -f conftest.err conftest.$ac_ext
7377 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7378 +echo "${ECHO_T}$ac_header_preproc" >&6
7380 +# So? What about this header?
7381 +case $ac_header_compiler:$ac_header_preproc in
7383 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7384 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7385 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7386 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7389 +## ------------------------------------ ##
7390 +## Report this to bug-autoconf@gnu.org. ##
7391 +## ------------------------------------ ##
7394 + sed "s/^/$as_me: WARNING: /" >&2
7397 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7398 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7399 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7400 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7401 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7402 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7405 +## ------------------------------------ ##
7406 +## Report this to bug-autoconf@gnu.org. ##
7407 +## ------------------------------------ ##
7410 + sed "s/^/$as_me: WARNING: /" >&2
7413 +echo "$as_me:$LINENO: checking for $ac_header" >&5
7414 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7415 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
7416 + echo $ECHO_N "(cached) $ECHO_C" >&6
7418 + eval "$as_ac_Header=$ac_header_preproc"
7420 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7421 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7424 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
7425 + cat >>confdefs.h <<_ACEOF
7426 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7433 -for ac_hdr in setjmp.h
7435 +for ac_header in setjmp.h
7437 -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7438 -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7439 -echo "configure:2016: checking for $ac_hdr" >&5
7440 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7441 - echo $ac_n "(cached) $ac_c" 1>&6
7442 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7443 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
7444 + echo "$as_me:$LINENO: checking for $ac_header" >&5
7445 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7446 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
7447 + echo $ECHO_N "(cached) $ECHO_C" >&6
7449 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7450 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7452 - cat > conftest.$ac_ext <<EOF
7453 -#line 2021 "configure"
7454 -#include "confdefs.h"
7457 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7458 -{ (eval echo configure:2026: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7459 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7460 -if test -z "$ac_err"; then
7462 - eval "ac_cv_header_$ac_safe=yes"
7463 + # Is the header compilable?
7464 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
7465 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7466 +cat >conftest.$ac_ext <<_ACEOF
7467 +#line $LINENO "configure"
7470 +cat confdefs.h >>conftest.$ac_ext
7471 +cat >>conftest.$ac_ext <<_ACEOF
7472 +/* end confdefs.h. */
7473 +$ac_includes_default
7474 +#include <$ac_header>
7476 +rm -f conftest.$ac_objext
7477 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7478 + (eval $ac_compile) 2>&5
7480 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7481 + (exit $ac_status); } &&
7482 + { ac_try='test -s conftest.$ac_objext'
7483 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7484 + (eval $ac_try) 2>&5
7486 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7487 + (exit $ac_status); }; }; then
7488 + ac_header_compiler=yes
7490 - echo "$ac_err" >&5
7491 - echo "configure: failed program was:" >&5
7492 - cat conftest.$ac_ext >&5
7494 - eval "ac_cv_header_$ac_safe=no"
7495 + echo "$as_me: failed program was:" >&5
7496 +sed 's/^/| /' conftest.$ac_ext >&5
7498 +ac_header_compiler=no
7501 +rm -f conftest.$ac_objext conftest.$ac_ext
7502 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7503 +echo "${ECHO_T}$ac_header_compiler" >&6
7505 +# Is the header present?
7506 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
7507 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7508 +cat >conftest.$ac_ext <<_ACEOF
7509 +#line $LINENO "configure"
7512 +cat confdefs.h >>conftest.$ac_ext
7513 +cat >>conftest.$ac_ext <<_ACEOF
7514 +/* end confdefs.h. */
7515 +#include <$ac_header>
7517 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7518 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7520 + grep -v '^ *+' conftest.er1 >conftest.err
7521 + rm -f conftest.er1
7522 + cat conftest.err >&5
7523 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7524 + (exit $ac_status); } >/dev/null; then
7525 + if test -s conftest.err; then
7526 + ac_cpp_err=$ac_c_preproc_warn_flag
7533 -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7534 - echo "$ac_t""yes" 1>&6
7535 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7536 - cat >> confdefs.h <<EOF
7537 -#define $ac_tr_hdr 1
7540 +if test -z "$ac_cpp_err"; then
7541 + ac_header_preproc=yes
7543 - echo "$ac_t""no" 1>&6
7544 + echo "$as_me: failed program was:" >&5
7545 +sed 's/^/| /' conftest.$ac_ext >&5
7547 + ac_header_preproc=no
7549 +rm -f conftest.err conftest.$ac_ext
7550 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7551 +echo "${ECHO_T}$ac_header_preproc" >&6
7553 +# So? What about this header?
7554 +case $ac_header_compiler:$ac_header_preproc in
7556 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7557 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7558 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7559 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7562 +## ------------------------------------ ##
7563 +## Report this to bug-autoconf@gnu.org. ##
7564 +## ------------------------------------ ##
7567 + sed "s/^/$as_me: WARNING: /" >&2
7570 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7571 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7572 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7573 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7574 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7575 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7578 +## ------------------------------------ ##
7579 +## Report this to bug-autoconf@gnu.org. ##
7580 +## ------------------------------------ ##
7583 + sed "s/^/$as_me: WARNING: /" >&2
7586 +echo "$as_me:$LINENO: checking for $ac_header" >&5
7587 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7588 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
7589 + echo $ECHO_N "(cached) $ECHO_C" >&6
7591 + eval "$as_ac_Header=$ac_header_preproc"
7593 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7594 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7597 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
7598 + cat >>confdefs.h <<_ACEOF
7599 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7606 -for ac_hdr in langinfo.h
7608 +for ac_header in langinfo.h
7610 -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7611 -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7612 -echo "configure:2056: checking for $ac_hdr" >&5
7613 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7614 - echo $ac_n "(cached) $ac_c" 1>&6
7615 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7616 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
7617 + echo "$as_me:$LINENO: checking for $ac_header" >&5
7618 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7619 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
7620 + echo $ECHO_N "(cached) $ECHO_C" >&6
7622 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7623 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7625 - cat > conftest.$ac_ext <<EOF
7626 -#line 2061 "configure"
7627 -#include "confdefs.h"
7630 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7631 -{ (eval echo configure:2066: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7632 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7633 -if test -z "$ac_err"; then
7635 - eval "ac_cv_header_$ac_safe=yes"
7636 + # Is the header compilable?
7637 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
7638 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7639 +cat >conftest.$ac_ext <<_ACEOF
7640 +#line $LINENO "configure"
7643 +cat confdefs.h >>conftest.$ac_ext
7644 +cat >>conftest.$ac_ext <<_ACEOF
7645 +/* end confdefs.h. */
7646 +$ac_includes_default
7647 +#include <$ac_header>
7649 +rm -f conftest.$ac_objext
7650 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7651 + (eval $ac_compile) 2>&5
7653 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7654 + (exit $ac_status); } &&
7655 + { ac_try='test -s conftest.$ac_objext'
7656 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7657 + (eval $ac_try) 2>&5
7659 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7660 + (exit $ac_status); }; }; then
7661 + ac_header_compiler=yes
7663 - echo "$ac_err" >&5
7664 - echo "configure: failed program was:" >&5
7665 - cat conftest.$ac_ext >&5
7667 - eval "ac_cv_header_$ac_safe=no"
7668 + echo "$as_me: failed program was:" >&5
7669 +sed 's/^/| /' conftest.$ac_ext >&5
7671 +ac_header_compiler=no
7674 +rm -f conftest.$ac_objext conftest.$ac_ext
7675 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7676 +echo "${ECHO_T}$ac_header_compiler" >&6
7678 +# Is the header present?
7679 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
7680 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7681 +cat >conftest.$ac_ext <<_ACEOF
7682 +#line $LINENO "configure"
7685 +cat confdefs.h >>conftest.$ac_ext
7686 +cat >>conftest.$ac_ext <<_ACEOF
7687 +/* end confdefs.h. */
7688 +#include <$ac_header>
7690 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7691 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7693 + grep -v '^ *+' conftest.er1 >conftest.err
7694 + rm -f conftest.er1
7695 + cat conftest.err >&5
7696 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7697 + (exit $ac_status); } >/dev/null; then
7698 + if test -s conftest.err; then
7699 + ac_cpp_err=$ac_c_preproc_warn_flag
7706 -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7707 - echo "$ac_t""yes" 1>&6
7708 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7709 - cat >> confdefs.h <<EOF
7710 -#define $ac_tr_hdr 1
7713 +if test -z "$ac_cpp_err"; then
7714 + ac_header_preproc=yes
7716 - echo "$ac_t""no" 1>&6
7717 + echo "$as_me: failed program was:" >&5
7718 +sed 's/^/| /' conftest.$ac_ext >&5
7720 + ac_header_preproc=no
7722 +rm -f conftest.err conftest.$ac_ext
7723 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7724 +echo "${ECHO_T}$ac_header_preproc" >&6
7726 +# So? What about this header?
7727 +case $ac_header_compiler:$ac_header_preproc in
7729 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7730 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7731 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7732 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7735 +## ------------------------------------ ##
7736 +## Report this to bug-autoconf@gnu.org. ##
7737 +## ------------------------------------ ##
7740 + sed "s/^/$as_me: WARNING: /" >&2
7743 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7744 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7745 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7746 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7747 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7748 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7751 +## ------------------------------------ ##
7752 +## Report this to bug-autoconf@gnu.org. ##
7753 +## ------------------------------------ ##
7756 + sed "s/^/$as_me: WARNING: /" >&2
7759 +echo "$as_me:$LINENO: checking for $ac_header" >&5
7760 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7761 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
7762 + echo $ECHO_N "(cached) $ECHO_C" >&6
7764 + eval "$as_ac_Header=$ac_header_preproc"
7766 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7767 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7770 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
7771 + cat >>confdefs.h <<_ACEOF
7772 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7780 -echo $ac_n "checking for working const""... $ac_c" 1>&6
7781 -echo "configure:2094: checking for working const" >&5
7782 -if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
7783 - echo $ac_n "(cached) $ac_c" 1>&6
7784 +echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
7785 +echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
7786 +if test "${ac_cv_c_const+set}" = set; then
7787 + echo $ECHO_N "(cached) $ECHO_C" >&6
7789 - cat > conftest.$ac_ext <<EOF
7790 -#line 2099 "configure"
7791 -#include "confdefs.h"
7792 + cat >conftest.$ac_ext <<_ACEOF
7793 +#line $LINENO "configure"
7796 +cat confdefs.h >>conftest.$ac_ext
7797 +cat >>conftest.$ac_ext <<_ACEOF
7798 +/* end confdefs.h. */
7804 +/* FIXME: Include the comments suggested by Paul. */
7805 +#ifndef __cplusplus
7806 + /* Ultrix mips cc rejects this. */
7807 + typedef int charset[2];
7809 + /* SunOS 4.1.1 cc rejects this. */
7810 + char const *const *ccp;
7812 + /* NEC SVR4.0.2 mips cc rejects this. */
7813 + struct point {int x, y;};
7814 + static struct point const zero = {0,0};
7815 + /* AIX XL C 1.02.0.0 rejects this.
7816 + It does not let you subtract one const X* pointer from another in
7817 + an arm of an if-expression whose if-part is not a constant
7819 + const char *g = "string";
7820 + ccp = &g + (g ? g-g : 0);
7821 + /* HPUX 7.0 cc rejects these. */
7824 + ccp = (char const *const *) p;
7825 + { /* SCO 3.2v4 cc rejects this. */
7827 + char const *s = 0 ? (char *) 0 : (char const *) 0;
7829 -/* Ultrix mips cc rejects this. */
7830 -typedef int charset[2]; const charset x;
7831 -/* SunOS 4.1.1 cc rejects this. */
7832 -char const *const *ccp;
7834 -/* NEC SVR4.0.2 mips cc rejects this. */
7835 -struct point {int x, y;};
7836 -static struct point const zero = {0,0};
7837 -/* AIX XL C 1.02.0.0 rejects this.
7838 - It does not let you subtract one const X* pointer from another in an arm
7839 - of an if-expression whose if-part is not a constant expression */
7840 -const char *g = "string";
7841 -ccp = &g + (g ? g-g : 0);
7842 -/* HPUX 7.0 cc rejects these. */
7845 -ccp = (char const *const *) p;
7846 -{ /* SCO 3.2v4 cc rejects this. */
7848 - char const *s = 0 ? (char *) 0 : (char const *) 0;
7851 + { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
7852 + int x[] = {25, 17};
7853 + const int *foo = &x[0];
7856 + { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
7857 + typedef const int *iptr;
7861 + { /* AIX XL C 1.02.0.0 rejects this saying
7862 + "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
7863 + struct s { int j; const int *ap[3]; };
7864 + struct s *b; b->j = 5;
7866 + { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
7867 + const int foo = 10;
7873 -{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
7874 - int x[] = {25, 17};
7875 - const int *foo = &x[0];
7878 -{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
7879 - typedef const int *iptr;
7883 -{ /* AIX XL C 1.02.0.0 rejects this saying
7884 - "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
7885 - struct s { int j; const int *ap[3]; };
7886 - struct s *b; b->j = 5;
7888 -{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
7889 - const int foo = 10;
7896 -if { (eval echo configure:2148: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7899 +rm -f conftest.$ac_objext
7900 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7901 + (eval $ac_compile) 2>&5
7903 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7904 + (exit $ac_status); } &&
7905 + { ac_try='test -s conftest.$ac_objext'
7906 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7907 + (eval $ac_try) 2>&5
7909 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7910 + (exit $ac_status); }; }; then
7913 - echo "configure: failed program was:" >&5
7914 - cat conftest.$ac_ext >&5
7917 + echo "$as_me: failed program was:" >&5
7918 +sed 's/^/| /' conftest.$ac_ext >&5
7923 +rm -f conftest.$ac_objext conftest.$ac_ext
7926 -echo "$ac_t""$ac_cv_c_const" 1>&6
7927 +echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
7928 +echo "${ECHO_T}$ac_cv_c_const" >&6
7929 if test $ac_cv_c_const = no; then
7930 - cat >> confdefs.h <<\EOF
7934 +cat >>confdefs.h <<\_ACEOF
7940 -echo $ac_n "checking for inline""... $ac_c" 1>&6
7941 -echo "configure:2169: checking for inline" >&5
7942 -if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
7943 - echo $ac_n "(cached) $ac_c" 1>&6
7944 +echo "$as_me:$LINENO: checking for inline" >&5
7945 +echo $ECHO_N "checking for inline... $ECHO_C" >&6
7946 +if test "${ac_cv_c_inline+set}" = set; then
7947 + echo $ECHO_N "(cached) $ECHO_C" >&6
7950 for ac_kw in inline __inline__ __inline; do
7951 - cat > conftest.$ac_ext <<EOF
7952 -#line 2176 "configure"
7953 -#include "confdefs.h"
7954 + cat >conftest.$ac_ext <<_ACEOF
7955 +#line $LINENO "configure"
7958 +cat confdefs.h >>conftest.$ac_ext
7959 +cat >>conftest.$ac_ext <<_ACEOF
7960 +/* end confdefs.h. */
7961 +#ifndef __cplusplus
7963 +static $ac_kw foo_t static_foo () {return 0; }
7964 +$ac_kw foo_t foo () {return 0; }
7971 -if { (eval echo configure:2183: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7974 +rm -f conftest.$ac_objext
7975 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7976 + (eval $ac_compile) 2>&5
7978 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7979 + (exit $ac_status); } &&
7980 + { ac_try='test -s conftest.$ac_objext'
7981 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7982 + (eval $ac_try) 2>&5
7984 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7985 + (exit $ac_status); }; }; then
7986 ac_cv_c_inline=$ac_kw; break
7988 - echo "configure: failed program was:" >&5
7989 - cat conftest.$ac_ext >&5
7990 + echo "$as_me: failed program was:" >&5
7991 +sed 's/^/| /' conftest.$ac_ext >&5
7995 +rm -f conftest.$ac_objext conftest.$ac_ext
8000 -echo "$ac_t""$ac_cv_c_inline" 1>&6
8001 -case "$ac_cv_c_inline" in
8002 +echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
8003 +echo "${ECHO_T}$ac_cv_c_inline" >&6
8004 +case $ac_cv_c_inline in
8006 - no) cat >> confdefs.h <<\EOF
8010 +cat >>confdefs.h <<\_ACEOF
8014 - *) cat >> confdefs.h <<EOF
8015 + *) cat >>confdefs.h <<_ACEOF
8016 #define inline $ac_cv_c_inline
8022 -echo $ac_n "checking for size_t""... $ac_c" 1>&6
8023 -echo "configure:2209: checking for size_t" >&5
8024 -if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
8025 - echo $ac_n "(cached) $ac_c" 1>&6
8026 +echo "$as_me:$LINENO: checking for size_t" >&5
8027 +echo $ECHO_N "checking for size_t... $ECHO_C" >&6
8028 +if test "${ac_cv_type_size_t+set}" = set; then
8029 + echo $ECHO_N "(cached) $ECHO_C" >&6
8031 - cat > conftest.$ac_ext <<EOF
8032 -#line 2214 "configure"
8033 -#include "confdefs.h"
8034 -#include <sys/types.h>
8036 -#include <stdlib.h>
8037 -#include <stddef.h>
8040 -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8041 - egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
8043 + cat >conftest.$ac_ext <<_ACEOF
8044 +#line $LINENO "configure"
8047 +cat confdefs.h >>conftest.$ac_ext
8048 +cat >>conftest.$ac_ext <<_ACEOF
8049 +/* end confdefs.h. */
8050 +$ac_includes_default
8056 +if (sizeof (size_t))
8062 +rm -f conftest.$ac_objext
8063 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8064 + (eval $ac_compile) 2>&5
8066 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8067 + (exit $ac_status); } &&
8068 + { ac_try='test -s conftest.$ac_objext'
8069 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8070 + (eval $ac_try) 2>&5
8072 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8073 + (exit $ac_status); }; }; then
8074 ac_cv_type_size_t=yes
8077 - ac_cv_type_size_t=no
8080 + echo "$as_me: failed program was:" >&5
8081 +sed 's/^/| /' conftest.$ac_ext >&5
8083 +ac_cv_type_size_t=no
8085 -echo "$ac_t""$ac_cv_type_size_t" 1>&6
8086 -if test $ac_cv_type_size_t = no; then
8087 - cat >> confdefs.h <<\EOF
8088 +rm -f conftest.$ac_objext conftest.$ac_ext
8090 +echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
8091 +echo "${ECHO_T}$ac_cv_type_size_t" >&6
8092 +if test $ac_cv_type_size_t = yes; then
8096 +cat >>confdefs.h <<_ACEOF
8097 #define size_t unsigned
8103 -echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
8104 -echo "configure:2242: checking whether time.h and sys/time.h may both be included" >&5
8105 -if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
8106 - echo $ac_n "(cached) $ac_c" 1>&6
8107 +echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
8108 +echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
8109 +if test "${ac_cv_header_time+set}" = set; then
8110 + echo $ECHO_N "(cached) $ECHO_C" >&6
8112 - cat > conftest.$ac_ext <<EOF
8113 -#line 2247 "configure"
8114 -#include "confdefs.h"
8115 + cat >conftest.$ac_ext <<_ACEOF
8116 +#line $LINENO "configure"
8119 +cat confdefs.h >>conftest.$ac_ext
8120 +cat >>conftest.$ac_ext <<_ACEOF
8121 +/* end confdefs.h. */
8122 #include <sys/types.h>
8123 #include <sys/time.h>
8129 -if { (eval echo configure:2256: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8135 +if ((struct tm *) 0)
8141 +rm -f conftest.$ac_objext
8142 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8143 + (eval $ac_compile) 2>&5
8145 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8146 + (exit $ac_status); } &&
8147 + { ac_try='test -s conftest.$ac_objext'
8148 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8149 + (eval $ac_try) 2>&5
8151 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8152 + (exit $ac_status); }; }; then
8153 ac_cv_header_time=yes
8155 - echo "configure: failed program was:" >&5
8156 - cat conftest.$ac_ext >&5
8158 - ac_cv_header_time=no
8159 + echo "$as_me: failed program was:" >&5
8160 +sed 's/^/| /' conftest.$ac_ext >&5
8162 +ac_cv_header_time=no
8165 +rm -f conftest.$ac_objext conftest.$ac_ext
8168 -echo "$ac_t""$ac_cv_header_time" 1>&6
8169 +echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
8170 +echo "${ECHO_T}$ac_cv_header_time" >&6
8171 if test $ac_cv_header_time = yes; then
8172 - cat >> confdefs.h <<\EOF
8174 +cat >>confdefs.h <<\_ACEOF
8175 #define TIME_WITH_SYS_TIME 1
8181 -echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
8182 -echo "configure:2277: checking whether struct tm is in sys/time.h or time.h" >&5
8183 -if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
8184 - echo $ac_n "(cached) $ac_c" 1>&6
8185 +echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
8186 +echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
8187 +if test "${ac_cv_struct_tm+set}" = set; then
8188 + echo $ECHO_N "(cached) $ECHO_C" >&6
8190 - cat > conftest.$ac_ext <<EOF
8191 -#line 2282 "configure"
8192 -#include "confdefs.h"
8193 + cat >conftest.$ac_ext <<_ACEOF
8194 +#line $LINENO "configure"
8197 +cat confdefs.h >>conftest.$ac_ext
8198 +cat >>conftest.$ac_ext <<_ACEOF
8199 +/* end confdefs.h. */
8200 #include <sys/types.h>
8207 struct tm *tp; tp->tm_sec;
8210 -if { (eval echo configure:2290: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8216 +rm -f conftest.$ac_objext
8217 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8218 + (eval $ac_compile) 2>&5
8220 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8221 + (exit $ac_status); } &&
8222 + { ac_try='test -s conftest.$ac_objext'
8223 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8224 + (eval $ac_try) 2>&5
8226 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8227 + (exit $ac_status); }; }; then
8228 ac_cv_struct_tm=time.h
8230 - echo "configure: failed program was:" >&5
8231 - cat conftest.$ac_ext >&5
8233 - ac_cv_struct_tm=sys/time.h
8234 + echo "$as_me: failed program was:" >&5
8235 +sed 's/^/| /' conftest.$ac_ext >&5
8237 +ac_cv_struct_tm=sys/time.h
8240 +rm -f conftest.$ac_objext conftest.$ac_ext
8243 -echo "$ac_t""$ac_cv_struct_tm" 1>&6
8244 +echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
8245 +echo "${ECHO_T}$ac_cv_struct_tm" >&6
8246 if test $ac_cv_struct_tm = sys/time.h; then
8247 - cat >> confdefs.h <<\EOF
8249 +cat >>confdefs.h <<\_ACEOF
8250 #define TM_IN_SYS_TIME 1
8256 @@ -2315,251 +6606,2187 @@
8260 -echo $ac_n "checking size of short""... $ac_c" 1>&6
8261 -echo "configure:2320: checking size of short" >&5
8262 -if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
8263 - echo $ac_n "(cached) $ac_c" 1>&6
8264 +echo "$as_me:$LINENO: checking for short" >&5
8265 +echo $ECHO_N "checking for short... $ECHO_C" >&6
8266 +if test "${ac_cv_type_short+set}" = set; then
8267 + echo $ECHO_N "(cached) $ECHO_C" >&6
8269 + cat >conftest.$ac_ext <<_ACEOF
8270 +#line $LINENO "configure"
8273 +cat confdefs.h >>conftest.$ac_ext
8274 +cat >>conftest.$ac_ext <<_ACEOF
8275 +/* end confdefs.h. */
8276 +$ac_includes_default
8282 +if (sizeof (short))
8288 +rm -f conftest.$ac_objext
8289 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8290 + (eval $ac_compile) 2>&5
8292 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8293 + (exit $ac_status); } &&
8294 + { ac_try='test -s conftest.$ac_objext'
8295 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8296 + (eval $ac_try) 2>&5
8298 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8299 + (exit $ac_status); }; }; then
8300 + ac_cv_type_short=yes
8302 + echo "$as_me: failed program was:" >&5
8303 +sed 's/^/| /' conftest.$ac_ext >&5
8305 +ac_cv_type_short=no
8307 +rm -f conftest.$ac_objext conftest.$ac_ext
8309 +echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
8310 +echo "${ECHO_T}$ac_cv_type_short" >&6
8312 +echo "$as_me:$LINENO: checking size of short" >&5
8313 +echo $ECHO_N "checking size of short... $ECHO_C" >&6
8314 +if test "${ac_cv_sizeof_short+set}" = set; then
8315 + echo $ECHO_N "(cached) $ECHO_C" >&6
8317 + if test "$ac_cv_type_short" = yes; then
8318 + # The cast to unsigned long works around a bug in the HP C Compiler
8319 + # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8320 + # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8321 + # This bug is HP SR number 8606223364.
8322 if test "$cross_compiling" = yes; then
8323 - ac_cv_sizeof_short="$default_short"
8324 + # Depending upon the size, compute the lo and hi bounds.
8325 +cat >conftest.$ac_ext <<_ACEOF
8326 +#line $LINENO "configure"
8329 +cat confdefs.h >>conftest.$ac_ext
8330 +cat >>conftest.$ac_ext <<_ACEOF
8331 +/* end confdefs.h. */
8332 +$ac_includes_default
8336 +static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
8343 +rm -f conftest.$ac_objext
8344 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8345 + (eval $ac_compile) 2>&5
8347 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8348 + (exit $ac_status); } &&
8349 + { ac_try='test -s conftest.$ac_objext'
8350 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8351 + (eval $ac_try) 2>&5
8353 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8354 + (exit $ac_status); }; }; then
8357 + cat >conftest.$ac_ext <<_ACEOF
8358 +#line $LINENO "configure"
8361 +cat confdefs.h >>conftest.$ac_ext
8362 +cat >>conftest.$ac_ext <<_ACEOF
8363 +/* end confdefs.h. */
8364 +$ac_includes_default
8368 +static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
8375 +rm -f conftest.$ac_objext
8376 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8377 + (eval $ac_compile) 2>&5
8379 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8380 + (exit $ac_status); } &&
8381 + { ac_try='test -s conftest.$ac_objext'
8382 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8383 + (eval $ac_try) 2>&5
8385 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8386 + (exit $ac_status); }; }; then
8387 + ac_hi=$ac_mid; break
8389 - cat > conftest.$ac_ext <<EOF
8390 -#line 2328 "configure"
8391 -#include "confdefs.h"
8392 + echo "$as_me: failed program was:" >&5
8393 +sed 's/^/| /' conftest.$ac_ext >&5
8395 +ac_lo=`expr $ac_mid + 1`
8396 + if test $ac_lo -le $ac_mid; then
8400 + ac_mid=`expr 2 '*' $ac_mid + 1`
8402 +rm -f conftest.$ac_objext conftest.$ac_ext
8405 + echo "$as_me: failed program was:" >&5
8406 +sed 's/^/| /' conftest.$ac_ext >&5
8408 +cat >conftest.$ac_ext <<_ACEOF
8409 +#line $LINENO "configure"
8412 +cat confdefs.h >>conftest.$ac_ext
8413 +cat >>conftest.$ac_ext <<_ACEOF
8414 +/* end confdefs.h. */
8415 +$ac_includes_default
8419 +static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
8426 +rm -f conftest.$ac_objext
8427 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8428 + (eval $ac_compile) 2>&5
8430 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8431 + (exit $ac_status); } &&
8432 + { ac_try='test -s conftest.$ac_objext'
8433 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8434 + (eval $ac_try) 2>&5
8436 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8437 + (exit $ac_status); }; }; then
8438 + ac_hi=-1 ac_mid=-1
8440 + cat >conftest.$ac_ext <<_ACEOF
8441 +#line $LINENO "configure"
8444 +cat confdefs.h >>conftest.$ac_ext
8445 +cat >>conftest.$ac_ext <<_ACEOF
8446 +/* end confdefs.h. */
8447 +$ac_includes_default
8451 +static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
8458 +rm -f conftest.$ac_objext
8459 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8460 + (eval $ac_compile) 2>&5
8462 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8463 + (exit $ac_status); } &&
8464 + { ac_try='test -s conftest.$ac_objext'
8465 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8466 + (eval $ac_try) 2>&5
8468 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8469 + (exit $ac_status); }; }; then
8470 + ac_lo=$ac_mid; break
8472 + echo "$as_me: failed program was:" >&5
8473 +sed 's/^/| /' conftest.$ac_ext >&5
8475 +ac_hi=`expr '(' $ac_mid ')' - 1`
8476 + if test $ac_mid -le $ac_hi; then
8480 + ac_mid=`expr 2 '*' $ac_mid`
8482 +rm -f conftest.$ac_objext conftest.$ac_ext
8485 + echo "$as_me: failed program was:" >&5
8486 +sed 's/^/| /' conftest.$ac_ext >&5
8490 +rm -f conftest.$ac_objext conftest.$ac_ext
8492 +rm -f conftest.$ac_objext conftest.$ac_ext
8493 +# Binary search between lo and hi bounds.
8494 +while test "x$ac_lo" != "x$ac_hi"; do
8495 + ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8496 + cat >conftest.$ac_ext <<_ACEOF
8497 +#line $LINENO "configure"
8500 +cat confdefs.h >>conftest.$ac_ext
8501 +cat >>conftest.$ac_ext <<_ACEOF
8502 +/* end confdefs.h. */
8503 +$ac_includes_default
8507 +static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
8514 +rm -f conftest.$ac_objext
8515 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8516 + (eval $ac_compile) 2>&5
8518 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8519 + (exit $ac_status); } &&
8520 + { ac_try='test -s conftest.$ac_objext'
8521 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8522 + (eval $ac_try) 2>&5
8524 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8525 + (exit $ac_status); }; }; then
8528 + echo "$as_me: failed program was:" >&5
8529 +sed 's/^/| /' conftest.$ac_ext >&5
8531 +ac_lo=`expr '(' $ac_mid ')' + 1`
8533 +rm -f conftest.$ac_objext conftest.$ac_ext
8536 +?*) ac_cv_sizeof_short=$ac_lo;;
8537 +'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
8538 +See \`config.log' for more details." >&5
8539 +echo "$as_me: error: cannot compute sizeof (short), 77
8540 +See \`config.log' for more details." >&2;}
8541 + { (exit 1); exit 1; }; } ;;
8544 + if test "$cross_compiling" = yes; then
8545 + { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8546 +See \`config.log' for more details." >&5
8547 +echo "$as_me: error: cannot run test program while cross compiling
8548 +See \`config.log' for more details." >&2;}
8549 + { (exit 1); exit 1; }; }
8551 + cat >conftest.$ac_ext <<_ACEOF
8552 +#line $LINENO "configure"
8555 +cat confdefs.h >>conftest.$ac_ext
8556 +cat >>conftest.$ac_ext <<_ACEOF
8557 +/* end confdefs.h. */
8558 +$ac_includes_default
8559 +long longval () { return (long) (sizeof (short)); }
8560 +unsigned long ulongval () { return (long) (sizeof (short)); }
8563 +#include <stdlib.h>
8567 - FILE *f=fopen("conftestval", "w");
8569 - fprintf(f, "%d\n", sizeof(short));
8572 + FILE *f = fopen ("conftest.val", "w");
8575 + if (((long) (sizeof (short))) < 0)
8577 + long i = longval ();
8578 + if (i != ((long) (sizeof (short))))
8580 + fprintf (f, "%ld\n", i);
8584 + unsigned long i = ulongval ();
8585 + if (i != ((long) (sizeof (short))))
8587 + fprintf (f, "%lu\n", i);
8589 + exit (ferror (f) || fclose (f) != 0);
8595 -if { (eval echo configure:2339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8597 - ac_cv_sizeof_short=`cat conftestval`
8599 +rm -f conftest$ac_exeext
8600 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8601 + (eval $ac_link) 2>&5
8603 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8604 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8605 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8606 + (eval $ac_try) 2>&5
8608 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8609 + (exit $ac_status); }; }; then
8610 + ac_cv_sizeof_short=`cat conftest.val`
8612 + echo "$as_me: program exited with status $ac_status" >&5
8613 +echo "$as_me: failed program was:" >&5
8614 +sed 's/^/| /' conftest.$ac_ext >&5
8616 +( exit $ac_status )
8617 +{ { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
8618 +See \`config.log' for more details." >&5
8619 +echo "$as_me: error: cannot compute sizeof (short), 77
8620 +See \`config.log' for more details." >&2;}
8621 + { (exit 1); exit 1; }; }
8623 +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8628 - echo "configure: failed program was:" >&5
8629 - cat conftest.$ac_ext >&5
8631 ac_cv_sizeof_short=0
8635 +echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
8636 +echo "${ECHO_T}$ac_cv_sizeof_short" >&6
8637 +cat >>confdefs.h <<_ACEOF
8638 +#define SIZEOF_SHORT $ac_cv_sizeof_short
8642 +echo "$as_me:$LINENO: checking for unsigned short" >&5
8643 +echo $ECHO_N "checking for unsigned short... $ECHO_C" >&6
8644 +if test "${ac_cv_type_unsigned_short+set}" = set; then
8645 + echo $ECHO_N "(cached) $ECHO_C" >&6
8647 + cat >conftest.$ac_ext <<_ACEOF
8648 +#line $LINENO "configure"
8651 +cat confdefs.h >>conftest.$ac_ext
8652 +cat >>conftest.$ac_ext <<_ACEOF
8653 +/* end confdefs.h. */
8654 +$ac_includes_default
8658 +if ((unsigned short *) 0)
8660 +if (sizeof (unsigned short))
8666 +rm -f conftest.$ac_objext
8667 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8668 + (eval $ac_compile) 2>&5
8670 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8671 + (exit $ac_status); } &&
8672 + { ac_try='test -s conftest.$ac_objext'
8673 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8674 + (eval $ac_try) 2>&5
8676 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8677 + (exit $ac_status); }; }; then
8678 + ac_cv_type_unsigned_short=yes
8680 + echo "$as_me: failed program was:" >&5
8681 +sed 's/^/| /' conftest.$ac_ext >&5
8683 +ac_cv_type_unsigned_short=no
8685 -echo "$ac_t""$ac_cv_sizeof_short" 1>&6
8686 -cat >> confdefs.h <<EOF
8687 -#define SIZEOF_SHORT $ac_cv_sizeof_short
8689 +rm -f conftest.$ac_objext conftest.$ac_ext
8691 +echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_short" >&5
8692 +echo "${ECHO_T}$ac_cv_type_unsigned_short" >&6
8694 +echo "$as_me:$LINENO: checking size of unsigned short" >&5
8695 +echo $ECHO_N "checking size of unsigned short... $ECHO_C" >&6
8696 +if test "${ac_cv_sizeof_unsigned_short+set}" = set; then
8697 + echo $ECHO_N "(cached) $ECHO_C" >&6
8699 + if test "$ac_cv_type_unsigned_short" = yes; then
8700 + # The cast to unsigned long works around a bug in the HP C Compiler
8701 + # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8702 + # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8703 + # This bug is HP SR number 8606223364.
8704 + if test "$cross_compiling" = yes; then
8705 + # Depending upon the size, compute the lo and hi bounds.
8706 +cat >conftest.$ac_ext <<_ACEOF
8707 +#line $LINENO "configure"
8710 +cat confdefs.h >>conftest.$ac_ext
8711 +cat >>conftest.$ac_ext <<_ACEOF
8712 +/* end confdefs.h. */
8713 +$ac_includes_default
8717 +static int test_array [1 - 2 * !(((long) (sizeof (unsigned short))) >= 0)];
8720 -echo $ac_n "checking size of unsigned short""... $ac_c" 1>&6
8721 -echo "configure:2359: checking size of unsigned short" >&5
8722 -if eval "test \"`echo '$''{'ac_cv_sizeof_unsigned_short'+set}'`\" = set"; then
8723 - echo $ac_n "(cached) $ac_c" 1>&6
8728 +rm -f conftest.$ac_objext
8729 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8730 + (eval $ac_compile) 2>&5
8732 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8733 + (exit $ac_status); } &&
8734 + { ac_try='test -s conftest.$ac_objext'
8735 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8736 + (eval $ac_try) 2>&5
8738 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8739 + (exit $ac_status); }; }; then
8742 + cat >conftest.$ac_ext <<_ACEOF
8743 +#line $LINENO "configure"
8746 +cat confdefs.h >>conftest.$ac_ext
8747 +cat >>conftest.$ac_ext <<_ACEOF
8748 +/* end confdefs.h. */
8749 +$ac_includes_default
8753 +static int test_array [1 - 2 * !(((long) (sizeof (unsigned short))) <= $ac_mid)];
8760 +rm -f conftest.$ac_objext
8761 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8762 + (eval $ac_compile) 2>&5
8764 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8765 + (exit $ac_status); } &&
8766 + { ac_try='test -s conftest.$ac_objext'
8767 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8768 + (eval $ac_try) 2>&5
8770 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8771 + (exit $ac_status); }; }; then
8772 + ac_hi=$ac_mid; break
8774 + echo "$as_me: failed program was:" >&5
8775 +sed 's/^/| /' conftest.$ac_ext >&5
8777 +ac_lo=`expr $ac_mid + 1`
8778 + if test $ac_lo -le $ac_mid; then
8782 + ac_mid=`expr 2 '*' $ac_mid + 1`
8784 +rm -f conftest.$ac_objext conftest.$ac_ext
8787 + echo "$as_me: failed program was:" >&5
8788 +sed 's/^/| /' conftest.$ac_ext >&5
8790 +cat >conftest.$ac_ext <<_ACEOF
8791 +#line $LINENO "configure"
8794 +cat confdefs.h >>conftest.$ac_ext
8795 +cat >>conftest.$ac_ext <<_ACEOF
8796 +/* end confdefs.h. */
8797 +$ac_includes_default
8801 +static int test_array [1 - 2 * !(((long) (sizeof (unsigned short))) < 0)];
8808 +rm -f conftest.$ac_objext
8809 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8810 + (eval $ac_compile) 2>&5
8812 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8813 + (exit $ac_status); } &&
8814 + { ac_try='test -s conftest.$ac_objext'
8815 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8816 + (eval $ac_try) 2>&5
8818 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8819 + (exit $ac_status); }; }; then
8820 + ac_hi=-1 ac_mid=-1
8822 + cat >conftest.$ac_ext <<_ACEOF
8823 +#line $LINENO "configure"
8826 +cat confdefs.h >>conftest.$ac_ext
8827 +cat >>conftest.$ac_ext <<_ACEOF
8828 +/* end confdefs.h. */
8829 +$ac_includes_default
8833 +static int test_array [1 - 2 * !(((long) (sizeof (unsigned short))) >= $ac_mid)];
8840 +rm -f conftest.$ac_objext
8841 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8842 + (eval $ac_compile) 2>&5
8844 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8845 + (exit $ac_status); } &&
8846 + { ac_try='test -s conftest.$ac_objext'
8847 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8848 + (eval $ac_try) 2>&5
8850 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8851 + (exit $ac_status); }; }; then
8852 + ac_lo=$ac_mid; break
8854 + echo "$as_me: failed program was:" >&5
8855 +sed 's/^/| /' conftest.$ac_ext >&5
8857 +ac_hi=`expr '(' $ac_mid ')' - 1`
8858 + if test $ac_mid -le $ac_hi; then
8862 + ac_mid=`expr 2 '*' $ac_mid`
8864 +rm -f conftest.$ac_objext conftest.$ac_ext
8867 + echo "$as_me: failed program was:" >&5
8868 +sed 's/^/| /' conftest.$ac_ext >&5
8872 +rm -f conftest.$ac_objext conftest.$ac_ext
8874 +rm -f conftest.$ac_objext conftest.$ac_ext
8875 +# Binary search between lo and hi bounds.
8876 +while test "x$ac_lo" != "x$ac_hi"; do
8877 + ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8878 + cat >conftest.$ac_ext <<_ACEOF
8879 +#line $LINENO "configure"
8882 +cat confdefs.h >>conftest.$ac_ext
8883 +cat >>conftest.$ac_ext <<_ACEOF
8884 +/* end confdefs.h. */
8885 +$ac_includes_default
8889 +static int test_array [1 - 2 * !(((long) (sizeof (unsigned short))) <= $ac_mid)];
8896 +rm -f conftest.$ac_objext
8897 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8898 + (eval $ac_compile) 2>&5
8900 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8901 + (exit $ac_status); } &&
8902 + { ac_try='test -s conftest.$ac_objext'
8903 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8904 + (eval $ac_try) 2>&5
8906 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8907 + (exit $ac_status); }; }; then
8910 + echo "$as_me: failed program was:" >&5
8911 +sed 's/^/| /' conftest.$ac_ext >&5
8913 +ac_lo=`expr '(' $ac_mid ')' + 1`
8915 +rm -f conftest.$ac_objext conftest.$ac_ext
8918 +?*) ac_cv_sizeof_unsigned_short=$ac_lo;;
8919 +'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned short), 77
8920 +See \`config.log' for more details." >&5
8921 +echo "$as_me: error: cannot compute sizeof (unsigned short), 77
8922 +See \`config.log' for more details." >&2;}
8923 + { (exit 1); exit 1; }; } ;;
8926 if test "$cross_compiling" = yes; then
8927 - ac_cv_sizeof_unsigned_short="$default_short"
8928 + { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8929 +See \`config.log' for more details." >&5
8930 +echo "$as_me: error: cannot run test program while cross compiling
8931 +See \`config.log' for more details." >&2;}
8932 + { (exit 1); exit 1; }; }
8934 - cat > conftest.$ac_ext <<EOF
8935 -#line 2367 "configure"
8936 -#include "confdefs.h"
8937 + cat >conftest.$ac_ext <<_ACEOF
8938 +#line $LINENO "configure"
8941 +cat confdefs.h >>conftest.$ac_ext
8942 +cat >>conftest.$ac_ext <<_ACEOF
8943 +/* end confdefs.h. */
8944 +$ac_includes_default
8945 +long longval () { return (long) (sizeof (unsigned short)); }
8946 +unsigned long ulongval () { return (long) (sizeof (unsigned short)); }
8949 +#include <stdlib.h>
8953 - FILE *f=fopen("conftestval", "w");
8955 - fprintf(f, "%d\n", sizeof(unsigned short));
8958 + FILE *f = fopen ("conftest.val", "w");
8961 + if (((long) (sizeof (unsigned short))) < 0)
8963 + long i = longval ();
8964 + if (i != ((long) (sizeof (unsigned short))))
8966 + fprintf (f, "%ld\n", i);
8970 + unsigned long i = ulongval ();
8971 + if (i != ((long) (sizeof (unsigned short))))
8973 + fprintf (f, "%lu\n", i);
8975 + exit (ferror (f) || fclose (f) != 0);
8981 -if { (eval echo configure:2378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8983 - ac_cv_sizeof_unsigned_short=`cat conftestval`
8985 +rm -f conftest$ac_exeext
8986 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8987 + (eval $ac_link) 2>&5
8989 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8990 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8991 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8992 + (eval $ac_try) 2>&5
8994 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8995 + (exit $ac_status); }; }; then
8996 + ac_cv_sizeof_unsigned_short=`cat conftest.val`
8998 + echo "$as_me: program exited with status $ac_status" >&5
8999 +echo "$as_me: failed program was:" >&5
9000 +sed 's/^/| /' conftest.$ac_ext >&5
9002 +( exit $ac_status )
9003 +{ { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned short), 77
9004 +See \`config.log' for more details." >&5
9005 +echo "$as_me: error: cannot compute sizeof (unsigned short), 77
9006 +See \`config.log' for more details." >&2;}
9007 + { (exit 1); exit 1; }; }
9009 +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9014 - echo "configure: failed program was:" >&5
9015 - cat conftest.$ac_ext >&5
9017 ac_cv_sizeof_unsigned_short=0
9021 +echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_short" >&5
9022 +echo "${ECHO_T}$ac_cv_sizeof_unsigned_short" >&6
9023 +cat >>confdefs.h <<_ACEOF
9024 +#define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short
9028 +echo "$as_me:$LINENO: checking for int" >&5
9029 +echo $ECHO_N "checking for int... $ECHO_C" >&6
9030 +if test "${ac_cv_type_int+set}" = set; then
9031 + echo $ECHO_N "(cached) $ECHO_C" >&6
9033 + cat >conftest.$ac_ext <<_ACEOF
9034 +#line $LINENO "configure"
9037 +cat confdefs.h >>conftest.$ac_ext
9038 +cat >>conftest.$ac_ext <<_ACEOF
9039 +/* end confdefs.h. */
9040 +$ac_includes_default
9052 +rm -f conftest.$ac_objext
9053 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9054 + (eval $ac_compile) 2>&5
9056 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9057 + (exit $ac_status); } &&
9058 + { ac_try='test -s conftest.$ac_objext'
9059 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9060 + (eval $ac_try) 2>&5
9062 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9063 + (exit $ac_status); }; }; then
9064 + ac_cv_type_int=yes
9066 + echo "$as_me: failed program was:" >&5
9067 +sed 's/^/| /' conftest.$ac_ext >&5
9071 -echo "$ac_t""$ac_cv_sizeof_unsigned_short" 1>&6
9072 -cat >> confdefs.h <<EOF
9073 -#define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short
9075 +rm -f conftest.$ac_objext conftest.$ac_ext
9077 +echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
9078 +echo "${ECHO_T}$ac_cv_type_int" >&6
9080 +echo "$as_me:$LINENO: checking size of int" >&5
9081 +echo $ECHO_N "checking size of int... $ECHO_C" >&6
9082 +if test "${ac_cv_sizeof_int+set}" = set; then
9083 + echo $ECHO_N "(cached) $ECHO_C" >&6
9085 + if test "$ac_cv_type_int" = yes; then
9086 + # The cast to unsigned long works around a bug in the HP C Compiler
9087 + # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9088 + # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
9089 + # This bug is HP SR number 8606223364.
9090 + if test "$cross_compiling" = yes; then
9091 + # Depending upon the size, compute the lo and hi bounds.
9092 +cat >conftest.$ac_ext <<_ACEOF
9093 +#line $LINENO "configure"
9096 +cat confdefs.h >>conftest.$ac_ext
9097 +cat >>conftest.$ac_ext <<_ACEOF
9098 +/* end confdefs.h. */
9099 +$ac_includes_default
9103 +static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
9106 -echo $ac_n "checking size of int""... $ac_c" 1>&6
9107 -echo "configure:2398: checking size of int" >&5
9108 -if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
9109 - echo $ac_n "(cached) $ac_c" 1>&6
9114 +rm -f conftest.$ac_objext
9115 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9116 + (eval $ac_compile) 2>&5
9118 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9119 + (exit $ac_status); } &&
9120 + { ac_try='test -s conftest.$ac_objext'
9121 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9122 + (eval $ac_try) 2>&5
9124 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9125 + (exit $ac_status); }; }; then
9128 + cat >conftest.$ac_ext <<_ACEOF
9129 +#line $LINENO "configure"
9132 +cat confdefs.h >>conftest.$ac_ext
9133 +cat >>conftest.$ac_ext <<_ACEOF
9134 +/* end confdefs.h. */
9135 +$ac_includes_default
9139 +static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
9146 +rm -f conftest.$ac_objext
9147 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9148 + (eval $ac_compile) 2>&5
9150 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9151 + (exit $ac_status); } &&
9152 + { ac_try='test -s conftest.$ac_objext'
9153 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9154 + (eval $ac_try) 2>&5
9156 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9157 + (exit $ac_status); }; }; then
9158 + ac_hi=$ac_mid; break
9160 + echo "$as_me: failed program was:" >&5
9161 +sed 's/^/| /' conftest.$ac_ext >&5
9163 +ac_lo=`expr $ac_mid + 1`
9164 + if test $ac_lo -le $ac_mid; then
9168 + ac_mid=`expr 2 '*' $ac_mid + 1`
9170 +rm -f conftest.$ac_objext conftest.$ac_ext
9173 + echo "$as_me: failed program was:" >&5
9174 +sed 's/^/| /' conftest.$ac_ext >&5
9176 +cat >conftest.$ac_ext <<_ACEOF
9177 +#line $LINENO "configure"
9180 +cat confdefs.h >>conftest.$ac_ext
9181 +cat >>conftest.$ac_ext <<_ACEOF
9182 +/* end confdefs.h. */
9183 +$ac_includes_default
9187 +static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
9194 +rm -f conftest.$ac_objext
9195 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9196 + (eval $ac_compile) 2>&5
9198 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9199 + (exit $ac_status); } &&
9200 + { ac_try='test -s conftest.$ac_objext'
9201 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9202 + (eval $ac_try) 2>&5
9204 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9205 + (exit $ac_status); }; }; then
9206 + ac_hi=-1 ac_mid=-1
9208 + cat >conftest.$ac_ext <<_ACEOF
9209 +#line $LINENO "configure"
9212 +cat confdefs.h >>conftest.$ac_ext
9213 +cat >>conftest.$ac_ext <<_ACEOF
9214 +/* end confdefs.h. */
9215 +$ac_includes_default
9219 +static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
9226 +rm -f conftest.$ac_objext
9227 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9228 + (eval $ac_compile) 2>&5
9230 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9231 + (exit $ac_status); } &&
9232 + { ac_try='test -s conftest.$ac_objext'
9233 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9234 + (eval $ac_try) 2>&5
9236 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9237 + (exit $ac_status); }; }; then
9238 + ac_lo=$ac_mid; break
9240 + echo "$as_me: failed program was:" >&5
9241 +sed 's/^/| /' conftest.$ac_ext >&5
9243 +ac_hi=`expr '(' $ac_mid ')' - 1`
9244 + if test $ac_mid -le $ac_hi; then
9248 + ac_mid=`expr 2 '*' $ac_mid`
9250 +rm -f conftest.$ac_objext conftest.$ac_ext
9253 + echo "$as_me: failed program was:" >&5
9254 +sed 's/^/| /' conftest.$ac_ext >&5
9258 +rm -f conftest.$ac_objext conftest.$ac_ext
9260 +rm -f conftest.$ac_objext conftest.$ac_ext
9261 +# Binary search between lo and hi bounds.
9262 +while test "x$ac_lo" != "x$ac_hi"; do
9263 + ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
9264 + cat >conftest.$ac_ext <<_ACEOF
9265 +#line $LINENO "configure"
9268 +cat confdefs.h >>conftest.$ac_ext
9269 +cat >>conftest.$ac_ext <<_ACEOF
9270 +/* end confdefs.h. */
9271 +$ac_includes_default
9275 +static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
9282 +rm -f conftest.$ac_objext
9283 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9284 + (eval $ac_compile) 2>&5
9286 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9287 + (exit $ac_status); } &&
9288 + { ac_try='test -s conftest.$ac_objext'
9289 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9290 + (eval $ac_try) 2>&5
9292 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9293 + (exit $ac_status); }; }; then
9296 + echo "$as_me: failed program was:" >&5
9297 +sed 's/^/| /' conftest.$ac_ext >&5
9299 +ac_lo=`expr '(' $ac_mid ')' + 1`
9301 +rm -f conftest.$ac_objext conftest.$ac_ext
9304 +?*) ac_cv_sizeof_int=$ac_lo;;
9305 +'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
9306 +See \`config.log' for more details." >&5
9307 +echo "$as_me: error: cannot compute sizeof (int), 77
9308 +See \`config.log' for more details." >&2;}
9309 + { (exit 1); exit 1; }; } ;;
9312 if test "$cross_compiling" = yes; then
9313 - ac_cv_sizeof_int="$default_int"
9314 + { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
9315 +See \`config.log' for more details." >&5
9316 +echo "$as_me: error: cannot run test program while cross compiling
9317 +See \`config.log' for more details." >&2;}
9318 + { (exit 1); exit 1; }; }
9320 - cat > conftest.$ac_ext <<EOF
9321 -#line 2406 "configure"
9322 -#include "confdefs.h"
9323 + cat >conftest.$ac_ext <<_ACEOF
9324 +#line $LINENO "configure"
9327 +cat confdefs.h >>conftest.$ac_ext
9328 +cat >>conftest.$ac_ext <<_ACEOF
9329 +/* end confdefs.h. */
9330 +$ac_includes_default
9331 +long longval () { return (long) (sizeof (int)); }
9332 +unsigned long ulongval () { return (long) (sizeof (int)); }
9335 +#include <stdlib.h>
9339 - FILE *f=fopen("conftestval", "w");
9341 - fprintf(f, "%d\n", sizeof(int));
9344 + FILE *f = fopen ("conftest.val", "w");
9347 + if (((long) (sizeof (int))) < 0)
9349 + long i = longval ();
9350 + if (i != ((long) (sizeof (int))))
9352 + fprintf (f, "%ld\n", i);
9356 + unsigned long i = ulongval ();
9357 + if (i != ((long) (sizeof (int))))
9359 + fprintf (f, "%lu\n", i);
9361 + exit (ferror (f) || fclose (f) != 0);
9367 -if { (eval echo configure:2417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
9369 - ac_cv_sizeof_int=`cat conftestval`
9371 +rm -f conftest$ac_exeext
9372 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9373 + (eval $ac_link) 2>&5
9375 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9376 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9377 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9378 + (eval $ac_try) 2>&5
9380 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9381 + (exit $ac_status); }; }; then
9382 + ac_cv_sizeof_int=`cat conftest.val`
9384 + echo "$as_me: program exited with status $ac_status" >&5
9385 +echo "$as_me: failed program was:" >&5
9386 +sed 's/^/| /' conftest.$ac_ext >&5
9388 +( exit $ac_status )
9389 +{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
9390 +See \`config.log' for more details." >&5
9391 +echo "$as_me: error: cannot compute sizeof (int), 77
9392 +See \`config.log' for more details." >&2;}
9393 + { (exit 1); exit 1; }; }
9395 +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9400 - echo "configure: failed program was:" >&5
9401 - cat conftest.$ac_ext >&5
9407 +echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
9408 +echo "${ECHO_T}$ac_cv_sizeof_int" >&6
9409 +cat >>confdefs.h <<_ACEOF
9410 +#define SIZEOF_INT $ac_cv_sizeof_int
9414 +echo "$as_me:$LINENO: checking for unsigned" >&5
9415 +echo $ECHO_N "checking for unsigned... $ECHO_C" >&6
9416 +if test "${ac_cv_type_unsigned+set}" = set; then
9417 + echo $ECHO_N "(cached) $ECHO_C" >&6
9419 + cat >conftest.$ac_ext <<_ACEOF
9420 +#line $LINENO "configure"
9423 +cat confdefs.h >>conftest.$ac_ext
9424 +cat >>conftest.$ac_ext <<_ACEOF
9425 +/* end confdefs.h. */
9426 +$ac_includes_default
9430 +if ((unsigned *) 0)
9432 +if (sizeof (unsigned))
9438 +rm -f conftest.$ac_objext
9439 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9440 + (eval $ac_compile) 2>&5
9442 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9443 + (exit $ac_status); } &&
9444 + { ac_try='test -s conftest.$ac_objext'
9445 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9446 + (eval $ac_try) 2>&5
9448 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9449 + (exit $ac_status); }; }; then
9450 + ac_cv_type_unsigned=yes
9452 + echo "$as_me: failed program was:" >&5
9453 +sed 's/^/| /' conftest.$ac_ext >&5
9455 +ac_cv_type_unsigned=no
9457 -echo "$ac_t""$ac_cv_sizeof_int" 1>&6
9458 -cat >> confdefs.h <<EOF
9459 -#define SIZEOF_INT $ac_cv_sizeof_int
9461 +rm -f conftest.$ac_objext conftest.$ac_ext
9463 +echo "$as_me:$LINENO: result: $ac_cv_type_unsigned" >&5
9464 +echo "${ECHO_T}$ac_cv_type_unsigned" >&6
9466 +echo "$as_me:$LINENO: checking size of unsigned" >&5
9467 +echo $ECHO_N "checking size of unsigned... $ECHO_C" >&6
9468 +if test "${ac_cv_sizeof_unsigned+set}" = set; then
9469 + echo $ECHO_N "(cached) $ECHO_C" >&6
9471 + if test "$ac_cv_type_unsigned" = yes; then
9472 + # The cast to unsigned long works around a bug in the HP C Compiler
9473 + # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9474 + # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
9475 + # This bug is HP SR number 8606223364.
9476 + if test "$cross_compiling" = yes; then
9477 + # Depending upon the size, compute the lo and hi bounds.
9478 +cat >conftest.$ac_ext <<_ACEOF
9479 +#line $LINENO "configure"
9482 +cat confdefs.h >>conftest.$ac_ext
9483 +cat >>conftest.$ac_ext <<_ACEOF
9484 +/* end confdefs.h. */
9485 +$ac_includes_default
9489 +static int test_array [1 - 2 * !(((long) (sizeof (unsigned))) >= 0)];
9492 -echo $ac_n "checking size of unsigned""... $ac_c" 1>&6
9493 -echo "configure:2437: checking size of unsigned" >&5
9494 -if eval "test \"`echo '$''{'ac_cv_sizeof_unsigned'+set}'`\" = set"; then
9495 - echo $ac_n "(cached) $ac_c" 1>&6
9500 +rm -f conftest.$ac_objext
9501 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9502 + (eval $ac_compile) 2>&5
9504 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9505 + (exit $ac_status); } &&
9506 + { ac_try='test -s conftest.$ac_objext'
9507 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9508 + (eval $ac_try) 2>&5
9510 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9511 + (exit $ac_status); }; }; then
9514 + cat >conftest.$ac_ext <<_ACEOF
9515 +#line $LINENO "configure"
9518 +cat confdefs.h >>conftest.$ac_ext
9519 +cat >>conftest.$ac_ext <<_ACEOF
9520 +/* end confdefs.h. */
9521 +$ac_includes_default
9525 +static int test_array [1 - 2 * !(((long) (sizeof (unsigned))) <= $ac_mid)];
9532 +rm -f conftest.$ac_objext
9533 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9534 + (eval $ac_compile) 2>&5
9536 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9537 + (exit $ac_status); } &&
9538 + { ac_try='test -s conftest.$ac_objext'
9539 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9540 + (eval $ac_try) 2>&5
9542 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9543 + (exit $ac_status); }; }; then
9544 + ac_hi=$ac_mid; break
9546 + echo "$as_me: failed program was:" >&5
9547 +sed 's/^/| /' conftest.$ac_ext >&5
9549 +ac_lo=`expr $ac_mid + 1`
9550 + if test $ac_lo -le $ac_mid; then
9554 + ac_mid=`expr 2 '*' $ac_mid + 1`
9556 +rm -f conftest.$ac_objext conftest.$ac_ext
9559 + echo "$as_me: failed program was:" >&5
9560 +sed 's/^/| /' conftest.$ac_ext >&5
9562 +cat >conftest.$ac_ext <<_ACEOF
9563 +#line $LINENO "configure"
9566 +cat confdefs.h >>conftest.$ac_ext
9567 +cat >>conftest.$ac_ext <<_ACEOF
9568 +/* end confdefs.h. */
9569 +$ac_includes_default
9573 +static int test_array [1 - 2 * !(((long) (sizeof (unsigned))) < 0)];
9580 +rm -f conftest.$ac_objext
9581 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9582 + (eval $ac_compile) 2>&5
9584 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9585 + (exit $ac_status); } &&
9586 + { ac_try='test -s conftest.$ac_objext'
9587 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9588 + (eval $ac_try) 2>&5
9590 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9591 + (exit $ac_status); }; }; then
9592 + ac_hi=-1 ac_mid=-1
9594 + cat >conftest.$ac_ext <<_ACEOF
9595 +#line $LINENO "configure"
9598 +cat confdefs.h >>conftest.$ac_ext
9599 +cat >>conftest.$ac_ext <<_ACEOF
9600 +/* end confdefs.h. */
9601 +$ac_includes_default
9605 +static int test_array [1 - 2 * !(((long) (sizeof (unsigned))) >= $ac_mid)];
9612 +rm -f conftest.$ac_objext
9613 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9614 + (eval $ac_compile) 2>&5
9616 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9617 + (exit $ac_status); } &&
9618 + { ac_try='test -s conftest.$ac_objext'
9619 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9620 + (eval $ac_try) 2>&5
9622 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9623 + (exit $ac_status); }; }; then
9624 + ac_lo=$ac_mid; break
9626 + echo "$as_me: failed program was:" >&5
9627 +sed 's/^/| /' conftest.$ac_ext >&5
9629 +ac_hi=`expr '(' $ac_mid ')' - 1`
9630 + if test $ac_mid -le $ac_hi; then
9634 + ac_mid=`expr 2 '*' $ac_mid`
9636 +rm -f conftest.$ac_objext conftest.$ac_ext
9639 + echo "$as_me: failed program was:" >&5
9640 +sed 's/^/| /' conftest.$ac_ext >&5
9644 +rm -f conftest.$ac_objext conftest.$ac_ext
9646 +rm -f conftest.$ac_objext conftest.$ac_ext
9647 +# Binary search between lo and hi bounds.
9648 +while test "x$ac_lo" != "x$ac_hi"; do
9649 + ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
9650 + cat >conftest.$ac_ext <<_ACEOF
9651 +#line $LINENO "configure"
9654 +cat confdefs.h >>conftest.$ac_ext
9655 +cat >>conftest.$ac_ext <<_ACEOF
9656 +/* end confdefs.h. */
9657 +$ac_includes_default
9661 +static int test_array [1 - 2 * !(((long) (sizeof (unsigned))) <= $ac_mid)];
9668 +rm -f conftest.$ac_objext
9669 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9670 + (eval $ac_compile) 2>&5
9672 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9673 + (exit $ac_status); } &&
9674 + { ac_try='test -s conftest.$ac_objext'
9675 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9676 + (eval $ac_try) 2>&5
9678 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9679 + (exit $ac_status); }; }; then
9682 + echo "$as_me: failed program was:" >&5
9683 +sed 's/^/| /' conftest.$ac_ext >&5
9685 +ac_lo=`expr '(' $ac_mid ')' + 1`
9687 +rm -f conftest.$ac_objext conftest.$ac_ext
9690 +?*) ac_cv_sizeof_unsigned=$ac_lo;;
9691 +'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned), 77
9692 +See \`config.log' for more details." >&5
9693 +echo "$as_me: error: cannot compute sizeof (unsigned), 77
9694 +See \`config.log' for more details." >&2;}
9695 + { (exit 1); exit 1; }; } ;;
9698 if test "$cross_compiling" = yes; then
9699 - ac_cv_sizeof_unsigned="$default_int"
9700 + { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
9701 +See \`config.log' for more details." >&5
9702 +echo "$as_me: error: cannot run test program while cross compiling
9703 +See \`config.log' for more details." >&2;}
9704 + { (exit 1); exit 1; }; }
9706 - cat > conftest.$ac_ext <<EOF
9707 -#line 2445 "configure"
9708 -#include "confdefs.h"
9709 + cat >conftest.$ac_ext <<_ACEOF
9710 +#line $LINENO "configure"
9713 +cat confdefs.h >>conftest.$ac_ext
9714 +cat >>conftest.$ac_ext <<_ACEOF
9715 +/* end confdefs.h. */
9716 +$ac_includes_default
9717 +long longval () { return (long) (sizeof (unsigned)); }
9718 +unsigned long ulongval () { return (long) (sizeof (unsigned)); }
9721 +#include <stdlib.h>
9725 - FILE *f=fopen("conftestval", "w");
9727 - fprintf(f, "%d\n", sizeof(unsigned));
9730 + FILE *f = fopen ("conftest.val", "w");
9733 + if (((long) (sizeof (unsigned))) < 0)
9735 + long i = longval ();
9736 + if (i != ((long) (sizeof (unsigned))))
9738 + fprintf (f, "%ld\n", i);
9742 + unsigned long i = ulongval ();
9743 + if (i != ((long) (sizeof (unsigned))))
9745 + fprintf (f, "%lu\n", i);
9747 + exit (ferror (f) || fclose (f) != 0);
9753 -if { (eval echo configure:2456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
9755 - ac_cv_sizeof_unsigned=`cat conftestval`
9757 +rm -f conftest$ac_exeext
9758 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9759 + (eval $ac_link) 2>&5
9761 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9762 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9763 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9764 + (eval $ac_try) 2>&5
9766 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9767 + (exit $ac_status); }; }; then
9768 + ac_cv_sizeof_unsigned=`cat conftest.val`
9770 + echo "$as_me: program exited with status $ac_status" >&5
9771 +echo "$as_me: failed program was:" >&5
9772 +sed 's/^/| /' conftest.$ac_ext >&5
9774 +( exit $ac_status )
9775 +{ { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned), 77
9776 +See \`config.log' for more details." >&5
9777 +echo "$as_me: error: cannot compute sizeof (unsigned), 77
9778 +See \`config.log' for more details." >&2;}
9779 + { (exit 1); exit 1; }; }
9781 +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9786 - echo "configure: failed program was:" >&5
9787 - cat conftest.$ac_ext >&5
9789 ac_cv_sizeof_unsigned=0
9793 +echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned" >&5
9794 +echo "${ECHO_T}$ac_cv_sizeof_unsigned" >&6
9795 +cat >>confdefs.h <<_ACEOF
9796 +#define SIZEOF_UNSIGNED $ac_cv_sizeof_unsigned
9800 +echo "$as_me:$LINENO: checking for long" >&5
9801 +echo $ECHO_N "checking for long... $ECHO_C" >&6
9802 +if test "${ac_cv_type_long+set}" = set; then
9803 + echo $ECHO_N "(cached) $ECHO_C" >&6
9805 + cat >conftest.$ac_ext <<_ACEOF
9806 +#line $LINENO "configure"
9809 +cat confdefs.h >>conftest.$ac_ext
9810 +cat >>conftest.$ac_ext <<_ACEOF
9811 +/* end confdefs.h. */
9812 +$ac_includes_default
9824 +rm -f conftest.$ac_objext
9825 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9826 + (eval $ac_compile) 2>&5
9828 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9829 + (exit $ac_status); } &&
9830 + { ac_try='test -s conftest.$ac_objext'
9831 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9832 + (eval $ac_try) 2>&5
9834 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9835 + (exit $ac_status); }; }; then
9836 + ac_cv_type_long=yes
9838 + echo "$as_me: failed program was:" >&5
9839 +sed 's/^/| /' conftest.$ac_ext >&5
9843 -echo "$ac_t""$ac_cv_sizeof_unsigned" 1>&6
9844 -cat >> confdefs.h <<EOF
9845 -#define SIZEOF_UNSIGNED $ac_cv_sizeof_unsigned
9847 +rm -f conftest.$ac_objext conftest.$ac_ext
9849 +echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
9850 +echo "${ECHO_T}$ac_cv_type_long" >&6
9852 +echo "$as_me:$LINENO: checking size of long" >&5
9853 +echo $ECHO_N "checking size of long... $ECHO_C" >&6
9854 +if test "${ac_cv_sizeof_long+set}" = set; then
9855 + echo $ECHO_N "(cached) $ECHO_C" >&6
9857 + if test "$ac_cv_type_long" = yes; then
9858 + # The cast to unsigned long works around a bug in the HP C Compiler
9859 + # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9860 + # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
9861 + # This bug is HP SR number 8606223364.
9862 + if test "$cross_compiling" = yes; then
9863 + # Depending upon the size, compute the lo and hi bounds.
9864 +cat >conftest.$ac_ext <<_ACEOF
9865 +#line $LINENO "configure"
9868 +cat confdefs.h >>conftest.$ac_ext
9869 +cat >>conftest.$ac_ext <<_ACEOF
9870 +/* end confdefs.h. */
9871 +$ac_includes_default
9875 +static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
9878 -echo $ac_n "checking size of long""... $ac_c" 1>&6
9879 -echo "configure:2476: checking size of long" >&5
9880 -if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
9881 - echo $ac_n "(cached) $ac_c" 1>&6
9886 +rm -f conftest.$ac_objext
9887 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9888 + (eval $ac_compile) 2>&5
9890 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9891 + (exit $ac_status); } &&
9892 + { ac_try='test -s conftest.$ac_objext'
9893 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9894 + (eval $ac_try) 2>&5
9896 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9897 + (exit $ac_status); }; }; then
9900 + cat >conftest.$ac_ext <<_ACEOF
9901 +#line $LINENO "configure"
9904 +cat confdefs.h >>conftest.$ac_ext
9905 +cat >>conftest.$ac_ext <<_ACEOF
9906 +/* end confdefs.h. */
9907 +$ac_includes_default
9911 +static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
9918 +rm -f conftest.$ac_objext
9919 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9920 + (eval $ac_compile) 2>&5
9922 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9923 + (exit $ac_status); } &&
9924 + { ac_try='test -s conftest.$ac_objext'
9925 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9926 + (eval $ac_try) 2>&5
9928 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9929 + (exit $ac_status); }; }; then
9930 + ac_hi=$ac_mid; break
9932 + echo "$as_me: failed program was:" >&5
9933 +sed 's/^/| /' conftest.$ac_ext >&5
9935 +ac_lo=`expr $ac_mid + 1`
9936 + if test $ac_lo -le $ac_mid; then
9940 + ac_mid=`expr 2 '*' $ac_mid + 1`
9942 +rm -f conftest.$ac_objext conftest.$ac_ext
9945 + echo "$as_me: failed program was:" >&5
9946 +sed 's/^/| /' conftest.$ac_ext >&5
9948 +cat >conftest.$ac_ext <<_ACEOF
9949 +#line $LINENO "configure"
9952 +cat confdefs.h >>conftest.$ac_ext
9953 +cat >>conftest.$ac_ext <<_ACEOF
9954 +/* end confdefs.h. */
9955 +$ac_includes_default
9959 +static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
9966 +rm -f conftest.$ac_objext
9967 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9968 + (eval $ac_compile) 2>&5
9970 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9971 + (exit $ac_status); } &&
9972 + { ac_try='test -s conftest.$ac_objext'
9973 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9974 + (eval $ac_try) 2>&5
9976 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9977 + (exit $ac_status); }; }; then
9978 + ac_hi=-1 ac_mid=-1
9980 + cat >conftest.$ac_ext <<_ACEOF
9981 +#line $LINENO "configure"
9984 +cat confdefs.h >>conftest.$ac_ext
9985 +cat >>conftest.$ac_ext <<_ACEOF
9986 +/* end confdefs.h. */
9987 +$ac_includes_default
9991 +static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
9998 +rm -f conftest.$ac_objext
9999 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10000 + (eval $ac_compile) 2>&5
10002 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10003 + (exit $ac_status); } &&
10004 + { ac_try='test -s conftest.$ac_objext'
10005 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10006 + (eval $ac_try) 2>&5
10008 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10009 + (exit $ac_status); }; }; then
10010 + ac_lo=$ac_mid; break
10012 + echo "$as_me: failed program was:" >&5
10013 +sed 's/^/| /' conftest.$ac_ext >&5
10015 +ac_hi=`expr '(' $ac_mid ')' - 1`
10016 + if test $ac_mid -le $ac_hi; then
10020 + ac_mid=`expr 2 '*' $ac_mid`
10022 +rm -f conftest.$ac_objext conftest.$ac_ext
10025 + echo "$as_me: failed program was:" >&5
10026 +sed 's/^/| /' conftest.$ac_ext >&5
10030 +rm -f conftest.$ac_objext conftest.$ac_ext
10032 +rm -f conftest.$ac_objext conftest.$ac_ext
10033 +# Binary search between lo and hi bounds.
10034 +while test "x$ac_lo" != "x$ac_hi"; do
10035 + ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
10036 + cat >conftest.$ac_ext <<_ACEOF
10037 +#line $LINENO "configure"
10040 +cat confdefs.h >>conftest.$ac_ext
10041 +cat >>conftest.$ac_ext <<_ACEOF
10042 +/* end confdefs.h. */
10043 +$ac_includes_default
10047 +static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
10048 +test_array [0] = 0
10054 +rm -f conftest.$ac_objext
10055 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10056 + (eval $ac_compile) 2>&5
10058 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10059 + (exit $ac_status); } &&
10060 + { ac_try='test -s conftest.$ac_objext'
10061 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10062 + (eval $ac_try) 2>&5
10064 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10065 + (exit $ac_status); }; }; then
10068 + echo "$as_me: failed program was:" >&5
10069 +sed 's/^/| /' conftest.$ac_ext >&5
10071 +ac_lo=`expr '(' $ac_mid ')' + 1`
10073 +rm -f conftest.$ac_objext conftest.$ac_ext
10076 +?*) ac_cv_sizeof_long=$ac_lo;;
10077 +'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
10078 +See \`config.log' for more details." >&5
10079 +echo "$as_me: error: cannot compute sizeof (long), 77
10080 +See \`config.log' for more details." >&2;}
10081 + { (exit 1); exit 1; }; } ;;
10084 if test "$cross_compiling" = yes; then
10085 - ac_cv_sizeof_long="$default_int"
10086 + { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
10087 +See \`config.log' for more details." >&5
10088 +echo "$as_me: error: cannot run test program while cross compiling
10089 +See \`config.log' for more details." >&2;}
10090 + { (exit 1); exit 1; }; }
10092 - cat > conftest.$ac_ext <<EOF
10093 -#line 2484 "configure"
10094 -#include "confdefs.h"
10095 + cat >conftest.$ac_ext <<_ACEOF
10096 +#line $LINENO "configure"
10099 +cat confdefs.h >>conftest.$ac_ext
10100 +cat >>conftest.$ac_ext <<_ACEOF
10101 +/* end confdefs.h. */
10102 +$ac_includes_default
10103 +long longval () { return (long) (sizeof (long)); }
10104 +unsigned long ulongval () { return (long) (sizeof (long)); }
10107 +#include <stdlib.h>
10111 - FILE *f=fopen("conftestval", "w");
10113 - fprintf(f, "%d\n", sizeof(long));
10116 + FILE *f = fopen ("conftest.val", "w");
10119 + if (((long) (sizeof (long))) < 0)
10121 + long i = longval ();
10122 + if (i != ((long) (sizeof (long))))
10124 + fprintf (f, "%ld\n", i);
10128 + unsigned long i = ulongval ();
10129 + if (i != ((long) (sizeof (long))))
10131 + fprintf (f, "%lu\n", i);
10133 + exit (ferror (f) || fclose (f) != 0);
10139 -if { (eval echo configure:2495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10141 - ac_cv_sizeof_long=`cat conftestval`
10143 +rm -f conftest$ac_exeext
10144 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10145 + (eval $ac_link) 2>&5
10147 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10148 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10149 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10150 + (eval $ac_try) 2>&5
10152 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10153 + (exit $ac_status); }; }; then
10154 + ac_cv_sizeof_long=`cat conftest.val`
10156 + echo "$as_me: program exited with status $ac_status" >&5
10157 +echo "$as_me: failed program was:" >&5
10158 +sed 's/^/| /' conftest.$ac_ext >&5
10160 +( exit $ac_status )
10161 +{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
10162 +See \`config.log' for more details." >&5
10163 +echo "$as_me: error: cannot compute sizeof (long), 77
10164 +See \`config.log' for more details." >&2;}
10165 + { (exit 1); exit 1; }; }
10167 +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10170 +rm -f conftest.val
10172 - echo "configure: failed program was:" >&5
10173 - cat conftest.$ac_ext >&5
10175 ac_cv_sizeof_long=0
10179 +echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
10180 +echo "${ECHO_T}$ac_cv_sizeof_long" >&6
10181 +cat >>confdefs.h <<_ACEOF
10182 +#define SIZEOF_LONG $ac_cv_sizeof_long
10186 +echo "$as_me:$LINENO: checking for unsigned long" >&5
10187 +echo $ECHO_N "checking for unsigned long... $ECHO_C" >&6
10188 +if test "${ac_cv_type_unsigned_long+set}" = set; then
10189 + echo $ECHO_N "(cached) $ECHO_C" >&6
10191 + cat >conftest.$ac_ext <<_ACEOF
10192 +#line $LINENO "configure"
10195 +cat confdefs.h >>conftest.$ac_ext
10196 +cat >>conftest.$ac_ext <<_ACEOF
10197 +/* end confdefs.h. */
10198 +$ac_includes_default
10202 +if ((unsigned long *) 0)
10204 +if (sizeof (unsigned long))
10210 +rm -f conftest.$ac_objext
10211 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10212 + (eval $ac_compile) 2>&5
10214 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10215 + (exit $ac_status); } &&
10216 + { ac_try='test -s conftest.$ac_objext'
10217 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10218 + (eval $ac_try) 2>&5
10220 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10221 + (exit $ac_status); }; }; then
10222 + ac_cv_type_unsigned_long=yes
10224 + echo "$as_me: failed program was:" >&5
10225 +sed 's/^/| /' conftest.$ac_ext >&5
10227 +ac_cv_type_unsigned_long=no
10229 -echo "$ac_t""$ac_cv_sizeof_long" 1>&6
10230 -cat >> confdefs.h <<EOF
10231 -#define SIZEOF_LONG $ac_cv_sizeof_long
10233 +rm -f conftest.$ac_objext conftest.$ac_ext
10235 +echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long" >&5
10236 +echo "${ECHO_T}$ac_cv_type_unsigned_long" >&6
10238 +echo "$as_me:$LINENO: checking size of unsigned long" >&5
10239 +echo $ECHO_N "checking size of unsigned long... $ECHO_C" >&6
10240 +if test "${ac_cv_sizeof_unsigned_long+set}" = set; then
10241 + echo $ECHO_N "(cached) $ECHO_C" >&6
10243 + if test "$ac_cv_type_unsigned_long" = yes; then
10244 + # The cast to unsigned long works around a bug in the HP C Compiler
10245 + # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
10246 + # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
10247 + # This bug is HP SR number 8606223364.
10248 + if test "$cross_compiling" = yes; then
10249 + # Depending upon the size, compute the lo and hi bounds.
10250 +cat >conftest.$ac_ext <<_ACEOF
10251 +#line $LINENO "configure"
10254 +cat confdefs.h >>conftest.$ac_ext
10255 +cat >>conftest.$ac_ext <<_ACEOF
10256 +/* end confdefs.h. */
10257 +$ac_includes_default
10261 +static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) >= 0)];
10262 +test_array [0] = 0
10264 -echo $ac_n "checking size of unsigned long""... $ac_c" 1>&6
10265 -echo "configure:2515: checking size of unsigned long" >&5
10266 -if eval "test \"`echo '$''{'ac_cv_sizeof_unsigned_long'+set}'`\" = set"; then
10267 - echo $ac_n "(cached) $ac_c" 1>&6
10272 +rm -f conftest.$ac_objext
10273 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10274 + (eval $ac_compile) 2>&5
10276 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10277 + (exit $ac_status); } &&
10278 + { ac_try='test -s conftest.$ac_objext'
10279 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10280 + (eval $ac_try) 2>&5
10282 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10283 + (exit $ac_status); }; }; then
10286 + cat >conftest.$ac_ext <<_ACEOF
10287 +#line $LINENO "configure"
10290 +cat confdefs.h >>conftest.$ac_ext
10291 +cat >>conftest.$ac_ext <<_ACEOF
10292 +/* end confdefs.h. */
10293 +$ac_includes_default
10297 +static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) <= $ac_mid)];
10298 +test_array [0] = 0
10304 +rm -f conftest.$ac_objext
10305 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10306 + (eval $ac_compile) 2>&5
10308 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10309 + (exit $ac_status); } &&
10310 + { ac_try='test -s conftest.$ac_objext'
10311 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10312 + (eval $ac_try) 2>&5
10314 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10315 + (exit $ac_status); }; }; then
10316 + ac_hi=$ac_mid; break
10318 + echo "$as_me: failed program was:" >&5
10319 +sed 's/^/| /' conftest.$ac_ext >&5
10321 +ac_lo=`expr $ac_mid + 1`
10322 + if test $ac_lo -le $ac_mid; then
10326 + ac_mid=`expr 2 '*' $ac_mid + 1`
10328 +rm -f conftest.$ac_objext conftest.$ac_ext
10331 + echo "$as_me: failed program was:" >&5
10332 +sed 's/^/| /' conftest.$ac_ext >&5
10334 +cat >conftest.$ac_ext <<_ACEOF
10335 +#line $LINENO "configure"
10338 +cat confdefs.h >>conftest.$ac_ext
10339 +cat >>conftest.$ac_ext <<_ACEOF
10340 +/* end confdefs.h. */
10341 +$ac_includes_default
10345 +static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) < 0)];
10346 +test_array [0] = 0
10352 +rm -f conftest.$ac_objext
10353 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10354 + (eval $ac_compile) 2>&5
10356 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10357 + (exit $ac_status); } &&
10358 + { ac_try='test -s conftest.$ac_objext'
10359 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10360 + (eval $ac_try) 2>&5
10362 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10363 + (exit $ac_status); }; }; then
10364 + ac_hi=-1 ac_mid=-1
10366 + cat >conftest.$ac_ext <<_ACEOF
10367 +#line $LINENO "configure"
10370 +cat confdefs.h >>conftest.$ac_ext
10371 +cat >>conftest.$ac_ext <<_ACEOF
10372 +/* end confdefs.h. */
10373 +$ac_includes_default
10377 +static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) >= $ac_mid)];
10378 +test_array [0] = 0
10384 +rm -f conftest.$ac_objext
10385 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10386 + (eval $ac_compile) 2>&5
10388 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10389 + (exit $ac_status); } &&
10390 + { ac_try='test -s conftest.$ac_objext'
10391 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10392 + (eval $ac_try) 2>&5
10394 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10395 + (exit $ac_status); }; }; then
10396 + ac_lo=$ac_mid; break
10398 + echo "$as_me: failed program was:" >&5
10399 +sed 's/^/| /' conftest.$ac_ext >&5
10401 +ac_hi=`expr '(' $ac_mid ')' - 1`
10402 + if test $ac_mid -le $ac_hi; then
10406 + ac_mid=`expr 2 '*' $ac_mid`
10408 +rm -f conftest.$ac_objext conftest.$ac_ext
10411 + echo "$as_me: failed program was:" >&5
10412 +sed 's/^/| /' conftest.$ac_ext >&5
10416 +rm -f conftest.$ac_objext conftest.$ac_ext
10418 +rm -f conftest.$ac_objext conftest.$ac_ext
10419 +# Binary search between lo and hi bounds.
10420 +while test "x$ac_lo" != "x$ac_hi"; do
10421 + ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
10422 + cat >conftest.$ac_ext <<_ACEOF
10423 +#line $LINENO "configure"
10426 +cat confdefs.h >>conftest.$ac_ext
10427 +cat >>conftest.$ac_ext <<_ACEOF
10428 +/* end confdefs.h. */
10429 +$ac_includes_default
10433 +static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) <= $ac_mid)];
10434 +test_array [0] = 0
10440 +rm -f conftest.$ac_objext
10441 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10442 + (eval $ac_compile) 2>&5
10444 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10445 + (exit $ac_status); } &&
10446 + { ac_try='test -s conftest.$ac_objext'
10447 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10448 + (eval $ac_try) 2>&5
10450 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10451 + (exit $ac_status); }; }; then
10454 + echo "$as_me: failed program was:" >&5
10455 +sed 's/^/| /' conftest.$ac_ext >&5
10457 +ac_lo=`expr '(' $ac_mid ')' + 1`
10459 +rm -f conftest.$ac_objext conftest.$ac_ext
10462 +?*) ac_cv_sizeof_unsigned_long=$ac_lo;;
10463 +'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long), 77
10464 +See \`config.log' for more details." >&5
10465 +echo "$as_me: error: cannot compute sizeof (unsigned long), 77
10466 +See \`config.log' for more details." >&2;}
10467 + { (exit 1); exit 1; }; } ;;
10470 if test "$cross_compiling" = yes; then
10471 - ac_cv_sizeof_unsigned_long="$default_int"
10472 + { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
10473 +See \`config.log' for more details." >&5
10474 +echo "$as_me: error: cannot run test program while cross compiling
10475 +See \`config.log' for more details." >&2;}
10476 + { (exit 1); exit 1; }; }
10478 - cat > conftest.$ac_ext <<EOF
10479 -#line 2523 "configure"
10480 -#include "confdefs.h"
10481 + cat >conftest.$ac_ext <<_ACEOF
10482 +#line $LINENO "configure"
10485 +cat confdefs.h >>conftest.$ac_ext
10486 +cat >>conftest.$ac_ext <<_ACEOF
10487 +/* end confdefs.h. */
10488 +$ac_includes_default
10489 +long longval () { return (long) (sizeof (unsigned long)); }
10490 +unsigned long ulongval () { return (long) (sizeof (unsigned long)); }
10493 +#include <stdlib.h>
10497 - FILE *f=fopen("conftestval", "w");
10499 - fprintf(f, "%d\n", sizeof(unsigned long));
10502 + FILE *f = fopen ("conftest.val", "w");
10505 + if (((long) (sizeof (unsigned long))) < 0)
10507 + long i = longval ();
10508 + if (i != ((long) (sizeof (unsigned long))))
10510 + fprintf (f, "%ld\n", i);
10514 + unsigned long i = ulongval ();
10515 + if (i != ((long) (sizeof (unsigned long))))
10517 + fprintf (f, "%lu\n", i);
10519 + exit (ferror (f) || fclose (f) != 0);
10525 -if { (eval echo configure:2534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10527 - ac_cv_sizeof_unsigned_long=`cat conftestval`
10529 +rm -f conftest$ac_exeext
10530 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10531 + (eval $ac_link) 2>&5
10533 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10534 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10535 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10536 + (eval $ac_try) 2>&5
10538 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10539 + (exit $ac_status); }; }; then
10540 + ac_cv_sizeof_unsigned_long=`cat conftest.val`
10542 - echo "configure: failed program was:" >&5
10543 - cat conftest.$ac_ext >&5
10545 - ac_cv_sizeof_unsigned_long=0
10546 + echo "$as_me: program exited with status $ac_status" >&5
10547 +echo "$as_me: failed program was:" >&5
10548 +sed 's/^/| /' conftest.$ac_ext >&5
10550 +( exit $ac_status )
10551 +{ { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long), 77
10552 +See \`config.log' for more details." >&5
10553 +echo "$as_me: error: cannot compute sizeof (unsigned long), 77
10554 +See \`config.log' for more details." >&2;}
10555 + { (exit 1); exit 1; }; }
10558 +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10562 -echo "$ac_t""$ac_cv_sizeof_unsigned_long" 1>&6
10563 -cat >> confdefs.h <<EOF
10564 +rm -f conftest.val
10566 + ac_cv_sizeof_unsigned_long=0
10569 +echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long" >&5
10570 +echo "${ECHO_T}$ac_cv_sizeof_unsigned_long" >&6
10571 +cat >>confdefs.h <<_ACEOF
10572 #define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
10577 -echo $ac_n "checking for big endian""... $ac_c" 1>&6
10578 -echo "configure:2554: checking for big endian" >&5
10579 -if eval "test \"`echo '$''{'ac_cv_big_endian'+set}'`\" = set"; then
10580 - echo $ac_n "(cached) $ac_c" 1>&6
10581 +echo "$as_me:$LINENO: checking for big endian" >&5
10582 +echo $ECHO_N "checking for big endian... $ECHO_C" >&6
10583 +if test "${ac_cv_big_endian+set}" = set; then
10584 + echo $ECHO_N "(cached) $ECHO_C" >&6
10586 if test "$cross_compiling" = yes; then
10587 ac_cv_big_endian=no
10589 - cat > conftest.$ac_ext <<EOF
10590 -#line 2562 "configure"
10591 -#include "confdefs.h"
10592 + cat >conftest.$ac_ext <<_ACEOF
10593 +#line $LINENO "configure"
10596 +cat confdefs.h >>conftest.$ac_ext
10597 +cat >>conftest.$ac_ext <<_ACEOF
10598 +/* end confdefs.h. */
10601 char *c = (char *)&l;
10602 @@ -2568,35 +8795,49 @@
10604 return !(c[sizeof(long) - 1] == 0x78 && c[sizeof(long) - 2] == 0x56 && c[sizeof(long) - 3] == 0x34 && c[sizeof(long) - 4] == 0x12);
10608 -if { (eval echo configure:2574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10612 +rm -f conftest$ac_exeext
10613 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10614 + (eval $ac_link) 2>&5
10616 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10617 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10618 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10619 + (eval $ac_try) 2>&5
10621 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10622 + (exit $ac_status); }; }; then
10623 ac_cv_big_endian=yes
10625 - echo "configure: failed program was:" >&5
10626 - cat conftest.$ac_ext >&5
10628 - ac_cv_big_endian=no
10629 + echo "$as_me: program exited with status $ac_status" >&5
10630 +echo "$as_me: failed program was:" >&5
10631 +sed 's/^/| /' conftest.$ac_ext >&5
10633 +( exit $ac_status )
10634 +ac_cv_big_endian=no
10637 +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10643 -echo "$ac_t""$ac_cv_big_endian" 1>&6
10644 -echo $ac_n "checking for little endian""... $ac_c" 1>&6
10645 -echo "configure:2591: checking for little endian" >&5
10646 -if eval "test \"`echo '$''{'ac_cv_little_endian'+set}'`\" = set"; then
10647 - echo $ac_n "(cached) $ac_c" 1>&6
10648 +echo "$as_me:$LINENO: result: $ac_cv_big_endian" >&5
10649 +echo "${ECHO_T}$ac_cv_big_endian" >&6
10650 +echo "$as_me:$LINENO: checking for little endian" >&5
10651 +echo $ECHO_N "checking for little endian... $ECHO_C" >&6
10652 +if test "${ac_cv_little_endian+set}" = set; then
10653 + echo $ECHO_N "(cached) $ECHO_C" >&6
10655 if test "$cross_compiling" = yes; then
10656 ac_cv_little_endian="$ac_cv_have_emx"
10658 - cat > conftest.$ac_ext <<EOF
10659 -#line 2599 "configure"
10660 -#include "confdefs.h"
10661 + cat >conftest.$ac_ext <<_ACEOF
10662 +#line $LINENO "configure"
10665 +cat confdefs.h >>conftest.$ac_ext
10666 +cat >>conftest.$ac_ext <<_ACEOF
10667 +/* end confdefs.h. */
10670 char *c = (char *)&l;
10671 @@ -2605,133 +8846,194 @@
10673 return !(c[0] == 0x78 && c[1] == 0x56 && c[2] == 0x34 && c[3] == 0x12);
10677 -if { (eval echo configure:2611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10681 +rm -f conftest$ac_exeext
10682 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10683 + (eval $ac_link) 2>&5
10685 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10686 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10687 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10688 + (eval $ac_try) 2>&5
10690 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10691 + (exit $ac_status); }; }; then
10692 ac_cv_little_endian=yes
10694 - echo "configure: failed program was:" >&5
10695 - cat conftest.$ac_ext >&5
10697 - ac_cv_little_endian=no
10698 + echo "$as_me: program exited with status $ac_status" >&5
10699 +echo "$as_me: failed program was:" >&5
10700 +sed 's/^/| /' conftest.$ac_ext >&5
10702 +( exit $ac_status )
10703 +ac_cv_little_endian=no
10706 +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10711 +echo "$as_me:$LINENO: result: $ac_cv_little_endian" >&5
10712 +echo "${ECHO_T}$ac_cv_little_endian" >&6
10716 -echo "$ac_t""$ac_cv_little_endian" 1>&6
10718 if test "$ac_cv_big_endian" = yes; then
10719 - cat >> confdefs.h <<\EOF
10720 -#define AC_BIG_ENDIAN 1
10722 + cat >>confdefs.h <<\_ACEOF
10726 else if test "$ac_cv_little_endian" = yes; then
10727 - cat >> confdefs.h <<\EOF
10728 -#define AC_LITTLE_ENDIAN 1
10730 + cat >>confdefs.h <<\_ACEOF
10737 -if test $ac_cv_prog_gcc = yes; then
10738 - echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
10739 -echo "configure:2643: checking whether ${CC-cc} needs -traditional" >&5
10740 -if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
10741 - echo $ac_n "(cached) $ac_c" 1>&6
10742 +if test $ac_cv_c_compiler_gnu = yes; then
10743 + echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
10744 +echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
10745 +if test "${ac_cv_prog_gcc_traditional+set}" = set; then
10746 + echo $ECHO_N "(cached) $ECHO_C" >&6
10748 ac_pattern="Autoconf.*'x'"
10749 - cat > conftest.$ac_ext <<EOF
10750 -#line 2649 "configure"
10751 -#include "confdefs.h"
10752 + cat >conftest.$ac_ext <<_ACEOF
10753 +#line $LINENO "configure"
10756 +cat confdefs.h >>conftest.$ac_ext
10757 +cat >>conftest.$ac_ext <<_ACEOF
10758 +/* end confdefs.h. */
10763 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10764 - egrep "$ac_pattern" >/dev/null 2>&1; then
10766 + $EGREP "$ac_pattern" >/dev/null 2>&1; then
10767 ac_cv_prog_gcc_traditional=yes
10770 ac_cv_prog_gcc_traditional=no
10775 if test $ac_cv_prog_gcc_traditional = no; then
10776 - cat > conftest.$ac_ext <<EOF
10777 -#line 2667 "configure"
10778 -#include "confdefs.h"
10779 + cat >conftest.$ac_ext <<_ACEOF
10780 +#line $LINENO "configure"
10783 +cat confdefs.h >>conftest.$ac_ext
10784 +cat >>conftest.$ac_ext <<_ACEOF
10785 +/* end confdefs.h. */
10786 #include <termio.h>
10790 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10791 - egrep "$ac_pattern" >/dev/null 2>&1; then
10793 + $EGREP "$ac_pattern" >/dev/null 2>&1; then
10794 ac_cv_prog_gcc_traditional=yes
10801 -echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
10802 +echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
10803 +echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
10804 if test $ac_cv_prog_gcc_traditional = yes; then
10805 CC="$CC -traditional"
10809 -echo $ac_n "checking for 8-bit clean memcmp""... $ac_c" 1>&6
10810 -echo "configure:2689: checking for 8-bit clean memcmp" >&5
10811 -if eval "test \"`echo '$''{'ac_cv_func_memcmp_clean'+set}'`\" = set"; then
10812 - echo $ac_n "(cached) $ac_c" 1>&6
10813 +echo "$as_me:$LINENO: checking for working memcmp" >&5
10814 +echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
10815 +if test "${ac_cv_func_memcmp_working+set}" = set; then
10816 + echo $ECHO_N "(cached) $ECHO_C" >&6
10818 if test "$cross_compiling" = yes; then
10819 - ac_cv_func_memcmp_clean=no
10820 + ac_cv_func_memcmp_working=no
10822 - cat > conftest.$ac_ext <<EOF
10823 -#line 2697 "configure"
10824 -#include "confdefs.h"
10825 + cat >conftest.$ac_ext <<_ACEOF
10826 +#line $LINENO "configure"
10829 +cat confdefs.h >>conftest.$ac_ext
10830 +cat >>conftest.$ac_ext <<_ACEOF
10831 +/* end confdefs.h. */
10838 + /* Some versions of memcmp are not 8-bit clean. */
10839 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
10840 - exit(memcmp(&c0, &c2, 1) < 0 && memcmp(&c1, &c2, 1) < 0 ? 0 : 1);
10842 + if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
10846 -if { (eval echo configure:2707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10848 - ac_cv_func_memcmp_clean=yes
10849 + /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
10850 + or more and with at least one buffer not starting on a 4-byte boundary.
10851 + William Lewis provided this test program. */
10856 + for (i = 0; i < 4; i++)
10858 + char *a = foo + i;
10859 + char *b = bar + i;
10860 + strcpy (a, "--------01111111");
10861 + strcpy (b, "--------10000000");
10862 + if (memcmp (a, b, 16) >= 0)
10872 +rm -f conftest$ac_exeext
10873 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10874 + (eval $ac_link) 2>&5
10876 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10877 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10878 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10879 + (eval $ac_try) 2>&5
10881 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10882 + (exit $ac_status); }; }; then
10883 + ac_cv_func_memcmp_working=yes
10885 - echo "configure: failed program was:" >&5
10886 - cat conftest.$ac_ext >&5
10888 - ac_cv_func_memcmp_clean=no
10889 + echo "$as_me: program exited with status $ac_status" >&5
10890 +echo "$as_me: failed program was:" >&5
10891 +sed 's/^/| /' conftest.$ac_ext >&5
10893 +( exit $ac_status )
10894 +ac_cv_func_memcmp_working=no
10897 +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10901 +echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
10902 +echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
10903 +test $ac_cv_func_memcmp_working = no && LIBOBJS="$LIBOBJS memcmp.$ac_objext"
10905 -echo "$ac_t""$ac_cv_func_memcmp_clean" 1>&6
10906 -test $ac_cv_func_memcmp_clean = no && LIBOBJS="$LIBOBJS memcmp.${ac_objext}"
10908 -echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
10909 -echo "configure:2725: checking return type of signal handlers" >&5
10910 -if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
10911 - echo $ac_n "(cached) $ac_c" 1>&6
10912 +echo "$as_me:$LINENO: checking return type of signal handlers" >&5
10913 +echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
10914 +if test "${ac_cv_type_signal+set}" = set; then
10915 + echo $ECHO_N "(cached) $ECHO_C" >&6
10917 - cat > conftest.$ac_ext <<EOF
10918 -#line 2730 "configure"
10919 -#include "confdefs.h"
10920 + cat >conftest.$ac_ext <<_ACEOF
10921 +#line $LINENO "configure"
10924 +cat confdefs.h >>conftest.$ac_ext
10925 +cat >>conftest.$ac_ext <<_ACEOF
10926 +/* end confdefs.h. */
10927 #include <sys/types.h>
10928 #include <signal.h>
10934 extern "C" void (*signal (int, void (*)(int)))(int);
10935 @@ -2739,1144 +9041,1737 @@
10936 void (*signal ()) ();
10946 -if { (eval echo configure:2747: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10952 +rm -f conftest.$ac_objext
10953 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10954 + (eval $ac_compile) 2>&5
10956 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10957 + (exit $ac_status); } &&
10958 + { ac_try='test -s conftest.$ac_objext'
10959 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10960 + (eval $ac_try) 2>&5
10962 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10963 + (exit $ac_status); }; }; then
10964 ac_cv_type_signal=void
10966 - echo "configure: failed program was:" >&5
10967 - cat conftest.$ac_ext >&5
10969 - ac_cv_type_signal=int
10970 + echo "$as_me: failed program was:" >&5
10971 +sed 's/^/| /' conftest.$ac_ext >&5
10973 +ac_cv_type_signal=int
10976 +rm -f conftest.$ac_objext conftest.$ac_ext
10978 +echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
10979 +echo "${ECHO_T}$ac_cv_type_signal" >&6
10981 -echo "$ac_t""$ac_cv_type_signal" 1>&6
10982 -cat >> confdefs.h <<EOF
10983 +cat >>confdefs.h <<_ACEOF
10984 #define RETSIGTYPE $ac_cv_type_signal
10989 -echo $ac_n "checking for strftime""... $ac_c" 1>&6
10990 -echo "configure:2766: checking for strftime" >&5
10991 -if eval "test \"`echo '$''{'ac_cv_func_strftime'+set}'`\" = set"; then
10992 - echo $ac_n "(cached) $ac_c" 1>&6
10994 +for ac_func in strftime
10996 +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10997 +echo "$as_me:$LINENO: checking for $ac_func" >&5
10998 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10999 +if eval "test \"\${$as_ac_var+set}\" = set"; then
11000 + echo $ECHO_N "(cached) $ECHO_C" >&6
11002 - cat > conftest.$ac_ext <<EOF
11003 -#line 2771 "configure"
11004 -#include "confdefs.h"
11005 + cat >conftest.$ac_ext <<_ACEOF
11006 +#line $LINENO "configure"
11009 +cat confdefs.h >>conftest.$ac_ext
11010 +cat >>conftest.$ac_ext <<_ACEOF
11011 +/* end confdefs.h. */
11012 /* System header to define __stub macros and hopefully few prototypes,
11013 - which can conflict with char strftime(); below. */
11014 -#include <assert.h>
11015 + which can conflict with char $ac_func (); below.
11016 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11017 + <limits.h> exists even on freestanding compilers. */
11019 +# include <limits.h>
11021 +# include <assert.h>
11023 /* Override any gcc2 internal prototype to avoid an error. */
11024 +#ifdef __cplusplus
11028 /* We use char because int might match the return type of a gcc2
11029 - builtin and then its argument prototype would still apply. */
11034 + builtin and then its argument prototype would still apply. */
11036 /* The GNU C library defines this for functions which it implements
11037 to always fail with ENOSYS. Some functions are actually named
11038 something starting with __ and the normal name is an alias. */
11039 -#if defined (__stub_strftime) || defined (__stub___strftime)
11040 +#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11044 +char (*f) () = $ac_func;
11046 +#ifdef __cplusplus
11052 -if { (eval echo configure:2794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11054 - eval "ac_cv_func_strftime=yes"
11058 +return f != $ac_func;
11063 +rm -f conftest.$ac_objext conftest$ac_exeext
11064 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11065 + (eval $ac_link) 2>&5
11067 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11068 + (exit $ac_status); } &&
11069 + { ac_try='test -s conftest$ac_exeext'
11070 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11071 + (eval $ac_try) 2>&5
11073 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11074 + (exit $ac_status); }; }; then
11075 + eval "$as_ac_var=yes"
11077 - echo "configure: failed program was:" >&5
11078 - cat conftest.$ac_ext >&5
11080 - eval "ac_cv_func_strftime=no"
11081 + echo "$as_me: failed program was:" >&5
11082 +sed 's/^/| /' conftest.$ac_ext >&5
11084 +eval "$as_ac_var=no"
11087 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11090 -if eval "test \"`echo '$ac_cv_func_'strftime`\" = yes"; then
11091 - echo "$ac_t""yes" 1>&6
11092 - cat >> confdefs.h <<\EOF
11093 -#define HAVE_STRFTIME 1
11095 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11096 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11097 +if test `eval echo '${'$as_ac_var'}'` = yes; then
11098 + cat >>confdefs.h <<_ACEOF
11099 +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11103 - echo "$ac_t""no" 1>&6
11104 -# strftime is in -lintl on SCO UNIX.
11105 -echo $ac_n "checking for strftime in -lintl""... $ac_c" 1>&6
11106 -echo "configure:2816: checking for strftime in -lintl" >&5
11107 -ac_lib_var=`echo intl'_'strftime | sed 'y%./+-%__p_%'`
11108 -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11109 - echo $ac_n "(cached) $ac_c" 1>&6
11110 + # strftime is in -lintl on SCO UNIX.
11111 +echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
11112 +echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6
11113 +if test "${ac_cv_lib_intl_strftime+set}" = set; then
11114 + echo $ECHO_N "(cached) $ECHO_C" >&6
11116 - ac_save_LIBS="$LIBS"
11117 + ac_check_lib_save_LIBS=$LIBS
11118 LIBS="-lintl $LIBS"
11119 -cat > conftest.$ac_ext <<EOF
11120 -#line 2824 "configure"
11121 -#include "confdefs.h"
11122 +cat >conftest.$ac_ext <<_ACEOF
11123 +#line $LINENO "configure"
11126 +cat confdefs.h >>conftest.$ac_ext
11127 +cat >>conftest.$ac_ext <<_ACEOF
11128 +/* end confdefs.h. */
11130 /* Override any gcc2 internal prototype to avoid an error. */
11131 +#ifdef __cplusplus
11134 /* We use char because int might match the return type of a gcc2
11135 - builtin and then its argument prototype would still apply. */
11142 -if { (eval echo configure:2835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11144 - eval "ac_cv_lib_$ac_lib_var=yes"
11145 + builtin and then its argument prototype would still apply. */
11155 +rm -f conftest.$ac_objext conftest$ac_exeext
11156 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11157 + (eval $ac_link) 2>&5
11159 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11160 + (exit $ac_status); } &&
11161 + { ac_try='test -s conftest$ac_exeext'
11162 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11163 + (eval $ac_try) 2>&5
11165 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11166 + (exit $ac_status); }; }; then
11167 + ac_cv_lib_intl_strftime=yes
11169 - echo "configure: failed program was:" >&5
11170 - cat conftest.$ac_ext >&5
11172 - eval "ac_cv_lib_$ac_lib_var=no"
11175 -LIBS="$ac_save_LIBS"
11176 + echo "$as_me: failed program was:" >&5
11177 +sed 's/^/| /' conftest.$ac_ext >&5
11179 +ac_cv_lib_intl_strftime=no
11181 -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11182 - echo "$ac_t""yes" 1>&6
11183 - cat >> confdefs.h <<\EOF
11184 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11185 +LIBS=$ac_check_lib_save_LIBS
11187 +echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
11188 +echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6
11189 +if test $ac_cv_lib_intl_strftime = yes; then
11190 + cat >>confdefs.h <<\_ACEOF
11191 #define HAVE_STRFTIME 1
11195 LIBS="-lintl $LIBS"
11197 - echo "$ac_t""no" 1>&6
11203 -echo $ac_n "checking for vprintf""... $ac_c" 1>&6
11204 -echo "configure:2862: checking for vprintf" >&5
11205 -if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
11206 - echo $ac_n "(cached) $ac_c" 1>&6
11208 +for ac_func in vprintf
11210 +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11211 +echo "$as_me:$LINENO: checking for $ac_func" >&5
11212 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11213 +if eval "test \"\${$as_ac_var+set}\" = set"; then
11214 + echo $ECHO_N "(cached) $ECHO_C" >&6
11216 - cat > conftest.$ac_ext <<EOF
11217 -#line 2867 "configure"
11218 -#include "confdefs.h"
11219 + cat >conftest.$ac_ext <<_ACEOF
11220 +#line $LINENO "configure"
11223 +cat confdefs.h >>conftest.$ac_ext
11224 +cat >>conftest.$ac_ext <<_ACEOF
11225 +/* end confdefs.h. */
11226 /* System header to define __stub macros and hopefully few prototypes,
11227 - which can conflict with char vprintf(); below. */
11228 -#include <assert.h>
11229 + which can conflict with char $ac_func (); below.
11230 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11231 + <limits.h> exists even on freestanding compilers. */
11233 +# include <limits.h>
11235 +# include <assert.h>
11237 /* Override any gcc2 internal prototype to avoid an error. */
11238 +#ifdef __cplusplus
11242 /* We use char because int might match the return type of a gcc2
11243 - builtin and then its argument prototype would still apply. */
11248 + builtin and then its argument prototype would still apply. */
11250 /* The GNU C library defines this for functions which it implements
11251 to always fail with ENOSYS. Some functions are actually named
11252 something starting with __ and the normal name is an alias. */
11253 -#if defined (__stub_vprintf) || defined (__stub___vprintf)
11254 +#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11258 +char (*f) () = $ac_func;
11260 +#ifdef __cplusplus
11266 -if { (eval echo configure:2890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11268 - eval "ac_cv_func_vprintf=yes"
11272 +return f != $ac_func;
11277 +rm -f conftest.$ac_objext conftest$ac_exeext
11278 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11279 + (eval $ac_link) 2>&5
11281 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11282 + (exit $ac_status); } &&
11283 + { ac_try='test -s conftest$ac_exeext'
11284 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11285 + (eval $ac_try) 2>&5
11287 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11288 + (exit $ac_status); }; }; then
11289 + eval "$as_ac_var=yes"
11291 - echo "configure: failed program was:" >&5
11292 - cat conftest.$ac_ext >&5
11294 - eval "ac_cv_func_vprintf=no"
11299 -if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
11300 - echo "$ac_t""yes" 1>&6
11301 - cat >> confdefs.h <<\EOF
11302 -#define HAVE_VPRINTF 1
11304 + echo "$as_me: failed program was:" >&5
11305 +sed 's/^/| /' conftest.$ac_ext >&5
11308 - echo "$ac_t""no" 1>&6
11309 +eval "$as_ac_var=no"
11311 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11313 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11314 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11315 +if test `eval echo '${'$as_ac_var'}'` = yes; then
11316 + cat >>confdefs.h <<_ACEOF
11317 +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11320 -if test "$ac_cv_func_vprintf" != yes; then
11321 -echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
11322 -echo "configure:2914: checking for _doprnt" >&5
11323 -if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
11324 - echo $ac_n "(cached) $ac_c" 1>&6
11325 +echo "$as_me:$LINENO: checking for _doprnt" >&5
11326 +echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
11327 +if test "${ac_cv_func__doprnt+set}" = set; then
11328 + echo $ECHO_N "(cached) $ECHO_C" >&6
11330 - cat > conftest.$ac_ext <<EOF
11331 -#line 2919 "configure"
11332 -#include "confdefs.h"
11333 + cat >conftest.$ac_ext <<_ACEOF
11334 +#line $LINENO "configure"
11337 +cat confdefs.h >>conftest.$ac_ext
11338 +cat >>conftest.$ac_ext <<_ACEOF
11339 +/* end confdefs.h. */
11340 /* System header to define __stub macros and hopefully few prototypes,
11341 - which can conflict with char _doprnt(); below. */
11342 -#include <assert.h>
11343 + which can conflict with char _doprnt (); below.
11344 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11345 + <limits.h> exists even on freestanding compilers. */
11347 +# include <limits.h>
11349 +# include <assert.h>
11351 /* Override any gcc2 internal prototype to avoid an error. */
11352 +#ifdef __cplusplus
11356 /* We use char because int might match the return type of a gcc2
11357 - builtin and then its argument prototype would still apply. */
11362 + builtin and then its argument prototype would still apply. */
11364 /* The GNU C library defines this for functions which it implements
11365 to always fail with ENOSYS. Some functions are actually named
11366 something starting with __ and the normal name is an alias. */
11367 #if defined (__stub__doprnt) || defined (__stub____doprnt)
11371 +char (*f) () = _doprnt;
11373 +#ifdef __cplusplus
11379 -if { (eval echo configure:2942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11381 - eval "ac_cv_func__doprnt=yes"
11385 +return f != _doprnt;
11390 +rm -f conftest.$ac_objext conftest$ac_exeext
11391 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11392 + (eval $ac_link) 2>&5
11394 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11395 + (exit $ac_status); } &&
11396 + { ac_try='test -s conftest$ac_exeext'
11397 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11398 + (eval $ac_try) 2>&5
11400 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11401 + (exit $ac_status); }; }; then
11402 + ac_cv_func__doprnt=yes
11404 - echo "configure: failed program was:" >&5
11405 - cat conftest.$ac_ext >&5
11407 - eval "ac_cv_func__doprnt=no"
11408 + echo "$as_me: failed program was:" >&5
11409 +sed 's/^/| /' conftest.$ac_ext >&5
11411 +ac_cv_func__doprnt=no
11414 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11416 +echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
11417 +echo "${ECHO_T}$ac_cv_func__doprnt" >&6
11418 +if test $ac_cv_func__doprnt = yes; then
11420 -if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
11421 - echo "$ac_t""yes" 1>&6
11422 - cat >> confdefs.h <<\EOF
11423 +cat >>confdefs.h <<\_ACEOF
11424 #define HAVE_DOPRNT 1
11429 - echo "$ac_t""no" 1>&6
11437 for ac_func in calloc
11439 -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11440 -echo "configure:2969: checking for $ac_func" >&5
11441 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11442 - echo $ac_n "(cached) $ac_c" 1>&6
11443 +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11444 +echo "$as_me:$LINENO: checking for $ac_func" >&5
11445 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11446 +if eval "test \"\${$as_ac_var+set}\" = set"; then
11447 + echo $ECHO_N "(cached) $ECHO_C" >&6
11449 - cat > conftest.$ac_ext <<EOF
11450 -#line 2974 "configure"
11451 -#include "confdefs.h"
11452 + cat >conftest.$ac_ext <<_ACEOF
11453 +#line $LINENO "configure"
11456 +cat confdefs.h >>conftest.$ac_ext
11457 +cat >>conftest.$ac_ext <<_ACEOF
11458 +/* end confdefs.h. */
11459 /* System header to define __stub macros and hopefully few prototypes,
11460 - which can conflict with char $ac_func(); below. */
11461 -#include <assert.h>
11462 + which can conflict with char $ac_func (); below.
11463 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11464 + <limits.h> exists even on freestanding compilers. */
11466 +# include <limits.h>
11468 +# include <assert.h>
11470 /* Override any gcc2 internal prototype to avoid an error. */
11471 +#ifdef __cplusplus
11475 /* We use char because int might match the return type of a gcc2
11476 - builtin and then its argument prototype would still apply. */
11481 + builtin and then its argument prototype would still apply. */
11483 /* The GNU C library defines this for functions which it implements
11484 to always fail with ENOSYS. Some functions are actually named
11485 something starting with __ and the normal name is an alias. */
11486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11490 +char (*f) () = $ac_func;
11492 +#ifdef __cplusplus
11498 -if { (eval echo configure:2997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11500 - eval "ac_cv_func_$ac_func=yes"
11504 +return f != $ac_func;
11509 +rm -f conftest.$ac_objext conftest$ac_exeext
11510 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11511 + (eval $ac_link) 2>&5
11513 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11514 + (exit $ac_status); } &&
11515 + { ac_try='test -s conftest$ac_exeext'
11516 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11517 + (eval $ac_try) 2>&5
11519 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11520 + (exit $ac_status); }; }; then
11521 + eval "$as_ac_var=yes"
11523 - echo "configure: failed program was:" >&5
11524 - cat conftest.$ac_ext >&5
11526 - eval "ac_cv_func_$ac_func=no"
11527 + echo "$as_me: failed program was:" >&5
11528 +sed 's/^/| /' conftest.$ac_ext >&5
11530 +eval "$as_ac_var=no"
11533 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11535 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11536 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11537 +if test `eval echo '${'$as_ac_var'}'` = yes; then
11538 + cat >>confdefs.h <<_ACEOF
11539 +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11542 -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11543 - echo "$ac_t""yes" 1>&6
11544 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11545 - cat >> confdefs.h <<EOF
11546 -#define $ac_tr_func 1
11550 - echo "$ac_t""no" 1>&6
11555 for ac_func in snprintf
11557 -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11558 -echo "configure:3024: checking for $ac_func" >&5
11559 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11560 - echo $ac_n "(cached) $ac_c" 1>&6
11561 +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11562 +echo "$as_me:$LINENO: checking for $ac_func" >&5
11563 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11564 +if eval "test \"\${$as_ac_var+set}\" = set"; then
11565 + echo $ECHO_N "(cached) $ECHO_C" >&6
11567 - cat > conftest.$ac_ext <<EOF
11568 -#line 3029 "configure"
11569 -#include "confdefs.h"
11570 + cat >conftest.$ac_ext <<_ACEOF
11571 +#line $LINENO "configure"
11574 +cat confdefs.h >>conftest.$ac_ext
11575 +cat >>conftest.$ac_ext <<_ACEOF
11576 +/* end confdefs.h. */
11577 /* System header to define __stub macros and hopefully few prototypes,
11578 - which can conflict with char $ac_func(); below. */
11579 -#include <assert.h>
11580 + which can conflict with char $ac_func (); below.
11581 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11582 + <limits.h> exists even on freestanding compilers. */
11584 +# include <limits.h>
11586 +# include <assert.h>
11588 /* Override any gcc2 internal prototype to avoid an error. */
11589 +#ifdef __cplusplus
11593 /* We use char because int might match the return type of a gcc2
11594 - builtin and then its argument prototype would still apply. */
11599 + builtin and then its argument prototype would still apply. */
11601 /* The GNU C library defines this for functions which it implements
11602 to always fail with ENOSYS. Some functions are actually named
11603 something starting with __ and the normal name is an alias. */
11604 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11608 +char (*f) () = $ac_func;
11610 +#ifdef __cplusplus
11616 -if { (eval echo configure:3052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11618 - eval "ac_cv_func_$ac_func=yes"
11622 +return f != $ac_func;
11627 +rm -f conftest.$ac_objext conftest$ac_exeext
11628 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11629 + (eval $ac_link) 2>&5
11631 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11632 + (exit $ac_status); } &&
11633 + { ac_try='test -s conftest$ac_exeext'
11634 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11635 + (eval $ac_try) 2>&5
11637 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11638 + (exit $ac_status); }; }; then
11639 + eval "$as_ac_var=yes"
11641 - echo "configure: failed program was:" >&5
11642 - cat conftest.$ac_ext >&5
11644 - eval "ac_cv_func_$ac_func=no"
11645 + echo "$as_me: failed program was:" >&5
11646 +sed 's/^/| /' conftest.$ac_ext >&5
11648 +eval "$as_ac_var=no"
11651 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11653 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11654 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11655 +if test `eval echo '${'$as_ac_var'}'` = yes; then
11656 + cat >>confdefs.h <<_ACEOF
11657 +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11660 -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11661 - echo "$ac_t""yes" 1>&6
11662 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11663 - cat >> confdefs.h <<EOF
11664 -#define $ac_tr_func 1
11668 - echo "$ac_t""no" 1>&6
11682 for ac_func in gettimeofday mkdir select strcspn strerror strstr strtol strtoul alarm chmod
11684 -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11685 -echo "configure:3079: checking for $ac_func" >&5
11686 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11687 - echo $ac_n "(cached) $ac_c" 1>&6
11688 +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11689 +echo "$as_me:$LINENO: checking for $ac_func" >&5
11690 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11691 +if eval "test \"\${$as_ac_var+set}\" = set"; then
11692 + echo $ECHO_N "(cached) $ECHO_C" >&6
11694 - cat > conftest.$ac_ext <<EOF
11695 -#line 3084 "configure"
11696 -#include "confdefs.h"
11697 + cat >conftest.$ac_ext <<_ACEOF
11698 +#line $LINENO "configure"
11701 +cat confdefs.h >>conftest.$ac_ext
11702 +cat >>conftest.$ac_ext <<_ACEOF
11703 +/* end confdefs.h. */
11704 /* System header to define __stub macros and hopefully few prototypes,
11705 - which can conflict with char $ac_func(); below. */
11706 -#include <assert.h>
11707 + which can conflict with char $ac_func (); below.
11708 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11709 + <limits.h> exists even on freestanding compilers. */
11711 +# include <limits.h>
11713 +# include <assert.h>
11715 /* Override any gcc2 internal prototype to avoid an error. */
11716 +#ifdef __cplusplus
11720 /* We use char because int might match the return type of a gcc2
11721 - builtin and then its argument prototype would still apply. */
11726 + builtin and then its argument prototype would still apply. */
11728 /* The GNU C library defines this for functions which it implements
11729 to always fail with ENOSYS. Some functions are actually named
11730 something starting with __ and the normal name is an alias. */
11731 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11735 +char (*f) () = $ac_func;
11737 +#ifdef __cplusplus
11743 -if { (eval echo configure:3107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11745 - eval "ac_cv_func_$ac_func=yes"
11749 +return f != $ac_func;
11754 +rm -f conftest.$ac_objext conftest$ac_exeext
11755 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11756 + (eval $ac_link) 2>&5
11758 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11759 + (exit $ac_status); } &&
11760 + { ac_try='test -s conftest$ac_exeext'
11761 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11762 + (eval $ac_try) 2>&5
11764 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11765 + (exit $ac_status); }; }; then
11766 + eval "$as_ac_var=yes"
11768 - echo "configure: failed program was:" >&5
11769 - cat conftest.$ac_ext >&5
11771 - eval "ac_cv_func_$ac_func=no"
11772 + echo "$as_me: failed program was:" >&5
11773 +sed 's/^/| /' conftest.$ac_ext >&5
11775 +eval "$as_ac_var=no"
11778 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11780 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11781 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11782 +if test `eval echo '${'$as_ac_var'}'` = yes; then
11783 + cat >>confdefs.h <<_ACEOF
11784 +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11787 -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11788 - echo "$ac_t""yes" 1>&6
11789 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11790 - cat >> confdefs.h <<EOF
11791 -#define $ac_tr_func 1
11795 - echo "$ac_t""no" 1>&6
11804 for ac_func in getpid setpgid getpgid setpgrp getpgrp
11806 -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11807 -echo "configure:3134: checking for $ac_func" >&5
11808 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11809 - echo $ac_n "(cached) $ac_c" 1>&6
11810 +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11811 +echo "$as_me:$LINENO: checking for $ac_func" >&5
11812 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11813 +if eval "test \"\${$as_ac_var+set}\" = set"; then
11814 + echo $ECHO_N "(cached) $ECHO_C" >&6
11816 - cat > conftest.$ac_ext <<EOF
11817 -#line 3139 "configure"
11818 -#include "confdefs.h"
11819 + cat >conftest.$ac_ext <<_ACEOF
11820 +#line $LINENO "configure"
11823 +cat confdefs.h >>conftest.$ac_ext
11824 +cat >>conftest.$ac_ext <<_ACEOF
11825 +/* end confdefs.h. */
11826 /* System header to define __stub macros and hopefully few prototypes,
11827 - which can conflict with char $ac_func(); below. */
11828 -#include <assert.h>
11829 + which can conflict with char $ac_func (); below.
11830 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11831 + <limits.h> exists even on freestanding compilers. */
11833 +# include <limits.h>
11835 +# include <assert.h>
11837 /* Override any gcc2 internal prototype to avoid an error. */
11838 +#ifdef __cplusplus
11842 /* We use char because int might match the return type of a gcc2
11843 - builtin and then its argument prototype would still apply. */
11848 + builtin and then its argument prototype would still apply. */
11850 /* The GNU C library defines this for functions which it implements
11851 to always fail with ENOSYS. Some functions are actually named
11852 something starting with __ and the normal name is an alias. */
11853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11857 +char (*f) () = $ac_func;
11859 +#ifdef __cplusplus
11865 -if { (eval echo configure:3162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11867 - eval "ac_cv_func_$ac_func=yes"
11871 +return f != $ac_func;
11876 +rm -f conftest.$ac_objext conftest$ac_exeext
11877 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11878 + (eval $ac_link) 2>&5
11880 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11881 + (exit $ac_status); } &&
11882 + { ac_try='test -s conftest$ac_exeext'
11883 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11884 + (eval $ac_try) 2>&5
11886 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11887 + (exit $ac_status); }; }; then
11888 + eval "$as_ac_var=yes"
11890 - echo "configure: failed program was:" >&5
11891 - cat conftest.$ac_ext >&5
11893 - eval "ac_cv_func_$ac_func=no"
11894 + echo "$as_me: failed program was:" >&5
11895 +sed 's/^/| /' conftest.$ac_ext >&5
11897 +eval "$as_ac_var=no"
11900 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11902 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11903 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11904 +if test `eval echo '${'$as_ac_var'}'` = yes; then
11905 + cat >>confdefs.h <<_ACEOF
11906 +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11909 -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11910 - echo "$ac_t""yes" 1>&6
11911 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11912 - cat >> confdefs.h <<EOF
11913 -#define $ac_tr_func 1
11917 - echo "$ac_t""no" 1>&6
11922 for ac_func in popen
11924 -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11925 -echo "configure:3189: checking for $ac_func" >&5
11926 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11927 - echo $ac_n "(cached) $ac_c" 1>&6
11928 +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11929 +echo "$as_me:$LINENO: checking for $ac_func" >&5
11930 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11931 +if eval "test \"\${$as_ac_var+set}\" = set"; then
11932 + echo $ECHO_N "(cached) $ECHO_C" >&6
11934 - cat > conftest.$ac_ext <<EOF
11935 -#line 3194 "configure"
11936 -#include "confdefs.h"
11937 + cat >conftest.$ac_ext <<_ACEOF
11938 +#line $LINENO "configure"
11941 +cat confdefs.h >>conftest.$ac_ext
11942 +cat >>conftest.$ac_ext <<_ACEOF
11943 +/* end confdefs.h. */
11944 /* System header to define __stub macros and hopefully few prototypes,
11945 - which can conflict with char $ac_func(); below. */
11946 -#include <assert.h>
11947 + which can conflict with char $ac_func (); below.
11948 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11949 + <limits.h> exists even on freestanding compilers. */
11951 +# include <limits.h>
11953 +# include <assert.h>
11955 /* Override any gcc2 internal prototype to avoid an error. */
11956 +#ifdef __cplusplus
11960 /* We use char because int might match the return type of a gcc2
11961 - builtin and then its argument prototype would still apply. */
11966 + builtin and then its argument prototype would still apply. */
11968 /* The GNU C library defines this for functions which it implements
11969 to always fail with ENOSYS. Some functions are actually named
11970 something starting with __ and the normal name is an alias. */
11971 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11975 +char (*f) () = $ac_func;
11977 +#ifdef __cplusplus
11983 -if { (eval echo configure:3217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11985 - eval "ac_cv_func_$ac_func=yes"
11989 +return f != $ac_func;
11994 +rm -f conftest.$ac_objext conftest$ac_exeext
11995 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11996 + (eval $ac_link) 2>&5
11998 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11999 + (exit $ac_status); } &&
12000 + { ac_try='test -s conftest$ac_exeext'
12001 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12002 + (eval $ac_try) 2>&5
12004 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12005 + (exit $ac_status); }; }; then
12006 + eval "$as_ac_var=yes"
12008 - echo "configure: failed program was:" >&5
12009 - cat conftest.$ac_ext >&5
12011 - eval "ac_cv_func_$ac_func=no"
12012 + echo "$as_me: failed program was:" >&5
12013 +sed 's/^/| /' conftest.$ac_ext >&5
12015 +eval "$as_ac_var=no"
12018 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12020 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12021 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12022 +if test `eval echo '${'$as_ac_var'}'` = yes; then
12023 + cat >>confdefs.h <<_ACEOF
12024 +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12027 -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12028 - echo "$ac_t""yes" 1>&6
12029 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12030 - cat >> confdefs.h <<EOF
12031 -#define $ac_tr_func 1
12035 - echo "$ac_t""no" 1>&6
12040 for ac_func in uname
12042 -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12043 -echo "configure:3244: checking for $ac_func" >&5
12044 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12045 - echo $ac_n "(cached) $ac_c" 1>&6
12046 +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12047 +echo "$as_me:$LINENO: checking for $ac_func" >&5
12048 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12049 +if eval "test \"\${$as_ac_var+set}\" = set"; then
12050 + echo $ECHO_N "(cached) $ECHO_C" >&6
12052 - cat > conftest.$ac_ext <<EOF
12053 -#line 3249 "configure"
12054 -#include "confdefs.h"
12055 + cat >conftest.$ac_ext <<_ACEOF
12056 +#line $LINENO "configure"
12059 +cat confdefs.h >>conftest.$ac_ext
12060 +cat >>conftest.$ac_ext <<_ACEOF
12061 +/* end confdefs.h. */
12062 /* System header to define __stub macros and hopefully few prototypes,
12063 - which can conflict with char $ac_func(); below. */
12064 -#include <assert.h>
12065 + which can conflict with char $ac_func (); below.
12066 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12067 + <limits.h> exists even on freestanding compilers. */
12069 +# include <limits.h>
12071 +# include <assert.h>
12073 /* Override any gcc2 internal prototype to avoid an error. */
12074 +#ifdef __cplusplus
12078 /* We use char because int might match the return type of a gcc2
12079 - builtin and then its argument prototype would still apply. */
12084 + builtin and then its argument prototype would still apply. */
12086 /* The GNU C library defines this for functions which it implements
12087 to always fail with ENOSYS. Some functions are actually named
12088 something starting with __ and the normal name is an alias. */
12089 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12093 +char (*f) () = $ac_func;
12095 +#ifdef __cplusplus
12101 -if { (eval echo configure:3272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12103 - eval "ac_cv_func_$ac_func=yes"
12107 +return f != $ac_func;
12112 +rm -f conftest.$ac_objext conftest$ac_exeext
12113 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12114 + (eval $ac_link) 2>&5
12116 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12117 + (exit $ac_status); } &&
12118 + { ac_try='test -s conftest$ac_exeext'
12119 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12120 + (eval $ac_try) 2>&5
12122 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12123 + (exit $ac_status); }; }; then
12124 + eval "$as_ac_var=yes"
12126 - echo "configure: failed program was:" >&5
12127 - cat conftest.$ac_ext >&5
12129 - eval "ac_cv_func_$ac_func=no"
12130 + echo "$as_me: failed program was:" >&5
12131 +sed 's/^/| /' conftest.$ac_ext >&5
12133 +eval "$as_ac_var=no"
12136 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12138 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12139 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12140 +if test `eval echo '${'$as_ac_var'}'` = yes; then
12141 + cat >>confdefs.h <<_ACEOF
12142 +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12145 -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12146 - echo "$ac_t""yes" 1>&6
12147 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12148 - cat >> confdefs.h <<EOF
12149 -#define $ac_tr_func 1
12153 - echo "$ac_t""no" 1>&6
12158 for ac_func in strptime
12160 -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12161 -echo "configure:3299: checking for $ac_func" >&5
12162 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12163 - echo $ac_n "(cached) $ac_c" 1>&6
12164 +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12165 +echo "$as_me:$LINENO: checking for $ac_func" >&5
12166 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12167 +if eval "test \"\${$as_ac_var+set}\" = set"; then
12168 + echo $ECHO_N "(cached) $ECHO_C" >&6
12170 - cat > conftest.$ac_ext <<EOF
12171 -#line 3304 "configure"
12172 -#include "confdefs.h"
12173 + cat >conftest.$ac_ext <<_ACEOF
12174 +#line $LINENO "configure"
12177 +cat confdefs.h >>conftest.$ac_ext
12178 +cat >>conftest.$ac_ext <<_ACEOF
12179 +/* end confdefs.h. */
12180 /* System header to define __stub macros and hopefully few prototypes,
12181 - which can conflict with char $ac_func(); below. */
12182 -#include <assert.h>
12183 + which can conflict with char $ac_func (); below.
12184 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12185 + <limits.h> exists even on freestanding compilers. */
12187 +# include <limits.h>
12189 +# include <assert.h>
12191 /* Override any gcc2 internal prototype to avoid an error. */
12192 +#ifdef __cplusplus
12196 /* We use char because int might match the return type of a gcc2
12197 - builtin and then its argument prototype would still apply. */
12202 + builtin and then its argument prototype would still apply. */
12204 /* The GNU C library defines this for functions which it implements
12205 to always fail with ENOSYS. Some functions are actually named
12206 something starting with __ and the normal name is an alias. */
12207 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12211 +char (*f) () = $ac_func;
12213 +#ifdef __cplusplus
12219 -if { (eval echo configure:3327: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12221 - eval "ac_cv_func_$ac_func=yes"
12225 +return f != $ac_func;
12230 +rm -f conftest.$ac_objext conftest$ac_exeext
12231 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12232 + (eval $ac_link) 2>&5
12234 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12235 + (exit $ac_status); } &&
12236 + { ac_try='test -s conftest$ac_exeext'
12237 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12238 + (eval $ac_try) 2>&5
12240 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12241 + (exit $ac_status); }; }; then
12242 + eval "$as_ac_var=yes"
12244 - echo "configure: failed program was:" >&5
12245 - cat conftest.$ac_ext >&5
12247 - eval "ac_cv_func_$ac_func=no"
12248 + echo "$as_me: failed program was:" >&5
12249 +sed 's/^/| /' conftest.$ac_ext >&5
12251 +eval "$as_ac_var=no"
12254 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12256 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12257 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12258 +if test `eval echo '${'$as_ac_var'}'` = yes; then
12259 + cat >>confdefs.h <<_ACEOF
12260 +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12263 -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12264 - echo "$ac_t""yes" 1>&6
12265 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12266 - cat >> confdefs.h <<EOF
12267 -#define $ac_tr_func 1
12271 - echo "$ac_t""no" 1>&6
12276 for ac_func in setlocale
12278 -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12279 -echo "configure:3354: checking for $ac_func" >&5
12280 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12281 - echo $ac_n "(cached) $ac_c" 1>&6
12282 +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12283 +echo "$as_me:$LINENO: checking for $ac_func" >&5
12284 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12285 +if eval "test \"\${$as_ac_var+set}\" = set"; then
12286 + echo $ECHO_N "(cached) $ECHO_C" >&6
12288 - cat > conftest.$ac_ext <<EOF
12289 -#line 3359 "configure"
12290 -#include "confdefs.h"
12291 + cat >conftest.$ac_ext <<_ACEOF
12292 +#line $LINENO "configure"
12295 +cat confdefs.h >>conftest.$ac_ext
12296 +cat >>conftest.$ac_ext <<_ACEOF
12297 +/* end confdefs.h. */
12298 /* System header to define __stub macros and hopefully few prototypes,
12299 - which can conflict with char $ac_func(); below. */
12300 -#include <assert.h>
12301 + which can conflict with char $ac_func (); below.
12302 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12303 + <limits.h> exists even on freestanding compilers. */
12305 +# include <limits.h>
12307 +# include <assert.h>
12309 /* Override any gcc2 internal prototype to avoid an error. */
12310 +#ifdef __cplusplus
12314 /* We use char because int might match the return type of a gcc2
12315 - builtin and then its argument prototype would still apply. */
12320 + builtin and then its argument prototype would still apply. */
12322 /* The GNU C library defines this for functions which it implements
12323 to always fail with ENOSYS. Some functions are actually named
12324 something starting with __ and the normal name is an alias. */
12325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12329 +char (*f) () = $ac_func;
12331 +#ifdef __cplusplus
12337 -if { (eval echo configure:3382: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12339 - eval "ac_cv_func_$ac_func=yes"
12343 +return f != $ac_func;
12348 +rm -f conftest.$ac_objext conftest$ac_exeext
12349 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12350 + (eval $ac_link) 2>&5
12352 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12353 + (exit $ac_status); } &&
12354 + { ac_try='test -s conftest$ac_exeext'
12355 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12356 + (eval $ac_try) 2>&5
12358 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12359 + (exit $ac_status); }; }; then
12360 + eval "$as_ac_var=yes"
12362 - echo "configure: failed program was:" >&5
12363 - cat conftest.$ac_ext >&5
12365 - eval "ac_cv_func_$ac_func=no"
12366 + echo "$as_me: failed program was:" >&5
12367 +sed 's/^/| /' conftest.$ac_ext >&5
12369 +eval "$as_ac_var=no"
12372 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12374 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12375 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12376 +if test `eval echo '${'$as_ac_var'}'` = yes; then
12377 + cat >>confdefs.h <<_ACEOF
12378 +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12381 -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12382 - echo "$ac_t""yes" 1>&6
12383 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12384 - cat >> confdefs.h <<EOF
12385 -#define $ac_tr_func 1
12389 - echo "$ac_t""no" 1>&6
12394 for ac_func in nl_langinfo
12396 -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12397 -echo "configure:3409: checking for $ac_func" >&5
12398 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12399 - echo $ac_n "(cached) $ac_c" 1>&6
12400 +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12401 +echo "$as_me:$LINENO: checking for $ac_func" >&5
12402 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12403 +if eval "test \"\${$as_ac_var+set}\" = set"; then
12404 + echo $ECHO_N "(cached) $ECHO_C" >&6
12406 - cat > conftest.$ac_ext <<EOF
12407 -#line 3414 "configure"
12408 -#include "confdefs.h"
12409 + cat >conftest.$ac_ext <<_ACEOF
12410 +#line $LINENO "configure"
12413 +cat confdefs.h >>conftest.$ac_ext
12414 +cat >>conftest.$ac_ext <<_ACEOF
12415 +/* end confdefs.h. */
12416 /* System header to define __stub macros and hopefully few prototypes,
12417 - which can conflict with char $ac_func(); below. */
12418 -#include <assert.h>
12419 + which can conflict with char $ac_func (); below.
12420 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12421 + <limits.h> exists even on freestanding compilers. */
12423 +# include <limits.h>
12425 +# include <assert.h>
12427 /* Override any gcc2 internal prototype to avoid an error. */
12428 +#ifdef __cplusplus
12432 /* We use char because int might match the return type of a gcc2
12433 - builtin and then its argument prototype would still apply. */
12438 + builtin and then its argument prototype would still apply. */
12440 /* The GNU C library defines this for functions which it implements
12441 to always fail with ENOSYS. Some functions are actually named
12442 something starting with __ and the normal name is an alias. */
12443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12447 +char (*f) () = $ac_func;
12449 +#ifdef __cplusplus
12455 -if { (eval echo configure:3437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12457 - eval "ac_cv_func_$ac_func=yes"
12461 +return f != $ac_func;
12466 +rm -f conftest.$ac_objext conftest$ac_exeext
12467 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12468 + (eval $ac_link) 2>&5
12470 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12471 + (exit $ac_status); } &&
12472 + { ac_try='test -s conftest$ac_exeext'
12473 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12474 + (eval $ac_try) 2>&5
12476 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12477 + (exit $ac_status); }; }; then
12478 + eval "$as_ac_var=yes"
12480 - echo "configure: failed program was:" >&5
12481 - cat conftest.$ac_ext >&5
12483 - eval "ac_cv_func_$ac_func=no"
12484 + echo "$as_me: failed program was:" >&5
12485 +sed 's/^/| /' conftest.$ac_ext >&5
12487 +eval "$as_ac_var=no"
12490 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12492 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12493 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12494 +if test `eval echo '${'$as_ac_var'}'` = yes; then
12495 + cat >>confdefs.h <<_ACEOF
12496 +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12499 -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12500 - echo "$ac_t""yes" 1>&6
12501 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12502 - cat >> confdefs.h <<EOF
12503 -#define $ac_tr_func 1
12507 - echo "$ac_t""no" 1>&6
12512 -echo $ac_n "checking for sigsetjmp/siglongjmp""... $ac_c" 1>&6
12513 -echo "configure:3463: checking for sigsetjmp/siglongjmp" >&5
12514 -if eval "test \"`echo '$''{'ac_cv_have_sigsetjmp'+set}'`\" = set"; then
12515 - echo $ac_n "(cached) $ac_c" 1>&6
12516 +echo "$as_me:$LINENO: checking for sigsetjmp/siglongjmp" >&5
12517 +echo $ECHO_N "checking for sigsetjmp/siglongjmp... $ECHO_C" >&6
12518 +if test "${ac_cv_have_sigsetjmp+set}" = set; then
12519 + echo $ECHO_N "(cached) $ECHO_C" >&6
12521 - cat > conftest.$ac_ext <<EOF
12522 -#line 3468 "configure"
12523 -#include "confdefs.h"
12524 + cat >conftest.$ac_ext <<_ACEOF
12525 +#line $LINENO "configure"
12528 +cat confdefs.h >>conftest.$ac_ext
12529 +cat >>conftest.$ac_ext <<_ACEOF
12530 +/* end confdefs.h. */
12531 #include <setjmp.h>
12536 sigjmp_buf env;sigsetjmp(env, 1);siglongjmp(env, 2);
12539 -if { (eval echo configure:3475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12545 +rm -f conftest.$ac_objext conftest$ac_exeext
12546 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12547 + (eval $ac_link) 2>&5
12549 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12550 + (exit $ac_status); } &&
12551 + { ac_try='test -s conftest$ac_exeext'
12552 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12553 + (eval $ac_try) 2>&5
12555 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12556 + (exit $ac_status); }; }; then
12557 ac_cv_have_sigsetjmp=yes
12559 - echo "configure: failed program was:" >&5
12560 - cat conftest.$ac_ext >&5
12562 - ac_cv_have_sigsetjmp=no
12565 + echo "$as_me: failed program was:" >&5
12566 +sed 's/^/| /' conftest.$ac_ext >&5
12568 +ac_cv_have_sigsetjmp=no
12570 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12572 -echo "$ac_t""$ac_cv_have_sigsetjmp" 1>&6
12574 +echo "$as_me:$LINENO: result: $ac_cv_have_sigsetjmp" >&5
12575 +echo "${ECHO_T}$ac_cv_have_sigsetjmp" >&6
12576 if test "$ac_cv_have_sigsetjmp" = yes; then
12577 - cat >> confdefs.h <<\EOF
12578 + cat >>confdefs.h <<\_ACEOF
12579 #define HAVE_SIGSETJMP 1
12585 -echo $ac_n "checking for atan in -lm""... $ac_c" 1>&6
12586 -echo "configure:3497: checking for atan in -lm" >&5
12587 -ac_lib_var=`echo m'_'atan | sed 'y%./+-%__p_%'`
12588 -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12589 - echo $ac_n "(cached) $ac_c" 1>&6
12591 +echo "$as_me:$LINENO: checking for atan in -lm" >&5
12592 +echo $ECHO_N "checking for atan in -lm... $ECHO_C" >&6
12593 +if test "${ac_cv_lib_m_atan+set}" = set; then
12594 + echo $ECHO_N "(cached) $ECHO_C" >&6
12596 - ac_save_LIBS="$LIBS"
12597 + ac_check_lib_save_LIBS=$LIBS
12599 -cat > conftest.$ac_ext <<EOF
12600 -#line 3505 "configure"
12601 -#include "confdefs.h"
12602 +cat >conftest.$ac_ext <<_ACEOF
12603 +#line $LINENO "configure"
12606 +cat confdefs.h >>conftest.$ac_ext
12607 +cat >>conftest.$ac_ext <<_ACEOF
12608 +/* end confdefs.h. */
12610 /* Override any gcc2 internal prototype to avoid an error. */
12611 +#ifdef __cplusplus
12614 /* We use char because int might match the return type of a gcc2
12615 - builtin and then its argument prototype would still apply. */
12622 -if { (eval echo configure:3516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12624 - eval "ac_cv_lib_$ac_lib_var=yes"
12625 + builtin and then its argument prototype would still apply. */
12635 +rm -f conftest.$ac_objext conftest$ac_exeext
12636 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12637 + (eval $ac_link) 2>&5
12639 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12640 + (exit $ac_status); } &&
12641 + { ac_try='test -s conftest$ac_exeext'
12642 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12643 + (eval $ac_try) 2>&5
12645 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12646 + (exit $ac_status); }; }; then
12647 + ac_cv_lib_m_atan=yes
12649 - echo "configure: failed program was:" >&5
12650 - cat conftest.$ac_ext >&5
12652 - eval "ac_cv_lib_$ac_lib_var=no"
12655 -LIBS="$ac_save_LIBS"
12656 + echo "$as_me: failed program was:" >&5
12657 +sed 's/^/| /' conftest.$ac_ext >&5
12659 +ac_cv_lib_m_atan=no
12661 -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12662 - echo "$ac_t""yes" 1>&6
12663 - ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
12664 - -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
12665 - cat >> confdefs.h <<EOF
12666 -#define $ac_tr_lib 1
12668 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12669 +LIBS=$ac_check_lib_save_LIBS
12671 +echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan" >&5
12672 +echo "${ECHO_T}$ac_cv_lib_m_atan" >&6
12673 +if test $ac_cv_lib_m_atan = yes; then
12674 + cat >>confdefs.h <<_ACEOF
12675 +#define HAVE_LIBM 1
12681 - echo "$ac_t""no" 1>&6
12685 -echo $ac_n "checking for socket""... $ac_c" 1>&6
12686 -echo "configure:3545: checking for socket" >&5
12687 -if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
12688 - echo $ac_n "(cached) $ac_c" 1>&6
12689 +echo "$as_me:$LINENO: checking for socket" >&5
12690 +echo $ECHO_N "checking for socket... $ECHO_C" >&6
12691 +if test "${ac_cv_func_socket+set}" = set; then
12692 + echo $ECHO_N "(cached) $ECHO_C" >&6
12694 - cat > conftest.$ac_ext <<EOF
12695 -#line 3550 "configure"
12696 -#include "confdefs.h"
12697 + cat >conftest.$ac_ext <<_ACEOF
12698 +#line $LINENO "configure"
12701 +cat confdefs.h >>conftest.$ac_ext
12702 +cat >>conftest.$ac_ext <<_ACEOF
12703 +/* end confdefs.h. */
12704 /* System header to define __stub macros and hopefully few prototypes,
12705 - which can conflict with char socket(); below. */
12706 -#include <assert.h>
12707 + which can conflict with char socket (); below.
12708 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12709 + <limits.h> exists even on freestanding compilers. */
12711 +# include <limits.h>
12713 +# include <assert.h>
12715 /* Override any gcc2 internal prototype to avoid an error. */
12716 +#ifdef __cplusplus
12720 /* We use char because int might match the return type of a gcc2
12721 - builtin and then its argument prototype would still apply. */
12726 + builtin and then its argument prototype would still apply. */
12728 /* The GNU C library defines this for functions which it implements
12729 to always fail with ENOSYS. Some functions are actually named
12730 something starting with __ and the normal name is an alias. */
12731 #if defined (__stub_socket) || defined (__stub___socket)
12735 +char (*f) () = socket;
12737 +#ifdef __cplusplus
12743 -if { (eval echo configure:3573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12745 - eval "ac_cv_func_socket=yes"
12749 +return f != socket;
12754 +rm -f conftest.$ac_objext conftest$ac_exeext
12755 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12756 + (eval $ac_link) 2>&5
12758 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12759 + (exit $ac_status); } &&
12760 + { ac_try='test -s conftest$ac_exeext'
12761 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12762 + (eval $ac_try) 2>&5
12764 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12765 + (exit $ac_status); }; }; then
12766 + ac_cv_func_socket=yes
12768 - echo "configure: failed program was:" >&5
12769 - cat conftest.$ac_ext >&5
12771 - eval "ac_cv_func_socket=no"
12772 + echo "$as_me: failed program was:" >&5
12773 +sed 's/^/| /' conftest.$ac_ext >&5
12775 +ac_cv_func_socket=no
12778 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12781 -if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
12782 - echo "$ac_t""yes" 1>&6
12783 +echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
12784 +echo "${ECHO_T}$ac_cv_func_socket" >&6
12785 +if test $ac_cv_func_socket = yes; then
12788 - echo "$ac_t""no" 1>&6
12793 if test "$cf_result" = no; then
12794 - echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
12795 -echo "configure:3595: checking for socket in -lsocket" >&5
12796 -ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`
12797 -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12798 - echo $ac_n "(cached) $ac_c" 1>&6
12800 +echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
12801 +echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
12802 +if test "${ac_cv_lib_socket_socket+set}" = set; then
12803 + echo $ECHO_N "(cached) $ECHO_C" >&6
12805 - ac_save_LIBS="$LIBS"
12806 + ac_check_lib_save_LIBS=$LIBS
12807 LIBS="-lsocket $LIBS"
12808 -cat > conftest.$ac_ext <<EOF
12809 -#line 3603 "configure"
12810 -#include "confdefs.h"
12811 +cat >conftest.$ac_ext <<_ACEOF
12812 +#line $LINENO "configure"
12815 +cat confdefs.h >>conftest.$ac_ext
12816 +cat >>conftest.$ac_ext <<_ACEOF
12817 +/* end confdefs.h. */
12819 /* Override any gcc2 internal prototype to avoid an error. */
12820 +#ifdef __cplusplus
12823 /* We use char because int might match the return type of a gcc2
12824 - builtin and then its argument prototype would still apply. */
12831 -if { (eval echo configure:3614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12833 - eval "ac_cv_lib_$ac_lib_var=yes"
12834 + builtin and then its argument prototype would still apply. */
12844 +rm -f conftest.$ac_objext conftest$ac_exeext
12845 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12846 + (eval $ac_link) 2>&5
12848 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12849 + (exit $ac_status); } &&
12850 + { ac_try='test -s conftest$ac_exeext'
12851 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12852 + (eval $ac_try) 2>&5
12854 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12855 + (exit $ac_status); }; }; then
12856 + ac_cv_lib_socket_socket=yes
12858 - echo "configure: failed program was:" >&5
12859 - cat conftest.$ac_ext >&5
12861 - eval "ac_cv_lib_$ac_lib_var=no"
12864 -LIBS="$ac_save_LIBS"
12865 + echo "$as_me: failed program was:" >&5
12866 +sed 's/^/| /' conftest.$ac_ext >&5
12868 +ac_cv_lib_socket_socket=no
12870 -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12871 - echo "$ac_t""yes" 1>&6
12872 - ac_tr_lib=HAVE_LIB`echo socket | sed -e 's/[^a-zA-Z0-9_]/_/g' \
12873 - -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
12874 - cat >> confdefs.h <<EOF
12875 -#define $ac_tr_lib 1
12877 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12878 +LIBS=$ac_check_lib_save_LIBS
12880 +echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
12881 +echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
12882 +if test $ac_cv_lib_socket_socket = yes; then
12883 + cat >>confdefs.h <<_ACEOF
12884 +#define HAVE_LIBSOCKET 1
12887 LIBS="-lsocket $LIBS"
12890 - echo "$ac_t""no" 1>&6
12894 -echo $ac_n "checking for setsockopt""... $ac_c" 1>&6
12895 -echo "configure:3643: checking for setsockopt" >&5
12896 -if eval "test \"`echo '$''{'ac_cv_func_setsockopt'+set}'`\" = set"; then
12897 - echo $ac_n "(cached) $ac_c" 1>&6
12898 +echo "$as_me:$LINENO: checking for setsockopt" >&5
12899 +echo $ECHO_N "checking for setsockopt... $ECHO_C" >&6
12900 +if test "${ac_cv_func_setsockopt+set}" = set; then
12901 + echo $ECHO_N "(cached) $ECHO_C" >&6
12903 - cat > conftest.$ac_ext <<EOF
12904 -#line 3648 "configure"
12905 -#include "confdefs.h"
12906 + cat >conftest.$ac_ext <<_ACEOF
12907 +#line $LINENO "configure"
12910 +cat confdefs.h >>conftest.$ac_ext
12911 +cat >>conftest.$ac_ext <<_ACEOF
12912 +/* end confdefs.h. */
12913 /* System header to define __stub macros and hopefully few prototypes,
12914 - which can conflict with char setsockopt(); below. */
12915 -#include <assert.h>
12916 + which can conflict with char setsockopt (); below.
12917 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12918 + <limits.h> exists even on freestanding compilers. */
12920 +# include <limits.h>
12922 +# include <assert.h>
12924 /* Override any gcc2 internal prototype to avoid an error. */
12925 +#ifdef __cplusplus
12929 /* We use char because int might match the return type of a gcc2
12930 - builtin and then its argument prototype would still apply. */
12931 -char setsockopt();
12935 + builtin and then its argument prototype would still apply. */
12936 +char setsockopt ();
12937 /* The GNU C library defines this for functions which it implements
12938 to always fail with ENOSYS. Some functions are actually named
12939 something starting with __ and the normal name is an alias. */
12940 #if defined (__stub_setsockopt) || defined (__stub___setsockopt)
12944 +char (*f) () = setsockopt;
12946 +#ifdef __cplusplus
12952 -if { (eval echo configure:3671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12954 - eval "ac_cv_func_setsockopt=yes"
12958 +return f != setsockopt;
12963 +rm -f conftest.$ac_objext conftest$ac_exeext
12964 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12965 + (eval $ac_link) 2>&5
12967 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12968 + (exit $ac_status); } &&
12969 + { ac_try='test -s conftest$ac_exeext'
12970 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12971 + (eval $ac_try) 2>&5
12973 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12974 + (exit $ac_status); }; }; then
12975 + ac_cv_func_setsockopt=yes
12977 - echo "configure: failed program was:" >&5
12978 - cat conftest.$ac_ext >&5
12980 - eval "ac_cv_func_setsockopt=no"
12981 + echo "$as_me: failed program was:" >&5
12982 +sed 's/^/| /' conftest.$ac_ext >&5
12984 +ac_cv_func_setsockopt=no
12987 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12990 -if eval "test \"`echo '$ac_cv_func_'setsockopt`\" = yes"; then
12991 - echo "$ac_t""yes" 1>&6
12992 +echo "$as_me:$LINENO: result: $ac_cv_func_setsockopt" >&5
12993 +echo "${ECHO_T}$ac_cv_func_setsockopt" >&6
12994 +if test $ac_cv_func_setsockopt = yes; then
12997 - echo "$ac_t""no" 1>&6
13002 if test "$cf_result" = no; then
13003 - echo $ac_n "checking for setsockopt in -lsocket""... $ac_c" 1>&6
13004 -echo "configure:3693: checking for setsockopt in -lsocket" >&5
13005 -ac_lib_var=`echo socket'_'setsockopt | sed 'y%./+-%__p_%'`
13006 -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13007 - echo $ac_n "(cached) $ac_c" 1>&6
13009 +echo "$as_me:$LINENO: checking for setsockopt in -lsocket" >&5
13010 +echo $ECHO_N "checking for setsockopt in -lsocket... $ECHO_C" >&6
13011 +if test "${ac_cv_lib_socket_setsockopt+set}" = set; then
13012 + echo $ECHO_N "(cached) $ECHO_C" >&6
13014 - ac_save_LIBS="$LIBS"
13015 + ac_check_lib_save_LIBS=$LIBS
13016 LIBS="-lsocket $LIBS"
13017 -cat > conftest.$ac_ext <<EOF
13018 -#line 3701 "configure"
13019 -#include "confdefs.h"
13020 +cat >conftest.$ac_ext <<_ACEOF
13021 +#line $LINENO "configure"
13024 +cat confdefs.h >>conftest.$ac_ext
13025 +cat >>conftest.$ac_ext <<_ACEOF
13026 +/* end confdefs.h. */
13028 /* Override any gcc2 internal prototype to avoid an error. */
13029 +#ifdef __cplusplus
13032 /* We use char because int might match the return type of a gcc2
13033 - builtin and then its argument prototype would still apply. */
13034 -char setsockopt();
13040 -if { (eval echo configure:3712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13042 - eval "ac_cv_lib_$ac_lib_var=yes"
13043 + builtin and then its argument prototype would still apply. */
13044 +char setsockopt ();
13053 +rm -f conftest.$ac_objext conftest$ac_exeext
13054 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13055 + (eval $ac_link) 2>&5
13057 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13058 + (exit $ac_status); } &&
13059 + { ac_try='test -s conftest$ac_exeext'
13060 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13061 + (eval $ac_try) 2>&5
13063 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13064 + (exit $ac_status); }; }; then
13065 + ac_cv_lib_socket_setsockopt=yes
13067 - echo "configure: failed program was:" >&5
13068 - cat conftest.$ac_ext >&5
13070 - eval "ac_cv_lib_$ac_lib_var=no"
13073 -LIBS="$ac_save_LIBS"
13074 + echo "$as_me: failed program was:" >&5
13075 +sed 's/^/| /' conftest.$ac_ext >&5
13077 +ac_cv_lib_socket_setsockopt=no
13079 -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13080 - echo "$ac_t""yes" 1>&6
13081 - ac_tr_lib=HAVE_LIB`echo socket | sed -e 's/[^a-zA-Z0-9_]/_/g' \
13082 - -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
13083 - cat >> confdefs.h <<EOF
13084 -#define $ac_tr_lib 1
13086 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13087 +LIBS=$ac_check_lib_save_LIBS
13089 +echo "$as_me:$LINENO: result: $ac_cv_lib_socket_setsockopt" >&5
13090 +echo "${ECHO_T}$ac_cv_lib_socket_setsockopt" >&6
13091 +if test $ac_cv_lib_socket_setsockopt = yes; then
13092 + cat >>confdefs.h <<_ACEOF
13093 +#define HAVE_LIBSOCKET 1
13096 LIBS="-lsocket $LIBS"
13099 - echo "$ac_t""no" 1>&6
13104 #AC_MSG_CHECKING([for gethostbyname])
13105 -#AC_TRY_LINK([#include <netdb.h>], [gethostbyname("")], cf_result=yes, cf_result=no)
13106 +#AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <netdb.h>]], [[gethostbyname("")]])],[cf_result=yes],[cf_result=no])
13107 #AC_MSG_RESULT($cf_result)
13108 -echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
13109 -echo "configure:3745: checking for gethostbyname" >&5
13110 -if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
13111 - echo $ac_n "(cached) $ac_c" 1>&6
13112 +echo "$as_me:$LINENO: checking for gethostbyname" >&5
13113 +echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
13114 +if test "${ac_cv_func_gethostbyname+set}" = set; then
13115 + echo $ECHO_N "(cached) $ECHO_C" >&6
13117 - cat > conftest.$ac_ext <<EOF
13118 -#line 3750 "configure"
13119 -#include "confdefs.h"
13120 + cat >conftest.$ac_ext <<_ACEOF
13121 +#line $LINENO "configure"
13124 +cat confdefs.h >>conftest.$ac_ext
13125 +cat >>conftest.$ac_ext <<_ACEOF
13126 +/* end confdefs.h. */
13127 /* System header to define __stub macros and hopefully few prototypes,
13128 - which can conflict with char gethostbyname(); below. */
13129 -#include <assert.h>
13130 + which can conflict with char gethostbyname (); below.
13131 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13132 + <limits.h> exists even on freestanding compilers. */
13134 +# include <limits.h>
13136 +# include <assert.h>
13138 /* Override any gcc2 internal prototype to avoid an error. */
13139 +#ifdef __cplusplus
13143 /* We use char because int might match the return type of a gcc2
13144 - builtin and then its argument prototype would still apply. */
13145 -char gethostbyname();
13149 + builtin and then its argument prototype would still apply. */
13150 +char gethostbyname ();
13151 /* The GNU C library defines this for functions which it implements
13152 to always fail with ENOSYS. Some functions are actually named
13153 something starting with __ and the normal name is an alias. */
13154 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
13158 +char (*f) () = gethostbyname;
13160 +#ifdef __cplusplus
13166 -if { (eval echo configure:3773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13168 - eval "ac_cv_func_gethostbyname=yes"
13172 +return f != gethostbyname;
13177 +rm -f conftest.$ac_objext conftest$ac_exeext
13178 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13179 + (eval $ac_link) 2>&5
13181 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13182 + (exit $ac_status); } &&
13183 + { ac_try='test -s conftest$ac_exeext'
13184 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13185 + (eval $ac_try) 2>&5
13187 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13188 + (exit $ac_status); }; }; then
13189 + ac_cv_func_gethostbyname=yes
13191 - echo "configure: failed program was:" >&5
13192 - cat conftest.$ac_ext >&5
13194 - eval "ac_cv_func_gethostbyname=no"
13195 + echo "$as_me: failed program was:" >&5
13196 +sed 's/^/| /' conftest.$ac_ext >&5
13198 +ac_cv_func_gethostbyname=no
13201 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13204 -if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
13205 - echo "$ac_t""yes" 1>&6
13206 +echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
13207 +echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
13208 +if test $ac_cv_func_gethostbyname = yes; then
13211 - echo "$ac_t""no" 1>&6
13216 if test "$cf_result" = no; then
13217 - echo $ac_n "checking for gethostbyname in -lsocket""... $ac_c" 1>&6
13218 -echo "configure:3795: checking for gethostbyname in -lsocket" >&5
13219 -ac_lib_var=`echo socket'_'gethostbyname | sed 'y%./+-%__p_%'`
13220 -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13221 - echo $ac_n "(cached) $ac_c" 1>&6
13222 + echo "$as_me:$LINENO: checking for gethostbyname in -lsocket" >&5
13223 +echo $ECHO_N "checking for gethostbyname in -lsocket... $ECHO_C" >&6
13224 +if test "${ac_cv_lib_socket_gethostbyname+set}" = set; then
13225 + echo $ECHO_N "(cached) $ECHO_C" >&6
13227 - ac_save_LIBS="$LIBS"
13228 + ac_check_lib_save_LIBS=$LIBS
13229 LIBS="-lsocket $LIBS"
13230 -cat > conftest.$ac_ext <<EOF
13231 -#line 3803 "configure"
13232 -#include "confdefs.h"
13233 +cat >conftest.$ac_ext <<_ACEOF
13234 +#line $LINENO "configure"
13237 +cat confdefs.h >>conftest.$ac_ext
13238 +cat >>conftest.$ac_ext <<_ACEOF
13239 +/* end confdefs.h. */
13241 /* Override any gcc2 internal prototype to avoid an error. */
13242 +#ifdef __cplusplus
13245 /* We use char because int might match the return type of a gcc2
13246 - builtin and then its argument prototype would still apply. */
13247 -char gethostbyname();
13253 -if { (eval echo configure:3814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13255 - eval "ac_cv_lib_$ac_lib_var=yes"
13256 + builtin and then its argument prototype would still apply. */
13257 +char gethostbyname ();
13266 +rm -f conftest.$ac_objext conftest$ac_exeext
13267 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13268 + (eval $ac_link) 2>&5
13270 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13271 + (exit $ac_status); } &&
13272 + { ac_try='test -s conftest$ac_exeext'
13273 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13274 + (eval $ac_try) 2>&5
13276 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13277 + (exit $ac_status); }; }; then
13278 + ac_cv_lib_socket_gethostbyname=yes
13280 - echo "configure: failed program was:" >&5
13281 - cat conftest.$ac_ext >&5
13283 - eval "ac_cv_lib_$ac_lib_var=no"
13286 -LIBS="$ac_save_LIBS"
13287 + echo "$as_me: failed program was:" >&5
13288 +sed 's/^/| /' conftest.$ac_ext >&5
13290 +ac_cv_lib_socket_gethostbyname=no
13292 -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13293 - echo "$ac_t""yes" 1>&6
13294 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13295 +LIBS=$ac_check_lib_save_LIBS
13297 +echo "$as_me:$LINENO: result: $ac_cv_lib_socket_gethostbyname" >&5
13298 +echo "${ECHO_T}$ac_cv_lib_socket_gethostbyname" >&6
13299 +if test $ac_cv_lib_socket_gethostbyname = yes; then
13302 - echo "$ac_t""no" 1>&6
13307 if test "$cf_result" = no; then
13308 - echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
13309 -echo "configure:3837: checking for gethostbyname in -lnsl" >&5
13310 -ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
13311 -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13312 - echo $ac_n "(cached) $ac_c" 1>&6
13314 +echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
13315 +echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
13316 +if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
13317 + echo $ECHO_N "(cached) $ECHO_C" >&6
13319 - ac_save_LIBS="$LIBS"
13320 + ac_check_lib_save_LIBS=$LIBS
13322 -cat > conftest.$ac_ext <<EOF
13323 -#line 3845 "configure"
13324 -#include "confdefs.h"
13325 +cat >conftest.$ac_ext <<_ACEOF
13326 +#line $LINENO "configure"
13329 +cat confdefs.h >>conftest.$ac_ext
13330 +cat >>conftest.$ac_ext <<_ACEOF
13331 +/* end confdefs.h. */
13333 /* Override any gcc2 internal prototype to avoid an error. */
13334 +#ifdef __cplusplus
13337 /* We use char because int might match the return type of a gcc2
13338 - builtin and then its argument prototype would still apply. */
13339 -char gethostbyname();
13345 -if { (eval echo configure:3856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13347 - eval "ac_cv_lib_$ac_lib_var=yes"
13348 + builtin and then its argument prototype would still apply. */
13349 +char gethostbyname ();
13358 +rm -f conftest.$ac_objext conftest$ac_exeext
13359 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13360 + (eval $ac_link) 2>&5
13362 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13363 + (exit $ac_status); } &&
13364 + { ac_try='test -s conftest$ac_exeext'
13365 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13366 + (eval $ac_try) 2>&5
13368 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13369 + (exit $ac_status); }; }; then
13370 + ac_cv_lib_nsl_gethostbyname=yes
13372 - echo "configure: failed program was:" >&5
13373 - cat conftest.$ac_ext >&5
13375 - eval "ac_cv_lib_$ac_lib_var=no"
13378 -LIBS="$ac_save_LIBS"
13379 + echo "$as_me: failed program was:" >&5
13380 +sed 's/^/| /' conftest.$ac_ext >&5
13382 +ac_cv_lib_nsl_gethostbyname=no
13384 -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13385 - echo "$ac_t""yes" 1>&6
13386 - ac_tr_lib=HAVE_LIB`echo nsl | sed -e 's/[^a-zA-Z0-9_]/_/g' \
13387 - -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
13388 - cat >> confdefs.h <<EOF
13389 -#define $ac_tr_lib 1
13391 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13392 +LIBS=$ac_check_lib_save_LIBS
13394 +echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
13395 +echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
13396 +if test $ac_cv_lib_nsl_gethostbyname = yes; then
13397 + cat >>confdefs.h <<_ACEOF
13398 +#define HAVE_LIBNSL 1
13404 - echo "$ac_t""no" 1>&6
13408 @@ -3884,333 +10779,555 @@
13412 -echo $ac_n "checking for herror""... $ac_c" 1>&6
13413 -echo "configure:3889: checking for herror" >&5
13414 -if eval "test \"`echo '$''{'ac_cv_func_herror'+set}'`\" = set"; then
13415 - echo $ac_n "(cached) $ac_c" 1>&6
13416 +echo "$as_me:$LINENO: checking for herror" >&5
13417 +echo $ECHO_N "checking for herror... $ECHO_C" >&6
13418 +if test "${ac_cv_func_herror+set}" = set; then
13419 + echo $ECHO_N "(cached) $ECHO_C" >&6
13421 - cat > conftest.$ac_ext <<EOF
13422 -#line 3894 "configure"
13423 -#include "confdefs.h"
13424 + cat >conftest.$ac_ext <<_ACEOF
13425 +#line $LINENO "configure"
13428 +cat confdefs.h >>conftest.$ac_ext
13429 +cat >>conftest.$ac_ext <<_ACEOF
13430 +/* end confdefs.h. */
13431 /* System header to define __stub macros and hopefully few prototypes,
13432 - which can conflict with char herror(); below. */
13433 -#include <assert.h>
13434 + which can conflict with char herror (); below.
13435 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13436 + <limits.h> exists even on freestanding compilers. */
13438 +# include <limits.h>
13440 +# include <assert.h>
13442 /* Override any gcc2 internal prototype to avoid an error. */
13443 +#ifdef __cplusplus
13447 /* We use char because int might match the return type of a gcc2
13448 - builtin and then its argument prototype would still apply. */
13453 + builtin and then its argument prototype would still apply. */
13455 /* The GNU C library defines this for functions which it implements
13456 to always fail with ENOSYS. Some functions are actually named
13457 something starting with __ and the normal name is an alias. */
13458 #if defined (__stub_herror) || defined (__stub___herror)
13462 +char (*f) () = herror;
13464 +#ifdef __cplusplus
13470 -if { (eval echo configure:3917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13472 - eval "ac_cv_func_herror=yes"
13476 +return f != herror;
13481 +rm -f conftest.$ac_objext conftest$ac_exeext
13482 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13483 + (eval $ac_link) 2>&5
13485 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13486 + (exit $ac_status); } &&
13487 + { ac_try='test -s conftest$ac_exeext'
13488 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13489 + (eval $ac_try) 2>&5
13491 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13492 + (exit $ac_status); }; }; then
13493 + ac_cv_func_herror=yes
13495 - echo "configure: failed program was:" >&5
13496 - cat conftest.$ac_ext >&5
13498 - eval "ac_cv_func_herror=no"
13499 + echo "$as_me: failed program was:" >&5
13500 +sed 's/^/| /' conftest.$ac_ext >&5
13502 +ac_cv_func_herror=no
13505 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13508 -if eval "test \"`echo '$ac_cv_func_'herror`\" = yes"; then
13509 - echo "$ac_t""yes" 1>&6
13510 - cat >> confdefs.h <<\EOF
13511 +echo "$as_me:$LINENO: result: $ac_cv_func_herror" >&5
13512 +echo "${ECHO_T}$ac_cv_func_herror" >&6
13513 +if test $ac_cv_func_herror = yes; then
13514 + cat >>confdefs.h <<\_ACEOF
13515 #define HAVE_HERROR 1
13520 - echo "$ac_t""no" 1>&6
13523 -echo $ac_n "checking for cfmakeraw""... $ac_c" 1>&6
13524 -echo "configure:3940: checking for cfmakeraw" >&5
13525 -if eval "test \"`echo '$''{'ac_cv_func_cfmakeraw'+set}'`\" = set"; then
13526 - echo $ac_n "(cached) $ac_c" 1>&6
13527 +echo "$as_me:$LINENO: checking for cfmakeraw" >&5
13528 +echo $ECHO_N "checking for cfmakeraw... $ECHO_C" >&6
13529 +if test "${ac_cv_func_cfmakeraw+set}" = set; then
13530 + echo $ECHO_N "(cached) $ECHO_C" >&6
13532 - cat > conftest.$ac_ext <<EOF
13533 -#line 3945 "configure"
13534 -#include "confdefs.h"
13535 + cat >conftest.$ac_ext <<_ACEOF
13536 +#line $LINENO "configure"
13539 +cat confdefs.h >>conftest.$ac_ext
13540 +cat >>conftest.$ac_ext <<_ACEOF
13541 +/* end confdefs.h. */
13542 /* System header to define __stub macros and hopefully few prototypes,
13543 - which can conflict with char cfmakeraw(); below. */
13544 -#include <assert.h>
13545 + which can conflict with char cfmakeraw (); below.
13546 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13547 + <limits.h> exists even on freestanding compilers. */
13549 +# include <limits.h>
13551 +# include <assert.h>
13553 /* Override any gcc2 internal prototype to avoid an error. */
13554 +#ifdef __cplusplus
13558 /* We use char because int might match the return type of a gcc2
13559 - builtin and then its argument prototype would still apply. */
13564 + builtin and then its argument prototype would still apply. */
13565 +char cfmakeraw ();
13566 /* The GNU C library defines this for functions which it implements
13567 to always fail with ENOSYS. Some functions are actually named
13568 something starting with __ and the normal name is an alias. */
13569 #if defined (__stub_cfmakeraw) || defined (__stub___cfmakeraw)
13573 +char (*f) () = cfmakeraw;
13575 +#ifdef __cplusplus
13581 -if { (eval echo configure:3968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13583 - eval "ac_cv_func_cfmakeraw=yes"
13587 +return f != cfmakeraw;
13592 +rm -f conftest.$ac_objext conftest$ac_exeext
13593 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13594 + (eval $ac_link) 2>&5
13596 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13597 + (exit $ac_status); } &&
13598 + { ac_try='test -s conftest$ac_exeext'
13599 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13600 + (eval $ac_try) 2>&5
13602 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13603 + (exit $ac_status); }; }; then
13604 + ac_cv_func_cfmakeraw=yes
13606 - echo "configure: failed program was:" >&5
13607 - cat conftest.$ac_ext >&5
13609 - eval "ac_cv_func_cfmakeraw=no"
13610 + echo "$as_me: failed program was:" >&5
13611 +sed 's/^/| /' conftest.$ac_ext >&5
13613 +ac_cv_func_cfmakeraw=no
13616 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13619 -if eval "test \"`echo '$ac_cv_func_'cfmakeraw`\" = yes"; then
13620 - echo "$ac_t""yes" 1>&6
13621 - cat >> confdefs.h <<\EOF
13622 +echo "$as_me:$LINENO: result: $ac_cv_func_cfmakeraw" >&5
13623 +echo "${ECHO_T}$ac_cv_func_cfmakeraw" >&6
13624 +if test $ac_cv_func_cfmakeraw = yes; then
13625 + cat >>confdefs.h <<\_ACEOF
13626 #define HAVE_CFMAKERAW 1
13631 - echo "$ac_t""no" 1>&6
13636 for ac_func in cygwin_conv_to_full_win32_path
13638 -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13639 -echo "configure:3994: checking for $ac_func" >&5
13640 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13641 - echo $ac_n "(cached) $ac_c" 1>&6
13642 +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13643 +echo "$as_me:$LINENO: checking for $ac_func" >&5
13644 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13645 +if eval "test \"\${$as_ac_var+set}\" = set"; then
13646 + echo $ECHO_N "(cached) $ECHO_C" >&6
13648 - cat > conftest.$ac_ext <<EOF
13649 -#line 3999 "configure"
13650 -#include "confdefs.h"
13651 + cat >conftest.$ac_ext <<_ACEOF
13652 +#line $LINENO "configure"
13655 +cat confdefs.h >>conftest.$ac_ext
13656 +cat >>conftest.$ac_ext <<_ACEOF
13657 +/* end confdefs.h. */
13658 /* System header to define __stub macros and hopefully few prototypes,
13659 - which can conflict with char $ac_func(); below. */
13660 -#include <assert.h>
13661 + which can conflict with char $ac_func (); below.
13662 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13663 + <limits.h> exists even on freestanding compilers. */
13665 +# include <limits.h>
13667 +# include <assert.h>
13669 /* Override any gcc2 internal prototype to avoid an error. */
13670 +#ifdef __cplusplus
13674 /* We use char because int might match the return type of a gcc2
13675 - builtin and then its argument prototype would still apply. */
13680 + builtin and then its argument prototype would still apply. */
13682 /* The GNU C library defines this for functions which it implements
13683 to always fail with ENOSYS. Some functions are actually named
13684 something starting with __ and the normal name is an alias. */
13685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13689 +char (*f) () = $ac_func;
13691 +#ifdef __cplusplus
13697 -if { (eval echo configure:4022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13699 - eval "ac_cv_func_$ac_func=yes"
13703 +return f != $ac_func;
13708 +rm -f conftest.$ac_objext conftest$ac_exeext
13709 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13710 + (eval $ac_link) 2>&5
13712 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13713 + (exit $ac_status); } &&
13714 + { ac_try='test -s conftest$ac_exeext'
13715 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13716 + (eval $ac_try) 2>&5
13718 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13719 + (exit $ac_status); }; }; then
13720 + eval "$as_ac_var=yes"
13722 - echo "configure: failed program was:" >&5
13723 - cat conftest.$ac_ext >&5
13725 - eval "ac_cv_func_$ac_func=no"
13726 + echo "$as_me: failed program was:" >&5
13727 +sed 's/^/| /' conftest.$ac_ext >&5
13729 +eval "$as_ac_var=no"
13732 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13734 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13735 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13736 +if test `eval echo '${'$as_ac_var'}'` = yes; then
13737 + cat >>confdefs.h <<_ACEOF
13738 +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13741 -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13742 - echo "$ac_t""yes" 1>&6
13743 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13744 - cat >> confdefs.h <<EOF
13745 -#define $ac_tr_func 1
13749 - echo "$ac_t""no" 1>&6
13754 -echo $ac_n "checking if you want to enable javascript""... $ac_c" 1>&6
13755 -echo "configure:4048: checking if you want to enable javascript" >&5
13756 +echo "$as_me:$LINENO: checking if you want to enable javascript" >&5
13757 +echo $ECHO_N "checking if you want to enable javascript... $ECHO_C" >&6
13758 # Check whether --enable-javascript or --disable-javascript was given.
13759 if test "${enable_javascript+set}" = set; then
13760 enableval="$enable_javascript"
13761 cf_use_javascript=yes
13763 cf_use_javascript=no
13766 -echo "$ac_t""$cf_use_javascript" 1>&6
13768 +echo "$as_me:$LINENO: result: $cf_use_javascript" >&5
13769 +echo "${ECHO_T}$cf_use_javascript" >&6
13770 if test "$cf_use_javascript" = yes; then
13771 - cat >> confdefs.h <<\EOF
13772 + cat >>confdefs.h <<\_ACEOF
13780 # Check whether --with-libfl or --without-libfl was given.
13781 if test "${with_libfl+set}" = set; then
13782 withval="$with_libfl"
13785 - cat >> confdefs.h <<\EOF
13786 + cat >>confdefs.h <<\_ACEOF
13787 #define CHCEME_FLEXI_LIBU 1
13795 -echo $ac_n "checking if you want to use graphics""... $ac_c" 1>&6
13796 -echo "configure:4078: checking if you want to use graphics" >&5
13797 +echo "$as_me:$LINENO: checking if you want to use graphics" >&5
13798 +echo $ECHO_N "checking if you want to use graphics... $ECHO_C" >&6
13799 # Check whether --enable-graphics or --disable-graphics was given.
13800 if test "${enable_graphics+set}" = set; then
13801 enableval="$enable_graphics"
13802 cf_use_graphics=yes
13807 +echo "$as_me:$LINENO: result: $cf_use_graphics" >&5
13808 +echo "${ECHO_T}$cf_use_graphics" >&6
13810 -echo "$ac_t""$cf_use_graphics" 1>&6
13812 -echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6
13813 -echo "configure:4090: checking for Gpm_Open in -lgpm" >&5
13814 -ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'`
13815 -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13816 - echo $ac_n "(cached) $ac_c" 1>&6
13817 +echo "$as_me:$LINENO: checking for Gpm_Open in -lgpm" >&5
13818 +echo $ECHO_N "checking for Gpm_Open in -lgpm... $ECHO_C" >&6
13819 +if test "${ac_cv_lib_gpm_Gpm_Open+set}" = set; then
13820 + echo $ECHO_N "(cached) $ECHO_C" >&6
13822 - ac_save_LIBS="$LIBS"
13823 + ac_check_lib_save_LIBS=$LIBS
13825 -cat > conftest.$ac_ext <<EOF
13826 -#line 4098 "configure"
13827 -#include "confdefs.h"
13828 +cat >conftest.$ac_ext <<_ACEOF
13829 +#line $LINENO "configure"
13832 +cat confdefs.h >>conftest.$ac_ext
13833 +cat >>conftest.$ac_ext <<_ACEOF
13834 +/* end confdefs.h. */
13836 /* Override any gcc2 internal prototype to avoid an error. */
13837 +#ifdef __cplusplus
13840 /* We use char because int might match the return type of a gcc2
13841 - builtin and then its argument prototype would still apply. */
13848 -if { (eval echo configure:4109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13850 - eval "ac_cv_lib_$ac_lib_var=yes"
13851 + builtin and then its argument prototype would still apply. */
13861 +rm -f conftest.$ac_objext conftest$ac_exeext
13862 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13863 + (eval $ac_link) 2>&5
13865 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13866 + (exit $ac_status); } &&
13867 + { ac_try='test -s conftest$ac_exeext'
13868 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13869 + (eval $ac_try) 2>&5
13871 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13872 + (exit $ac_status); }; }; then
13873 + ac_cv_lib_gpm_Gpm_Open=yes
13875 - echo "configure: failed program was:" >&5
13876 - cat conftest.$ac_ext >&5
13878 - eval "ac_cv_lib_$ac_lib_var=no"
13881 -LIBS="$ac_save_LIBS"
13882 + echo "$as_me: failed program was:" >&5
13883 +sed 's/^/| /' conftest.$ac_ext >&5
13885 +ac_cv_lib_gpm_Gpm_Open=no
13887 -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13888 - echo "$ac_t""yes" 1>&6
13889 - ac_tr_lib=HAVE_LIB`echo gpm | sed -e 's/[^a-zA-Z0-9_]/_/g' \
13890 - -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
13891 - cat >> confdefs.h <<EOF
13892 -#define $ac_tr_lib 1
13894 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13895 +LIBS=$ac_check_lib_save_LIBS
13897 +echo "$as_me:$LINENO: result: $ac_cv_lib_gpm_Gpm_Open" >&5
13898 +echo "${ECHO_T}$ac_cv_lib_gpm_Gpm_Open" >&6
13899 +if test $ac_cv_lib_gpm_Gpm_Open = yes; then
13900 + cat >>confdefs.h <<_ACEOF
13901 +#define HAVE_LIBGPM 1
13907 - echo "$ac_t""no" 1>&6
13910 cf_have_gpm_lib=$ac_cv_lib_gpm_Gpm_Open
13911 -for ac_hdr in gpm.h
13913 +for ac_header in gpm.h
13915 -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13916 -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13917 -echo "configure:4141: checking for $ac_hdr" >&5
13918 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13919 - echo $ac_n "(cached) $ac_c" 1>&6
13920 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13921 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
13922 + echo "$as_me:$LINENO: checking for $ac_header" >&5
13923 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13924 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
13925 + echo $ECHO_N "(cached) $ECHO_C" >&6
13927 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13928 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13930 - cat > conftest.$ac_ext <<EOF
13931 -#line 4146 "configure"
13932 -#include "confdefs.h"
13933 -#include <$ac_hdr>
13935 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13936 -{ (eval echo configure:4151: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13937 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13938 -if test -z "$ac_err"; then
13940 - eval "ac_cv_header_$ac_safe=yes"
13941 + # Is the header compilable?
13942 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
13943 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13944 +cat >conftest.$ac_ext <<_ACEOF
13945 +#line $LINENO "configure"
13948 +cat confdefs.h >>conftest.$ac_ext
13949 +cat >>conftest.$ac_ext <<_ACEOF
13950 +/* end confdefs.h. */
13951 +$ac_includes_default
13952 +#include <$ac_header>
13954 +rm -f conftest.$ac_objext
13955 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13956 + (eval $ac_compile) 2>&5
13958 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13959 + (exit $ac_status); } &&
13960 + { ac_try='test -s conftest.$ac_objext'
13961 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13962 + (eval $ac_try) 2>&5
13964 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13965 + (exit $ac_status); }; }; then
13966 + ac_header_compiler=yes
13968 - echo "$ac_err" >&5
13969 - echo "configure: failed program was:" >&5
13970 - cat conftest.$ac_ext >&5
13972 - eval "ac_cv_header_$ac_safe=no"
13973 + echo "$as_me: failed program was:" >&5
13974 +sed 's/^/| /' conftest.$ac_ext >&5
13976 +ac_header_compiler=no
13979 +rm -f conftest.$ac_objext conftest.$ac_ext
13980 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13981 +echo "${ECHO_T}$ac_header_compiler" >&6
13983 +# Is the header present?
13984 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
13985 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13986 +cat >conftest.$ac_ext <<_ACEOF
13987 +#line $LINENO "configure"
13990 +cat confdefs.h >>conftest.$ac_ext
13991 +cat >>conftest.$ac_ext <<_ACEOF
13992 +/* end confdefs.h. */
13993 +#include <$ac_header>
13995 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13996 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13998 + grep -v '^ *+' conftest.er1 >conftest.err
13999 + rm -f conftest.er1
14000 + cat conftest.err >&5
14001 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14002 + (exit $ac_status); } >/dev/null; then
14003 + if test -s conftest.err; then
14004 + ac_cpp_err=$ac_c_preproc_warn_flag
14011 -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14012 - echo "$ac_t""yes" 1>&6
14013 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14014 - cat >> confdefs.h <<EOF
14015 -#define $ac_tr_hdr 1
14018 +if test -z "$ac_cpp_err"; then
14019 + ac_header_preproc=yes
14021 - echo "$ac_t""no" 1>&6
14022 + echo "$as_me: failed program was:" >&5
14023 +sed 's/^/| /' conftest.$ac_ext >&5
14025 + ac_header_preproc=no
14027 +rm -f conftest.err conftest.$ac_ext
14028 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14029 +echo "${ECHO_T}$ac_header_preproc" >&6
14031 +# So? What about this header?
14032 +case $ac_header_compiler:$ac_header_preproc in
14034 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14035 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14036 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14037 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14040 +## ------------------------------------ ##
14041 +## Report this to bug-autoconf@gnu.org. ##
14042 +## ------------------------------------ ##
14045 + sed "s/^/$as_me: WARNING: /" >&2
14048 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14049 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14050 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14051 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14052 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14053 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14056 +## ------------------------------------ ##
14057 +## Report this to bug-autoconf@gnu.org. ##
14058 +## ------------------------------------ ##
14061 + sed "s/^/$as_me: WARNING: /" >&2
14064 +echo "$as_me:$LINENO: checking for $ac_header" >&5
14065 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14066 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
14067 + echo $ECHO_N "(cached) $ECHO_C" >&6
14069 + eval "$as_ac_Header=$ac_header_preproc"
14071 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14072 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14075 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
14076 + cat >>confdefs.h <<_ACEOF
14077 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14084 cf_have_gpm_includes=$ac_cv_header_gpm_h
14085 if test "$cf_have_gpm_lib" = yes && test "$cf_have_gpm_includes" = yes ; then cf_have_gpm=yes ; else cf_have_gpm=no; fi
14087 -echo $ac_n "checking for OS/2 threads""... $ac_c" 1>&6
14088 -echo "configure:4181: checking for OS/2 threads" >&5
14089 -if eval "test \"`echo '$''{'ac_cv_have_beginthread'+set}'`\" = set"; then
14090 - echo $ac_n "(cached) $ac_c" 1>&6
14091 +echo "$as_me:$LINENO: checking for OS/2 threads" >&5
14092 +echo $ECHO_N "checking for OS/2 threads... $ECHO_C" >&6
14093 +if test "${ac_cv_have_beginthread+set}" = set; then
14094 + echo $ECHO_N "(cached) $ECHO_C" >&6
14097 CFLAGS="$CFLAGS -Zmt"
14098 - cat > conftest.$ac_ext <<EOF
14099 -#line 4188 "configure"
14100 -#include "confdefs.h"
14101 + cat >conftest.$ac_ext <<_ACEOF
14102 +#line $LINENO "configure"
14105 +cat confdefs.h >>conftest.$ac_ext
14106 +cat >>conftest.$ac_ext <<_ACEOF
14107 +/* end confdefs.h. */
14108 #include <stdlib.h>
14113 _beginthread(NULL, NULL, 0, NULL)
14116 -if { (eval echo configure:4195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14122 +rm -f conftest.$ac_objext conftest$ac_exeext
14123 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14124 + (eval $ac_link) 2>&5
14126 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14127 + (exit $ac_status); } &&
14128 + { ac_try='test -s conftest$ac_exeext'
14129 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14130 + (eval $ac_try) 2>&5
14132 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14133 + (exit $ac_status); }; }; then
14134 ac_cv_have_beginthread=yes
14136 - echo "configure: failed program was:" >&5
14137 - cat conftest.$ac_ext >&5
14139 - ac_cv_have_beginthread=no
14140 + echo "$as_me: failed program was:" >&5
14141 +sed 's/^/| /' conftest.$ac_ext >&5
14143 +ac_cv_have_beginthread=no
14146 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14151 -echo "$ac_t""$ac_cv_have_beginthread" 1>&6
14152 +echo "$as_me:$LINENO: result: $ac_cv_have_beginthread" >&5
14153 +echo "${ECHO_T}$ac_cv_have_beginthread" >&6
14154 if test "$ac_cv_have_beginthread" = yes; then
14155 CFLAGS="$CFLAGS -Zmt"
14156 - cat >> confdefs.h <<\EOF
14157 + cat >>confdefs.h <<\_ACEOF
14158 #define HAVE_BEGINTHREAD 1
14163 # AC_CHECK_FUNC(pthread_create, cf_result=yes, cf_result=no)
14164 @@ -4222,264 +11339,480 @@
14167 #AC_CHECK_FUNC(clone, AC_DEFINE(HAVE_CLONE))
14168 -for ac_hdr in atheos/threads.h
14170 +for ac_header in atheos/threads.h
14172 -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14173 -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14174 -echo "configure:4230: checking for $ac_hdr" >&5
14175 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14176 - echo $ac_n "(cached) $ac_c" 1>&6
14177 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14178 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
14179 + echo "$as_me:$LINENO: checking for $ac_header" >&5
14180 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14181 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
14182 + echo $ECHO_N "(cached) $ECHO_C" >&6
14184 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14185 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14187 - cat > conftest.$ac_ext <<EOF
14188 -#line 4235 "configure"
14189 -#include "confdefs.h"
14190 -#include <$ac_hdr>
14192 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14193 -{ (eval echo configure:4240: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14194 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14195 -if test -z "$ac_err"; then
14197 - eval "ac_cv_header_$ac_safe=yes"
14198 + # Is the header compilable?
14199 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
14200 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14201 +cat >conftest.$ac_ext <<_ACEOF
14202 +#line $LINENO "configure"
14205 +cat confdefs.h >>conftest.$ac_ext
14206 +cat >>conftest.$ac_ext <<_ACEOF
14207 +/* end confdefs.h. */
14208 +$ac_includes_default
14209 +#include <$ac_header>
14211 +rm -f conftest.$ac_objext
14212 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14213 + (eval $ac_compile) 2>&5
14215 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14216 + (exit $ac_status); } &&
14217 + { ac_try='test -s conftest.$ac_objext'
14218 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14219 + (eval $ac_try) 2>&5
14221 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14222 + (exit $ac_status); }; }; then
14223 + ac_header_compiler=yes
14225 - echo "$ac_err" >&5
14226 - echo "configure: failed program was:" >&5
14227 - cat conftest.$ac_ext >&5
14229 - eval "ac_cv_header_$ac_safe=no"
14230 + echo "$as_me: failed program was:" >&5
14231 +sed 's/^/| /' conftest.$ac_ext >&5
14233 +ac_header_compiler=no
14236 +rm -f conftest.$ac_objext conftest.$ac_ext
14237 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14238 +echo "${ECHO_T}$ac_header_compiler" >&6
14240 +# Is the header present?
14241 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
14242 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14243 +cat >conftest.$ac_ext <<_ACEOF
14244 +#line $LINENO "configure"
14247 +cat confdefs.h >>conftest.$ac_ext
14248 +cat >>conftest.$ac_ext <<_ACEOF
14249 +/* end confdefs.h. */
14250 +#include <$ac_header>
14252 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14253 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14255 + grep -v '^ *+' conftest.er1 >conftest.err
14256 + rm -f conftest.er1
14257 + cat conftest.err >&5
14258 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14259 + (exit $ac_status); } >/dev/null; then
14260 + if test -s conftest.err; then
14261 + ac_cpp_err=$ac_c_preproc_warn_flag
14268 -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14269 - echo "$ac_t""yes" 1>&6
14270 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14271 - cat >> confdefs.h <<EOF
14272 -#define $ac_tr_hdr 1
14275 +if test -z "$ac_cpp_err"; then
14276 + ac_header_preproc=yes
14278 - echo "$ac_t""no" 1>&6
14279 + echo "$as_me: failed program was:" >&5
14280 +sed 's/^/| /' conftest.$ac_ext >&5
14282 + ac_header_preproc=no
14284 +rm -f conftest.err conftest.$ac_ext
14285 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14286 +echo "${ECHO_T}$ac_header_preproc" >&6
14288 +# So? What about this header?
14289 +case $ac_header_compiler:$ac_header_preproc in
14291 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14292 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14293 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14294 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14297 +## ------------------------------------ ##
14298 +## Report this to bug-autoconf@gnu.org. ##
14299 +## ------------------------------------ ##
14302 + sed "s/^/$as_me: WARNING: /" >&2
14305 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14306 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14307 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14308 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14309 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14310 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14313 +## ------------------------------------ ##
14314 +## Report this to bug-autoconf@gnu.org. ##
14315 +## ------------------------------------ ##
14318 + sed "s/^/$as_me: WARNING: /" >&2
14321 +echo "$as_me:$LINENO: checking for $ac_header" >&5
14322 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14323 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
14324 + echo $ECHO_N "(cached) $ECHO_C" >&6
14326 + eval "$as_ac_Header=$ac_header_preproc"
14328 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14329 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14332 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
14333 + cat >>confdefs.h <<_ACEOF
14334 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14342 for ac_func in spawn_thread
14344 -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14345 -echo "configure:4269: checking for $ac_func" >&5
14346 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14347 - echo $ac_n "(cached) $ac_c" 1>&6
14348 +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14349 +echo "$as_me:$LINENO: checking for $ac_func" >&5
14350 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14351 +if eval "test \"\${$as_ac_var+set}\" = set"; then
14352 + echo $ECHO_N "(cached) $ECHO_C" >&6
14354 - cat > conftest.$ac_ext <<EOF
14355 -#line 4274 "configure"
14356 -#include "confdefs.h"
14357 + cat >conftest.$ac_ext <<_ACEOF
14358 +#line $LINENO "configure"
14361 +cat confdefs.h >>conftest.$ac_ext
14362 +cat >>conftest.$ac_ext <<_ACEOF
14363 +/* end confdefs.h. */
14364 /* System header to define __stub macros and hopefully few prototypes,
14365 - which can conflict with char $ac_func(); below. */
14366 -#include <assert.h>
14367 + which can conflict with char $ac_func (); below.
14368 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14369 + <limits.h> exists even on freestanding compilers. */
14371 +# include <limits.h>
14373 +# include <assert.h>
14375 /* Override any gcc2 internal prototype to avoid an error. */
14376 +#ifdef __cplusplus
14380 /* We use char because int might match the return type of a gcc2
14381 - builtin and then its argument prototype would still apply. */
14386 + builtin and then its argument prototype would still apply. */
14388 /* The GNU C library defines this for functions which it implements
14389 to always fail with ENOSYS. Some functions are actually named
14390 something starting with __ and the normal name is an alias. */
14391 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14395 +char (*f) () = $ac_func;
14397 +#ifdef __cplusplus
14403 -if { (eval echo configure:4297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14405 - eval "ac_cv_func_$ac_func=yes"
14409 +return f != $ac_func;
14414 +rm -f conftest.$ac_objext conftest$ac_exeext
14415 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14416 + (eval $ac_link) 2>&5
14418 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14419 + (exit $ac_status); } &&
14420 + { ac_try='test -s conftest$ac_exeext'
14421 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14422 + (eval $ac_try) 2>&5
14424 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14425 + (exit $ac_status); }; }; then
14426 + eval "$as_ac_var=yes"
14428 - echo "configure: failed program was:" >&5
14429 - cat conftest.$ac_ext >&5
14431 - eval "ac_cv_func_$ac_func=no"
14432 + echo "$as_me: failed program was:" >&5
14433 +sed 's/^/| /' conftest.$ac_ext >&5
14435 +eval "$as_ac_var=no"
14438 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14440 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14441 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14442 +if test `eval echo '${'$as_ac_var'}'` = yes; then
14443 + cat >>confdefs.h <<_ACEOF
14444 +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14447 -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14448 - echo "$ac_t""yes" 1>&6
14449 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14450 - cat >> confdefs.h <<EOF
14451 -#define $ac_tr_func 1
14455 - echo "$ac_t""no" 1>&6
14460 for ac_func in resume_thread
14462 -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14463 -echo "configure:4324: checking for $ac_func" >&5
14464 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14465 - echo $ac_n "(cached) $ac_c" 1>&6
14466 +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14467 +echo "$as_me:$LINENO: checking for $ac_func" >&5
14468 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14469 +if eval "test \"\${$as_ac_var+set}\" = set"; then
14470 + echo $ECHO_N "(cached) $ECHO_C" >&6
14472 - cat > conftest.$ac_ext <<EOF
14473 -#line 4329 "configure"
14474 -#include "confdefs.h"
14475 + cat >conftest.$ac_ext <<_ACEOF
14476 +#line $LINENO "configure"
14479 +cat confdefs.h >>conftest.$ac_ext
14480 +cat >>conftest.$ac_ext <<_ACEOF
14481 +/* end confdefs.h. */
14482 /* System header to define __stub macros and hopefully few prototypes,
14483 - which can conflict with char $ac_func(); below. */
14484 -#include <assert.h>
14485 + which can conflict with char $ac_func (); below.
14486 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14487 + <limits.h> exists even on freestanding compilers. */
14489 +# include <limits.h>
14491 +# include <assert.h>
14493 /* Override any gcc2 internal prototype to avoid an error. */
14494 +#ifdef __cplusplus
14498 /* We use char because int might match the return type of a gcc2
14499 - builtin and then its argument prototype would still apply. */
14504 + builtin and then its argument prototype would still apply. */
14506 /* The GNU C library defines this for functions which it implements
14507 to always fail with ENOSYS. Some functions are actually named
14508 something starting with __ and the normal name is an alias. */
14509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14513 +char (*f) () = $ac_func;
14515 +#ifdef __cplusplus
14521 -if { (eval echo configure:4352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14523 - eval "ac_cv_func_$ac_func=yes"
14527 +return f != $ac_func;
14532 +rm -f conftest.$ac_objext conftest$ac_exeext
14533 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14534 + (eval $ac_link) 2>&5
14536 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14537 + (exit $ac_status); } &&
14538 + { ac_try='test -s conftest$ac_exeext'
14539 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14540 + (eval $ac_try) 2>&5
14542 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14543 + (exit $ac_status); }; }; then
14544 + eval "$as_ac_var=yes"
14546 - echo "configure: failed program was:" >&5
14547 - cat conftest.$ac_ext >&5
14549 - eval "ac_cv_func_$ac_func=no"
14550 + echo "$as_me: failed program was:" >&5
14551 +sed 's/^/| /' conftest.$ac_ext >&5
14553 +eval "$as_ac_var=no"
14556 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14558 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14559 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14560 +if test `eval echo '${'$as_ac_var'}'` = yes; then
14561 + cat >>confdefs.h <<_ACEOF
14562 +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14565 -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14566 - echo "$ac_t""yes" 1>&6
14567 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14568 - cat >> confdefs.h <<EOF
14569 -#define $ac_tr_func 1
14573 - echo "$ac_t""no" 1>&6
14578 -echo $ac_n "checking for MouOpen""... $ac_c" 1>&6
14579 -echo "configure:4378: checking for MouOpen" >&5
14580 -if eval "test \"`echo '$''{'ac_cv_func_MouOpen'+set}'`\" = set"; then
14581 - echo $ac_n "(cached) $ac_c" 1>&6
14582 +echo "$as_me:$LINENO: checking for MouOpen" >&5
14583 +echo $ECHO_N "checking for MouOpen... $ECHO_C" >&6
14584 +if test "${ac_cv_func_MouOpen+set}" = set; then
14585 + echo $ECHO_N "(cached) $ECHO_C" >&6
14587 - cat > conftest.$ac_ext <<EOF
14588 -#line 4383 "configure"
14589 -#include "confdefs.h"
14590 + cat >conftest.$ac_ext <<_ACEOF
14591 +#line $LINENO "configure"
14594 +cat confdefs.h >>conftest.$ac_ext
14595 +cat >>conftest.$ac_ext <<_ACEOF
14596 +/* end confdefs.h. */
14597 /* System header to define __stub macros and hopefully few prototypes,
14598 - which can conflict with char MouOpen(); below. */
14599 -#include <assert.h>
14600 + which can conflict with char MouOpen (); below.
14601 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14602 + <limits.h> exists even on freestanding compilers. */
14604 +# include <limits.h>
14606 +# include <assert.h>
14608 /* Override any gcc2 internal prototype to avoid an error. */
14609 +#ifdef __cplusplus
14613 /* We use char because int might match the return type of a gcc2
14614 - builtin and then its argument prototype would still apply. */
14619 + builtin and then its argument prototype would still apply. */
14621 /* The GNU C library defines this for functions which it implements
14622 to always fail with ENOSYS. Some functions are actually named
14623 something starting with __ and the normal name is an alias. */
14624 #if defined (__stub_MouOpen) || defined (__stub___MouOpen)
14628 +char (*f) () = MouOpen;
14630 +#ifdef __cplusplus
14636 -if { (eval echo configure:4406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14638 - eval "ac_cv_func_MouOpen=yes"
14642 +return f != MouOpen;
14647 +rm -f conftest.$ac_objext conftest$ac_exeext
14648 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14649 + (eval $ac_link) 2>&5
14651 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14652 + (exit $ac_status); } &&
14653 + { ac_try='test -s conftest$ac_exeext'
14654 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14655 + (eval $ac_try) 2>&5
14657 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14658 + (exit $ac_status); }; }; then
14659 + ac_cv_func_MouOpen=yes
14661 - echo "configure: failed program was:" >&5
14662 - cat conftest.$ac_ext >&5
14664 - eval "ac_cv_func_MouOpen=no"
14665 + echo "$as_me: failed program was:" >&5
14666 +sed 's/^/| /' conftest.$ac_ext >&5
14668 +ac_cv_func_MouOpen=no
14671 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14674 -if eval "test \"`echo '$ac_cv_func_'MouOpen`\" = yes"; then
14675 - echo "$ac_t""yes" 1>&6
14676 - cat >> confdefs.h <<\EOF
14677 +echo "$as_me:$LINENO: result: $ac_cv_func_MouOpen" >&5
14678 +echo "${ECHO_T}$ac_cv_func_MouOpen" >&6
14679 +if test $ac_cv_func_MouOpen = yes; then
14680 + cat >>confdefs.h <<\_ACEOF
14681 #define HAVE_MOUOPEN 1
14686 - echo "$ac_t""no" 1>&6
14689 -echo $ac_n "checking for _read_kbd""... $ac_c" 1>&6
14690 -echo "configure:4429: checking for _read_kbd" >&5
14691 -if eval "test \"`echo '$''{'ac_cv_func__read_kbd'+set}'`\" = set"; then
14692 - echo $ac_n "(cached) $ac_c" 1>&6
14693 +echo "$as_me:$LINENO: checking for _read_kbd" >&5
14694 +echo $ECHO_N "checking for _read_kbd... $ECHO_C" >&6
14695 +if test "${ac_cv_func__read_kbd+set}" = set; then
14696 + echo $ECHO_N "(cached) $ECHO_C" >&6
14698 - cat > conftest.$ac_ext <<EOF
14699 -#line 4434 "configure"
14700 -#include "confdefs.h"
14701 + cat >conftest.$ac_ext <<_ACEOF
14702 +#line $LINENO "configure"
14705 +cat confdefs.h >>conftest.$ac_ext
14706 +cat >>conftest.$ac_ext <<_ACEOF
14707 +/* end confdefs.h. */
14708 /* System header to define __stub macros and hopefully few prototypes,
14709 - which can conflict with char _read_kbd(); below. */
14710 -#include <assert.h>
14711 + which can conflict with char _read_kbd (); below.
14712 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14713 + <limits.h> exists even on freestanding compilers. */
14715 +# include <limits.h>
14717 +# include <assert.h>
14719 /* Override any gcc2 internal prototype to avoid an error. */
14720 +#ifdef __cplusplus
14724 /* We use char because int might match the return type of a gcc2
14725 - builtin and then its argument prototype would still apply. */
14730 + builtin and then its argument prototype would still apply. */
14731 +char _read_kbd ();
14732 /* The GNU C library defines this for functions which it implements
14733 to always fail with ENOSYS. Some functions are actually named
14734 something starting with __ and the normal name is an alias. */
14735 #if defined (__stub__read_kbd) || defined (__stub____read_kbd)
14739 +char (*f) () = _read_kbd;
14741 +#ifdef __cplusplus
14747 -if { (eval echo configure:4457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14749 - eval "ac_cv_func__read_kbd=yes"
14753 +return f != _read_kbd;
14758 +rm -f conftest.$ac_objext conftest$ac_exeext
14759 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14760 + (eval $ac_link) 2>&5
14762 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14763 + (exit $ac_status); } &&
14764 + { ac_try='test -s conftest$ac_exeext'
14765 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14766 + (eval $ac_try) 2>&5
14768 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14769 + (exit $ac_status); }; }; then
14770 + ac_cv_func__read_kbd=yes
14772 - echo "configure: failed program was:" >&5
14773 - cat conftest.$ac_ext >&5
14775 - eval "ac_cv_func__read_kbd=no"
14776 + echo "$as_me: failed program was:" >&5
14777 +sed 's/^/| /' conftest.$ac_ext >&5
14779 +ac_cv_func__read_kbd=no
14782 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14785 -if eval "test \"`echo '$ac_cv_func_'_read_kbd`\" = yes"; then
14786 - echo "$ac_t""yes" 1>&6
14787 - cat >> confdefs.h <<\EOF
14788 +echo "$as_me:$LINENO: result: $ac_cv_func__read_kbd" >&5
14789 +echo "${ECHO_T}$ac_cv_func__read_kbd" >&6
14790 +if test $ac_cv_func__read_kbd = yes; then
14791 + cat >>confdefs.h <<\_ACEOF
14792 #define HAVE_READ_KBD 1
14797 - echo "$ac_t""no" 1>&6
14801 -echo $ac_n "checking for XFree for OS/2""... $ac_c" 1>&6
14802 -echo "configure:4481: checking for XFree for OS/2" >&5
14803 -if eval "test \"`echo '$''{'ac_cv_have_x2'+set}'`\" = set"; then
14804 - echo $ac_n "(cached) $ac_c" 1>&6
14805 +echo "$as_me:$LINENO: checking for XFree for OS/2" >&5
14806 +echo $ECHO_N "checking for XFree for OS/2... $ECHO_C" >&6
14807 +if test "${ac_cv_have_x2+set}" = set; then
14808 + echo $ECHO_N "(cached) $ECHO_C" >&6
14810 CPPFLAGS_X="$CPPFLAGS"
14812 @@ -4487,118 +11820,171 @@
14813 if test -n "$X11ROOT"; then
14814 CPPFLAGS="$CPPFLAGS_X -I$X11ROOT/XFree86/include"
14815 LIBS="$LIBS_X -L$X11ROOT/XFree86/lib -lxf86_gcc"
14816 - cat > conftest.$ac_ext <<EOF
14817 -#line 4492 "configure"
14818 -#include "confdefs.h"
14819 + cat >conftest.$ac_ext <<_ACEOF
14820 +#line $LINENO "configure"
14823 +cat confdefs.h >>conftest.$ac_ext
14824 +cat >>conftest.$ac_ext <<_ACEOF
14825 +/* end confdefs.h. */
14831 struct winsize win;ptioctl(1, TIOCGWINSZ, &win)
14834 -if { (eval echo configure:4499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14840 +rm -f conftest.$ac_objext conftest$ac_exeext
14841 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14842 + (eval $ac_link) 2>&5
14844 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14845 + (exit $ac_status); } &&
14846 + { ac_try='test -s conftest$ac_exeext'
14847 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14848 + (eval $ac_try) 2>&5
14850 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14851 + (exit $ac_status); }; }; then
14852 ac_cv_have_x2=xf86_gcc
14854 - echo "configure: failed program was:" >&5
14855 - cat conftest.$ac_ext >&5
14858 + echo "$as_me: failed program was:" >&5
14859 +sed 's/^/| /' conftest.$ac_ext >&5
14864 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14865 if test "$ac_cv_have_x2" = no; then
14866 LIBS="$LIBS_X -L$X11ROOT/XFree86/lib -lxf86"
14867 - cat > conftest.$ac_ext <<EOF
14868 -#line 4512 "configure"
14869 -#include "confdefs.h"
14870 + cat >conftest.$ac_ext <<_ACEOF
14871 +#line $LINENO "configure"
14874 +cat confdefs.h >>conftest.$ac_ext
14875 +cat >>conftest.$ac_ext <<_ACEOF
14876 +/* end confdefs.h. */
14882 struct winsize win;ptioctl(1, TIOCGWINSZ, &win)
14885 -if { (eval echo configure:4519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14891 +rm -f conftest.$ac_objext conftest$ac_exeext
14892 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14893 + (eval $ac_link) 2>&5
14895 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14896 + (exit $ac_status); } &&
14897 + { ac_try='test -s conftest$ac_exeext'
14898 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14899 + (eval $ac_try) 2>&5
14901 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14902 + (exit $ac_status); }; }; then
14905 - echo "configure: failed program was:" >&5
14906 - cat conftest.$ac_ext >&5
14909 + echo "$as_me: failed program was:" >&5
14910 +sed 's/^/| /' conftest.$ac_ext >&5
14915 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14918 CPPFLAGS="$CPPFLAGS_X"
14923 -echo "$ac_t""$ac_cv_have_x2" 1>&6
14924 +echo "$as_me:$LINENO: result: $ac_cv_have_x2" >&5
14925 +echo "${ECHO_T}$ac_cv_have_x2" >&6
14926 if test "$ac_cv_have_x2" != no; then
14927 CPPFLAGS="$CPPFLAGS -I$X11ROOT/XFree86/include"
14928 LIBS="$LIBS -L$X11ROOT/XFree86/lib -l$ac_cv_have_x2"
14929 - cat >> confdefs.h <<\EOF
14930 + cat >>confdefs.h <<\_ACEOF
14937 -echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
14938 -echo "configure:4547: checking for dlopen in -ldl" >&5
14939 -ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
14940 -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14941 - echo $ac_n "(cached) $ac_c" 1>&6
14943 +echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
14944 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
14945 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then
14946 + echo $ECHO_N "(cached) $ECHO_C" >&6
14948 - ac_save_LIBS="$LIBS"
14949 + ac_check_lib_save_LIBS=$LIBS
14951 -cat > conftest.$ac_ext <<EOF
14952 -#line 4555 "configure"
14953 -#include "confdefs.h"
14954 +cat >conftest.$ac_ext <<_ACEOF
14955 +#line $LINENO "configure"
14958 +cat confdefs.h >>conftest.$ac_ext
14959 +cat >>conftest.$ac_ext <<_ACEOF
14960 +/* end confdefs.h. */
14962 /* Override any gcc2 internal prototype to avoid an error. */
14963 +#ifdef __cplusplus
14966 /* We use char because int might match the return type of a gcc2
14967 - builtin and then its argument prototype would still apply. */
14974 -if { (eval echo configure:4566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14976 - eval "ac_cv_lib_$ac_lib_var=yes"
14977 + builtin and then its argument prototype would still apply. */
14987 +rm -f conftest.$ac_objext conftest$ac_exeext
14988 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14989 + (eval $ac_link) 2>&5
14991 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14992 + (exit $ac_status); } &&
14993 + { ac_try='test -s conftest$ac_exeext'
14994 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14995 + (eval $ac_try) 2>&5
14997 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14998 + (exit $ac_status); }; }; then
14999 + ac_cv_lib_dl_dlopen=yes
15001 - echo "configure: failed program was:" >&5
15002 - cat conftest.$ac_ext >&5
15004 - eval "ac_cv_lib_$ac_lib_var=no"
15007 -LIBS="$ac_save_LIBS"
15008 + echo "$as_me: failed program was:" >&5
15009 +sed 's/^/| /' conftest.$ac_ext >&5
15011 +ac_cv_lib_dl_dlopen=no
15013 -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15014 - echo "$ac_t""yes" 1>&6
15015 - ac_tr_lib=HAVE_LIB`echo dl | sed -e 's/[^a-zA-Z0-9_]/_/g' \
15016 - -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
15017 - cat >> confdefs.h <<EOF
15018 -#define $ac_tr_lib 1
15020 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15021 +LIBS=$ac_check_lib_save_LIBS
15023 +echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
15024 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
15025 +if test $ac_cv_lib_dl_dlopen = yes; then
15026 + cat >>confdefs.h <<_ACEOF
15027 +#define HAVE_LIBDL 1
15033 - echo "$ac_t""no" 1>&6
15039 # Check whether --with-ssl or --without-ssl was given.
15040 if test "${with_ssl+set}" = set; then
15041 withval="$with_ssl"
15042 if test "$withval" = no; then disable_ssl=yes; else ssld="$withval"; fi
15045 -echo $ac_n "checking for OpenSSL""... $ac_c" 1>&6
15046 -echo "configure:4602: checking for OpenSSL" >&5
15048 +echo "$as_me:$LINENO: checking for OpenSSL" >&5
15049 +echo $ECHO_N "checking for OpenSSL... $ECHO_C" >&6
15050 CPPFLAGS_X="$CPPFLAGS"
15053 @@ -4611,762 +11997,1651 @@
15055 LIBS="-lssl -lcrypto $LIBS_X"
15057 - cat > conftest.$ac_ext <<EOF
15058 -#line 4616 "configure"
15059 -#include "confdefs.h"
15060 + cat >conftest.$ac_ext <<_ACEOF
15061 +#line $LINENO "configure"
15064 +cat confdefs.h >>conftest.$ac_ext
15065 +cat >>conftest.$ac_ext <<_ACEOF
15066 +/* end confdefs.h. */
15067 #include <openssl/ssl.h>
15072 OpenSSL_add_all_algorithms()
15075 -if { (eval echo configure:4623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15081 +rm -f conftest.$ac_objext conftest$ac_exeext
15082 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15083 + (eval $ac_link) 2>&5
15085 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15086 + (exit $ac_status); } &&
15087 + { ac_try='test -s conftest$ac_exeext'
15088 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15089 + (eval $ac_try) 2>&5
15091 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15092 + (exit $ac_status); }; }; then
15095 - echo "configure: failed program was:" >&5
15096 - cat conftest.$ac_ext >&5
15099 + echo "$as_me: failed program was:" >&5
15100 +sed 's/^/| /' conftest.$ac_ext >&5
15105 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15106 if test "$cf_result" != yes; then
15107 - cat > conftest.$ac_ext <<EOF
15108 -#line 4635 "configure"
15109 -#include "confdefs.h"
15110 + cat >conftest.$ac_ext <<_ACEOF
15111 +#line $LINENO "configure"
15114 +cat confdefs.h >>conftest.$ac_ext
15115 +cat >>conftest.$ac_ext <<_ACEOF
15116 +/* end confdefs.h. */
15117 #include <openssl/ssl.h>
15122 SSLeay_add_ssl_algorithms()
15125 -if { (eval echo configure:4642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15131 +rm -f conftest.$ac_objext conftest$ac_exeext
15132 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15133 + (eval $ac_link) 2>&5
15135 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15136 + (exit $ac_status); } &&
15137 + { ac_try='test -s conftest$ac_exeext'
15138 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15139 + (eval $ac_try) 2>&5
15141 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15142 + (exit $ac_status); }; }; then
15145 - echo "configure: failed program was:" >&5
15146 - cat conftest.$ac_ext >&5
15149 + echo "$as_me: failed program was:" >&5
15150 +sed 's/^/| /' conftest.$ac_ext >&5
15155 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15160 if test "$cf_result" != yes; then
15161 if test "$withval" = yes; then
15162 - { echo "configure: error: "OpenSSL not found"" 1>&2; exit 1; }
15163 + { { echo "$as_me:$LINENO: error: \"OpenSSL not found\"" >&5
15164 +echo "$as_me: error: \"OpenSSL not found\"" >&2;}
15165 + { (exit 1); exit 1; }; }
15167 CPPFLAGS="$CPPFLAGS_X"
15170 - cat >> confdefs.h <<\EOF
15171 + cat >>confdefs.h <<\_ACEOF
15178 -echo "$ac_t""$cf_result" 1>&6
15179 +echo "$as_me:$LINENO: result: $cf_result" >&5
15180 +echo "${ECHO_T}$cf_result" >&6
15181 cf_have_ssl=$cf_result;
15186 if test "$cf_use_graphics" = yes; then
15187 - cat >> confdefs.h <<\EOF
15188 + cat >>confdefs.h <<\_ACEOF
15194 # OpenBSD needs it, but gcc-3.1 doens't work with it !!!
15195 # CPPFLAGS="$CPPFLAGS -I/usr/local/include"
15196 # LDFLAGS="$LDFLAGS -L/usr/local/lib"
15197 - echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6
15198 -echo "configure:4685: checking for inflate in -lz" >&5
15199 -ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'`
15200 -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15201 - echo $ac_n "(cached) $ac_c" 1>&6
15203 +echo "$as_me:$LINENO: checking for inflate in -lz" >&5
15204 +echo $ECHO_N "checking for inflate in -lz... $ECHO_C" >&6
15205 +if test "${ac_cv_lib_z_inflate+set}" = set; then
15206 + echo $ECHO_N "(cached) $ECHO_C" >&6
15208 - ac_save_LIBS="$LIBS"
15209 + ac_check_lib_save_LIBS=$LIBS
15211 -cat > conftest.$ac_ext <<EOF
15212 -#line 4693 "configure"
15213 -#include "confdefs.h"
15214 +cat >conftest.$ac_ext <<_ACEOF
15215 +#line $LINENO "configure"
15218 +cat confdefs.h >>conftest.$ac_ext
15219 +cat >>conftest.$ac_ext <<_ACEOF
15220 +/* end confdefs.h. */
15222 /* Override any gcc2 internal prototype to avoid an error. */
15223 +#ifdef __cplusplus
15226 /* We use char because int might match the return type of a gcc2
15227 - builtin and then its argument prototype would still apply. */
15234 -if { (eval echo configure:4704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15236 - eval "ac_cv_lib_$ac_lib_var=yes"
15237 + builtin and then its argument prototype would still apply. */
15247 +rm -f conftest.$ac_objext conftest$ac_exeext
15248 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15249 + (eval $ac_link) 2>&5
15251 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15252 + (exit $ac_status); } &&
15253 + { ac_try='test -s conftest$ac_exeext'
15254 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15255 + (eval $ac_try) 2>&5
15257 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15258 + (exit $ac_status); }; }; then
15259 + ac_cv_lib_z_inflate=yes
15261 - echo "configure: failed program was:" >&5
15262 - cat conftest.$ac_ext >&5
15264 - eval "ac_cv_lib_$ac_lib_var=no"
15267 -LIBS="$ac_save_LIBS"
15268 + echo "$as_me: failed program was:" >&5
15269 +sed 's/^/| /' conftest.$ac_ext >&5
15271 +ac_cv_lib_z_inflate=no
15273 -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15274 - echo "$ac_t""yes" 1>&6
15275 - ac_tr_lib=HAVE_LIB`echo z | sed -e 's/[^a-zA-Z0-9_]/_/g' \
15276 - -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
15277 - cat >> confdefs.h <<EOF
15278 -#define $ac_tr_lib 1
15280 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15281 +LIBS=$ac_check_lib_save_LIBS
15283 +echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflate" >&5
15284 +echo "${ECHO_T}$ac_cv_lib_z_inflate" >&6
15285 +if test $ac_cv_lib_z_inflate = yes; then
15286 + cat >>confdefs.h <<_ACEOF
15287 +#define HAVE_LIBZ 1
15293 - echo "$ac_t""no" 1>&6
15296 - for ac_hdr in png.h libpng/png.h
15299 +for ac_header in png.h libpng/png.h
15301 -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
15302 -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
15303 -echo "configure:4735: checking for $ac_hdr" >&5
15304 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15305 - echo $ac_n "(cached) $ac_c" 1>&6
15306 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15307 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
15308 + echo "$as_me:$LINENO: checking for $ac_header" >&5
15309 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15310 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
15311 + echo $ECHO_N "(cached) $ECHO_C" >&6
15313 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15314 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15316 - cat > conftest.$ac_ext <<EOF
15317 -#line 4740 "configure"
15318 -#include "confdefs.h"
15319 -#include <$ac_hdr>
15321 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15322 -{ (eval echo configure:4745: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15323 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15324 -if test -z "$ac_err"; then
15326 - eval "ac_cv_header_$ac_safe=yes"
15327 + # Is the header compilable?
15328 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
15329 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15330 +cat >conftest.$ac_ext <<_ACEOF
15331 +#line $LINENO "configure"
15334 +cat confdefs.h >>conftest.$ac_ext
15335 +cat >>conftest.$ac_ext <<_ACEOF
15336 +/* end confdefs.h. */
15337 +$ac_includes_default
15338 +#include <$ac_header>
15340 +rm -f conftest.$ac_objext
15341 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15342 + (eval $ac_compile) 2>&5
15344 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15345 + (exit $ac_status); } &&
15346 + { ac_try='test -s conftest.$ac_objext'
15347 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15348 + (eval $ac_try) 2>&5
15350 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15351 + (exit $ac_status); }; }; then
15352 + ac_header_compiler=yes
15354 - echo "$ac_err" >&5
15355 - echo "configure: failed program was:" >&5
15356 - cat conftest.$ac_ext >&5
15358 - eval "ac_cv_header_$ac_safe=no"
15359 + echo "$as_me: failed program was:" >&5
15360 +sed 's/^/| /' conftest.$ac_ext >&5
15362 +ac_header_compiler=no
15365 +rm -f conftest.$ac_objext conftest.$ac_ext
15366 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15367 +echo "${ECHO_T}$ac_header_compiler" >&6
15369 +# Is the header present?
15370 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
15371 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15372 +cat >conftest.$ac_ext <<_ACEOF
15373 +#line $LINENO "configure"
15376 +cat confdefs.h >>conftest.$ac_ext
15377 +cat >>conftest.$ac_ext <<_ACEOF
15378 +/* end confdefs.h. */
15379 +#include <$ac_header>
15381 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15382 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15384 + grep -v '^ *+' conftest.er1 >conftest.err
15385 + rm -f conftest.er1
15386 + cat conftest.err >&5
15387 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15388 + (exit $ac_status); } >/dev/null; then
15389 + if test -s conftest.err; then
15390 + ac_cpp_err=$ac_c_preproc_warn_flag
15397 -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15398 - echo "$ac_t""yes" 1>&6
15399 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
15400 - cat >> confdefs.h <<EOF
15401 -#define $ac_tr_hdr 1
15404 +if test -z "$ac_cpp_err"; then
15405 + ac_header_preproc=yes
15407 - echo "$ac_t""no" 1>&6
15408 + echo "$as_me: failed program was:" >&5
15409 +sed 's/^/| /' conftest.$ac_ext >&5
15411 + ac_header_preproc=no
15413 +rm -f conftest.err conftest.$ac_ext
15414 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15415 +echo "${ECHO_T}$ac_header_preproc" >&6
15417 +# So? What about this header?
15418 +case $ac_header_compiler:$ac_header_preproc in
15420 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15421 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15422 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15423 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15426 +## ------------------------------------ ##
15427 +## Report this to bug-autoconf@gnu.org. ##
15428 +## ------------------------------------ ##
15431 + sed "s/^/$as_me: WARNING: /" >&2
15434 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15435 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15436 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15437 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15438 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15439 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15442 +## ------------------------------------ ##
15443 +## Report this to bug-autoconf@gnu.org. ##
15444 +## ------------------------------------ ##
15447 + sed "s/^/$as_me: WARNING: /" >&2
15450 +echo "$as_me:$LINENO: checking for $ac_header" >&5
15451 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15452 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
15453 + echo $ECHO_N "(cached) $ECHO_C" >&6
15455 + eval "$as_ac_Header=$ac_header_preproc"
15457 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15458 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15461 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
15462 + cat >>confdefs.h <<_ACEOF
15463 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15470 - echo $ac_n "checking for png_create_info_struct in -lpng""... $ac_c" 1>&6
15471 -echo "configure:4772: checking for png_create_info_struct in -lpng" >&5
15472 -ac_lib_var=`echo png'_'png_create_info_struct | sed 'y%./+-%__p_%'`
15473 -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15474 - echo $ac_n "(cached) $ac_c" 1>&6
15476 +echo "$as_me:$LINENO: checking for png_create_info_struct in -lpng" >&5
15477 +echo $ECHO_N "checking for png_create_info_struct in -lpng... $ECHO_C" >&6
15478 +if test "${ac_cv_lib_png_png_create_info_struct+set}" = set; then
15479 + echo $ECHO_N "(cached) $ECHO_C" >&6
15481 - ac_save_LIBS="$LIBS"
15482 + ac_check_lib_save_LIBS=$LIBS
15484 -cat > conftest.$ac_ext <<EOF
15485 -#line 4780 "configure"
15486 -#include "confdefs.h"
15487 +cat >conftest.$ac_ext <<_ACEOF
15488 +#line $LINENO "configure"
15491 +cat confdefs.h >>conftest.$ac_ext
15492 +cat >>conftest.$ac_ext <<_ACEOF
15493 +/* end confdefs.h. */
15495 /* Override any gcc2 internal prototype to avoid an error. */
15496 +#ifdef __cplusplus
15499 /* We use char because int might match the return type of a gcc2
15500 - builtin and then its argument prototype would still apply. */
15501 -char png_create_info_struct();
15504 -png_create_info_struct()
15507 -if { (eval echo configure:4791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15509 - eval "ac_cv_lib_$ac_lib_var=yes"
15510 + builtin and then its argument prototype would still apply. */
15511 +char png_create_info_struct ();
15515 +png_create_info_struct ();
15520 +rm -f conftest.$ac_objext conftest$ac_exeext
15521 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15522 + (eval $ac_link) 2>&5
15524 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15525 + (exit $ac_status); } &&
15526 + { ac_try='test -s conftest$ac_exeext'
15527 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15528 + (eval $ac_try) 2>&5
15530 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15531 + (exit $ac_status); }; }; then
15532 + ac_cv_lib_png_png_create_info_struct=yes
15534 - echo "configure: failed program was:" >&5
15535 - cat conftest.$ac_ext >&5
15537 - eval "ac_cv_lib_$ac_lib_var=no"
15540 -LIBS="$ac_save_LIBS"
15541 + echo "$as_me: failed program was:" >&5
15542 +sed 's/^/| /' conftest.$ac_ext >&5
15544 +ac_cv_lib_png_png_create_info_struct=no
15546 -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15547 - echo "$ac_t""yes" 1>&6
15548 - ac_tr_lib=HAVE_LIB`echo png | sed -e 's/[^a-zA-Z0-9_]/_/g' \
15549 - -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
15550 - cat >> confdefs.h <<EOF
15551 -#define $ac_tr_lib 1
15553 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15554 +LIBS=$ac_check_lib_save_LIBS
15556 +echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_create_info_struct" >&5
15557 +echo "${ECHO_T}$ac_cv_lib_png_png_create_info_struct" >&6
15558 +if test $ac_cv_lib_png_png_create_info_struct = yes; then
15559 + cat >>confdefs.h <<_ACEOF
15560 +#define HAVE_LIBPNG 1
15566 - echo "$ac_t""no" 1>&6
15569 if test "$ac_cv_header_png_h" != yes && test "$ac_cv_header_libpng_png_h" != yes || test "$ac_cv_lib_png_png_create_info_struct" != yes; then
15570 - { echo "configure: error: You need libpng to compile Links in graphics mode" 1>&2; exit 1; }
15571 + { { echo "$as_me:$LINENO: error: You need libpng to compile Links in graphics mode" >&5
15572 +echo "$as_me: error: You need libpng to compile Links in graphics mode" >&2;}
15573 + { (exit 1); exit 1; }; }
15576 - for ac_func in png_set_rgb_to_gray
15578 +for ac_func in png_set_rgb_to_gray
15580 -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15581 -echo "configure:4825: checking for $ac_func" >&5
15582 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15583 - echo $ac_n "(cached) $ac_c" 1>&6
15584 +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15585 +echo "$as_me:$LINENO: checking for $ac_func" >&5
15586 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15587 +if eval "test \"\${$as_ac_var+set}\" = set"; then
15588 + echo $ECHO_N "(cached) $ECHO_C" >&6
15590 - cat > conftest.$ac_ext <<EOF
15591 -#line 4830 "configure"
15592 -#include "confdefs.h"
15593 + cat >conftest.$ac_ext <<_ACEOF
15594 +#line $LINENO "configure"
15597 +cat confdefs.h >>conftest.$ac_ext
15598 +cat >>conftest.$ac_ext <<_ACEOF
15599 +/* end confdefs.h. */
15600 /* System header to define __stub macros and hopefully few prototypes,
15601 - which can conflict with char $ac_func(); below. */
15602 -#include <assert.h>
15603 + which can conflict with char $ac_func (); below.
15604 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15605 + <limits.h> exists even on freestanding compilers. */
15607 +# include <limits.h>
15609 +# include <assert.h>
15611 /* Override any gcc2 internal prototype to avoid an error. */
15612 +#ifdef __cplusplus
15616 /* We use char because int might match the return type of a gcc2
15617 - builtin and then its argument prototype would still apply. */
15622 + builtin and then its argument prototype would still apply. */
15624 /* The GNU C library defines this for functions which it implements
15625 to always fail with ENOSYS. Some functions are actually named
15626 something starting with __ and the normal name is an alias. */
15627 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15631 +char (*f) () = $ac_func;
15633 +#ifdef __cplusplus
15639 -if { (eval echo configure:4853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15641 - eval "ac_cv_func_$ac_func=yes"
15645 +return f != $ac_func;
15650 +rm -f conftest.$ac_objext conftest$ac_exeext
15651 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15652 + (eval $ac_link) 2>&5
15654 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15655 + (exit $ac_status); } &&
15656 + { ac_try='test -s conftest$ac_exeext'
15657 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15658 + (eval $ac_try) 2>&5
15660 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15661 + (exit $ac_status); }; }; then
15662 + eval "$as_ac_var=yes"
15664 - echo "configure: failed program was:" >&5
15665 - cat conftest.$ac_ext >&5
15667 - eval "ac_cv_func_$ac_func=no"
15668 + echo "$as_me: failed program was:" >&5
15669 +sed 's/^/| /' conftest.$ac_ext >&5
15671 +eval "$as_ac_var=no"
15674 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15676 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15677 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15678 +if test `eval echo '${'$as_ac_var'}'` = yes; then
15679 + cat >>confdefs.h <<_ACEOF
15680 +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15683 -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15684 - echo "$ac_t""yes" 1>&6
15685 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15686 - cat >> confdefs.h <<EOF
15687 -#define $ac_tr_func 1
15691 - echo "$ac_t""no" 1>&6
15696 - echo $ac_n "checking if you can include both setjmp.h and png.h""... $ac_c" 1>&6
15697 -echo "configure:4879: checking if you can include both setjmp.h and png.h" >&5
15698 -if eval "test \"`echo '$''{'ac_cv_include_setjmp_png'+set}'`\" = set"; then
15699 - echo $ac_n "(cached) $ac_c" 1>&6
15700 + echo "$as_me:$LINENO: checking if you can include both setjmp.h and png.h" >&5
15701 +echo $ECHO_N "checking if you can include both setjmp.h and png.h... $ECHO_C" >&6
15702 +if test "${ac_cv_include_setjmp_png+set}" = set; then
15703 + echo $ECHO_N "(cached) $ECHO_C" >&6
15705 - cat > conftest.$ac_ext <<EOF
15706 -#line 4884 "configure"
15707 -#include "confdefs.h"
15708 + cat >conftest.$ac_ext <<_ACEOF
15709 +#line $LINENO "configure"
15712 +cat confdefs.h >>conftest.$ac_ext
15713 +cat >>conftest.$ac_ext <<_ACEOF
15714 +/* end confdefs.h. */
15715 #include <setjmp.h>
15724 -if { (eval echo configure:4892: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15730 +rm -f conftest.$ac_objext
15731 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15732 + (eval $ac_compile) 2>&5
15734 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15735 + (exit $ac_status); } &&
15736 + { ac_try='test -s conftest.$ac_objext'
15737 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15738 + (eval $ac_try) 2>&5
15740 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15741 + (exit $ac_status); }; }; then
15742 ac_cv_include_setjmp_png=yes
15744 - echo "configure: failed program was:" >&5
15745 - cat conftest.$ac_ext >&5
15747 - ac_cv_include_setjmp_png=no
15751 + echo "$as_me: failed program was:" >&5
15752 +sed 's/^/| /' conftest.$ac_ext >&5
15754 +ac_cv_include_setjmp_png=no
15756 +rm -f conftest.$ac_objext conftest.$ac_ext
15758 -echo "$ac_t""$ac_cv_include_setjmp_png" 1>&6
15760 +echo "$as_me:$LINENO: result: $ac_cv_include_setjmp_png" >&5
15761 +echo "${ECHO_T}$ac_cv_include_setjmp_png" >&6
15763 if test "$ac_cv_include_setjmp_png" != yes; then
15764 - cat >> confdefs.h <<\EOF
15765 + cat >>confdefs.h <<\_ACEOF
15766 #define DONT_INCLUDE_SETJMP 1
15773 # Check whether --with-libjpeg or --without-libjpeg was given.
15774 if test "${with_libjpeg+set}" = set; then
15775 withval="$with_libjpeg"
15776 if test "$withval" = no; then disable_jpeg=yes; else disable_jpeg=no; fi
15781 if test "$disable_jpeg" != yes ; then
15782 - for ac_hdr in jpeglib.h
15784 +for ac_header in jpeglib.h
15786 -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
15787 -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
15788 -echo "configure:4926: checking for $ac_hdr" >&5
15789 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15790 - echo $ac_n "(cached) $ac_c" 1>&6
15791 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15792 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
15793 + echo "$as_me:$LINENO: checking for $ac_header" >&5
15794 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15795 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
15796 + echo $ECHO_N "(cached) $ECHO_C" >&6
15798 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15799 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15801 - cat > conftest.$ac_ext <<EOF
15802 -#line 4931 "configure"
15803 -#include "confdefs.h"
15804 -#include <$ac_hdr>
15806 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15807 -{ (eval echo configure:4936: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15808 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15809 -if test -z "$ac_err"; then
15811 - eval "ac_cv_header_$ac_safe=yes"
15812 + # Is the header compilable?
15813 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
15814 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15815 +cat >conftest.$ac_ext <<_ACEOF
15816 +#line $LINENO "configure"
15819 +cat confdefs.h >>conftest.$ac_ext
15820 +cat >>conftest.$ac_ext <<_ACEOF
15821 +/* end confdefs.h. */
15822 +$ac_includes_default
15823 +#include <$ac_header>
15825 +rm -f conftest.$ac_objext
15826 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15827 + (eval $ac_compile) 2>&5
15829 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15830 + (exit $ac_status); } &&
15831 + { ac_try='test -s conftest.$ac_objext'
15832 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15833 + (eval $ac_try) 2>&5
15835 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15836 + (exit $ac_status); }; }; then
15837 + ac_header_compiler=yes
15839 - echo "$ac_err" >&5
15840 - echo "configure: failed program was:" >&5
15841 - cat conftest.$ac_ext >&5
15843 - eval "ac_cv_header_$ac_safe=no"
15844 + echo "$as_me: failed program was:" >&5
15845 +sed 's/^/| /' conftest.$ac_ext >&5
15847 +ac_header_compiler=no
15850 +rm -f conftest.$ac_objext conftest.$ac_ext
15851 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15852 +echo "${ECHO_T}$ac_header_compiler" >&6
15854 +# Is the header present?
15855 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
15856 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15857 +cat >conftest.$ac_ext <<_ACEOF
15858 +#line $LINENO "configure"
15861 +cat confdefs.h >>conftest.$ac_ext
15862 +cat >>conftest.$ac_ext <<_ACEOF
15863 +/* end confdefs.h. */
15864 +#include <$ac_header>
15866 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15867 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15869 + grep -v '^ *+' conftest.er1 >conftest.err
15870 + rm -f conftest.er1
15871 + cat conftest.err >&5
15872 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15873 + (exit $ac_status); } >/dev/null; then
15874 + if test -s conftest.err; then
15875 + ac_cpp_err=$ac_c_preproc_warn_flag
15882 -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15883 - echo "$ac_t""yes" 1>&6
15884 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
15885 - cat >> confdefs.h <<EOF
15886 -#define $ac_tr_hdr 1
15889 +if test -z "$ac_cpp_err"; then
15890 + ac_header_preproc=yes
15892 - echo "$ac_t""no" 1>&6
15893 + echo "$as_me: failed program was:" >&5
15894 +sed 's/^/| /' conftest.$ac_ext >&5
15896 + ac_header_preproc=no
15898 +rm -f conftest.err conftest.$ac_ext
15899 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15900 +echo "${ECHO_T}$ac_header_preproc" >&6
15902 +# So? What about this header?
15903 +case $ac_header_compiler:$ac_header_preproc in
15905 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15906 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15907 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15908 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15911 +## ------------------------------------ ##
15912 +## Report this to bug-autoconf@gnu.org. ##
15913 +## ------------------------------------ ##
15916 + sed "s/^/$as_me: WARNING: /" >&2
15919 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15920 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15921 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15922 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15923 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15924 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15927 +## ------------------------------------ ##
15928 +## Report this to bug-autoconf@gnu.org. ##
15929 +## ------------------------------------ ##
15932 + sed "s/^/$as_me: WARNING: /" >&2
15935 +echo "$as_me:$LINENO: checking for $ac_header" >&5
15936 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15937 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
15938 + echo $ECHO_N "(cached) $ECHO_C" >&6
15940 + eval "$as_ac_Header=$ac_header_preproc"
15942 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15943 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15946 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
15947 + cat >>confdefs.h <<_ACEOF
15948 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15955 - echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6
15956 -echo "configure:4963: checking for jpeg_destroy_decompress in -ljpeg" >&5
15957 -ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'`
15958 -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15959 - echo $ac_n "(cached) $ac_c" 1>&6
15961 +echo "$as_me:$LINENO: checking for jpeg_destroy_decompress in -ljpeg" >&5
15962 +echo $ECHO_N "checking for jpeg_destroy_decompress in -ljpeg... $ECHO_C" >&6
15963 +if test "${ac_cv_lib_jpeg_jpeg_destroy_decompress+set}" = set; then
15964 + echo $ECHO_N "(cached) $ECHO_C" >&6
15966 - ac_save_LIBS="$LIBS"
15967 + ac_check_lib_save_LIBS=$LIBS
15968 LIBS="-ljpeg $LIBS"
15969 -cat > conftest.$ac_ext <<EOF
15970 -#line 4971 "configure"
15971 -#include "confdefs.h"
15972 +cat >conftest.$ac_ext <<_ACEOF
15973 +#line $LINENO "configure"
15976 +cat confdefs.h >>conftest.$ac_ext
15977 +cat >>conftest.$ac_ext <<_ACEOF
15978 +/* end confdefs.h. */
15980 /* Override any gcc2 internal prototype to avoid an error. */
15981 +#ifdef __cplusplus
15984 /* We use char because int might match the return type of a gcc2
15985 - builtin and then its argument prototype would still apply. */
15986 -char jpeg_destroy_decompress();
15989 -jpeg_destroy_decompress()
15992 -if { (eval echo configure:4982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15994 - eval "ac_cv_lib_$ac_lib_var=yes"
15995 + builtin and then its argument prototype would still apply. */
15996 +char jpeg_destroy_decompress ();
16000 +jpeg_destroy_decompress ();
16005 +rm -f conftest.$ac_objext conftest$ac_exeext
16006 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16007 + (eval $ac_link) 2>&5
16009 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16010 + (exit $ac_status); } &&
16011 + { ac_try='test -s conftest$ac_exeext'
16012 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16013 + (eval $ac_try) 2>&5
16015 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16016 + (exit $ac_status); }; }; then
16017 + ac_cv_lib_jpeg_jpeg_destroy_decompress=yes
16019 - echo "configure: failed program was:" >&5
16020 - cat conftest.$ac_ext >&5
16022 - eval "ac_cv_lib_$ac_lib_var=no"
16025 -LIBS="$ac_save_LIBS"
16026 + echo "$as_me: failed program was:" >&5
16027 +sed 's/^/| /' conftest.$ac_ext >&5
16029 +ac_cv_lib_jpeg_jpeg_destroy_decompress=no
16031 -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16032 - echo "$ac_t""yes" 1>&6
16033 - ac_tr_lib=HAVE_LIB`echo jpeg | sed -e 's/[^a-zA-Z0-9_]/_/g' \
16034 - -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
16035 - cat >> confdefs.h <<EOF
16036 -#define $ac_tr_lib 1
16038 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16039 +LIBS=$ac_check_lib_save_LIBS
16041 +echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_destroy_decompress" >&5
16042 +echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_decompress" >&6
16043 +if test $ac_cv_lib_jpeg_jpeg_destroy_decompress = yes; then
16044 + cat >>confdefs.h <<_ACEOF
16045 +#define HAVE_LIBJPEG 1
16048 LIBS="-ljpeg $LIBS"
16051 - echo "$ac_t""no" 1>&6
16054 if test "$ac_cv_header_jpeglib_h" = yes && test "$ac_cv_lib_jpeg_jpeg_destroy_decompress" = yes; then
16055 - cat >> confdefs.h <<\EOF
16056 + cat >>confdefs.h <<\_ACEOF
16057 #define HAVE_JPEG 1
16062 image_formats="$image_formats JPEG"
16067 # Check whether --with-libtiff or --without-libtiff was given.
16068 if test "${with_libtiff+set}" = set; then
16069 withval="$with_libtiff"
16070 if test "$withval" = no; then disable_tiff=yes; else disable_tiff=no; fi
16075 if test "$disable_tiff" != yes ; then
16076 - for ac_hdr in tiffio.h
16078 +for ac_header in tiffio.h
16080 -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16081 -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
16082 -echo "configure:5031: checking for $ac_hdr" >&5
16083 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16084 - echo $ac_n "(cached) $ac_c" 1>&6
16085 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16086 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
16087 + echo "$as_me:$LINENO: checking for $ac_header" >&5
16088 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16089 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
16090 + echo $ECHO_N "(cached) $ECHO_C" >&6
16092 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16093 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16095 - cat > conftest.$ac_ext <<EOF
16096 -#line 5036 "configure"
16097 -#include "confdefs.h"
16098 -#include <$ac_hdr>
16100 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16101 -{ (eval echo configure:5041: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16102 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16103 -if test -z "$ac_err"; then
16105 - eval "ac_cv_header_$ac_safe=yes"
16106 + # Is the header compilable?
16107 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
16108 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16109 +cat >conftest.$ac_ext <<_ACEOF
16110 +#line $LINENO "configure"
16113 +cat confdefs.h >>conftest.$ac_ext
16114 +cat >>conftest.$ac_ext <<_ACEOF
16115 +/* end confdefs.h. */
16116 +$ac_includes_default
16117 +#include <$ac_header>
16119 +rm -f conftest.$ac_objext
16120 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16121 + (eval $ac_compile) 2>&5
16123 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16124 + (exit $ac_status); } &&
16125 + { ac_try='test -s conftest.$ac_objext'
16126 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16127 + (eval $ac_try) 2>&5
16129 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16130 + (exit $ac_status); }; }; then
16131 + ac_header_compiler=yes
16133 - echo "$ac_err" >&5
16134 - echo "configure: failed program was:" >&5
16135 - cat conftest.$ac_ext >&5
16137 - eval "ac_cv_header_$ac_safe=no"
16138 + echo "$as_me: failed program was:" >&5
16139 +sed 's/^/| /' conftest.$ac_ext >&5
16141 +ac_header_compiler=no
16144 +rm -f conftest.$ac_objext conftest.$ac_ext
16145 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16146 +echo "${ECHO_T}$ac_header_compiler" >&6
16148 +# Is the header present?
16149 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
16150 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16151 +cat >conftest.$ac_ext <<_ACEOF
16152 +#line $LINENO "configure"
16155 +cat confdefs.h >>conftest.$ac_ext
16156 +cat >>conftest.$ac_ext <<_ACEOF
16157 +/* end confdefs.h. */
16158 +#include <$ac_header>
16160 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16161 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16163 + grep -v '^ *+' conftest.er1 >conftest.err
16164 + rm -f conftest.er1
16165 + cat conftest.err >&5
16166 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16167 + (exit $ac_status); } >/dev/null; then
16168 + if test -s conftest.err; then
16169 + ac_cpp_err=$ac_c_preproc_warn_flag
16176 -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16177 - echo "$ac_t""yes" 1>&6
16178 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16179 - cat >> confdefs.h <<EOF
16180 -#define $ac_tr_hdr 1
16183 +if test -z "$ac_cpp_err"; then
16184 + ac_header_preproc=yes
16186 - echo "$ac_t""no" 1>&6
16187 + echo "$as_me: failed program was:" >&5
16188 +sed 's/^/| /' conftest.$ac_ext >&5
16190 + ac_header_preproc=no
16192 +rm -f conftest.err conftest.$ac_ext
16193 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16194 +echo "${ECHO_T}$ac_header_preproc" >&6
16196 +# So? What about this header?
16197 +case $ac_header_compiler:$ac_header_preproc in
16199 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16200 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16201 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16202 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16205 +## ------------------------------------ ##
16206 +## Report this to bug-autoconf@gnu.org. ##
16207 +## ------------------------------------ ##
16210 + sed "s/^/$as_me: WARNING: /" >&2
16213 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16214 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16215 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16216 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16217 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16218 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16221 +## ------------------------------------ ##
16222 +## Report this to bug-autoconf@gnu.org. ##
16223 +## ------------------------------------ ##
16226 + sed "s/^/$as_me: WARNING: /" >&2
16229 +echo "$as_me:$LINENO: checking for $ac_header" >&5
16230 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16231 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
16232 + echo $ECHO_N "(cached) $ECHO_C" >&6
16234 + eval "$as_ac_Header=$ac_header_preproc"
16236 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16237 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16240 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
16241 + cat >>confdefs.h <<_ACEOF
16242 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16249 - echo $ac_n "checking for TIFFOpen in -ltiff""... $ac_c" 1>&6
16250 -echo "configure:5068: checking for TIFFOpen in -ltiff" >&5
16251 -ac_lib_var=`echo tiff'_'TIFFOpen | sed 'y%./+-%__p_%'`
16252 -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16253 - echo $ac_n "(cached) $ac_c" 1>&6
16255 +echo "$as_me:$LINENO: checking for TIFFOpen in -ltiff" >&5
16256 +echo $ECHO_N "checking for TIFFOpen in -ltiff... $ECHO_C" >&6
16257 +if test "${ac_cv_lib_tiff_TIFFOpen+set}" = set; then
16258 + echo $ECHO_N "(cached) $ECHO_C" >&6
16260 - ac_save_LIBS="$LIBS"
16261 + ac_check_lib_save_LIBS=$LIBS
16262 LIBS="-ltiff $LIBS"
16263 -cat > conftest.$ac_ext <<EOF
16264 -#line 5076 "configure"
16265 -#include "confdefs.h"
16266 +cat >conftest.$ac_ext <<_ACEOF
16267 +#line $LINENO "configure"
16270 +cat confdefs.h >>conftest.$ac_ext
16271 +cat >>conftest.$ac_ext <<_ACEOF
16272 +/* end confdefs.h. */
16274 /* Override any gcc2 internal prototype to avoid an error. */
16275 +#ifdef __cplusplus
16278 /* We use char because int might match the return type of a gcc2
16279 - builtin and then its argument prototype would still apply. */
16286 -if { (eval echo configure:5087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16288 - eval "ac_cv_lib_$ac_lib_var=yes"
16289 + builtin and then its argument prototype would still apply. */
16299 +rm -f conftest.$ac_objext conftest$ac_exeext
16300 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16301 + (eval $ac_link) 2>&5
16303 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16304 + (exit $ac_status); } &&
16305 + { ac_try='test -s conftest$ac_exeext'
16306 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16307 + (eval $ac_try) 2>&5
16309 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16310 + (exit $ac_status); }; }; then
16311 + ac_cv_lib_tiff_TIFFOpen=yes
16313 - echo "configure: failed program was:" >&5
16314 - cat conftest.$ac_ext >&5
16316 - eval "ac_cv_lib_$ac_lib_var=no"
16319 -LIBS="$ac_save_LIBS"
16320 + echo "$as_me: failed program was:" >&5
16321 +sed 's/^/| /' conftest.$ac_ext >&5
16323 +ac_cv_lib_tiff_TIFFOpen=no
16325 -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16326 - echo "$ac_t""yes" 1>&6
16327 - ac_tr_lib=HAVE_LIB`echo tiff | sed -e 's/[^a-zA-Z0-9_]/_/g' \
16328 - -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
16329 - cat >> confdefs.h <<EOF
16330 -#define $ac_tr_lib 1
16332 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16333 +LIBS=$ac_check_lib_save_LIBS
16335 +echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFOpen" >&5
16336 +echo "${ECHO_T}$ac_cv_lib_tiff_TIFFOpen" >&6
16337 +if test $ac_cv_lib_tiff_TIFFOpen = yes; then
16338 + cat >>confdefs.h <<_ACEOF
16339 +#define HAVE_LIBTIFF 1
16342 LIBS="-ltiff $LIBS"
16345 - echo "$ac_t""no" 1>&6
16348 if test "$ac_cv_header_tiffio_h" = yes && test "$ac_cv_lib_tiff_TIFFOpen" = yes; then
16349 - cat >> confdefs.h <<\EOF
16350 + cat >>confdefs.h <<\_ACEOF
16351 #define HAVE_TIFF 1
16356 image_formats="$image_formats TIFF"
16361 # Check whether --with-svgalib or --without-svgalib was given.
16362 if test "${with_svgalib+set}" = set; then
16363 withval="$with_svgalib"
16364 if test "$withval" = no; then disable_svgalib=yes; else disable_svgalib=no; fi
16368 # Check whether --with-x or --without-x was given.
16369 if test "${with_x+set}" = set; then
16371 if test "$withval" = no; then disable_x=yes; else disable_x=no; fi
16375 # Check whether --with-fb or --without-fb was given.
16376 if test "${with_fb+set}" = set; then
16378 if test "$withval" = no; then disable_fb=yes; else disable_fb=no; fi
16382 # Check whether --with-directfb or --without-directfb was given.
16383 if test "${with_directfb+set}" = set; then
16384 withval="$with_directfb"
16385 if test "$withval" = no; then disable_directfb=yes; else disable_directfb=no; fi
16389 # Check whether --with-pmshell or --without-pmshell was given.
16390 if test "${with_pmshell+set}" = set; then
16391 withval="$with_pmshell"
16392 if test "$withval" = no; then disable_pmshell=yes; else disable_pmshell=no; fi
16396 # Check whether --with-atheos or --without-atheos was given.
16397 if test "${with_atheos+set}" = set; then
16398 withval="$with_atheos"
16399 if test "$withval" = no; then disable_atheos=yes; else disable_atheos; fi
16406 if test "$disable_svgalib" != yes ; then
16407 - echo $ac_n "checking for svgalib""... $ac_c" 1>&6
16408 -echo "configure:5165: checking for svgalib" >&5
16409 -if eval "test \"`echo '$''{'ac_cv_have_svgalib'+set}'`\" = set"; then
16410 - echo $ac_n "(cached) $ac_c" 1>&6
16411 + echo "$as_me:$LINENO: checking for svgalib" >&5
16412 +echo $ECHO_N "checking for svgalib... $ECHO_C" >&6
16413 +if test "${ac_cv_have_svgalib+set}" = set; then
16414 + echo $ECHO_N "(cached) $ECHO_C" >&6
16418 - cat > conftest.$ac_ext <<EOF
16419 -#line 5172 "configure"
16420 -#include "confdefs.h"
16421 + cat >conftest.$ac_ext <<_ACEOF
16422 +#line $LINENO "configure"
16425 +cat confdefs.h >>conftest.$ac_ext
16426 +cat >>conftest.$ac_ext <<_ACEOF
16427 +/* end confdefs.h. */
16436 -if { (eval echo configure:5179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16442 +rm -f conftest.$ac_objext conftest$ac_exeext
16443 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16444 + (eval $ac_link) 2>&5
16446 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16447 + (exit $ac_status); } &&
16448 + { ac_try='test -s conftest$ac_exeext'
16449 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16450 + (eval $ac_try) 2>&5
16452 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16453 + (exit $ac_status); }; }; then
16454 ac_cv_have_svgalib=yes
16456 - echo "configure: failed program was:" >&5
16457 - cat conftest.$ac_ext >&5
16459 - ac_cv_have_svgalib=no
16460 + echo "$as_me: failed program was:" >&5
16461 +sed 's/^/| /' conftest.$ac_ext >&5
16463 +ac_cv_have_svgalib=no
16466 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16471 -echo "$ac_t""$ac_cv_have_svgalib" 1>&6
16473 +echo "$as_me:$LINENO: result: $ac_cv_have_svgalib" >&5
16474 +echo "${ECHO_T}$ac_cv_have_svgalib" >&6
16476 if test "$ac_cv_have_svgalib" = yes; then
16477 - cat >> confdefs.h <<\EOF
16478 + cat >>confdefs.h <<\_ACEOF
16479 #define GRDRV_SVGALIB 1
16484 drivers="$drivers SVGALIB"
16490 if test "$disable_fb" != yes ; then
16491 - for ac_hdr in linux/fb.h
16493 +for ac_header in linux/fb.h
16495 -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16496 -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
16497 -echo "configure:5211: checking for $ac_hdr" >&5
16498 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16499 - echo $ac_n "(cached) $ac_c" 1>&6
16500 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16501 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
16502 + echo "$as_me:$LINENO: checking for $ac_header" >&5
16503 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16504 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
16505 + echo $ECHO_N "(cached) $ECHO_C" >&6
16507 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16508 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16510 - cat > conftest.$ac_ext <<EOF
16511 -#line 5216 "configure"
16512 -#include "confdefs.h"
16513 -#include <$ac_hdr>
16515 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16516 -{ (eval echo configure:5221: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16517 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16518 -if test -z "$ac_err"; then
16520 - eval "ac_cv_header_$ac_safe=yes"
16521 + # Is the header compilable?
16522 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
16523 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16524 +cat >conftest.$ac_ext <<_ACEOF
16525 +#line $LINENO "configure"
16528 +cat confdefs.h >>conftest.$ac_ext
16529 +cat >>conftest.$ac_ext <<_ACEOF
16530 +/* end confdefs.h. */
16531 +$ac_includes_default
16532 +#include <$ac_header>
16534 +rm -f conftest.$ac_objext
16535 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16536 + (eval $ac_compile) 2>&5
16538 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16539 + (exit $ac_status); } &&
16540 + { ac_try='test -s conftest.$ac_objext'
16541 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16542 + (eval $ac_try) 2>&5
16544 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16545 + (exit $ac_status); }; }; then
16546 + ac_header_compiler=yes
16548 - echo "$ac_err" >&5
16549 - echo "configure: failed program was:" >&5
16550 - cat conftest.$ac_ext >&5
16552 - eval "ac_cv_header_$ac_safe=no"
16553 + echo "$as_me: failed program was:" >&5
16554 +sed 's/^/| /' conftest.$ac_ext >&5
16556 +ac_header_compiler=no
16559 +rm -f conftest.$ac_objext conftest.$ac_ext
16560 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16561 +echo "${ECHO_T}$ac_header_compiler" >&6
16563 +# Is the header present?
16564 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
16565 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16566 +cat >conftest.$ac_ext <<_ACEOF
16567 +#line $LINENO "configure"
16570 +cat confdefs.h >>conftest.$ac_ext
16571 +cat >>conftest.$ac_ext <<_ACEOF
16572 +/* end confdefs.h. */
16573 +#include <$ac_header>
16575 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16576 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16578 + grep -v '^ *+' conftest.er1 >conftest.err
16579 + rm -f conftest.er1
16580 + cat conftest.err >&5
16581 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16582 + (exit $ac_status); } >/dev/null; then
16583 + if test -s conftest.err; then
16584 + ac_cpp_err=$ac_c_preproc_warn_flag
16591 -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16592 - echo "$ac_t""yes" 1>&6
16593 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16594 - cat >> confdefs.h <<EOF
16595 -#define $ac_tr_hdr 1
16598 +if test -z "$ac_cpp_err"; then
16599 + ac_header_preproc=yes
16601 - echo "$ac_t""no" 1>&6
16602 + echo "$as_me: failed program was:" >&5
16603 +sed 's/^/| /' conftest.$ac_ext >&5
16605 + ac_header_preproc=no
16607 +rm -f conftest.err conftest.$ac_ext
16608 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16609 +echo "${ECHO_T}$ac_header_preproc" >&6
16611 +# So? What about this header?
16612 +case $ac_header_compiler:$ac_header_preproc in
16614 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16615 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16616 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16617 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16620 +## ------------------------------------ ##
16621 +## Report this to bug-autoconf@gnu.org. ##
16622 +## ------------------------------------ ##
16625 + sed "s/^/$as_me: WARNING: /" >&2
16628 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16629 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16630 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16631 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16632 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16633 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16636 +## ------------------------------------ ##
16637 +## Report this to bug-autoconf@gnu.org. ##
16638 +## ------------------------------------ ##
16641 + sed "s/^/$as_me: WARNING: /" >&2
16644 +echo "$as_me:$LINENO: checking for $ac_header" >&5
16645 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16646 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
16647 + echo $ECHO_N "(cached) $ECHO_C" >&6
16649 + eval "$as_ac_Header=$ac_header_preproc"
16651 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16652 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16655 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
16656 + cat >>confdefs.h <<_ACEOF
16657 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16664 - for ac_hdr in linux/kd.h
16666 +for ac_header in linux/kd.h
16668 -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16669 -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
16670 -echo "configure:5251: checking for $ac_hdr" >&5
16671 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16672 - echo $ac_n "(cached) $ac_c" 1>&6
16673 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16674 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
16675 + echo "$as_me:$LINENO: checking for $ac_header" >&5
16676 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16677 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
16678 + echo $ECHO_N "(cached) $ECHO_C" >&6
16680 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16681 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16683 - cat > conftest.$ac_ext <<EOF
16684 -#line 5256 "configure"
16685 -#include "confdefs.h"
16686 -#include <$ac_hdr>
16688 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16689 -{ (eval echo configure:5261: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16690 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16691 -if test -z "$ac_err"; then
16693 - eval "ac_cv_header_$ac_safe=yes"
16694 + # Is the header compilable?
16695 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
16696 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16697 +cat >conftest.$ac_ext <<_ACEOF
16698 +#line $LINENO "configure"
16701 +cat confdefs.h >>conftest.$ac_ext
16702 +cat >>conftest.$ac_ext <<_ACEOF
16703 +/* end confdefs.h. */
16704 +$ac_includes_default
16705 +#include <$ac_header>
16707 +rm -f conftest.$ac_objext
16708 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16709 + (eval $ac_compile) 2>&5
16711 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16712 + (exit $ac_status); } &&
16713 + { ac_try='test -s conftest.$ac_objext'
16714 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16715 + (eval $ac_try) 2>&5
16717 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16718 + (exit $ac_status); }; }; then
16719 + ac_header_compiler=yes
16721 - echo "$ac_err" >&5
16722 - echo "configure: failed program was:" >&5
16723 - cat conftest.$ac_ext >&5
16725 - eval "ac_cv_header_$ac_safe=no"
16726 + echo "$as_me: failed program was:" >&5
16727 +sed 's/^/| /' conftest.$ac_ext >&5
16729 +ac_header_compiler=no
16732 +rm -f conftest.$ac_objext conftest.$ac_ext
16733 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16734 +echo "${ECHO_T}$ac_header_compiler" >&6
16736 +# Is the header present?
16737 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
16738 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16739 +cat >conftest.$ac_ext <<_ACEOF
16740 +#line $LINENO "configure"
16743 +cat confdefs.h >>conftest.$ac_ext
16744 +cat >>conftest.$ac_ext <<_ACEOF
16745 +/* end confdefs.h. */
16746 +#include <$ac_header>
16748 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16749 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16751 + grep -v '^ *+' conftest.er1 >conftest.err
16752 + rm -f conftest.er1
16753 + cat conftest.err >&5
16754 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16755 + (exit $ac_status); } >/dev/null; then
16756 + if test -s conftest.err; then
16757 + ac_cpp_err=$ac_c_preproc_warn_flag
16764 -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16765 - echo "$ac_t""yes" 1>&6
16766 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16767 - cat >> confdefs.h <<EOF
16768 -#define $ac_tr_hdr 1
16771 +if test -z "$ac_cpp_err"; then
16772 + ac_header_preproc=yes
16774 - echo "$ac_t""no" 1>&6
16775 + echo "$as_me: failed program was:" >&5
16776 +sed 's/^/| /' conftest.$ac_ext >&5
16778 + ac_header_preproc=no
16780 +rm -f conftest.err conftest.$ac_ext
16781 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16782 +echo "${ECHO_T}$ac_header_preproc" >&6
16784 +# So? What about this header?
16785 +case $ac_header_compiler:$ac_header_preproc in
16787 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16788 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16789 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16790 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16793 +## ------------------------------------ ##
16794 +## Report this to bug-autoconf@gnu.org. ##
16795 +## ------------------------------------ ##
16798 + sed "s/^/$as_me: WARNING: /" >&2
16801 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16802 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16803 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16804 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16805 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16806 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16809 +## ------------------------------------ ##
16810 +## Report this to bug-autoconf@gnu.org. ##
16811 +## ------------------------------------ ##
16814 + sed "s/^/$as_me: WARNING: /" >&2
16817 +echo "$as_me:$LINENO: checking for $ac_header" >&5
16818 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16819 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
16820 + echo $ECHO_N "(cached) $ECHO_C" >&6
16822 + eval "$as_ac_Header=$ac_header_preproc"
16824 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16825 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16828 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
16829 + cat >>confdefs.h <<_ACEOF
16830 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16837 - for ac_hdr in linux/vt.h
16839 +for ac_header in linux/vt.h
16841 -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16842 -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
16843 -echo "configure:5291: checking for $ac_hdr" >&5
16844 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16845 - echo $ac_n "(cached) $ac_c" 1>&6
16846 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16847 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
16848 + echo "$as_me:$LINENO: checking for $ac_header" >&5
16849 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16850 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
16851 + echo $ECHO_N "(cached) $ECHO_C" >&6
16853 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16854 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16856 - cat > conftest.$ac_ext <<EOF
16857 -#line 5296 "configure"
16858 -#include "confdefs.h"
16859 -#include <$ac_hdr>
16861 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16862 -{ (eval echo configure:5301: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16863 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16864 -if test -z "$ac_err"; then
16866 - eval "ac_cv_header_$ac_safe=yes"
16867 + # Is the header compilable?
16868 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
16869 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16870 +cat >conftest.$ac_ext <<_ACEOF
16871 +#line $LINENO "configure"
16874 +cat confdefs.h >>conftest.$ac_ext
16875 +cat >>conftest.$ac_ext <<_ACEOF
16876 +/* end confdefs.h. */
16877 +$ac_includes_default
16878 +#include <$ac_header>
16880 +rm -f conftest.$ac_objext
16881 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16882 + (eval $ac_compile) 2>&5
16884 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16885 + (exit $ac_status); } &&
16886 + { ac_try='test -s conftest.$ac_objext'
16887 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16888 + (eval $ac_try) 2>&5
16890 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16891 + (exit $ac_status); }; }; then
16892 + ac_header_compiler=yes
16894 - echo "$ac_err" >&5
16895 - echo "configure: failed program was:" >&5
16896 - cat conftest.$ac_ext >&5
16898 - eval "ac_cv_header_$ac_safe=no"
16899 + echo "$as_me: failed program was:" >&5
16900 +sed 's/^/| /' conftest.$ac_ext >&5
16902 +ac_header_compiler=no
16905 +rm -f conftest.$ac_objext conftest.$ac_ext
16906 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16907 +echo "${ECHO_T}$ac_header_compiler" >&6
16909 +# Is the header present?
16910 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
16911 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16912 +cat >conftest.$ac_ext <<_ACEOF
16913 +#line $LINENO "configure"
16916 +cat confdefs.h >>conftest.$ac_ext
16917 +cat >>conftest.$ac_ext <<_ACEOF
16918 +/* end confdefs.h. */
16919 +#include <$ac_header>
16921 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16922 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16924 + grep -v '^ *+' conftest.er1 >conftest.err
16925 + rm -f conftest.er1
16926 + cat conftest.err >&5
16927 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16928 + (exit $ac_status); } >/dev/null; then
16929 + if test -s conftest.err; then
16930 + ac_cpp_err=$ac_c_preproc_warn_flag
16937 -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16938 - echo "$ac_t""yes" 1>&6
16939 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16940 - cat >> confdefs.h <<EOF
16941 -#define $ac_tr_hdr 1
16944 +if test -z "$ac_cpp_err"; then
16945 + ac_header_preproc=yes
16947 - echo "$ac_t""no" 1>&6
16948 + echo "$as_me: failed program was:" >&5
16949 +sed 's/^/| /' conftest.$ac_ext >&5
16951 + ac_header_preproc=no
16953 +rm -f conftest.err conftest.$ac_ext
16954 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16955 +echo "${ECHO_T}$ac_header_preproc" >&6
16957 +# So? What about this header?
16958 +case $ac_header_compiler:$ac_header_preproc in
16960 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16961 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16962 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16963 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16966 +## ------------------------------------ ##
16967 +## Report this to bug-autoconf@gnu.org. ##
16968 +## ------------------------------------ ##
16971 + sed "s/^/$as_me: WARNING: /" >&2
16974 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16975 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16976 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16977 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16978 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16979 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16982 +## ------------------------------------ ##
16983 +## Report this to bug-autoconf@gnu.org. ##
16984 +## ------------------------------------ ##
16987 + sed "s/^/$as_me: WARNING: /" >&2
16990 +echo "$as_me:$LINENO: checking for $ac_header" >&5
16991 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16992 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
16993 + echo $ECHO_N "(cached) $ECHO_C" >&6
16995 + eval "$as_ac_Header=$ac_header_preproc"
16997 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16998 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17001 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
17002 + cat >>confdefs.h <<_ACEOF
17003 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17010 - for ac_hdr in sys/mman.h
17012 +for ac_header in sys/mman.h
17014 -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17015 -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17016 -echo "configure:5331: checking for $ac_hdr" >&5
17017 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17018 - echo $ac_n "(cached) $ac_c" 1>&6
17019 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17020 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
17021 + echo "$as_me:$LINENO: checking for $ac_header" >&5
17022 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17023 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
17024 + echo $ECHO_N "(cached) $ECHO_C" >&6
17026 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17027 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17029 - cat > conftest.$ac_ext <<EOF
17030 -#line 5336 "configure"
17031 -#include "confdefs.h"
17032 -#include <$ac_hdr>
17034 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17035 -{ (eval echo configure:5341: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17036 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17037 -if test -z "$ac_err"; then
17039 - eval "ac_cv_header_$ac_safe=yes"
17040 + # Is the header compilable?
17041 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
17042 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17043 +cat >conftest.$ac_ext <<_ACEOF
17044 +#line $LINENO "configure"
17047 +cat confdefs.h >>conftest.$ac_ext
17048 +cat >>conftest.$ac_ext <<_ACEOF
17049 +/* end confdefs.h. */
17050 +$ac_includes_default
17051 +#include <$ac_header>
17053 +rm -f conftest.$ac_objext
17054 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17055 + (eval $ac_compile) 2>&5
17057 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17058 + (exit $ac_status); } &&
17059 + { ac_try='test -s conftest.$ac_objext'
17060 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17061 + (eval $ac_try) 2>&5
17063 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17064 + (exit $ac_status); }; }; then
17065 + ac_header_compiler=yes
17067 - echo "$ac_err" >&5
17068 - echo "configure: failed program was:" >&5
17069 - cat conftest.$ac_ext >&5
17071 - eval "ac_cv_header_$ac_safe=no"
17072 + echo "$as_me: failed program was:" >&5
17073 +sed 's/^/| /' conftest.$ac_ext >&5
17075 +ac_header_compiler=no
17078 +rm -f conftest.$ac_objext conftest.$ac_ext
17079 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17080 +echo "${ECHO_T}$ac_header_compiler" >&6
17082 +# Is the header present?
17083 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
17084 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17085 +cat >conftest.$ac_ext <<_ACEOF
17086 +#line $LINENO "configure"
17089 +cat confdefs.h >>conftest.$ac_ext
17090 +cat >>conftest.$ac_ext <<_ACEOF
17091 +/* end confdefs.h. */
17092 +#include <$ac_header>
17094 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17095 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17097 + grep -v '^ *+' conftest.er1 >conftest.err
17098 + rm -f conftest.er1
17099 + cat conftest.err >&5
17100 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17101 + (exit $ac_status); } >/dev/null; then
17102 + if test -s conftest.err; then
17103 + ac_cpp_err=$ac_c_preproc_warn_flag
17110 -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17111 - echo "$ac_t""yes" 1>&6
17112 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17113 - cat >> confdefs.h <<EOF
17114 -#define $ac_tr_hdr 1
17117 +if test -z "$ac_cpp_err"; then
17118 + ac_header_preproc=yes
17120 - echo "$ac_t""no" 1>&6
17121 + echo "$as_me: failed program was:" >&5
17122 +sed 's/^/| /' conftest.$ac_ext >&5
17124 + ac_header_preproc=no
17126 +rm -f conftest.err conftest.$ac_ext
17127 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17128 +echo "${ECHO_T}$ac_header_preproc" >&6
17130 +# So? What about this header?
17131 +case $ac_header_compiler:$ac_header_preproc in
17133 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17134 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17135 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17136 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17139 +## ------------------------------------ ##
17140 +## Report this to bug-autoconf@gnu.org. ##
17141 +## ------------------------------------ ##
17144 + sed "s/^/$as_me: WARNING: /" >&2
17147 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17148 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17149 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17150 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17151 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17152 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17155 +## ------------------------------------ ##
17156 +## Report this to bug-autoconf@gnu.org. ##
17157 +## ------------------------------------ ##
17160 + sed "s/^/$as_me: WARNING: /" >&2
17163 +echo "$as_me:$LINENO: checking for $ac_header" >&5
17164 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17165 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
17166 + echo $ECHO_N "(cached) $ECHO_C" >&6
17168 + eval "$as_ac_Header=$ac_header_preproc"
17170 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17171 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17174 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
17175 + cat >>confdefs.h <<_ACEOF
17176 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17183 if test "$ac_cv_header_linux_fb_h" = yes && test "$ac_cv_header_linux_kd_h" = yes && test "$ac_cv_header_linux_vt_h" = yes && test "$ac_cv_header_sys_mman_h" = yes && test "$ac_cv_header_sys_ioctl_h" = yes && test "$cf_have_gpm" = yes; then
17184 - cat >> confdefs.h <<\EOF
17185 + cat >>confdefs.h <<\_ACEOF
17190 drivers="$drivers FB"
17192 @@ -5375,74 +13650,76 @@
17193 if test "$disable_directfb" != yes ; then
17194 # Extract the first word of "directfb-config", so it can be a program name with args.
17195 set dummy directfb-config; ac_word=$2
17196 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
17197 -echo "configure:5380: checking for $ac_word" >&5
17198 -if eval "test \"`echo '$''{'ac_cv_path_DIRECTFB_CONFIG'+set}'`\" = set"; then
17199 - echo $ac_n "(cached) $ac_c" 1>&6
17200 +echo "$as_me:$LINENO: checking for $ac_word" >&5
17201 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
17202 +if test "${ac_cv_path_DIRECTFB_CONFIG+set}" = set; then
17203 + echo $ECHO_N "(cached) $ECHO_C" >&6
17205 - case "$DIRECTFB_CONFIG" in
17207 + case $DIRECTFB_CONFIG in
17208 + [\\/]* | ?:[\\/]*)
17209 ac_cv_path_DIRECTFB_CONFIG="$DIRECTFB_CONFIG" # Let the user override the test with a path.
17212 - ac_cv_path_DIRECTFB_CONFIG="$DIRECTFB_CONFIG" # Let the user override the test with a dos path.
17215 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
17217 - for ac_dir in $ac_dummy; do
17218 - test -z "$ac_dir" && ac_dir=.
17219 - if test -f $ac_dir/$ac_word; then
17220 - ac_cv_path_DIRECTFB_CONFIG="$ac_dir/$ac_word"
17224 - IFS="$ac_save_ifs"
17225 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17226 +for as_dir in $PATH
17229 + test -z "$as_dir" && as_dir=.
17230 + for ac_exec_ext in '' $ac_executable_extensions; do
17231 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17232 + ac_cv_path_DIRECTFB_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17233 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17239 test -z "$ac_cv_path_DIRECTFB_CONFIG" && ac_cv_path_DIRECTFB_CONFIG="no"
17243 -DIRECTFB_CONFIG="$ac_cv_path_DIRECTFB_CONFIG"
17244 +DIRECTFB_CONFIG=$ac_cv_path_DIRECTFB_CONFIG
17246 if test -n "$DIRECTFB_CONFIG"; then
17247 - echo "$ac_t""$DIRECTFB_CONFIG" 1>&6
17248 + echo "$as_me:$LINENO: result: $DIRECTFB_CONFIG" >&5
17249 +echo "${ECHO_T}$DIRECTFB_CONFIG" >&6
17251 - echo "$ac_t""no" 1>&6
17252 + echo "$as_me:$LINENO: result: no" >&5
17253 +echo "${ECHO_T}no" >&6
17256 if test "$DIRECTFB_CONFIG" != "no"; then
17257 - echo $ac_n "checking for DirectFB >= 0.9.17""... $ac_c" 1>&6
17258 -echo "configure:5415: checking for DirectFB >= 0.9.17" >&5
17259 + echo "$as_me:$LINENO: checking for DirectFB >= 0.9.17" >&5
17260 +echo $ECHO_N "checking for DirectFB >= 0.9.17... $ECHO_C" >&6
17261 directfb_version=`$DIRECTFB_CONFIG --version`
17262 if expr $directfb_version \>= 0.9.17 >/dev/null; then
17263 - echo "$ac_t""yes" 1>&6
17264 + echo "$as_me:$LINENO: result: yes" >&5
17265 +echo "${ECHO_T}yes" >&6
17266 DIRECTFB_CFLAGS=`$DIRECTFB_CONFIG --cflags`
17267 DIRECTFB_LIBS=`$DIRECTFB_CONFIG --libs`
17268 - cat >> confdefs.h <<\EOF
17269 + cat >>confdefs.h <<\_ACEOF
17270 #define GRDRV_DIRECTFB 1
17274 drivers="$drivers DIRECTFB"
17275 CPPFLAGS="$CPPFLAGS $DIRECTFB_CFLAGS"
17276 LIBS="$LIBS $DIRECTFB_LIBS"
17278 - echo "$ac_t""no" 1>&6
17279 + echo "$as_me:$LINENO: result: no" >&5
17280 +echo "${ECHO_T}no" >&6
17285 - # If we find X, set shell vars x_includes and x_libraries to the
17286 -# paths, otherwise set no_x=yes.
17287 -# Uses ac_ vars as temps to allow command line to override cache and checks.
17288 -# --without-x overrides everything else, but does not touch the cache.
17289 -echo $ac_n "checking for X""... $ac_c" 1>&6
17290 -echo "configure:5439: checking for X" >&5
17291 + echo "$as_me:$LINENO: checking for X" >&5
17292 +echo $ECHO_N "checking for X... $ECHO_C" >&6
17295 # Check whether --with-x or --without-x was given.
17296 if test "${with_x+set}" = set; then
17302 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
17303 if test "x$with_x" = xno; then
17304 # The user explicitly disabled X.
17305 @@ -5452,193 +13729,184 @@
17306 # Both variables are already set.
17309 -if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
17310 - echo $ac_n "(cached) $ac_c" 1>&6
17311 + if test "${ac_cv_have_x+set}" = set; then
17312 + echo $ECHO_N "(cached) $ECHO_C" >&6
17314 # One or both of the vars are not set, and there is no cached value.
17315 -ac_x_includes=NO ac_x_libraries=NO
17316 -rm -fr conftestdir
17317 -if mkdir conftestdir; then
17319 +ac_x_includes=no ac_x_libraries=no
17320 +rm -fr conftest.dir
17321 +if mkdir conftest.dir; then
17323 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
17324 - cat > Imakefile <<'EOF'
17325 + cat >Imakefile <<'_ACEOF'
17327 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
17330 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
17331 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
17332 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
17333 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
17334 for ac_extension in a so sl; do
17335 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
17336 - test -f $ac_im_libdir/libX11.$ac_extension; then
17337 + test -f $ac_im_libdir/libX11.$ac_extension; then
17338 ac_im_usrlibdir=$ac_im_libdir; break
17341 # Screen out bogus values from the imake configuration. They are
17342 # bogus both because they are the default anyway, and because
17343 # using them would break gcc on systems where it needs fixed includes.
17344 - case "$ac_im_incroot" in
17345 + case $ac_im_incroot in
17347 - *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes="$ac_im_incroot" ;;
17348 + *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
17350 - case "$ac_im_usrlibdir" in
17351 + case $ac_im_usrlibdir in
17352 /usr/lib | /lib) ;;
17353 - *) test -d "$ac_im_usrlibdir" && ac_x_libraries="$ac_im_usrlibdir" ;;
17354 + *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
17358 - rm -fr conftestdir
17359 + rm -fr conftest.dir
17362 -if test "$ac_x_includes" = NO; then
17363 - # Guess where to find include files, by looking for this one X11 .h file.
17364 - test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h
17365 +# Standard set of common directories for X headers.
17366 +# Check X11 before X11Rn because it is often a symlink to the current release.
17367 +ac_x_header_dirs='
17369 +/usr/X11R6/include
17370 +/usr/X11R5/include
17371 +/usr/X11R4/include
17374 +/usr/include/X11R6
17375 +/usr/include/X11R5
17376 +/usr/include/X11R4
17378 +/usr/local/X11/include
17379 +/usr/local/X11R6/include
17380 +/usr/local/X11R5/include
17381 +/usr/local/X11R4/include
17383 +/usr/local/include/X11
17384 +/usr/local/include/X11R6
17385 +/usr/local/include/X11R5
17386 +/usr/local/include/X11R4
17390 +/usr/XFree86/include/X11
17393 +/usr/local/include
17394 +/usr/unsupported/include
17395 +/usr/athena/include
17396 +/usr/local/x11r5/include
17397 +/usr/lpp/Xamples/include
17399 +/usr/openwin/include
17400 +/usr/openwin/share/include'
17402 +if test "$ac_x_includes" = no; then
17403 + # Guess where to find include files, by looking for Intrinsic.h.
17404 # First, try using that file with no special directory specified.
17405 -cat > conftest.$ac_ext <<EOF
17406 -#line 5501 "configure"
17407 -#include "confdefs.h"
17408 -#include <$x_direct_test_include>
17410 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17411 -{ (eval echo configure:5506: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17412 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17413 -if test -z "$ac_err"; then
17415 + cat >conftest.$ac_ext <<_ACEOF
17416 +#line $LINENO "configure"
17419 +cat confdefs.h >>conftest.$ac_ext
17420 +cat >>conftest.$ac_ext <<_ACEOF
17421 +/* end confdefs.h. */
17422 +#include <X11/Intrinsic.h>
17424 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17425 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17427 + grep -v '^ *+' conftest.er1 >conftest.err
17428 + rm -f conftest.er1
17429 + cat conftest.err >&5
17430 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17431 + (exit $ac_status); } >/dev/null; then
17432 + if test -s conftest.err; then
17433 + ac_cpp_err=$ac_c_preproc_warn_flag
17440 +if test -z "$ac_cpp_err"; then
17441 # We can compile using X headers with no special include directory.
17444 - echo "$ac_err" >&5
17445 - echo "configure: failed program was:" >&5
17446 - cat conftest.$ac_ext >&5
17448 - # Look for the header file in a standard set of common directories.
17449 -# Check X11 before X11Rn because it is often a symlink to the current release.
17451 - /usr/X11/include \
17452 - /usr/X11R6/include \
17453 - /usr/X11R5/include \
17454 - /usr/X11R4/include \
17456 - /usr/include/X11 \
17457 - /usr/include/X11R6 \
17458 - /usr/include/X11R5 \
17459 - /usr/include/X11R4 \
17461 - /usr/local/X11/include \
17462 - /usr/local/X11R6/include \
17463 - /usr/local/X11R5/include \
17464 - /usr/local/X11R4/include \
17466 - /usr/local/include/X11 \
17467 - /usr/local/include/X11R6 \
17468 - /usr/local/include/X11R5 \
17469 - /usr/local/include/X11R4 \
17471 - /usr/X386/include \
17472 - /usr/x386/include \
17473 - /usr/XFree86/include/X11 \
17476 - /usr/local/include \
17477 - /usr/unsupported/include \
17478 - /usr/athena/include \
17479 - /usr/local/x11r5/include \
17480 - /usr/lpp/Xamples/include \
17482 - /usr/openwin/include \
17483 - /usr/openwin/share/include \
17486 - if test -r "$ac_dir/$x_direct_test_include"; then
17487 - ac_x_includes=$ac_dir
17491 + echo "$as_me: failed program was:" >&5
17492 +sed 's/^/| /' conftest.$ac_ext >&5
17494 + for ac_dir in $ac_x_header_dirs; do
17495 + if test -r "$ac_dir/X11/Intrinsic.h"; then
17496 + ac_x_includes=$ac_dir
17502 -fi # $ac_x_includes = NO
17503 +rm -f conftest.err conftest.$ac_ext
17504 +fi # $ac_x_includes = no
17506 -if test "$ac_x_libraries" = NO; then
17507 +if test "$ac_x_libraries" = no; then
17508 # Check for the libraries.
17510 - test -z "$x_direct_test_library" && x_direct_test_library=Xt
17511 - test -z "$x_direct_test_function" && x_direct_test_function=XtMalloc
17513 # See if we find them without any special options.
17514 # Don't add to $LIBS permanently.
17515 - ac_save_LIBS="$LIBS"
17516 - LIBS="-l$x_direct_test_library $LIBS"
17517 -cat > conftest.$ac_ext <<EOF
17518 -#line 5575 "configure"
17519 -#include "confdefs.h"
17522 -${x_direct_test_function}()
17525 -if { (eval echo configure:5582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17527 - LIBS="$ac_save_LIBS"
17528 + ac_save_LIBS=$LIBS
17529 + LIBS="-lXt $LIBS"
17530 + cat >conftest.$ac_ext <<_ACEOF
17531 +#line $LINENO "configure"
17534 +cat confdefs.h >>conftest.$ac_ext
17535 +cat >>conftest.$ac_ext <<_ACEOF
17536 +/* end confdefs.h. */
17537 +#include <X11/Intrinsic.h>
17546 +rm -f conftest.$ac_objext conftest$ac_exeext
17547 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17548 + (eval $ac_link) 2>&5
17550 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17551 + (exit $ac_status); } &&
17552 + { ac_try='test -s conftest$ac_exeext'
17553 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17554 + (eval $ac_try) 2>&5
17556 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17557 + (exit $ac_status); }; }; then
17558 + LIBS=$ac_save_LIBS
17559 # We can link X programs with no special library path.
17562 - echo "configure: failed program was:" >&5
17563 - cat conftest.$ac_ext >&5
17565 - LIBS="$ac_save_LIBS"
17566 -# First see if replacing the include by lib works.
17567 -# Check X11 before X11Rn because it is often a symlink to the current release.
17568 -for ac_dir in `echo "$ac_x_includes" | sed s/include/lib/` \
17579 - /usr/local/X11/lib \
17580 - /usr/local/X11R6/lib \
17581 - /usr/local/X11R5/lib \
17582 - /usr/local/X11R4/lib \
17584 - /usr/local/lib/X11 \
17585 - /usr/local/lib/X11R6 \
17586 - /usr/local/lib/X11R5 \
17587 - /usr/local/lib/X11R4 \
17591 - /usr/XFree86/lib/X11 \
17595 - /usr/unsupported/lib \
17596 - /usr/athena/lib \
17597 - /usr/local/x11r5/lib \
17598 - /usr/lpp/Xamples/lib \
17599 - /lib/usr/lib/X11 \
17601 - /usr/openwin/lib \
17602 - /usr/openwin/share/lib \
17604 + echo "$as_me: failed program was:" >&5
17605 +sed 's/^/| /' conftest.$ac_ext >&5
17607 +LIBS=$ac_save_LIBS
17608 +for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
17610 + # Don't even attempt the hair of trying to link an X program!
17611 for ac_extension in a so sl; do
17612 - if test -r $ac_dir/lib${x_direct_test_library}.$ac_extension; then
17613 + if test -r $ac_dir/libXt.$ac_extension; then
17614 ac_x_libraries=$ac_dir
17621 -fi # $ac_x_libraries = NO
17622 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17623 +fi # $ac_x_libraries = no
17625 -if test "$ac_x_includes" = NO || test "$ac_x_libraries" = NO; then
17626 +if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
17627 # Didn't find X anywhere. Cache the known absence of X.
17628 ac_cv_have_x="have_x=no"
17630 @@ -5647,12 +13915,14 @@
17631 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
17636 eval "$ac_cv_have_x"
17639 if test "$have_x" != yes; then
17640 - echo "$ac_t""$have_x" 1>&6
17641 + echo "$as_me:$LINENO: result: $have_x" >&5
17642 +echo "${ECHO_T}$have_x" >&6
17645 # If each of the values was on the command line, it overrides each guess.
17646 @@ -5661,111 +13931,234 @@
17647 # Update the cache value to reflect the command line values.
17648 ac_cv_have_x="have_x=yes \
17649 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
17650 - echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
17651 + echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
17652 +echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
17656 if test "$have_x" = yes; then
17657 - cat >> confdefs.h <<\EOF
17658 + cat >>confdefs.h <<\_ACEOF
17663 test -n "$x_libraries" && LIBS="$LIBS -L$x_libraries"
17665 test -n "$x_includes" && CPPFLAGS="$CPPFLAGS -I$x_includes"
17666 drivers="$drivers X"
17667 elif test "$ac_cv_have_x2" != no; then
17668 - echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6
17669 -echo "configure:5680: checking for XOpenDisplay in -lX11" >&5
17670 -ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'`
17671 -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17672 - echo $ac_n "(cached) $ac_c" 1>&6
17674 +echo "$as_me:$LINENO: checking for XOpenDisplay in -lX11" >&5
17675 +echo $ECHO_N "checking for XOpenDisplay in -lX11... $ECHO_C" >&6
17676 +if test "${ac_cv_lib_X11_XOpenDisplay+set}" = set; then
17677 + echo $ECHO_N "(cached) $ECHO_C" >&6
17679 - ac_save_LIBS="$LIBS"
17680 + ac_check_lib_save_LIBS=$LIBS
17682 -cat > conftest.$ac_ext <<EOF
17683 -#line 5688 "configure"
17684 -#include "confdefs.h"
17685 +cat >conftest.$ac_ext <<_ACEOF
17686 +#line $LINENO "configure"
17689 +cat confdefs.h >>conftest.$ac_ext
17690 +cat >>conftest.$ac_ext <<_ACEOF
17691 +/* end confdefs.h. */
17693 /* Override any gcc2 internal prototype to avoid an error. */
17694 +#ifdef __cplusplus
17697 /* We use char because int might match the return type of a gcc2
17698 - builtin and then its argument prototype would still apply. */
17699 -char XOpenDisplay();
17705 -if { (eval echo configure:5699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17707 - eval "ac_cv_lib_$ac_lib_var=yes"
17708 + builtin and then its argument prototype would still apply. */
17709 +char XOpenDisplay ();
17718 +rm -f conftest.$ac_objext conftest$ac_exeext
17719 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17720 + (eval $ac_link) 2>&5
17722 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17723 + (exit $ac_status); } &&
17724 + { ac_try='test -s conftest$ac_exeext'
17725 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17726 + (eval $ac_try) 2>&5
17728 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17729 + (exit $ac_status); }; }; then
17730 + ac_cv_lib_X11_XOpenDisplay=yes
17732 - echo "configure: failed program was:" >&5
17733 - cat conftest.$ac_ext >&5
17735 - eval "ac_cv_lib_$ac_lib_var=no"
17738 -LIBS="$ac_save_LIBS"
17739 + echo "$as_me: failed program was:" >&5
17740 +sed 's/^/| /' conftest.$ac_ext >&5
17742 +ac_cv_lib_X11_XOpenDisplay=no
17744 -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17745 - echo "$ac_t""yes" 1>&6
17746 - ac_tr_lib=HAVE_LIB`echo X11 | sed -e 's/[^a-zA-Z0-9_]/_/g' \
17747 - -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
17748 - cat >> confdefs.h <<EOF
17749 -#define $ac_tr_lib 1
17751 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17752 +LIBS=$ac_check_lib_save_LIBS
17754 +echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XOpenDisplay" >&5
17755 +echo "${ECHO_T}$ac_cv_lib_X11_XOpenDisplay" >&6
17756 +if test $ac_cv_lib_X11_XOpenDisplay = yes; then
17757 + cat >>confdefs.h <<_ACEOF
17758 +#define HAVE_LIBX11 1
17764 - echo "$ac_t""no" 1>&6
17767 - for ac_hdr in X11/Xlib.h X11/X.h X11/Xutil.h X11/Xlocale.h
17772 +for ac_header in X11/Xlib.h X11/X.h X11/Xutil.h X11/Xlocale.h
17774 -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17775 -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17776 -echo "configure:5730: checking for $ac_hdr" >&5
17777 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17778 - echo $ac_n "(cached) $ac_c" 1>&6
17779 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17780 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
17781 + echo "$as_me:$LINENO: checking for $ac_header" >&5
17782 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17783 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
17784 + echo $ECHO_N "(cached) $ECHO_C" >&6
17786 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17787 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17789 - cat > conftest.$ac_ext <<EOF
17790 -#line 5735 "configure"
17791 -#include "confdefs.h"
17792 -#include <$ac_hdr>
17794 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17795 -{ (eval echo configure:5740: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17796 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17797 -if test -z "$ac_err"; then
17799 - eval "ac_cv_header_$ac_safe=yes"
17800 + # Is the header compilable?
17801 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
17802 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17803 +cat >conftest.$ac_ext <<_ACEOF
17804 +#line $LINENO "configure"
17807 +cat confdefs.h >>conftest.$ac_ext
17808 +cat >>conftest.$ac_ext <<_ACEOF
17809 +/* end confdefs.h. */
17810 +$ac_includes_default
17811 +#include <$ac_header>
17813 +rm -f conftest.$ac_objext
17814 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17815 + (eval $ac_compile) 2>&5
17817 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17818 + (exit $ac_status); } &&
17819 + { ac_try='test -s conftest.$ac_objext'
17820 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17821 + (eval $ac_try) 2>&5
17823 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17824 + (exit $ac_status); }; }; then
17825 + ac_header_compiler=yes
17827 - echo "$ac_err" >&5
17828 - echo "configure: failed program was:" >&5
17829 - cat conftest.$ac_ext >&5
17831 - eval "ac_cv_header_$ac_safe=no"
17832 + echo "$as_me: failed program was:" >&5
17833 +sed 's/^/| /' conftest.$ac_ext >&5
17835 +ac_header_compiler=no
17838 +rm -f conftest.$ac_objext conftest.$ac_ext
17839 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17840 +echo "${ECHO_T}$ac_header_compiler" >&6
17842 +# Is the header present?
17843 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
17844 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17845 +cat >conftest.$ac_ext <<_ACEOF
17846 +#line $LINENO "configure"
17849 +cat confdefs.h >>conftest.$ac_ext
17850 +cat >>conftest.$ac_ext <<_ACEOF
17851 +/* end confdefs.h. */
17852 +#include <$ac_header>
17854 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17855 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17857 + grep -v '^ *+' conftest.er1 >conftest.err
17858 + rm -f conftest.er1
17859 + cat conftest.err >&5
17860 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17861 + (exit $ac_status); } >/dev/null; then
17862 + if test -s conftest.err; then
17863 + ac_cpp_err=$ac_c_preproc_warn_flag
17870 -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17871 - echo "$ac_t""yes" 1>&6
17872 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17873 - cat >> confdefs.h <<EOF
17874 -#define $ac_tr_hdr 1
17877 +if test -z "$ac_cpp_err"; then
17878 + ac_header_preproc=yes
17880 - echo "$ac_t""no" 1>&6
17881 + echo "$as_me: failed program was:" >&5
17882 +sed 's/^/| /' conftest.$ac_ext >&5
17884 + ac_header_preproc=no
17886 +rm -f conftest.err conftest.$ac_ext
17887 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17888 +echo "${ECHO_T}$ac_header_preproc" >&6
17890 +# So? What about this header?
17891 +case $ac_header_compiler:$ac_header_preproc in
17893 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17894 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17895 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17896 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17899 +## ------------------------------------ ##
17900 +## Report this to bug-autoconf@gnu.org. ##
17901 +## ------------------------------------ ##
17904 + sed "s/^/$as_me: WARNING: /" >&2
17907 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17908 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17909 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17910 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17911 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17912 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17915 +## ------------------------------------ ##
17916 +## Report this to bug-autoconf@gnu.org. ##
17917 +## ------------------------------------ ##
17920 + sed "s/^/$as_me: WARNING: /" >&2
17923 +echo "$as_me:$LINENO: checking for $ac_header" >&5
17924 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17925 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
17926 + echo $ECHO_N "(cached) $ECHO_C" >&6
17928 + eval "$as_ac_Header=$ac_header_preproc"
17930 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17931 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17934 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
17935 + cat >>confdefs.h <<_ACEOF
17936 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17943 if test "$ac_cv_have_libx11" = yes && test "$ac_cv_have_x11_xlib_h" = test && test "$ac_cv_have_x11_x_h" = test && test "$ac_cv_have_x11_xutil_h" = test && test "$ac_cv_have_x11_xlocale_h" = test; then
17944 - cat >> confdefs.h <<\EOF
17945 + cat >>confdefs.h <<\_ACEOF
17950 drivers="$drivers X"
17952 @@ -5773,43 +14166,61 @@
17955 if test "$disable_pmshell" != yes ; then
17956 - echo $ac_n "checking for pmshell""... $ac_c" 1>&6
17957 -echo "configure:5778: checking for pmshell" >&5
17958 -if eval "test \"`echo '$''{'ac_cv_have_pmshell'+set}'`\" = set"; then
17959 - echo $ac_n "(cached) $ac_c" 1>&6
17960 + echo "$as_me:$LINENO: checking for pmshell" >&5
17961 +echo $ECHO_N "checking for pmshell... $ECHO_C" >&6
17962 +if test "${ac_cv_have_pmshell+set}" = set; then
17963 + echo $ECHO_N "(cached) $ECHO_C" >&6
17965 - cat > conftest.$ac_ext <<EOF
17966 -#line 5783 "configure"
17967 -#include "confdefs.h"
17968 + cat >conftest.$ac_ext <<_ACEOF
17969 +#line $LINENO "configure"
17972 +cat confdefs.h >>conftest.$ac_ext
17973 +cat >>conftest.$ac_ext <<_ACEOF
17974 +/* end confdefs.h. */
17978 #include <sys/fmutex.h>
17984 WinDrawText(NULLHANDLE, -1, NULL, NULL, 0, 0, 0),
17985 GpiSetPel(NULLHANDLE, NULL)
17988 -if { (eval echo configure:5795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17994 +rm -f conftest.$ac_objext conftest$ac_exeext
17995 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17996 + (eval $ac_link) 2>&5
17998 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17999 + (exit $ac_status); } &&
18000 + { ac_try='test -s conftest$ac_exeext'
18001 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18002 + (eval $ac_try) 2>&5
18004 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18005 + (exit $ac_status); }; }; then
18006 ac_cv_have_pmshell=yes
18008 - echo "configure: failed program was:" >&5
18009 - cat conftest.$ac_ext >&5
18011 - ac_cv_have_pmshell=no
18012 + echo "$as_me: failed program was:" >&5
18013 +sed 's/^/| /' conftest.$ac_ext >&5
18015 +ac_cv_have_pmshell=no
18019 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18022 +echo "$as_me:$LINENO: result: $ac_cv_have_pmshell" >&5
18023 +echo "${ECHO_T}$ac_cv_have_pmshell" >&6
18025 -echo "$ac_t""$ac_cv_have_pmshell" 1>&6
18027 if test "$ac_cv_have_pmshell" = yes; then
18028 - cat >> confdefs.h <<\EOF
18029 + cat >>confdefs.h <<\_ACEOF
18030 #define GRDRV_PMSHELL 1
18034 drivers="$drivers PMSHELL"
18036 @@ -5818,244 +14229,856 @@
18037 if test "$disable_atheos" != yes ; then
18040 - for ac_hdr in gui/view.h
18042 +for ac_header in gui/view.h
18044 -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18045 -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18046 -echo "configure:5826: checking for $ac_hdr" >&5
18047 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18048 - echo $ac_n "(cached) $ac_c" 1>&6
18049 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18050 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
18051 + echo "$as_me:$LINENO: checking for $ac_header" >&5
18052 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18053 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
18054 + echo $ECHO_N "(cached) $ECHO_C" >&6
18056 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18057 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18059 - cat > conftest.$ac_ext <<EOF
18060 -#line 5831 "configure"
18061 -#include "confdefs.h"
18062 -#include <$ac_hdr>
18064 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18065 -{ (eval echo configure:5836: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18066 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18067 -if test -z "$ac_err"; then
18069 - eval "ac_cv_header_$ac_safe=yes"
18070 + # Is the header compilable?
18071 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
18072 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18073 +cat >conftest.$ac_ext <<_ACEOF
18074 +#line $LINENO "configure"
18077 +cat confdefs.h >>conftest.$ac_ext
18078 +cat >>conftest.$ac_ext <<_ACEOF
18079 +/* end confdefs.h. */
18080 +$ac_includes_default
18081 +#include <$ac_header>
18083 +rm -f conftest.$ac_objext
18084 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18085 + (eval $ac_compile) 2>&5
18087 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18088 + (exit $ac_status); } &&
18089 + { ac_try='test -s conftest.$ac_objext'
18090 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18091 + (eval $ac_try) 2>&5
18093 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18094 + (exit $ac_status); }; }; then
18095 + ac_header_compiler=yes
18097 - echo "$ac_err" >&5
18098 - echo "configure: failed program was:" >&5
18099 - cat conftest.$ac_ext >&5
18101 - eval "ac_cv_header_$ac_safe=no"
18102 + echo "$as_me: failed program was:" >&5
18103 +sed 's/^/| /' conftest.$ac_ext >&5
18105 +ac_header_compiler=no
18108 +rm -f conftest.$ac_objext conftest.$ac_ext
18109 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18110 +echo "${ECHO_T}$ac_header_compiler" >&6
18112 +# Is the header present?
18113 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
18114 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18115 +cat >conftest.$ac_ext <<_ACEOF
18116 +#line $LINENO "configure"
18119 +cat confdefs.h >>conftest.$ac_ext
18120 +cat >>conftest.$ac_ext <<_ACEOF
18121 +/* end confdefs.h. */
18122 +#include <$ac_header>
18124 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18125 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18127 + grep -v '^ *+' conftest.er1 >conftest.err
18128 + rm -f conftest.er1
18129 + cat conftest.err >&5
18130 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18131 + (exit $ac_status); } >/dev/null; then
18132 + if test -s conftest.err; then
18133 + ac_cpp_err=$ac_c_preproc_warn_flag
18140 -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18141 - echo "$ac_t""yes" 1>&6
18142 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18143 - cat >> confdefs.h <<EOF
18144 -#define $ac_tr_hdr 1
18147 +if test -z "$ac_cpp_err"; then
18148 + ac_header_preproc=yes
18150 - echo "$ac_t""no" 1>&6
18151 + echo "$as_me: failed program was:" >&5
18152 +sed 's/^/| /' conftest.$ac_ext >&5
18154 + ac_header_preproc=no
18156 +rm -f conftest.err conftest.$ac_ext
18157 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18158 +echo "${ECHO_T}$ac_header_preproc" >&6
18160 +# So? What about this header?
18161 +case $ac_header_compiler:$ac_header_preproc in
18163 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18164 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18165 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18166 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18169 +## ------------------------------------ ##
18170 +## Report this to bug-autoconf@gnu.org. ##
18171 +## ------------------------------------ ##
18174 + sed "s/^/$as_me: WARNING: /" >&2
18177 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18178 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18179 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18180 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18181 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18182 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18185 +## ------------------------------------ ##
18186 +## Report this to bug-autoconf@gnu.org. ##
18187 +## ------------------------------------ ##
18190 + sed "s/^/$as_me: WARNING: /" >&2
18193 +echo "$as_me:$LINENO: checking for $ac_header" >&5
18194 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18195 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
18196 + echo $ECHO_N "(cached) $ECHO_C" >&6
18198 + eval "$as_ac_Header=$ac_header_preproc"
18200 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18201 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18204 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
18205 + cat >>confdefs.h <<_ACEOF
18206 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18213 - for ac_hdr in gui/window.h
18215 +for ac_header in gui/window.h
18217 -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18218 -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18219 -echo "configure:5866: checking for $ac_hdr" >&5
18220 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18221 - echo $ac_n "(cached) $ac_c" 1>&6
18222 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18223 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
18224 + echo "$as_me:$LINENO: checking for $ac_header" >&5
18225 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18226 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
18227 + echo $ECHO_N "(cached) $ECHO_C" >&6
18229 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18230 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18232 - cat > conftest.$ac_ext <<EOF
18233 -#line 5871 "configure"
18234 -#include "confdefs.h"
18235 -#include <$ac_hdr>
18237 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18238 -{ (eval echo configure:5876: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18239 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18240 -if test -z "$ac_err"; then
18242 - eval "ac_cv_header_$ac_safe=yes"
18243 + # Is the header compilable?
18244 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
18245 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18246 +cat >conftest.$ac_ext <<_ACEOF
18247 +#line $LINENO "configure"
18250 +cat confdefs.h >>conftest.$ac_ext
18251 +cat >>conftest.$ac_ext <<_ACEOF
18252 +/* end confdefs.h. */
18253 +$ac_includes_default
18254 +#include <$ac_header>
18256 +rm -f conftest.$ac_objext
18257 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18258 + (eval $ac_compile) 2>&5
18260 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18261 + (exit $ac_status); } &&
18262 + { ac_try='test -s conftest.$ac_objext'
18263 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18264 + (eval $ac_try) 2>&5
18266 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18267 + (exit $ac_status); }; }; then
18268 + ac_header_compiler=yes
18270 - echo "$ac_err" >&5
18271 - echo "configure: failed program was:" >&5
18272 - cat conftest.$ac_ext >&5
18274 - eval "ac_cv_header_$ac_safe=no"
18275 + echo "$as_me: failed program was:" >&5
18276 +sed 's/^/| /' conftest.$ac_ext >&5
18278 +ac_header_compiler=no
18281 +rm -f conftest.$ac_objext conftest.$ac_ext
18282 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18283 +echo "${ECHO_T}$ac_header_compiler" >&6
18285 +# Is the header present?
18286 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
18287 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18288 +cat >conftest.$ac_ext <<_ACEOF
18289 +#line $LINENO "configure"
18292 +cat confdefs.h >>conftest.$ac_ext
18293 +cat >>conftest.$ac_ext <<_ACEOF
18294 +/* end confdefs.h. */
18295 +#include <$ac_header>
18297 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18298 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18300 + grep -v '^ *+' conftest.er1 >conftest.err
18301 + rm -f conftest.er1
18302 + cat conftest.err >&5
18303 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18304 + (exit $ac_status); } >/dev/null; then
18305 + if test -s conftest.err; then
18306 + ac_cpp_err=$ac_c_preproc_warn_flag
18313 -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18314 - echo "$ac_t""yes" 1>&6
18315 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18316 - cat >> confdefs.h <<EOF
18317 -#define $ac_tr_hdr 1
18320 +if test -z "$ac_cpp_err"; then
18321 + ac_header_preproc=yes
18323 - echo "$ac_t""no" 1>&6
18324 + echo "$as_me: failed program was:" >&5
18325 +sed 's/^/| /' conftest.$ac_ext >&5
18327 + ac_header_preproc=no
18329 +rm -f conftest.err conftest.$ac_ext
18330 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18331 +echo "${ECHO_T}$ac_header_preproc" >&6
18333 +# So? What about this header?
18334 +case $ac_header_compiler:$ac_header_preproc in
18336 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18337 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18338 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18339 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18342 +## ------------------------------------ ##
18343 +## Report this to bug-autoconf@gnu.org. ##
18344 +## ------------------------------------ ##
18347 + sed "s/^/$as_me: WARNING: /" >&2
18350 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18351 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18352 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18353 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18354 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18355 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18358 +## ------------------------------------ ##
18359 +## Report this to bug-autoconf@gnu.org. ##
18360 +## ------------------------------------ ##
18363 + sed "s/^/$as_me: WARNING: /" >&2
18366 +echo "$as_me:$LINENO: checking for $ac_header" >&5
18367 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18368 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
18369 + echo $ECHO_N "(cached) $ECHO_C" >&6
18371 + eval "$as_ac_Header=$ac_header_preproc"
18373 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18374 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18377 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
18378 + cat >>confdefs.h <<_ACEOF
18379 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18386 - for ac_hdr in gui/desktop.h
18388 +for ac_header in gui/desktop.h
18390 -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18391 -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18392 -echo "configure:5906: checking for $ac_hdr" >&5
18393 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18394 - echo $ac_n "(cached) $ac_c" 1>&6
18395 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18396 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
18397 + echo "$as_me:$LINENO: checking for $ac_header" >&5
18398 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18399 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
18400 + echo $ECHO_N "(cached) $ECHO_C" >&6
18402 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18403 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18405 - cat > conftest.$ac_ext <<EOF
18406 -#line 5911 "configure"
18407 -#include "confdefs.h"
18408 -#include <$ac_hdr>
18410 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18411 -{ (eval echo configure:5916: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18412 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18413 -if test -z "$ac_err"; then
18415 - eval "ac_cv_header_$ac_safe=yes"
18416 + # Is the header compilable?
18417 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
18418 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18419 +cat >conftest.$ac_ext <<_ACEOF
18420 +#line $LINENO "configure"
18423 +cat confdefs.h >>conftest.$ac_ext
18424 +cat >>conftest.$ac_ext <<_ACEOF
18425 +/* end confdefs.h. */
18426 +$ac_includes_default
18427 +#include <$ac_header>
18429 +rm -f conftest.$ac_objext
18430 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18431 + (eval $ac_compile) 2>&5
18433 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18434 + (exit $ac_status); } &&
18435 + { ac_try='test -s conftest.$ac_objext'
18436 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18437 + (eval $ac_try) 2>&5
18439 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18440 + (exit $ac_status); }; }; then
18441 + ac_header_compiler=yes
18443 - echo "$ac_err" >&5
18444 - echo "configure: failed program was:" >&5
18445 - cat conftest.$ac_ext >&5
18447 - eval "ac_cv_header_$ac_safe=no"
18448 + echo "$as_me: failed program was:" >&5
18449 +sed 's/^/| /' conftest.$ac_ext >&5
18451 +ac_header_compiler=no
18454 +rm -f conftest.$ac_objext conftest.$ac_ext
18455 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18456 +echo "${ECHO_T}$ac_header_compiler" >&6
18458 +# Is the header present?
18459 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
18460 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18461 +cat >conftest.$ac_ext <<_ACEOF
18462 +#line $LINENO "configure"
18465 +cat confdefs.h >>conftest.$ac_ext
18466 +cat >>conftest.$ac_ext <<_ACEOF
18467 +/* end confdefs.h. */
18468 +#include <$ac_header>
18470 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18471 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18473 + grep -v '^ *+' conftest.er1 >conftest.err
18474 + rm -f conftest.er1
18475 + cat conftest.err >&5
18476 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18477 + (exit $ac_status); } >/dev/null; then
18478 + if test -s conftest.err; then
18479 + ac_cpp_err=$ac_c_preproc_warn_flag
18486 -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18487 - echo "$ac_t""yes" 1>&6
18488 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18489 - cat >> confdefs.h <<EOF
18490 -#define $ac_tr_hdr 1
18493 +if test -z "$ac_cpp_err"; then
18494 + ac_header_preproc=yes
18496 - echo "$ac_t""no" 1>&6
18497 + echo "$as_me: failed program was:" >&5
18498 +sed 's/^/| /' conftest.$ac_ext >&5
18500 + ac_header_preproc=no
18502 +rm -f conftest.err conftest.$ac_ext
18503 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18504 +echo "${ECHO_T}$ac_header_preproc" >&6
18506 +# So? What about this header?
18507 +case $ac_header_compiler:$ac_header_preproc in
18509 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18510 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18511 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18512 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18515 +## ------------------------------------ ##
18516 +## Report this to bug-autoconf@gnu.org. ##
18517 +## ------------------------------------ ##
18520 + sed "s/^/$as_me: WARNING: /" >&2
18523 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18524 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18525 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18526 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18527 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18528 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18531 +## ------------------------------------ ##
18532 +## Report this to bug-autoconf@gnu.org. ##
18533 +## ------------------------------------ ##
18536 + sed "s/^/$as_me: WARNING: /" >&2
18539 +echo "$as_me:$LINENO: checking for $ac_header" >&5
18540 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18541 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
18542 + echo $ECHO_N "(cached) $ECHO_C" >&6
18544 + eval "$as_ac_Header=$ac_header_preproc"
18546 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18547 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18550 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
18551 + cat >>confdefs.h <<_ACEOF
18552 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18559 - for ac_hdr in gui/bitmap.h
18561 +for ac_header in gui/bitmap.h
18563 -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18564 -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18565 -echo "configure:5946: checking for $ac_hdr" >&5
18566 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18567 - echo $ac_n "(cached) $ac_c" 1>&6
18568 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18569 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
18570 + echo "$as_me:$LINENO: checking for $ac_header" >&5
18571 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18572 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
18573 + echo $ECHO_N "(cached) $ECHO_C" >&6
18575 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18576 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18578 - cat > conftest.$ac_ext <<EOF
18579 -#line 5951 "configure"
18580 -#include "confdefs.h"
18581 -#include <$ac_hdr>
18583 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18584 -{ (eval echo configure:5956: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18585 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18586 -if test -z "$ac_err"; then
18588 - eval "ac_cv_header_$ac_safe=yes"
18589 + # Is the header compilable?
18590 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
18591 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18592 +cat >conftest.$ac_ext <<_ACEOF
18593 +#line $LINENO "configure"
18596 +cat confdefs.h >>conftest.$ac_ext
18597 +cat >>conftest.$ac_ext <<_ACEOF
18598 +/* end confdefs.h. */
18599 +$ac_includes_default
18600 +#include <$ac_header>
18602 +rm -f conftest.$ac_objext
18603 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18604 + (eval $ac_compile) 2>&5
18606 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18607 + (exit $ac_status); } &&
18608 + { ac_try='test -s conftest.$ac_objext'
18609 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18610 + (eval $ac_try) 2>&5
18612 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18613 + (exit $ac_status); }; }; then
18614 + ac_header_compiler=yes
18616 - echo "$ac_err" >&5
18617 - echo "configure: failed program was:" >&5
18618 - cat conftest.$ac_ext >&5
18620 - eval "ac_cv_header_$ac_safe=no"
18621 + echo "$as_me: failed program was:" >&5
18622 +sed 's/^/| /' conftest.$ac_ext >&5
18624 +ac_header_compiler=no
18627 +rm -f conftest.$ac_objext conftest.$ac_ext
18628 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18629 +echo "${ECHO_T}$ac_header_compiler" >&6
18631 +# Is the header present?
18632 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
18633 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18634 +cat >conftest.$ac_ext <<_ACEOF
18635 +#line $LINENO "configure"
18638 +cat confdefs.h >>conftest.$ac_ext
18639 +cat >>conftest.$ac_ext <<_ACEOF
18640 +/* end confdefs.h. */
18641 +#include <$ac_header>
18643 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18644 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18646 + grep -v '^ *+' conftest.er1 >conftest.err
18647 + rm -f conftest.er1
18648 + cat conftest.err >&5
18649 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18650 + (exit $ac_status); } >/dev/null; then
18651 + if test -s conftest.err; then
18652 + ac_cpp_err=$ac_c_preproc_warn_flag
18659 -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18660 - echo "$ac_t""yes" 1>&6
18661 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18662 - cat >> confdefs.h <<EOF
18663 -#define $ac_tr_hdr 1
18666 +if test -z "$ac_cpp_err"; then
18667 + ac_header_preproc=yes
18669 - echo "$ac_t""no" 1>&6
18670 + echo "$as_me: failed program was:" >&5
18671 +sed 's/^/| /' conftest.$ac_ext >&5
18673 + ac_header_preproc=no
18675 +rm -f conftest.err conftest.$ac_ext
18676 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18677 +echo "${ECHO_T}$ac_header_preproc" >&6
18679 +# So? What about this header?
18680 +case $ac_header_compiler:$ac_header_preproc in
18682 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18683 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18684 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18685 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18688 +## ------------------------------------ ##
18689 +## Report this to bug-autoconf@gnu.org. ##
18690 +## ------------------------------------ ##
18693 + sed "s/^/$as_me: WARNING: /" >&2
18696 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18697 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18698 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18699 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18700 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18701 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18704 +## ------------------------------------ ##
18705 +## Report this to bug-autoconf@gnu.org. ##
18706 +## ------------------------------------ ##
18709 + sed "s/^/$as_me: WARNING: /" >&2
18712 +echo "$as_me:$LINENO: checking for $ac_header" >&5
18713 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18714 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
18715 + echo $ECHO_N "(cached) $ECHO_C" >&6
18717 + eval "$as_ac_Header=$ac_header_preproc"
18719 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18720 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18723 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
18724 + cat >>confdefs.h <<_ACEOF
18725 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18732 - for ac_hdr in util/locker.h
18734 +for ac_header in util/locker.h
18736 -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18737 -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18738 -echo "configure:5986: checking for $ac_hdr" >&5
18739 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18740 - echo $ac_n "(cached) $ac_c" 1>&6
18741 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18742 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
18743 + echo "$as_me:$LINENO: checking for $ac_header" >&5
18744 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18745 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
18746 + echo $ECHO_N "(cached) $ECHO_C" >&6
18748 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18749 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18751 - cat > conftest.$ac_ext <<EOF
18752 -#line 5991 "configure"
18753 -#include "confdefs.h"
18754 -#include <$ac_hdr>
18756 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18757 -{ (eval echo configure:5996: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18758 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18759 -if test -z "$ac_err"; then
18761 - eval "ac_cv_header_$ac_safe=yes"
18762 + # Is the header compilable?
18763 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
18764 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18765 +cat >conftest.$ac_ext <<_ACEOF
18766 +#line $LINENO "configure"
18769 +cat confdefs.h >>conftest.$ac_ext
18770 +cat >>conftest.$ac_ext <<_ACEOF
18771 +/* end confdefs.h. */
18772 +$ac_includes_default
18773 +#include <$ac_header>
18775 +rm -f conftest.$ac_objext
18776 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18777 + (eval $ac_compile) 2>&5
18779 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18780 + (exit $ac_status); } &&
18781 + { ac_try='test -s conftest.$ac_objext'
18782 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18783 + (eval $ac_try) 2>&5
18785 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18786 + (exit $ac_status); }; }; then
18787 + ac_header_compiler=yes
18789 - echo "$ac_err" >&5
18790 - echo "configure: failed program was:" >&5
18791 - cat conftest.$ac_ext >&5
18793 - eval "ac_cv_header_$ac_safe=no"
18794 + echo "$as_me: failed program was:" >&5
18795 +sed 's/^/| /' conftest.$ac_ext >&5
18797 +ac_header_compiler=no
18800 +rm -f conftest.$ac_objext conftest.$ac_ext
18801 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18802 +echo "${ECHO_T}$ac_header_compiler" >&6
18804 +# Is the header present?
18805 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
18806 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18807 +cat >conftest.$ac_ext <<_ACEOF
18808 +#line $LINENO "configure"
18811 +cat confdefs.h >>conftest.$ac_ext
18812 +cat >>conftest.$ac_ext <<_ACEOF
18813 +/* end confdefs.h. */
18814 +#include <$ac_header>
18816 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18817 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18819 + grep -v '^ *+' conftest.er1 >conftest.err
18820 + rm -f conftest.er1
18821 + cat conftest.err >&5
18822 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18823 + (exit $ac_status); } >/dev/null; then
18824 + if test -s conftest.err; then
18825 + ac_cpp_err=$ac_c_preproc_warn_flag
18832 -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18833 - echo "$ac_t""yes" 1>&6
18834 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18835 - cat >> confdefs.h <<EOF
18836 -#define $ac_tr_hdr 1
18839 +if test -z "$ac_cpp_err"; then
18840 + ac_header_preproc=yes
18842 - echo "$ac_t""no" 1>&6
18843 + echo "$as_me: failed program was:" >&5
18844 +sed 's/^/| /' conftest.$ac_ext >&5
18846 + ac_header_preproc=no
18848 +rm -f conftest.err conftest.$ac_ext
18849 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18850 +echo "${ECHO_T}$ac_header_preproc" >&6
18852 +# So? What about this header?
18853 +case $ac_header_compiler:$ac_header_preproc in
18855 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18856 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18857 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18858 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18861 +## ------------------------------------ ##
18862 +## Report this to bug-autoconf@gnu.org. ##
18863 +## ------------------------------------ ##
18866 + sed "s/^/$as_me: WARNING: /" >&2
18869 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18870 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18871 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18872 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18873 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18874 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18877 +## ------------------------------------ ##
18878 +## Report this to bug-autoconf@gnu.org. ##
18879 +## ------------------------------------ ##
18882 + sed "s/^/$as_me: WARNING: /" >&2
18885 +echo "$as_me:$LINENO: checking for $ac_header" >&5
18886 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18887 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
18888 + echo $ECHO_N "(cached) $ECHO_C" >&6
18890 + eval "$as_ac_Header=$ac_header_preproc"
18892 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18893 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18896 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
18897 + cat >>confdefs.h <<_ACEOF
18898 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18905 - for ac_hdr in util/application.h
18907 +for ac_header in util/application.h
18909 -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18910 -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18911 -echo "configure:6026: checking for $ac_hdr" >&5
18912 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18913 - echo $ac_n "(cached) $ac_c" 1>&6
18914 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18915 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
18916 + echo "$as_me:$LINENO: checking for $ac_header" >&5
18917 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18918 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
18919 + echo $ECHO_N "(cached) $ECHO_C" >&6
18921 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18922 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18924 - cat > conftest.$ac_ext <<EOF
18925 -#line 6031 "configure"
18926 -#include "confdefs.h"
18927 -#include <$ac_hdr>
18929 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18930 -{ (eval echo configure:6036: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18931 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18932 -if test -z "$ac_err"; then
18934 - eval "ac_cv_header_$ac_safe=yes"
18935 + # Is the header compilable?
18936 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
18937 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18938 +cat >conftest.$ac_ext <<_ACEOF
18939 +#line $LINENO "configure"
18942 +cat confdefs.h >>conftest.$ac_ext
18943 +cat >>conftest.$ac_ext <<_ACEOF
18944 +/* end confdefs.h. */
18945 +$ac_includes_default
18946 +#include <$ac_header>
18948 +rm -f conftest.$ac_objext
18949 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18950 + (eval $ac_compile) 2>&5
18952 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18953 + (exit $ac_status); } &&
18954 + { ac_try='test -s conftest.$ac_objext'
18955 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18956 + (eval $ac_try) 2>&5
18958 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18959 + (exit $ac_status); }; }; then
18960 + ac_header_compiler=yes
18962 - echo "$ac_err" >&5
18963 - echo "configure: failed program was:" >&5
18964 - cat conftest.$ac_ext >&5
18966 - eval "ac_cv_header_$ac_safe=no"
18967 + echo "$as_me: failed program was:" >&5
18968 +sed 's/^/| /' conftest.$ac_ext >&5
18970 +ac_header_compiler=no
18973 +rm -f conftest.$ac_objext conftest.$ac_ext
18974 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18975 +echo "${ECHO_T}$ac_header_compiler" >&6
18977 +# Is the header present?
18978 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
18979 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18980 +cat >conftest.$ac_ext <<_ACEOF
18981 +#line $LINENO "configure"
18984 +cat confdefs.h >>conftest.$ac_ext
18985 +cat >>conftest.$ac_ext <<_ACEOF
18986 +/* end confdefs.h. */
18987 +#include <$ac_header>
18989 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18990 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18992 + grep -v '^ *+' conftest.er1 >conftest.err
18993 + rm -f conftest.er1
18994 + cat conftest.err >&5
18995 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18996 + (exit $ac_status); } >/dev/null; then
18997 + if test -s conftest.err; then
18998 + ac_cpp_err=$ac_c_preproc_warn_flag
19005 -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19006 - echo "$ac_t""yes" 1>&6
19007 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
19008 - cat >> confdefs.h <<EOF
19009 -#define $ac_tr_hdr 1
19012 +if test -z "$ac_cpp_err"; then
19013 + ac_header_preproc=yes
19015 - echo "$ac_t""no" 1>&6
19016 + echo "$as_me: failed program was:" >&5
19017 +sed 's/^/| /' conftest.$ac_ext >&5
19019 + ac_header_preproc=no
19021 +rm -f conftest.err conftest.$ac_ext
19022 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19023 +echo "${ECHO_T}$ac_header_preproc" >&6
19025 +# So? What about this header?
19026 +case $ac_header_compiler:$ac_header_preproc in
19028 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19029 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19030 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19031 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19034 +## ------------------------------------ ##
19035 +## Report this to bug-autoconf@gnu.org. ##
19036 +## ------------------------------------ ##
19039 + sed "s/^/$as_me: WARNING: /" >&2
19042 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19043 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19044 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19045 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19046 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19047 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19050 +## ------------------------------------ ##
19051 +## Report this to bug-autoconf@gnu.org. ##
19052 +## ------------------------------------ ##
19055 + sed "s/^/$as_me: WARNING: /" >&2
19058 +echo "$as_me:$LINENO: checking for $ac_header" >&5
19059 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19060 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
19061 + echo $ECHO_N "(cached) $ECHO_C" >&6
19063 + eval "$as_ac_Header=$ac_header_preproc"
19065 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19066 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19069 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
19070 + cat >>confdefs.h <<_ACEOF
19071 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19079 @@ -6067,222 +15090,335 @@
19080 test "$ac_cv_header_gui_bitmap_h" = yes &&
19081 test "$ac_cv_header_util_locker_h" = yes &&
19082 test "$ac_cv_header_util_application_h" = yes; then
19083 - echo $ac_n "checking for main in -lstdc++""... $ac_c" 1>&6
19084 -echo "configure:6072: checking for main in -lstdc++" >&5
19085 -ac_lib_var=`echo stdc++'_'main | sed 'y%./+-%__p_%'`
19086 -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19087 - echo $ac_n "(cached) $ac_c" 1>&6
19089 +echo "$as_me:$LINENO: checking for main in -lstdc++" >&5
19090 +echo $ECHO_N "checking for main in -lstdc++... $ECHO_C" >&6
19091 +if test "${ac_cv_lib_stdcpp_main+set}" = set; then
19092 + echo $ECHO_N "(cached) $ECHO_C" >&6
19094 - ac_save_LIBS="$LIBS"
19095 + ac_check_lib_save_LIBS=$LIBS
19096 LIBS="-lstdc++ $LIBS"
19097 -cat > conftest.$ac_ext <<EOF
19098 -#line 6080 "configure"
19099 -#include "confdefs.h"
19100 +cat >conftest.$ac_ext <<_ACEOF
19101 +#line $LINENO "configure"
19104 +cat confdefs.h >>conftest.$ac_ext
19105 +cat >>conftest.$ac_ext <<_ACEOF
19106 +/* end confdefs.h. */
19112 -if { (eval echo configure:6087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19114 - eval "ac_cv_lib_$ac_lib_var=yes"
19124 +rm -f conftest.$ac_objext conftest$ac_exeext
19125 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19126 + (eval $ac_link) 2>&5
19128 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19129 + (exit $ac_status); } &&
19130 + { ac_try='test -s conftest$ac_exeext'
19131 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19132 + (eval $ac_try) 2>&5
19134 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19135 + (exit $ac_status); }; }; then
19136 + ac_cv_lib_stdcpp_main=yes
19138 - echo "configure: failed program was:" >&5
19139 - cat conftest.$ac_ext >&5
19141 - eval "ac_cv_lib_$ac_lib_var=no"
19144 -LIBS="$ac_save_LIBS"
19145 + echo "$as_me: failed program was:" >&5
19146 +sed 's/^/| /' conftest.$ac_ext >&5
19148 +ac_cv_lib_stdcpp_main=no
19150 -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19151 - echo "$ac_t""yes" 1>&6
19152 - ac_tr_lib=HAVE_LIB`echo stdc++ | sed -e 's/[^a-zA-Z0-9_]/_/g' \
19153 - -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
19154 - cat >> confdefs.h <<EOF
19155 -#define $ac_tr_lib 1
19157 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19158 +LIBS=$ac_check_lib_save_LIBS
19160 +echo "$as_me:$LINENO: result: $ac_cv_lib_stdcpp_main" >&5
19161 +echo "${ECHO_T}$ac_cv_lib_stdcpp_main" >&6
19162 +if test $ac_cv_lib_stdcpp_main = yes; then
19163 + cat >>confdefs.h <<_ACEOF
19164 +#define HAVE_LIBSTDC__ 1
19167 LIBS="-lstdc++ $LIBS"
19170 - echo "$ac_t""no" 1>&6
19173 - echo $ac_n "checking for main in -latheos""... $ac_c" 1>&6
19174 -echo "configure:6115: checking for main in -latheos" >&5
19175 -ac_lib_var=`echo atheos'_'main | sed 'y%./+-%__p_%'`
19176 -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19177 - echo $ac_n "(cached) $ac_c" 1>&6
19179 +echo "$as_me:$LINENO: checking for main in -latheos" >&5
19180 +echo $ECHO_N "checking for main in -latheos... $ECHO_C" >&6
19181 +if test "${ac_cv_lib_atheos_main+set}" = set; then
19182 + echo $ECHO_N "(cached) $ECHO_C" >&6
19184 - ac_save_LIBS="$LIBS"
19185 + ac_check_lib_save_LIBS=$LIBS
19186 LIBS="-latheos $LIBS"
19187 -cat > conftest.$ac_ext <<EOF
19188 -#line 6123 "configure"
19189 -#include "confdefs.h"
19190 +cat >conftest.$ac_ext <<_ACEOF
19191 +#line $LINENO "configure"
19194 +cat confdefs.h >>conftest.$ac_ext
19195 +cat >>conftest.$ac_ext <<_ACEOF
19196 +/* end confdefs.h. */
19202 -if { (eval echo configure:6130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19204 - eval "ac_cv_lib_$ac_lib_var=yes"
19214 +rm -f conftest.$ac_objext conftest$ac_exeext
19215 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19216 + (eval $ac_link) 2>&5
19218 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19219 + (exit $ac_status); } &&
19220 + { ac_try='test -s conftest$ac_exeext'
19221 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19222 + (eval $ac_try) 2>&5
19224 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19225 + (exit $ac_status); }; }; then
19226 + ac_cv_lib_atheos_main=yes
19228 - echo "configure: failed program was:" >&5
19229 - cat conftest.$ac_ext >&5
19231 - eval "ac_cv_lib_$ac_lib_var=no"
19234 -LIBS="$ac_save_LIBS"
19235 + echo "$as_me: failed program was:" >&5
19236 +sed 's/^/| /' conftest.$ac_ext >&5
19238 +ac_cv_lib_atheos_main=no
19240 -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19241 - echo "$ac_t""yes" 1>&6
19242 - ac_tr_lib=HAVE_LIB`echo atheos | sed -e 's/[^a-zA-Z0-9_]/_/g' \
19243 - -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
19244 - cat >> confdefs.h <<EOF
19245 -#define $ac_tr_lib 1
19247 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19248 +LIBS=$ac_check_lib_save_LIBS
19250 +echo "$as_me:$LINENO: result: $ac_cv_lib_atheos_main" >&5
19251 +echo "${ECHO_T}$ac_cv_lib_atheos_main" >&6
19252 +if test $ac_cv_lib_atheos_main = yes; then
19253 + cat >>confdefs.h <<_ACEOF
19254 +#define HAVE_LIBATHEOS 1
19257 LIBS="-latheos $LIBS"
19260 - echo "$ac_t""no" 1>&6
19263 if test "$ac_cv_lib_atheos_main" = yes; then
19264 - for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
19266 -# Extract the first word of "$ac_prog", so it can be a program name with args.
19267 -set dummy $ac_prog; ac_word=$2
19268 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
19269 -echo "configure:6163: checking for $ac_word" >&5
19270 -if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
19271 - echo $ac_n "(cached) $ac_c" 1>&6
19273 +ac_cpp='$CXXCPP $CPPFLAGS'
19274 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19275 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19276 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19277 +if test -n "$ac_tool_prefix"; then
19278 + for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
19280 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
19281 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
19282 +echo "$as_me:$LINENO: checking for $ac_word" >&5
19283 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19284 +if test "${ac_cv_prog_CXX+set}" = set; then
19285 + echo $ECHO_N "(cached) $ECHO_C" >&6
19287 if test -n "$CXX"; then
19288 ac_cv_prog_CXX="$CXX" # Let the user override the test.
19290 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
19292 - for ac_dir in $ac_dummy; do
19293 - test -z "$ac_dir" && ac_dir=.
19294 - if test -f $ac_dir/$ac_word; then
19295 - ac_cv_prog_CXX="$ac_prog"
19299 - IFS="$ac_save_ifs"
19300 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19301 +for as_dir in $PATH
19304 + test -z "$as_dir" && as_dir=.
19305 + for ac_exec_ext in '' $ac_executable_extensions; do
19306 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19307 + ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
19308 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19316 -CXX="$ac_cv_prog_CXX"
19317 +CXX=$ac_cv_prog_CXX
19318 if test -n "$CXX"; then
19319 - echo "$ac_t""$CXX" 1>&6
19320 + echo "$as_me:$LINENO: result: $CXX" >&5
19321 +echo "${ECHO_T}$CXX" >&6
19323 - echo "$ac_t""no" 1>&6
19324 + echo "$as_me:$LINENO: result: no" >&5
19325 +echo "${ECHO_T}no" >&6
19328 -test -n "$CXX" && break
19329 + test -n "$CXX" && break
19332 +if test -z "$CXX"; then
19334 + for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
19336 + # Extract the first word of "$ac_prog", so it can be a program name with args.
19337 +set dummy $ac_prog; ac_word=$2
19338 +echo "$as_me:$LINENO: checking for $ac_word" >&5
19339 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19340 +if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
19341 + echo $ECHO_N "(cached) $ECHO_C" >&6
19343 + if test -n "$ac_ct_CXX"; then
19344 + ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
19346 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19347 +for as_dir in $PATH
19350 + test -z "$as_dir" && as_dir=.
19351 + for ac_exec_ext in '' $ac_executable_extensions; do
19352 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19353 + ac_cv_prog_ac_ct_CXX="$ac_prog"
19354 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19359 -test -n "$CXX" || CXX="gcc"
19363 +ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
19364 +if test -n "$ac_ct_CXX"; then
19365 + echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
19366 +echo "${ECHO_T}$ac_ct_CXX" >&6
19368 + echo "$as_me:$LINENO: result: no" >&5
19369 +echo "${ECHO_T}no" >&6
19372 -echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
19373 -echo "configure:6195: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
19374 + test -n "$ac_ct_CXX" && break
19376 +test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
19379 -# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19380 -ac_cpp='$CXXCPP $CPPFLAGS'
19381 -ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19382 -ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19383 -cross_compiling=$ac_cv_prog_cxx_cross
19387 -cat > conftest.$ac_ext << EOF
19389 -#line 6206 "configure"
19390 -#include "confdefs.h"
19391 +# Provide some information about the compiler.
19392 +echo "$as_me:$LINENO:" \
19393 + "checking for C++ compiler version" >&5
19394 +ac_compiler=`set X $ac_compile; echo $2`
19395 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
19396 + (eval $ac_compiler --version </dev/null >&5) 2>&5
19398 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19399 + (exit $ac_status); }
19400 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
19401 + (eval $ac_compiler -v </dev/null >&5) 2>&5
19403 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19404 + (exit $ac_status); }
19405 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
19406 + (eval $ac_compiler -V </dev/null >&5) 2>&5
19408 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19409 + (exit $ac_status); }
19411 -int main(){return(0);}
19413 -if { (eval echo configure:6211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19414 - ac_cv_prog_cxx_works=yes
19415 - # If we can't run a trivial program, we are probably using a cross compiler.
19416 - if (./conftest; exit) 2>/dev/null; then
19417 - ac_cv_prog_cxx_cross=no
19419 - ac_cv_prog_cxx_cross=yes
19421 +echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
19422 +echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
19423 +if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
19424 + echo $ECHO_N "(cached) $ECHO_C" >&6
19426 - echo "configure: failed program was:" >&5
19427 - cat conftest.$ac_ext >&5
19428 - ac_cv_prog_cxx_works=no
19432 -# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19433 -ac_cpp='$CPP $CPPFLAGS'
19434 -ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19435 -ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19436 -cross_compiling=$ac_cv_prog_cc_cross
19438 -echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
19439 -if test $ac_cv_prog_cxx_works = no; then
19440 - { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
19442 -echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
19443 -echo "configure:6237: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
19444 -echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
19445 -cross_compiling=$ac_cv_prog_cxx_cross
19446 + cat >conftest.$ac_ext <<_ACEOF
19447 +#line $LINENO "configure"
19450 +cat confdefs.h >>conftest.$ac_ext
19451 +cat >>conftest.$ac_ext <<_ACEOF
19452 +/* end confdefs.h. */
19454 -echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
19455 -echo "configure:6242: checking whether we are using GNU C++" >&5
19456 -if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
19457 - echo $ac_n "(cached) $ac_c" 1>&6
19459 - cat > conftest.C <<EOF
19469 -if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:6251: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
19470 - ac_cv_prog_gxx=yes
19472 - ac_cv_prog_gxx=no
19476 -echo "$ac_t""$ac_cv_prog_gxx" 1>&6
19478 -if test $ac_cv_prog_gxx = yes; then
19484 +rm -f conftest.$ac_objext
19485 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19486 + (eval $ac_compile) 2>&5
19488 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19489 + (exit $ac_status); } &&
19490 + { ac_try='test -s conftest.$ac_objext'
19491 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19492 + (eval $ac_try) 2>&5
19494 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19495 + (exit $ac_status); }; }; then
19496 + ac_compiler_gnu=yes
19499 + echo "$as_me: failed program was:" >&5
19500 +sed 's/^/| /' conftest.$ac_ext >&5
19502 +ac_compiler_gnu=no
19504 +rm -f conftest.$ac_objext conftest.$ac_ext
19505 +ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
19507 -ac_test_CXXFLAGS="${CXXFLAGS+set}"
19508 -ac_save_CXXFLAGS="$CXXFLAGS"
19510 -echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
19511 -echo "configure:6270: checking whether ${CXX-g++} accepts -g" >&5
19512 -if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
19513 - echo $ac_n "(cached) $ac_c" 1>&6
19515 +echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
19516 +echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
19517 +GXX=`test $ac_compiler_gnu = yes && echo yes`
19518 +ac_test_CXXFLAGS=${CXXFLAGS+set}
19519 +ac_save_CXXFLAGS=$CXXFLAGS
19521 +echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
19522 +echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
19523 +if test "${ac_cv_prog_cxx_g+set}" = set; then
19524 + echo $ECHO_N "(cached) $ECHO_C" >&6
19526 - echo 'void f(){}' > conftest.cc
19527 -if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
19528 + cat >conftest.$ac_ext <<_ACEOF
19529 +#line $LINENO "configure"
19532 +cat confdefs.h >>conftest.$ac_ext
19533 +cat >>conftest.$ac_ext <<_ACEOF
19534 +/* end confdefs.h. */
19544 +rm -f conftest.$ac_objext
19545 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19546 + (eval $ac_compile) 2>&5
19548 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19549 + (exit $ac_status); } &&
19550 + { ac_try='test -s conftest.$ac_objext'
19551 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19552 + (eval $ac_try) 2>&5
19554 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19555 + (exit $ac_status); }; }; then
19556 ac_cv_prog_cxx_g=yes
19558 - ac_cv_prog_cxx_g=no
19561 + echo "$as_me: failed program was:" >&5
19562 +sed 's/^/| /' conftest.$ac_ext >&5
19564 +ac_cv_prog_cxx_g=no
19567 -echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
19568 +rm -f conftest.$ac_objext conftest.$ac_ext
19570 +echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
19571 +echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
19572 if test "$ac_test_CXXFLAGS" = set; then
19573 - CXXFLAGS="$ac_save_CXXFLAGS"
19574 + CXXFLAGS=$ac_save_CXXFLAGS
19575 elif test $ac_cv_prog_cxx_g = yes; then
19576 if test "$GXX" = yes; then
19578 @@ -6296,10 +15432,206 @@
19582 +for ac_declaration in \
19584 + '#include <stdlib.h>' \
19585 + 'extern "C" void std::exit (int) throw (); using std::exit;' \
19586 + 'extern "C" void std::exit (int); using std::exit;' \
19587 + 'extern "C" void exit (int) throw ();' \
19588 + 'extern "C" void exit (int);' \
19589 + 'void exit (int);'
19591 + cat >conftest.$ac_ext <<_ACEOF
19592 +#line $LINENO "configure"
19595 +cat confdefs.h >>conftest.$ac_ext
19596 +cat >>conftest.$ac_ext <<_ACEOF
19597 +/* end confdefs.h. */
19598 +#include <stdlib.h>
19608 +rm -f conftest.$ac_objext
19609 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19610 + (eval $ac_compile) 2>&5
19612 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19613 + (exit $ac_status); } &&
19614 + { ac_try='test -s conftest.$ac_objext'
19615 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19616 + (eval $ac_try) 2>&5
19618 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19619 + (exit $ac_status); }; }; then
19622 + echo "$as_me: failed program was:" >&5
19623 +sed 's/^/| /' conftest.$ac_ext >&5
19625 - cat >> confdefs.h <<\EOF
19628 +rm -f conftest.$ac_objext conftest.$ac_ext
19629 + cat >conftest.$ac_ext <<_ACEOF
19630 +#line $LINENO "configure"
19633 +cat confdefs.h >>conftest.$ac_ext
19634 +cat >>conftest.$ac_ext <<_ACEOF
19635 +/* end confdefs.h. */
19645 +rm -f conftest.$ac_objext
19646 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19647 + (eval $ac_compile) 2>&5
19649 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19650 + (exit $ac_status); } &&
19651 + { ac_try='test -s conftest.$ac_objext'
19652 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19653 + (eval $ac_try) 2>&5
19655 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19656 + (exit $ac_status); }; }; then
19659 + echo "$as_me: failed program was:" >&5
19660 +sed 's/^/| /' conftest.$ac_ext >&5
19663 +rm -f conftest.$ac_objext conftest.$ac_ext
19666 +if test -n "$ac_declaration"; then
19667 + echo '#ifdef __cplusplus' >>confdefs.h
19668 + echo $ac_declaration >>confdefs.h
19669 + echo '#endif' >>confdefs.h
19673 +ac_cpp='$CPP $CPPFLAGS'
19674 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19675 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19676 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
19678 +depcc="$CXX" am_compiler_list=
19680 +echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
19681 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
19682 +if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
19683 + echo $ECHO_N "(cached) $ECHO_C" >&6
19685 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
19686 + # We make a subdir and do the tests there. Otherwise we can end up
19687 + # making bogus files that we don't know about and never remove. For
19688 + # instance it was reported that on HP-UX the gcc test will end up
19689 + # making a dummy file named `D' -- because `-MD' means `put the output
19691 + mkdir conftest.dir
19692 + # Copy depcomp to subdir because otherwise we won't find it if we're
19693 + # using a relative directory.
19694 + cp "$am_depcomp" conftest.dir
19696 + # We will build objects and dependencies in a subdirectory because
19697 + # it helps to detect inapplicable dependency modes. For instance
19698 + # both Tru64's cc and ICC support -MD to output dependencies as a
19699 + # side effect of compilation, but ICC will put the dependencies in
19700 + # the current directory while Tru64 will put them in the object
19704 + am_cv_CXX_dependencies_compiler_type=none
19705 + if test "$am_compiler_list" = ""; then
19706 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
19708 + for depmode in $am_compiler_list; do
19709 + # Setup a source with many dependencies, because some compilers
19710 + # like to wrap large dependency lists on column 80 (with \), and
19711 + # we should not choose a depcomp mode which is confused by this.
19713 + # We need to recreate these files for each test, as the compiler may
19714 + # overwrite some of them when testing with obscure command lines.
19715 + # This happens at least with the AIX C compiler.
19716 + : > sub/conftest.c
19717 + for i in 1 2 3 4 5 6; do
19718 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
19719 + : > sub/conftst$i.h
19721 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
19725 + # after this tag, mechanisms are not by side-effect, so they'll
19726 + # only be used when explicitly requested
19727 + if test "x$enable_dependency_tracking" = xyes; then
19735 + # We check with `-c' and `-o' for the sake of the "dashmstdout"
19736 + # mode. It turns out that the SunPro C++ compiler does not properly
19737 + # handle `-M -o', and we need to detect this.
19738 + if depmode=$depmode \
19739 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
19740 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
19741 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
19742 + >/dev/null 2>conftest.err &&
19743 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
19744 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
19745 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
19746 + # icc doesn't choke on unknown options, it will just issue warnings
19747 + # (even with -Werror). So we grep stderr for any message
19748 + # that says an option was ignored.
19749 + if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
19750 + am_cv_CXX_dependencies_compiler_type=$depmode
19757 + rm -rf conftest.dir
19759 + am_cv_CXX_dependencies_compiler_type=none
19763 +echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
19764 +echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
19765 +CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
19770 + test "x$enable_dependency_tracking" != xno \
19771 + && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
19772 + am__fastdepCXX_TRUE=
19773 + am__fastdepCXX_FALSE='#'
19775 + am__fastdepCXX_TRUE='#'
19776 + am__fastdepCXX_FALSE=
19780 + cat >>confdefs.h <<\_ACEOF
19781 #define GRDRV_ATHEOS 1
19785 drivers="$drivers ATHEOS"
19787 @@ -6308,7 +15640,9 @@
19790 if test -z "$drivers" && test "$cf_use_graphics" = yes; then
19791 - { echo "configure: error: No graphics drivers found." 1>&2; exit 1; }
19792 + { { echo "$as_me:$LINENO: error: No graphics drivers found." >&5
19793 +echo "$as_me: error: No graphics drivers found." >&2;}
19794 + { (exit 1); exit 1; }; }
19798 @@ -6322,380 +15656,1345 @@
19803 test "$ac_cv_have_emx" = yes && LDFLAGS="$LDFLAGS -Zexe"
19804 test "$ac_cv_have_emx" = yes && LDFLAGS=`echo "$LDFLAGS" | sed "s/-Zbin-files//g"`
19807 -cat > confcache <<\EOF
19808 + ac_config_files="$ac_config_files Makefile"
19810 +cat >confcache <<\_ACEOF
19811 # This file is a shell script that caches the results of configure
19812 # tests run on this system so they can be shared between configure
19813 -# scripts and configure runs. It is not useful on other systems.
19814 -# If it contains results you don't want to keep, you may remove or edit it.
19815 +# scripts and configure runs, see configure's option --config-cache.
19816 +# It is not useful on other systems. If it contains results you don't
19817 +# want to keep, you may remove or edit it.
19819 -# By default, configure uses ./config.cache as the cache file,
19820 -# creating it if it does not exist already. You can give configure
19821 -# the --cache-file=FILE option to use a different cache file; that is
19822 -# what configure does when it calls configure scripts in
19823 -# subdirectories, so they share the cache.
19824 -# Giving --cache-file=/dev/null disables caching, for debugging configure.
19825 -# config.status only pays attention to the cache file if you give it the
19826 -# --recheck option to rerun configure.
19827 +# config.status only pays attention to the cache file if you give it
19828 +# the --recheck option to rerun configure.
19831 +# `ac_cv_env_foo' variables (set or unset) will be overridden when
19832 +# loading this file, other *unset* `ac_cv_foo' will be assigned the
19833 +# following values.
19837 # The following way of writing the cache mishandles newlines in values,
19838 # but we know of no workaround that is simple, portable, and efficient.
19839 # So, don't put newlines in cache variables' values.
19840 # Ultrix sh set writes to stderr and can't be redirected directly,
19841 # and sets the high bit in the cache file unless we assign to the vars.
19843 - case `(ac_space=' '; set | grep ac_space) 2>&1` in
19845 - # `set' does not quote correctly, so add quotes (double-quote substitution
19846 - # turns \\\\ into \\, and sed turns \\ into \).
19848 - -e "s/'/'\\\\''/g" \
19849 - -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
19852 - # `set' quotes correctly as required by POSIX, so do not add quotes.
19853 - sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
19855 - esac >> confcache
19856 -if cmp -s $cache_file confcache; then
19861 + case `(ac_space=' '; set | grep ac_space) 2>&1` in
19863 + # `set' does not quote correctly, so add quotes (double-quote
19864 + # substitution turns \\\\ into \\, and sed turns \\ into \).
19867 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19870 + # `set' quotes correctly as required by POSIX, so do not add quotes.
19872 + "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
19879 + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19881 + /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19882 + : end' >>confcache
19883 +if diff $cache_file confcache >/dev/null 2>&1; then :; else
19884 if test -w $cache_file; then
19885 - echo "updating cache $cache_file"
19886 - cat confcache > $cache_file
19887 + test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
19888 + cat confcache >$cache_file
19890 echo "not updating unwritable cache $cache_file"
19895 -trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
19897 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19898 # Let make expand exec_prefix.
19899 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19901 -# Any assignment to VPATH causes Sun make to only execute
19902 -# the first set of double-colon rules, so remove it if not needed.
19903 -# If there is a colon in the path, we need to keep it.
19904 +# VPATH may cause trouble with some makes, so we remove $(srcdir),
19905 +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
19906 +# trailing colons and then remove the whole line if VPATH becomes empty
19907 +# (actually we leave an empty line to preserve line numbers).
19908 if test "x$srcdir" = x.; then
19909 - ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
19910 + ac_vpsub='/^[ ]*VPATH[ ]*=/{
19911 +s/:*\$(srcdir):*/:/;
19912 +s/:*\${srcdir}:*/:/;
19913 +s/:*@srcdir@:*/:/;
19914 +s/^\([^=]*=[ ]*\):*/\1/;
19920 -trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
19922 DEFS=-DHAVE_CONFIG_H
19924 -# Without the "./", some shells look in PATH for config.status.
19925 -: ${CONFIG_STATUS=./config.status}
19928 +for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19929 + # 1. Remove the extension, and $U if already installed.
19930 + ac_i=`echo "$ac_i" |
19931 + sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
19933 + ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
19934 + ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
19936 +LIBOBJS=$ac_libobjs
19938 -echo creating $CONFIG_STATUS
19939 -rm -f $CONFIG_STATUS
19940 -cat > $CONFIG_STATUS <<EOF
19942 -# Generated automatically by configure.
19943 +LTLIBOBJS=$ac_ltlibobjs
19946 +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19947 + { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
19948 +Usually this means the macro was only invoked conditionally." >&5
19949 +echo "$as_me: error: conditional \"AMDEP\" was never defined.
19950 +Usually this means the macro was only invoked conditionally." >&2;}
19951 + { (exit 1); exit 1; }; }
19953 +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19954 + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
19955 +Usually this means the macro was only invoked conditionally." >&5
19956 +echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
19957 +Usually this means the macro was only invoked conditionally." >&2;}
19958 + { (exit 1); exit 1; }; }
19960 +if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19961 + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
19962 +Usually this means the macro was only invoked conditionally." >&5
19963 +echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
19964 +Usually this means the macro was only invoked conditionally." >&2;}
19965 + { (exit 1); exit 1; }; }
19967 +if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19968 + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
19969 +Usually this means the macro was only invoked conditionally." >&5
19970 +echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
19971 +Usually this means the macro was only invoked conditionally." >&2;}
19972 + { (exit 1); exit 1; }; }
19974 +if test -z "${ATHEOS_GR_TRUE}" && test -z "${ATHEOS_GR_FALSE}"; then
19975 + { { echo "$as_me:$LINENO: error: conditional \"ATHEOS_GR\" was never defined.
19976 +Usually this means the macro was only invoked conditionally." >&5
19977 +echo "$as_me: error: conditional \"ATHEOS_GR\" was never defined.
19978 +Usually this means the macro was only invoked conditionally." >&2;}
19979 + { (exit 1); exit 1; }; }
19982 +: ${CONFIG_STATUS=./config.status}
19983 +ac_clean_files_save=$ac_clean_files
19984 +ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19985 +{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
19986 +echo "$as_me: creating $CONFIG_STATUS" >&6;}
19987 +cat >$CONFIG_STATUS <<_ACEOF
19989 +# Generated by $as_me.
19990 # Run this file to recreate the current configuration.
19991 -# This directory was configured as follows,
19992 -# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19994 -# $0 $ac_configure_args
19996 # Compiler output produced by configure, useful for debugging
19997 -# configure, is in ./config.log if it exists.
19998 +# configure, is in config.log if it exists.
20000 -ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
20003 +ac_cs_recheck=false
20004 +ac_cs_silent=false
20005 +SHELL=\${CONFIG_SHELL-$SHELL}
20008 +cat >>$CONFIG_STATUS <<\_ACEOF
20009 +## --------------------- ##
20010 +## M4sh Initialization. ##
20011 +## --------------------- ##
20013 +# Be Bourne compatible
20014 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20017 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20018 + # is contrary to our usage. Disable this feature.
20019 + alias -g '${1+"$@"}'='"$@"'
20020 +elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20024 +# Support unset when possible.
20025 +if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
20032 +# Work around bugs in pre-3.0 UWIN ksh.
20033 +$as_unset ENV MAIL MAILPATH
20040 + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20041 + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20042 + LC_TELEPHONE LC_TIME
20044 - case "\$ac_option" in
20045 - -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20046 - echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
20047 - exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
20048 - -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
20049 - echo "$CONFIG_STATUS generated by autoconf version 2.13"
20051 - -help | --help | --hel | --he | --h)
20052 - echo "\$ac_cs_usage"; exit 0 ;;
20053 - *) echo "\$ac_cs_usage"; exit 1 ;;
20055 + if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
20056 + eval $as_var=C; export $as_var
20058 + $as_unset $as_var
20062 -ac_given_srcdir=$srcdir
20063 -ac_given_INSTALL="$INSTALL"
20064 +# Required to use basename.
20065 +if expr a : '\(a\)' >/dev/null 2>&1; then
20071 -trap 'rm -fr `echo "Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
20073 -cat >> $CONFIG_STATUS <<EOF
20074 +if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
20075 + as_basename=basename
20077 + as_basename=false
20080 -# Protect against being on the right side of a sed subst in config.status.
20081 -sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
20082 - s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
20085 -s%@SHELL@%$SHELL%g
20086 -s%@CFLAGS@%$CFLAGS%g
20087 -s%@CPPFLAGS@%$CPPFLAGS%g
20088 -s%@CXXFLAGS@%$CXXFLAGS%g
20089 -s%@FFLAGS@%$FFLAGS%g
20091 -s%@LDFLAGS@%$LDFLAGS%g
20093 -s%@exec_prefix@%$exec_prefix%g
20094 -s%@prefix@%$prefix%g
20095 -s%@program_transform_name@%$program_transform_name%g
20096 -s%@bindir@%$bindir%g
20097 -s%@sbindir@%$sbindir%g
20098 -s%@libexecdir@%$libexecdir%g
20099 -s%@datadir@%$datadir%g
20100 -s%@sysconfdir@%$sysconfdir%g
20101 -s%@sharedstatedir@%$sharedstatedir%g
20102 -s%@localstatedir@%$localstatedir%g
20103 -s%@libdir@%$libdir%g
20104 -s%@includedir@%$includedir%g
20105 -s%@oldincludedir@%$oldincludedir%g
20106 -s%@infodir@%$infodir%g
20107 -s%@mandir@%$mandir%g
20108 -s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
20109 -s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
20110 -s%@INSTALL_DATA@%$INSTALL_DATA%g
20111 -s%@PACKAGE@%$PACKAGE%g
20112 -s%@VERSION@%$VERSION%g
20113 -s%@ACLOCAL@%$ACLOCAL%g
20114 -s%@AUTOCONF@%$AUTOCONF%g
20115 -s%@AUTOMAKE@%$AUTOMAKE%g
20116 -s%@AUTOHEADER@%$AUTOHEADER%g
20117 -s%@MAKEINFO@%$MAKEINFO%g
20118 -s%@SET_MAKE@%$SET_MAKE%g
20121 -s%@LIBOBJS@%$LIBOBJS%g
20122 -s%@DIRECTFB_CONFIG@%$DIRECTFB_CONFIG%g
20124 -s%@ATHEOS_GR_TRUE@%$ATHEOS_GR_TRUE%g
20125 -s%@ATHEOS_GR_FALSE@%$ATHEOS_GR_FALSE%g
20129 +# Name of the executable.
20130 +as_me=`$as_basename "$0" ||
20131 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20132 + X"$0" : 'X\(//\)$' \| \
20133 + X"$0" : 'X\(/\)$' \| \
20134 + . : '\(.\)' 2>/dev/null ||
20136 + sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
20137 + /^X\/\(\/\/\)$/{ s//\1/; q; }
20138 + /^X\/\(\/\).*/{ s//\1/; q; }
20141 -cat >> $CONFIG_STATUS <<\EOF
20143 -# Split the substitutions into bite-sized pieces for seds with
20144 -# small command number limits, like on Digital OSF/1 and HP-UX.
20145 -ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
20146 -ac_file=1 # Number of current file.
20147 -ac_beg=1 # First line for current file.
20148 -ac_end=$ac_max_sed_cmds # Line after last line for current file.
20151 -while $ac_more_lines; do
20152 - if test $ac_beg -gt 1; then
20153 - sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
20154 +# PATH needs CR, and LINENO needs CR and PATH.
20155 +# Avoid depending upon Character Ranges.
20156 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20157 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20158 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20159 +as_cr_digits='0123456789'
20160 +as_cr_alnum=$as_cr_Letters$as_cr_digits
20162 +# The user is always right.
20163 +if test "${PATH_SEPARATOR+set}" != set; then
20164 + echo "#! /bin/sh" >conf$$.sh
20165 + echo "exit 0" >>conf$$.sh
20166 + chmod +x conf$$.sh
20167 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
20168 + PATH_SEPARATOR=';'
20170 - sed "${ac_end}q" conftest.subs > conftest.s$ac_file
20173 - if test ! -s conftest.s$ac_file; then
20174 - ac_more_lines=false
20175 - rm -f conftest.s$ac_file
20180 + as_lineno_1=$LINENO
20181 + as_lineno_2=$LINENO
20182 + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20183 + test "x$as_lineno_1" != "x$as_lineno_2" &&
20184 + test "x$as_lineno_3" = "x$as_lineno_2" || {
20185 + # Find who we are. Look in the path if we contain no path at all
20186 + # relative or not.
20188 + *[\\/]* ) as_myself=$0 ;;
20189 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20190 +for as_dir in $PATH
20193 + test -z "$as_dir" && as_dir=.
20194 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20199 + # We did not find ourselves, most probably we were run as `sh COMMAND'
20200 + # in which case we are not to be found in the path.
20201 + if test "x$as_myself" = x; then
20204 + if test ! -f "$as_myself"; then
20205 + { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
20206 +echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
20207 + { (exit 1); exit 1; }; }
20209 + case $CONFIG_SHELL in
20211 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20212 +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
20215 + test -z "$as_dir" && as_dir=.
20216 + for as_base in sh bash ksh sh5; do
20219 + if ("$as_dir/$as_base" -c '
20220 + as_lineno_1=$LINENO
20221 + as_lineno_2=$LINENO
20222 + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20223 + test "x$as_lineno_1" != "x$as_lineno_2" &&
20224 + test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
20225 + $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
20226 + $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
20227 + CONFIG_SHELL=$as_dir/$as_base
20228 + export CONFIG_SHELL
20229 + exec "$CONFIG_SHELL" "$0" ${1+"$@"}
20237 + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20238 + # uniformly replaced by the line number. The first 'sed' inserts a
20239 + # line-number line before each line; the second 'sed' does the real
20240 + # work. The second script uses 'N' to pair each line-number line
20241 + # with the numbered line, and appends trailing '-' during
20242 + # substitution so that $LINENO is not a special case at line end.
20243 + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20244 + # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
20245 + sed '=' <$as_myself |
20250 + s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
20253 + s,^['$as_cr_digits']*\n,,
20254 + ' >$as_me.lineno &&
20255 + chmod +x $as_me.lineno ||
20256 + { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
20257 +echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
20258 + { (exit 1); exit 1; }; }
20260 + # Don't try to exec as it changes $[0], causing all sort of problems
20261 + # (the dirname of $[0] is not the place where we might find the
20262 + # original and so on. Autoconf is especially sensible to this).
20263 + . ./$as_me.lineno
20264 + # Exit status is that of the last command.
20269 +case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
20270 + *c*,-n*) ECHO_N= ECHO_C='
20272 + *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
20273 + *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
20276 +if expr a : '\(a\)' >/dev/null 2>&1; then
20282 +rm -f conf$$ conf$$.exe conf$$.file
20284 +if ln -s conf$$.file conf$$ 2>/dev/null; then
20285 + # We could just check for DJGPP; but this test a) works b) is more generic
20286 + # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
20287 + if test -f conf$$.exe; then
20288 + # Don't use ln at all; we don't have any links
20291 - if test -z "$ac_sed_cmds"; then
20292 - ac_sed_cmds="sed -f conftest.s$ac_file"
20294 - ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
20296 - ac_file=`expr $ac_file + 1`
20298 - ac_end=`expr $ac_end + $ac_max_sed_cmds`
20301 +elif ln conf$$.file conf$$ 2>/dev/null; then
20306 +rm -f conf$$ conf$$.exe conf$$.file
20308 +if mkdir -p . 2>/dev/null; then
20314 +as_executable_p="test -f"
20316 +# Sed expression to map a string onto a valid CPP name.
20317 +as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
20319 +# Sed expression to map a string onto a valid variable name.
20320 +as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
20324 +# We need space, tab and new line, in precisely that order.
20334 +# Open the log real soon, to keep \$[0] and so on meaningful, and to
20335 +# report actual input values of CONFIG_FILES etc. instead of their
20336 +# values after options handling. Logging --version etc. is OK.
20337 +exec 5>>config.log
20340 + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20341 +## Running $as_me. ##
20346 +This file was extended by $as_me, which was
20347 +generated by GNU Autoconf 2.57. Invocation command line was
20349 + CONFIG_FILES = $CONFIG_FILES
20350 + CONFIG_HEADERS = $CONFIG_HEADERS
20351 + CONFIG_LINKS = $CONFIG_LINKS
20352 + CONFIG_COMMANDS = $CONFIG_COMMANDS
20356 +echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
20360 +# Files that config.status was made for.
20361 +if test -n "$ac_config_files"; then
20362 + echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
20365 +if test -n "$ac_config_headers"; then
20366 + echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
20369 +if test -n "$ac_config_links"; then
20370 + echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
20373 +if test -n "$ac_config_commands"; then
20374 + echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
20377 +cat >>$CONFIG_STATUS <<\_ACEOF
20380 +\`$as_me' instantiates files from templates according to the
20381 +current configuration.
20383 +Usage: $0 [OPTIONS] [FILE]...
20385 + -h, --help print this help, then exit
20386 + -V, --version print version number, then exit
20387 + -q, --quiet do not print progress messages
20388 + -d, --debug don't remove temporary files
20389 + --recheck update $as_me by reconfiguring in the same conditions
20390 + --file=FILE[:TEMPLATE]
20391 + instantiate the configuration file FILE
20392 + --header=FILE[:TEMPLATE]
20393 + instantiate the configuration header FILE
20395 +Configuration files:
20398 +Configuration headers:
20401 +Configuration commands:
20404 +Report bugs to <bug-autoconf@gnu.org>."
20407 +cat >>$CONFIG_STATUS <<_ACEOF
20410 +configured by $0, generated by GNU Autoconf 2.57,
20411 + with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
20413 +Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
20414 +Free Software Foundation, Inc.
20415 +This config.status script is free software; the Free Software Foundation
20416 +gives unlimited permission to copy, distribute and modify it."
20418 +INSTALL="$INSTALL"
20421 +cat >>$CONFIG_STATUS <<\_ACEOF
20422 +# If no file are specified by the user, then we need to provide default
20423 +# value. By we need to know if files were specified by the user.
20424 +ac_need_defaults=:
20425 +while test $# != 0
20429 + ac_option=`expr "x$1" : 'x\([^=]*\)='`
20430 + ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
20438 + *) # This is not an option, so the user has probably given explicit
20441 + ac_need_defaults=false;;
20444 + case $ac_option in
20445 + # Handling of the options.
20447 +cat >>$CONFIG_STATUS <<\_ACEOF
20448 + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20449 + ac_cs_recheck=: ;;
20450 + --version | --vers* | -V )
20451 + echo "$ac_cs_version"; exit 0 ;;
20453 + # Conflict between --help and --header
20454 + { { echo "$as_me:$LINENO: error: ambiguous option: $1
20455 +Try \`$0 --help' for more information." >&5
20456 +echo "$as_me: error: ambiguous option: $1
20457 +Try \`$0 --help' for more information." >&2;}
20458 + { (exit 1); exit 1; }; };;
20459 + --help | --hel | -h )
20460 + echo "$ac_cs_usage"; exit 0 ;;
20461 + --debug | --d* | -d )
20463 + --file | --fil | --fi | --f )
20465 + CONFIG_FILES="$CONFIG_FILES $ac_optarg"
20466 + ac_need_defaults=false;;
20467 + --header | --heade | --head | --hea )
20469 + CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
20470 + ac_need_defaults=false;;
20471 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20472 + | -silent | --silent | --silen | --sile | --sil | --si | --s)
20473 + ac_cs_silent=: ;;
20475 + # This is an error.
20476 + -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
20477 +Try \`$0 --help' for more information." >&5
20478 +echo "$as_me: error: unrecognized option: $1
20479 +Try \`$0 --help' for more information." >&2;}
20480 + { (exit 1); exit 1; }; } ;;
20482 + *) ac_config_targets="$ac_config_targets $1" ;;
20487 -if test -z "$ac_sed_cmds"; then
20490 +ac_configure_extra_args=
20492 +if $ac_cs_silent; then
20494 + ac_configure_extra_args="$ac_configure_extra_args --silent"
20498 -cat >> $CONFIG_STATUS <<EOF
20500 +cat >>$CONFIG_STATUS <<_ACEOF
20501 +if \$ac_cs_recheck; then
20502 + echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20503 + exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20506 -CONFIG_FILES=\${CONFIG_FILES-"Makefile"}
20508 -cat >> $CONFIG_STATUS <<\EOF
20509 -for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
20510 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20511 - case "$ac_file" in
20512 - *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
20513 - ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
20514 - *) ac_file_in="${ac_file}.in" ;;
20517 +cat >>$CONFIG_STATUS <<_ACEOF
20519 +# INIT-COMMANDS section.
20522 +AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20528 +cat >>$CONFIG_STATUS <<\_ACEOF
20529 +for ac_config_target in $ac_config_targets
20531 + case "$ac_config_target" in
20532 + # Handling of arguments.
20533 + "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20534 + "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
20535 + "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
20536 + *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20537 +echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20538 + { (exit 1); exit 1; }; };;
20542 - # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
20543 +# If the user did not use the arguments to specify the items to instantiate,
20544 +# then the envvar interface is used. Set only those that are not.
20545 +# We use the long form for the default assignment because of an extremely
20546 +# bizarre bug on SunOS 4.1.3.
20547 +if $ac_need_defaults; then
20548 + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20549 + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20550 + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20553 - # Remove last slash and all that follows it. Not all systems have dirname.
20554 - ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
20555 - if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
20556 - # The file is in a subdirectory.
20557 - test ! -d "$ac_dir" && mkdir "$ac_dir"
20558 - ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
20559 - # A "../" for each directory in $ac_dir_suffix.
20560 - ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
20562 - ac_dir_suffix= ac_dots=
20563 +# Have a temporary directory for convenience. Make it in the build tree
20564 +# simply because there is no reason to put it here, and in addition,
20565 +# creating and moving files from /tmp can sometimes cause problems.
20566 +# Create a temporary directory, and hook for its removal unless debugging.
20569 + trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
20570 + trap '{ (exit 1); exit 1; }' 1 2 13 15
20573 +# Create a (secure) tmp directory for tmp files.
20576 + tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
20577 + test -n "$tmp" && test -d "$tmp"
20580 + tmp=./confstat$$-$RANDOM
20581 + (umask 077 && mkdir $tmp)
20584 + echo "$me: cannot create a temporary directory in ." >&2
20585 + { (exit 1); exit 1; }
20590 +cat >>$CONFIG_STATUS <<_ACEOF
20593 +# CONFIG_FILES section.
20596 +# No need to generate the scripts if there are no CONFIG_FILES.
20597 +# This happens for instance when ./config.status config.h
20598 +if test -n "\$CONFIG_FILES"; then
20599 + # Protect against being on the right side of a sed subst in config.status.
20600 + sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
20601 + s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
20602 +s,@SHELL@,$SHELL,;t t
20603 +s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
20604 +s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
20605 +s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
20606 +s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
20607 +s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
20608 +s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
20609 +s,@exec_prefix@,$exec_prefix,;t t
20610 +s,@prefix@,$prefix,;t t
20611 +s,@program_transform_name@,$program_transform_name,;t t
20612 +s,@bindir@,$bindir,;t t
20613 +s,@sbindir@,$sbindir,;t t
20614 +s,@libexecdir@,$libexecdir,;t t
20615 +s,@datadir@,$datadir,;t t
20616 +s,@sysconfdir@,$sysconfdir,;t t
20617 +s,@sharedstatedir@,$sharedstatedir,;t t
20618 +s,@localstatedir@,$localstatedir,;t t
20619 +s,@libdir@,$libdir,;t t
20620 +s,@includedir@,$includedir,;t t
20621 +s,@oldincludedir@,$oldincludedir,;t t
20622 +s,@infodir@,$infodir,;t t
20623 +s,@mandir@,$mandir,;t t
20624 +s,@build_alias@,$build_alias,;t t
20625 +s,@host_alias@,$host_alias,;t t
20626 +s,@target_alias@,$target_alias,;t t
20627 +s,@DEFS@,$DEFS,;t t
20628 +s,@ECHO_C@,$ECHO_C,;t t
20629 +s,@ECHO_N@,$ECHO_N,;t t
20630 +s,@ECHO_T@,$ECHO_T,;t t
20631 +s,@LIBS@,$LIBS,;t t
20632 +s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
20633 +s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
20634 +s,@INSTALL_DATA@,$INSTALL_DATA,;t t
20635 +s,@CYGPATH_W@,$CYGPATH_W,;t t
20636 +s,@PACKAGE@,$PACKAGE,;t t
20637 +s,@VERSION@,$VERSION,;t t
20638 +s,@ACLOCAL@,$ACLOCAL,;t t
20639 +s,@AUTOCONF@,$AUTOCONF,;t t
20640 +s,@AUTOMAKE@,$AUTOMAKE,;t t
20641 +s,@AUTOHEADER@,$AUTOHEADER,;t t
20642 +s,@MAKEINFO@,$MAKEINFO,;t t
20643 +s,@AMTAR@,$AMTAR,;t t
20644 +s,@install_sh@,$install_sh,;t t
20645 +s,@STRIP@,$STRIP,;t t
20646 +s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
20647 +s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
20649 +s,@SET_MAKE@,$SET_MAKE,;t t
20650 +s,@am__leading_dot@,$am__leading_dot,;t t
20652 +s,@CFLAGS@,$CFLAGS,;t t
20653 +s,@LDFLAGS@,$LDFLAGS,;t t
20654 +s,@CPPFLAGS@,$CPPFLAGS,;t t
20655 +s,@ac_ct_CC@,$ac_ct_CC,;t t
20656 +s,@EXEEXT@,$EXEEXT,;t t
20657 +s,@OBJEXT@,$OBJEXT,;t t
20658 +s,@DEPDIR@,$DEPDIR,;t t
20659 +s,@am__include@,$am__include,;t t
20660 +s,@am__quote@,$am__quote,;t t
20661 +s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
20662 +s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
20663 +s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
20664 +s,@CCDEPMODE@,$CCDEPMODE,;t t
20665 +s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
20666 +s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
20668 +s,@CXXFLAGS@,$CXXFLAGS,;t t
20669 +s,@ac_ct_CXX@,$ac_ct_CXX,;t t
20670 +s,@CXXDEPMODE@,$CXXDEPMODE,;t t
20671 +s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
20672 +s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
20674 +s,@EGREP@,$EGREP,;t t
20675 +s,@LIBOBJS@,$LIBOBJS,;t t
20676 +s,@DIRECTFB_CONFIG@,$DIRECTFB_CONFIG,;t t
20677 +s,@ATHEOS_GR_TRUE@,$ATHEOS_GR_TRUE,;t t
20678 +s,@ATHEOS_GR_FALSE@,$ATHEOS_GR_FALSE,;t t
20679 +s,@LTLIBOBJS@,$LTLIBOBJS,;t t
20684 + cat >>$CONFIG_STATUS <<\_ACEOF
20685 + # Split the substitutions into bite-sized pieces for seds with
20686 + # small command number limits, like on Digital OSF/1 and HP-UX.
20687 + ac_max_sed_lines=48
20688 + ac_sed_frag=1 # Number of current file.
20689 + ac_beg=1 # First line for current file.
20690 + ac_end=$ac_max_sed_lines # Line after last line for current file.
20693 + while $ac_more_lines; do
20694 + if test $ac_beg -gt 1; then
20695 + sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
20697 + sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
20699 + if test ! -s $tmp/subs.frag; then
20700 + ac_more_lines=false
20702 + # The purpose of the label and of the branching condition is to
20703 + # speed up the sed processing (if there are no `@' at all, there
20704 + # is no need to browse any of the substitutions).
20705 + # These are the two extra sed commands mentioned above.
20707 + /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
20708 + if test -z "$ac_sed_cmds"; then
20709 + ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
20711 + ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
20713 + ac_sed_frag=`expr $ac_sed_frag + 1`
20715 + ac_end=`expr $ac_end + $ac_max_sed_lines`
20718 + if test -z "$ac_sed_cmds"; then
20721 +fi # test -n "$CONFIG_FILES"
20723 - case "$ac_given_srcdir" in
20725 - if test -z "$ac_dots"; then top_srcdir=.
20726 - else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
20727 - /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
20728 - *) # Relative path.
20729 - srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
20730 - top_srcdir="$ac_dots$ac_given_srcdir" ;;
20732 +cat >>$CONFIG_STATUS <<\_ACEOF
20733 +for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
20734 + # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20736 + - | *:- | *:-:* ) # input from stdin
20738 + ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
20739 + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
20740 + *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
20741 + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
20742 + * ) ac_file_in=$ac_file.in ;;
20745 - case "$ac_given_INSTALL" in
20746 - [/$]*) INSTALL="$ac_given_INSTALL" ;;
20747 - *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
20749 + # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
20750 + ac_dir=`(dirname "$ac_file") 2>/dev/null ||
20751 +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20752 + X"$ac_file" : 'X\(//\)[^/]' \| \
20753 + X"$ac_file" : 'X\(//\)$' \| \
20754 + X"$ac_file" : 'X\(/\)' \| \
20755 + . : '\(.\)' 2>/dev/null ||
20756 +echo X"$ac_file" |
20757 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20758 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20759 + /^X\(\/\/\)$/{ s//\1/; q; }
20760 + /^X\(\/\).*/{ s//\1/; q; }
20762 + { if $as_mkdir_p; then
20763 + mkdir -p "$ac_dir"
20767 + while test ! -d "$as_dir"; do
20768 + as_dirs="$as_dir $as_dirs"
20769 + as_dir=`(dirname "$as_dir") 2>/dev/null ||
20770 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20771 + X"$as_dir" : 'X\(//\)[^/]' \| \
20772 + X"$as_dir" : 'X\(//\)$' \| \
20773 + X"$as_dir" : 'X\(/\)' \| \
20774 + . : '\(.\)' 2>/dev/null ||
20776 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20777 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20778 + /^X\(\/\/\)$/{ s//\1/; q; }
20779 + /^X\(\/\).*/{ s//\1/; q; }
20782 + test ! -n "$as_dirs" || mkdir $as_dirs
20783 + fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20784 +echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20785 + { (exit 1); exit 1; }; }; }
20787 - echo creating "$ac_file"
20789 - configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
20790 - case "$ac_file" in
20791 - *Makefile*) ac_comsub="1i\\
20792 -# $configure_input" ;;
20796 +if test "$ac_dir" != .; then
20797 + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20798 + # A "../" for each directory in $ac_dir_suffix.
20799 + ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
20801 + ac_dir_suffix= ac_top_builddir=
20805 + .) # No --srcdir option. We are building in place.
20807 + if test -z "$ac_top_builddir"; then
20810 + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
20812 + [\\/]* | ?:[\\/]* ) # Absolute path.
20813 + ac_srcdir=$srcdir$ac_dir_suffix;
20814 + ac_top_srcdir=$srcdir ;;
20815 + *) # Relative path.
20816 + ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
20817 + ac_top_srcdir=$ac_top_builddir$srcdir ;;
20819 +# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
20821 +ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
20822 +ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
20823 +ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
20824 +ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
20828 + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
20829 + *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
20832 - ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
20833 - sed -e "$ac_comsub
20834 -s%@configure_input@%$configure_input%g
20835 -s%@srcdir@%$srcdir%g
20836 -s%@top_srcdir@%$top_srcdir%g
20837 -s%@INSTALL@%$INSTALL%g
20838 -" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
20841 + if test x"$ac_file" != x-; then
20842 + { echo "$as_me:$LINENO: creating $ac_file" >&5
20843 +echo "$as_me: creating $ac_file" >&6;}
20846 + # Let's still pretend it is `configure' which instantiates (i.e., don't
20847 + # use $as_me), people would be surprised to read:
20848 + # /* config.h. Generated by config.status. */
20849 + if test x"$ac_file" = x-; then
20852 + configure_input="$ac_file. "
20854 + configure_input=$configure_input"Generated from `echo $ac_file_in |
20855 + sed 's,.*/,,'` by configure."
20857 + # First look for the input files in the build tree, otherwise in the
20859 + ac_file_inputs=`IFS=:
20860 + for f in $ac_file_in; do
20862 + -) echo $tmp/stdin ;;
20864 + # Absolute (can't be DOS-style, as IFS=:)
20865 + test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20866 +echo "$as_me: error: cannot find input file: $f" >&2;}
20867 + { (exit 1); exit 1; }; }
20870 + if test -f "$f"; then
20873 + elif test -f "$srcdir/$f"; then
20878 + { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20879 +echo "$as_me: error: cannot find input file: $f" >&2;}
20880 + { (exit 1); exit 1; }; }
20883 + done` || { (exit 1); exit 1; }
20885 +cat >>$CONFIG_STATUS <<_ACEOF
20889 +cat >>$CONFIG_STATUS <<\_ACEOF
20891 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20892 +s,@configure_input@,$configure_input,;t t
20893 +s,@srcdir@,$ac_srcdir,;t t
20894 +s,@abs_srcdir@,$ac_abs_srcdir,;t t
20895 +s,@top_srcdir@,$ac_top_srcdir,;t t
20896 +s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
20897 +s,@builddir@,$ac_builddir,;t t
20898 +s,@abs_builddir@,$ac_abs_builddir,;t t
20899 +s,@top_builddir@,$ac_top_builddir,;t t
20900 +s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
20901 +s,@INSTALL@,$ac_INSTALL,;t t
20902 +" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
20904 + if test x"$ac_file" != x-; then
20905 + mv $tmp/out $ac_file
20913 +cat >>$CONFIG_STATUS <<\_ACEOF
20916 +# CONFIG_HEADER section.
20919 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
20920 # NAME is the cpp macro being defined and VALUE is the value it is being given.
20922 # ac_d sets the value in "#define NAME VALUE" lines.
20923 -ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
20924 -ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
20927 -# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
20928 -ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
20929 -ac_uB='\([ ]\)%\1#\2define\3'
20930 +ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
20931 +ac_dB='[ ].*$,\1#\2'
20934 +# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
20935 +ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
20936 +ac_uB='$,\1#\2define\3'
20939 -# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
20940 -ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
20941 -ac_eB='$%\1#\2define\3'
20946 -if test "${CONFIG_HEADERS+set}" != set; then
20948 -cat >> $CONFIG_STATUS <<EOF
20949 - CONFIG_HEADERS="config.h"
20951 -cat >> $CONFIG_STATUS <<\EOF
20953 -for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
20954 +for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
20955 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20956 - case "$ac_file" in
20957 - *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
20958 - ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
20959 - *) ac_file_in="${ac_file}.in" ;;
20961 + - | *:- | *:-:* ) # input from stdin
20963 + ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
20964 + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
20965 + *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
20966 + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
20967 + * ) ac_file_in=$ac_file.in ;;
20970 - echo creating $ac_file
20971 + test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
20972 +echo "$as_me: creating $ac_file" >&6;}
20974 - rm -f conftest.frag conftest.in conftest.out
20975 - ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
20976 - cat $ac_file_inputs > conftest.in
20977 + # First look for the input files in the build tree, otherwise in the
20979 + ac_file_inputs=`IFS=:
20980 + for f in $ac_file_in; do
20982 + -) echo $tmp/stdin ;;
20984 + # Absolute (can't be DOS-style, as IFS=:)
20985 + test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20986 +echo "$as_me: error: cannot find input file: $f" >&2;}
20987 + { (exit 1); exit 1; }; }
20990 + if test -f "$f"; then
20993 + elif test -f "$srcdir/$f"; then
20998 + { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20999 +echo "$as_me: error: cannot find input file: $f" >&2;}
21000 + { (exit 1); exit 1; }; }
21003 + done` || { (exit 1); exit 1; }
21004 + # Remove the trailing spaces.
21005 + sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
21010 -# Transform confdefs.h into a sed script conftest.vals that substitutes
21011 -# the proper values into config.h.in to produce config.h. And first:
21012 -# Protect against being on the right side of a sed subst in config.status.
21013 -# Protect against being in an unquoted here document in config.status.
21014 -rm -f conftest.vals
21015 -cat > conftest.hdr <<\EOF
21018 -s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
21022 -sed -n -f conftest.hdr confdefs.h > conftest.vals
21023 -rm -f conftest.hdr
21024 +# Transform confdefs.h into two sed scripts, `conftest.defines' and
21025 +# `conftest.undefs', that substitutes the proper values into
21026 +# config.h.in to produce config.h. The first handles `#define'
21027 +# templates, and the second `#undef' templates.
21028 +# And first: Protect against being on the right side of a sed subst in
21029 +# config.status. Protect against being in an unquoted here document
21030 +# in config.status.
21031 +rm -f conftest.defines conftest.undefs
21032 +# Using a here document instead of a string reduces the quoting nightmare.
21033 +# Putting comments in sed scripts is not portable.
21035 +# `end' is used to avoid that the second main sed command (meant for
21036 +# 0-ary CPP macros) applies to n-ary macro definitions.
21037 +# See the Autoconf documentation for `clear'.
21038 +cat >confdef2sed.sed <<\_ACEOF
21043 +s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
21045 +s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
21048 +# If some macros were called several times there might be several times
21049 +# the same #defines, which is useless. Nevertheless, we may not want to
21050 +# sort them, since we want the *last* AC-DEFINE to be honored.
21051 +uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
21052 +sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
21053 +rm -f confdef2sed.sed
21055 # This sed command replaces #undef with comments. This is necessary, for
21056 # example, in the case of _POSIX_SOURCE, which is predefined and required
21057 # on some systems where configure will not decide to define it.
21058 -cat >> conftest.vals <<\EOF
21059 -s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
21061 +cat >>conftest.undefs <<\_ACEOF
21062 +s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
21065 -# Break up conftest.vals because some shells have a limit on
21066 -# the size of here documents, and old seds have small limits too.
21067 +# Break up conftest.defines because some shells have a limit on the size
21068 +# of here documents, and old seds have small limits too (100 cmds).
21069 +echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
21070 +echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
21071 +echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
21072 +echo ' :' >>$CONFIG_STATUS
21073 +rm -f conftest.tail
21074 +while grep . conftest.defines >/dev/null
21076 + # Write a limited-size here document to $tmp/defines.sed.
21077 + echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
21078 + # Speed up: don't consider the non `#define' lines.
21079 + echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
21080 + # Work around the forget-to-reset-the-flag bug.
21081 + echo 't clr' >>$CONFIG_STATUS
21082 + echo ': clr' >>$CONFIG_STATUS
21083 + sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
21085 + sed -f $tmp/defines.sed $tmp/in >$tmp/out
21087 + mv $tmp/out $tmp/in
21088 +' >>$CONFIG_STATUS
21089 + sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
21090 + rm -f conftest.defines
21091 + mv conftest.tail conftest.defines
21093 +rm -f conftest.defines
21094 +echo ' fi # grep' >>$CONFIG_STATUS
21095 +echo >>$CONFIG_STATUS
21097 +# Break up conftest.undefs because some shells have a limit on the size
21098 +# of here documents, and old seds have small limits too (100 cmds).
21099 +echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
21100 rm -f conftest.tail
21102 +while grep . conftest.undefs >/dev/null
21104 - ac_lines=`grep -c . conftest.vals`
21105 - # grep -c gives empty output for an empty file on some AIX systems.
21106 - if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
21107 - # Write a limited-size here document to conftest.frag.
21108 - echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
21109 - sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
21110 + # Write a limited-size here document to $tmp/undefs.sed.
21111 + echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
21112 + # Speed up: don't consider the non `#undef'
21113 + echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
21114 + # Work around the forget-to-reset-the-flag bug.
21115 + echo 't clr' >>$CONFIG_STATUS
21116 + echo ': clr' >>$CONFIG_STATUS
21117 + sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
21119 - sed -f conftest.frag conftest.in > conftest.out
21120 - rm -f conftest.in
21121 - mv conftest.out conftest.in
21122 -' >> $CONFIG_STATUS
21123 - sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
21124 - rm -f conftest.vals
21125 - mv conftest.tail conftest.vals
21126 + sed -f $tmp/undefs.sed $tmp/in >$tmp/out
21128 + mv $tmp/out $tmp/in
21129 +' >>$CONFIG_STATUS
21130 + sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
21131 + rm -f conftest.undefs
21132 + mv conftest.tail conftest.undefs
21134 -rm -f conftest.vals
21135 +rm -f conftest.undefs
21137 -cat >> $CONFIG_STATUS <<\EOF
21138 - rm -f conftest.frag conftest.h
21139 - echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
21140 - cat conftest.in >> conftest.h
21141 - rm -f conftest.in
21142 - if cmp -s $ac_file conftest.h 2>/dev/null; then
21143 - echo "$ac_file is unchanged"
21145 +cat >>$CONFIG_STATUS <<\_ACEOF
21146 + # Let's still pretend it is `configure' which instantiates (i.e., don't
21147 + # use $as_me), people would be surprised to read:
21148 + # /* config.h. Generated by config.status. */
21149 + if test x"$ac_file" = x-; then
21150 + echo "/* Generated by configure. */" >$tmp/config.h
21152 - # Remove last slash and all that follows it. Not all systems have dirname.
21153 - ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
21154 - if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
21155 - # The file is in a subdirectory.
21156 - test ! -d "$ac_dir" && mkdir "$ac_dir"
21157 + echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
21159 + cat $tmp/in >>$tmp/config.h
21161 + if test x"$ac_file" != x-; then
21162 + if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
21163 + { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21164 +echo "$as_me: $ac_file is unchanged" >&6;}
21166 + ac_dir=`(dirname "$ac_file") 2>/dev/null ||
21167 +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21168 + X"$ac_file" : 'X\(//\)[^/]' \| \
21169 + X"$ac_file" : 'X\(//\)$' \| \
21170 + X"$ac_file" : 'X\(/\)' \| \
21171 + . : '\(.\)' 2>/dev/null ||
21172 +echo X"$ac_file" |
21173 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21174 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21175 + /^X\(\/\/\)$/{ s//\1/; q; }
21176 + /^X\(\/\).*/{ s//\1/; q; }
21178 + { if $as_mkdir_p; then
21179 + mkdir -p "$ac_dir"
21183 + while test ! -d "$as_dir"; do
21184 + as_dirs="$as_dir $as_dirs"
21185 + as_dir=`(dirname "$as_dir") 2>/dev/null ||
21186 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21187 + X"$as_dir" : 'X\(//\)[^/]' \| \
21188 + X"$as_dir" : 'X\(//\)$' \| \
21189 + X"$as_dir" : 'X\(/\)' \| \
21190 + . : '\(.\)' 2>/dev/null ||
21192 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21193 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21194 + /^X\(\/\/\)$/{ s//\1/; q; }
21195 + /^X\(\/\).*/{ s//\1/; q; }
21198 + test ! -n "$as_dirs" || mkdir $as_dirs
21199 + fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21200 +echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21201 + { (exit 1); exit 1; }; }; }
21204 + mv $tmp/config.h $ac_file
21207 - mv conftest.h $ac_file
21209 + cat $tmp/config.h
21210 + rm -f $tmp/config.h
21213 +# Compute $ac_file's index in $config_headers.
21215 +for _am_header in $config_headers :; do
21216 + case $_am_header in
21217 + $ac_file | $ac_file:* )
21220 + _am_stamp_count=`expr $_am_stamp_count + 1` ;;
21223 +echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
21224 +$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21225 + X$ac_file : 'X\(//\)[^/]' \| \
21226 + X$ac_file : 'X\(//\)$' \| \
21227 + X$ac_file : 'X\(/\)' \| \
21228 + . : '\(.\)' 2>/dev/null ||
21230 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21231 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21232 + /^X\(\/\/\)$/{ s//\1/; q; }
21233 + /^X\(\/\).*/{ s//\1/; q; }
21234 + s/.*/./; q'`/stamp-h$_am_stamp_count
21237 +cat >>$CONFIG_STATUS <<\_ACEOF
21240 -cat >> $CONFIG_STATUS <<EOF
21242 +# CONFIG_COMMANDS section.
21244 +for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
21245 + ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
21246 + ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
21247 + ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
21248 +$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21249 + X"$ac_dest" : 'X\(//\)[^/]' \| \
21250 + X"$ac_dest" : 'X\(//\)$' \| \
21251 + X"$ac_dest" : 'X\(/\)' \| \
21252 + . : '\(.\)' 2>/dev/null ||
21253 +echo X"$ac_dest" |
21254 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21255 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21256 + /^X\(\/\/\)$/{ s//\1/; q; }
21257 + /^X\(\/\).*/{ s//\1/; q; }
21261 +if test "$ac_dir" != .; then
21262 + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21263 + # A "../" for each directory in $ac_dir_suffix.
21264 + ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21266 + ac_dir_suffix= ac_top_builddir=
21270 -cat >> $CONFIG_STATUS <<\EOF
21271 -test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
21273 + .) # No --srcdir option. We are building in place.
21275 + if test -z "$ac_top_builddir"; then
21278 + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21280 + [\\/]* | ?:[\\/]* ) # Absolute path.
21281 + ac_srcdir=$srcdir$ac_dir_suffix;
21282 + ac_top_srcdir=$srcdir ;;
21283 + *) # Relative path.
21284 + ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21285 + ac_top_srcdir=$ac_top_builddir$srcdir ;;
21287 +# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
21289 +ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
21290 +ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
21291 +ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
21292 +ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
21297 + { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
21298 +echo "$as_me: executing $ac_dest commands" >&6;}
21300 + depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
21301 + # Strip MF so we end up with the name of the file.
21302 + mf=`echo "$mf" | sed -e 's/:.*$//'`
21303 + # Check whether this is an Automake generated Makefile or not.
21304 + # We used to match only the files named `Makefile.in', but
21305 + # some people rename them; so instead we look at the file content.
21306 + # Grep'ing the first line is not enough: some people post-process
21307 + # each Makefile.in and add a new line on top of each file to say so.
21308 + # So let's grep whole file.
21309 + if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
21310 + dirpart=`(dirname "$mf") 2>/dev/null ||
21311 +$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21312 + X"$mf" : 'X\(//\)[^/]' \| \
21313 + X"$mf" : 'X\(//\)$' \| \
21314 + X"$mf" : 'X\(/\)' \| \
21315 + . : '\(.\)' 2>/dev/null ||
21317 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21318 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21319 + /^X\(\/\/\)$/{ s//\1/; q; }
21320 + /^X\(\/\).*/{ s//\1/; q; }
21325 + grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
21326 + # Extract the definition of DEP_FILES from the Makefile without
21327 + # running `make'.
21328 + DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
21329 + test -z "$DEPDIR" && continue
21330 + # When using ansi2knr, U may be empty or an underscore; expand it
21331 + U=`sed -n -e '/^U = / s///p' < "$mf"`
21332 + test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
21333 + # We invoke sed twice because it is the simplest approach to
21334 + # changing $(DEPDIR) to its actual value in the expansion.
21335 + for file in `sed -n -e '
21336 + /^DEP_FILES = .*\\\\$/ {
21337 + s/^DEP_FILES = //
21345 + /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
21346 + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21347 + # Make sure the directory exists.
21348 + test -f "$dirpart/$file" && continue
21349 + fdir=`(dirname "$file") 2>/dev/null ||
21350 +$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21351 + X"$file" : 'X\(//\)[^/]' \| \
21352 + X"$file" : 'X\(//\)$' \| \
21353 + X"$file" : 'X\(/\)' \| \
21354 + . : '\(.\)' 2>/dev/null ||
21356 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21357 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21358 + /^X\(\/\/\)$/{ s//\1/; q; }
21359 + /^X\(\/\).*/{ s//\1/; q; }
21361 + { if $as_mkdir_p; then
21362 + mkdir -p $dirpart/$fdir
21364 + as_dir=$dirpart/$fdir
21366 + while test ! -d "$as_dir"; do
21367 + as_dirs="$as_dir $as_dirs"
21368 + as_dir=`(dirname "$as_dir") 2>/dev/null ||
21369 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21370 + X"$as_dir" : 'X\(//\)[^/]' \| \
21371 + X"$as_dir" : 'X\(//\)$' \| \
21372 + X"$as_dir" : 'X\(/\)' \| \
21373 + . : '\(.\)' 2>/dev/null ||
21375 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21376 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21377 + /^X\(\/\/\)$/{ s//\1/; q; }
21378 + /^X\(\/\).*/{ s//\1/; q; }
21381 + test ! -n "$as_dirs" || mkdir $as_dirs
21382 + fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
21383 +echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
21384 + { (exit 1); exit 1; }; }; }
21386 + # echo "creating $dirpart/$file"
21387 + echo '# dummy' > "$dirpart/$file"
21395 +cat >>$CONFIG_STATUS <<\_ACEOF
21397 +{ (exit 0); exit 0; }
21399 chmod +x $CONFIG_STATUS
21400 -rm -fr confdefs* $ac_clean_files
21401 -test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
21402 +ac_clean_files=$ac_clean_files_save
21405 +# configure is writing to config.log, and then calls config.status.
21406 +# config.status does its own redirection, appending to config.log.
21407 +# Unfortunately, on DOS this fails, as config.log is still kept open
21408 +# by configure, so config.status won't be able to write to it; its
21409 +# output is simply discarded. So we exec the FD to /dev/null,
21410 +# effectively closing config.log, so it can be properly (re)opened and
21411 +# appended to by config.status. When coming back to configure, we
21412 +# need to make the FD available again.
21413 +if test "$no_create" != yes; then
21415 + ac_config_status_args=
21416 + test "$silent" = yes &&
21417 + ac_config_status_args="$ac_config_status_args --quiet"
21419 + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
21420 + exec 5>>config.log
21421 + # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21422 + # would make configure fail if this is the last instruction.
21423 + $ac_cs_success || { (exit 1); exit 1; }
21427 echo "---------------------------------------------------------"
21428 @@ -6704,7 +17003,7 @@
21429 if test "$cf_have_gpm" = yes; then echo "GPM support: YES"; else echo "GPM support: NO"; fi
21430 if test "$cf_have_ssl" = yes; then echo "SSL support: YES"; else echo "SSL support: NO"; fi
21431 if test "$cf_use_javascript" = yes; then echo "Javascript enabled: YES"; else echo "Javascript enabled: NO"; fi
21432 -if test "$cf_use_graphics" = yes; then
21433 +if test "$cf_use_graphics" = yes; then
21434 echo "Graphics enabled: YES"
21435 echo "Graphics drivers: `echo $drivers|sed 's/^ //'`"
21436 echo "Image formats: $image_formats"
21437 @@ -6718,5 +17017,5 @@
21440 #if test -z "$AWK"; then
21441 -# AC_WARN([awk not found. You won't be able to rebuild code page table.]);
21442 +# AC_MSG_WARN([awk not found. You won't be able to rebuild code page table.]);