links2

links 2.15+ fork
git clone git://git.codemadness.org/links2
Log | Files | Refs | README

commit 9adcf07f37fa6d7c93bd8edbd9519de1bc8c6cb5
parent 82b827e449e7dc3c6301ccdbc3fa870bdb2db1c5
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Sat, 28 Apr 2018 20:59:19 +0200

delete unused files, cleanup config.h

Diffstat:
Makefile | 6++++--
PATCH-gpm-1.20.0-smooth-cursor | 84-------------------------------------------------------------------------------
PATCH-libpng-1.2.18 | 14--------------
TODO | 2++
acconfig.h | 224-------------------------------------------------------------------------------
aclocal.m4 | 228-------------------------------------------------------------------------------
atheos.cpp | 672-------------------------------------------------------------------------------
config-vms.h | 1052-------------------------------------------------------------------------------
config.guess | 976-------------------------------------------------------------------------------
config.h | 428-------------------------------------------------------------------------------
config.h.in | 1051-------------------------------------------------------------------------------
config.sub | 958-------------------------------------------------------------------------------
configure | 10738-------------------------------------------------------------------------------
configure.in | 1386-------------------------------------------------------------------------------
hpux.c | 124-------------------------------------------------------------------------------
hpux.h | 6------
links-48x48.xpm | 137-------------------------------------------------------------------------------
links.nsi | 248-------------------------------------------------------------------------------
links.wis | 43-------------------------------------------
links64.nsi | 248-------------------------------------------------------------------------------
links_16x16_1.xpm | 25-------------------------
links_16x16_2.xpm | 78------------------------------------------------------------------------------
links_32x32.xpm | 115-------------------------------------------------------------------------------
linksos2.ico | 0
linksos2.rc | 1-
linkswin.ico | 0
linkswin.rc | 1-
mk-dos | 40----------------------------------------
mk-dos83.cmd | 4----
mk-release-os2 | 37-------------------------------------
mk-release-win | 60------------------------------------------------------------
mkinstalldirs | 40----------------------------------------
pkg-config.m4 | 57---------------------------------------------------------
rebuild | 145-------------------------------------------------------------------------------
unifdef.h | 674+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
vms-gfx-32.opt | 4----
vms-gnu-text-32.opt | 1-
vms-ssl-32.opt | 2--
vms-ssl-64.opt | 2--
vms-ssl-external-alpha-32.opt | 2--
vms-ssl-external-alpha-64.opt | 2--
vms-ssl-external-i64-32.opt | 2--
vms-ssl-external-i64-64.opt | 2--
vms-ssl-external-vax-32.opt | 2--
44 files changed, 680 insertions(+), 19241 deletions(-)

diff --git a/Makefile b/Makefile @@ -4,9 +4,11 @@ build: clean cc -o links *.o -L/usr/local/lib -levent -lssl -lz -s # links -g cc -c -include config.h \ - -DG=1 -DGRDRV_X -DHAVE_JPEG=1 -DHAVE_PNG_H=1 -DHAVE_LIBPNG=1 \ + -DG=1 -DGRDRV_X \ + -DHAVE_JPEG=1 -DHAVE_LIBJPEG=1 -DHAVE_JPEGLIB_H=1 \ + -DHAVE_PNG_H=1 -DHAVE_LIBPNG=1 -DHAVE_LIBPNG_PNG_H=1 \ *.c -I. -I/usr/local/include -I/usr/X11R6/include -O2 cc -o linksg *.o -L/usr/X11R6/lib -L/usr/local/lib -lX11 -levent -lpng -ljpeg -lssl -lz -s clean: - rm -f *.o links + rm -f *.o links linksg diff --git a/PATCH-gpm-1.20.0-smooth-cursor b/PATCH-gpm-1.20.0-smooth-cursor @@ -1,84 +0,0 @@ ---- src/gpm.c_ Sat Jun 8 14:14:19 2002 -+++ src/gpm.c Sat Jun 8 14:51:18 2002 -@@ -106,6 +106,11 @@ - static int mouse_argc[3]; /* 0 for default (unused) and two mice */ - static char **mouse_argv[3]; /* 0 for default (unused) and two mice */ - -+/* pixel-level mouse delta. Should be in event, but I don't want to break interface */ -+static int smooth_dx, smooth_dy; -+ -+static int number_of_smooth_clients = 0; -+ - /*===================================================================*/ - /* - * first, all the stuff that used to be in gpn.c (i.e., not main-loop) -@@ -317,7 +322,15 @@ - - /* WARNING */ /* This can generate a SIGPIPE... I'd better catch it */ - MAGIC_P((write(fd,&magic, sizeof(int)))); -- write(fd,event, sizeof(Gpm_Event)); -+ if (info.eventMask & info.defaultMask & GPM_SMOOTH && !m_type->absolute) { -+ Gpm_Event new = *event; -+ new.dx = smooth_dx; -+ new.dy = smooth_dy; -+ new.type |= GPM_SMOOTH; -+ write(fd,&new, sizeof(Gpm_Event)); -+ } else { -+ write(fd,event, sizeof(Gpm_Event)); -+ } - - return info.defaultMask & GPM_HARD ? res : 1; /* HARD forces pass-on */ - -@@ -503,6 +516,7 @@ - - /* use fine delta values now, if delta is the information */ - if (!(m_type)->absolute) { -+ smooth_dx=event->dx; smooth_dy=event->dy; - fine_dx+=event->dx; fine_dy+=event->dy; - event->dx=fine_dx/opt_scale; event->dy=fine_dy/opt_scaley; - fine_dx %= opt_scale; fine_dy %= opt_scaley; -@@ -511,7 +525,7 @@ - /* up and down, up and down, ... who does a do..while(0) loop ??? - and then makes a break into it... argh ! */ - -- if (!event->dx && !event->dy && (event->buttons==oldB)) -+ if (!event->dx && !event->dy && (event->buttons==oldB) && !number_of_smooth_clients) - do { /* so to break */ - static long awaketime; - /* -@@ -680,6 +694,7 @@ - FD_CLR(ci->fd,&readySet); - if (cinfo[vc]->fd == ci->fd) { /* it was on top of the stack */ - cinfoPtr = cinfo[vc]; -+ if (cinfoPtr->data.eventMask & cinfoPtr->data.defaultMask & GPM_SMOOTH) number_of_smooth_clients--; - cinfo[vc]=cinfo[vc]->next; /* pop the stack */ - free(cinfoPtr); - return -1; -@@ -850,6 +865,8 @@ - } - free(tty); /* at least here it's not needed anymore */ - } -+ -+ if (info->data.eventMask & info->data.defaultMask & GPM_SMOOTH) number_of_smooth_clients++; - - /* register the connection information in the right place */ - info->next=next=cinfo[vc]; ---- src/headers/gpm.h_ Sat Jun 8 13:20:25 2002 -+++ src/headers/gpm.h Sat Jun 8 14:52:35 2002 -@@ -102,8 +102,15 @@ - used event to pass over to another handler */ - - GPM_ENTER=512, /* enter event, user in Roi's */ -- GPM_LEAVE=1024 /* leave event, used in Roi's */ -+ GPM_LEAVE=1024, /* leave event, used in Roi's */ -+ -+ GPM_SMOOTH=2048, /* if application want to receive smooth movement, -+ it sets GPM_SMOOTH in both eventMask and defaultMask. -+ In returned event, type GPM_SMOOTH signals that dx and dy -+ are smooth */ - }; -+ -+#define GPM_HAVE_SMOOTH /* so that apps can #ifdef for old/new version */ - - #define Gpm_StrictSingle(type) (((type)&GPM_SINGLE) && !((type)&GPM_MFLAG)) - #define Gpm_AnySingle(type) ((type)&GPM_SINGLE) diff --git a/PATCH-libpng-1.2.18 b/PATCH-libpng-1.2.18 @@ -1,14 +0,0 @@ ---- pngrtran.c_ 2007-06-25 04:09:58.000000000 +0200 -+++ pngrtran.c 2007-06-25 04:09:53.000000000 +0200 -@@ -1293,9 +1293,9 @@ - if(rgb_error) - { - png_ptr->rgb_to_gray_status=1; -- if(png_ptr->transformations & PNG_RGB_TO_GRAY_WARN) -+ if((png_ptr->transformations & PNG_RGB_TO_GRAY) == PNG_RGB_TO_GRAY_WARN) - png_warning(png_ptr, "png_do_rgb_to_gray found nongray pixel"); -- if(png_ptr->transformations & PNG_RGB_TO_GRAY_ERR) -+ if((png_ptr->transformations & PNG_RGB_TO_GRAY) == PNG_RGB_TO_GRAY_ERR) - png_error(png_ptr, "png_do_rgb_to_gray found nongray pixel"); - } - } diff --git a/TODO b/TODO @@ -28,3 +28,5 @@ - improve domain suffix matching: see suffix*.inc. - remove X11 gamma correction support. + +- remove brotli, lzma, lzip, bzip2 support: only support gzip/deflate. diff --git a/acconfig.h b/acconfig.h @@ -1,224 +0,0 @@ - -@BOTTOM@ - -/* */ -#undef VERSION - -/* */ -#undef HAVE_OPENMP - -/* */ -#undef HAVE_LONG_LONG - -/* */ -#undef HAVE_POINTER_COMPARISON_BUG - -/* */ -#undef HAVE_MAXINT_CONVERSION_BUG - -/* */ -#undef HAVE_STDLIB_H_X - -/* */ -#undef HAVE_SOCKLEN_T - -/* */ -#undef HAVE_VOLATILE - -/* */ -#undef HAVE_RESTRICT - -/* */ -#undef HAVE___RESTRICT - -/* */ -#undef HAVE_ERRNO - -/* */ -#undef C_BIG_ENDIAN - -/* */ -#undef C_LITTLE_ENDIAN - -/* */ -#undef RENAME_OVER_EXISTING_FILES - -/* */ -#undef HAVE_STRLEN - -/* */ -#undef HAVE_STRCPY - -/* */ -#undef HAVE_STRCHR - -/* */ -#undef HAVE_STRRCHR - -/* */ -#undef HAVE_STRCMP - -/* */ -#undef HAVE_STRNCMP - -/* */ -#undef HAVE_STRCSPN - -/* */ -#undef HAVE_STRSPN - -/* */ -#undef HAVE_STRSTR - -/* */ -#undef HAVE_MEMCMP - -/* */ -#undef HAVE_MEMCHR - -/* */ -#undef HAVE_MEMCPY - -/* */ -#undef HAVE_MEMMOVE - -/* */ -#undef HAVE_MEMSET - -/* */ -#undef HAVE_MEMMEM - -/* */ -#undef HAVE_STRERROR - -/* */ -#undef HAVE_SIGFILLSET - -/* */ -#undef HAVE_SIGSETJMP - -/* */ -#undef HAVE___BUILTIN_ADD_OVERFLOW - -/* */ -#undef HAVE___BUILTIN_CLZ - -/* */ -#undef DEBUGLEVEL - -/* */ -#undef HAVE_CLOCK_GETTIME - -/* */ -#undef HAVE_GETHOSTBYNAME - -/* */ -#undef HAVE_GETHOSTBYNAME_BUG - -/* */ -#undef SUPPORT_IPV6 - -/* */ -#undef SUPPORT_IPV6_SCOPE - -/* */ -#undef HAVE_POW - -/* */ -#undef HAVE_POWF - -/* */ -#undef JS - -/* */ -#undef CHCEME_FLEXI_LIBU - -/* */ -#undef HAVE_PCRE - -/* */ -#undef HAVE_REGEX - -/* */ -#undef ENABLE_UTF8 - -/* */ -#undef HAVE_BEGINTHREAD - -/* */ -#undef HAVE_PTHREADS - -/* */ -#undef X2 - -/* */ -#undef HAVE_XSETLOCALE - -/* */ -#undef HAVE_SSL - -/* */ -#undef HAVE_OPENSSL - -/* */ -#undef HAVE_NSS - -/* */ -#undef HAVE_CRYPTO_SET_MEM_FUNCTIONS_1 - -/* */ -#undef HAVE_CRYPTO_SET_MEM_FUNCTIONS_2 - -/* */ -#undef HAVE_ZLIB - -/* */ -#undef HAVE_BROTLI - -/* */ -#undef HAVE_BZIP2 - -/* */ -#undef HAVE_LZMA - -/* */ -#undef HAVE_LZIP - -/* */ -#undef G - -/* */ -#undef GRDRV_SVGALIB - -/* */ -#undef GRDRV_FB - -/* */ -#undef GRDRV_DIRECTFB - -/* */ -#undef GRDRV_X - -/* */ -#undef GRDRV_SDL - -/* */ -#undef GRDRV_PMSHELL - -/* */ -#undef GRDRV_ATHEOS - -/* */ -#undef GRDRV_GRX - -/* Jpeg by Clock */ -#undef HAVE_JPEG - -/* Tiff by Brain */ -#undef HAVE_TIFF - -/* SVG */ -#undef HAVE_SVG - -/* Gpm_Event has wdx and wdy */ -#undef HAVE_WDX_WDY diff --git a/aclocal.m4 b/aclocal.m4 @@ -1,228 +0,0 @@ -dnl aclocal.m4 generated automatically by aclocal 1.4-p6 - -dnl Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc. -dnl This file is free software; the Free Software Foundation -dnl gives unlimited permission to copy and/or distribute it, -dnl with or without modifications, as long as this notice is preserved. - -dnl This program is distributed in the hope that it will be useful, -dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without -dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A -dnl PARTICULAR PURPOSE. - -# Do all the work for Automake. This macro actually does too much -- -# some checks are only needed if your package does certain things. -# But this isn't really a big deal. - -# serial 1 - -dnl Usage: -dnl AM_INIT_AUTOMAKE(package,version, [no-define]) - -AC_DEFUN([AM_INIT_AUTOMAKE], -[AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl -AC_REQUIRE([AC_PROG_INSTALL]) -PACKAGE=[$1] -AC_SUBST(PACKAGE) -VERSION=[$2] -AC_SUBST(VERSION) -dnl test to see if srcdir already configured -if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then - AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) -fi -ifelse([$3],, -AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) -AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])) -AC_REQUIRE([AM_SANITY_CHECK]) -AC_REQUIRE([AC_ARG_PROGRAM]) -dnl FIXME This is truly gross. -missing_dir=`cd $ac_aux_dir && pwd` -AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}, $missing_dir) -AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir) -AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}, $missing_dir) -AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir) -AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir) -AC_REQUIRE([AC_PROG_MAKE_SET])]) - -# Copyright 2002 Free Software Foundation, Inc. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - -# AM_AUTOMAKE_VERSION(VERSION) -# ---------------------------- -# Automake X.Y traces this macro to ensure aclocal.m4 has been -# generated from the m4 files accompanying Automake X.Y. -AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.4"]) - -# AM_SET_CURRENT_AUTOMAKE_VERSION -# ------------------------------- -# Call AM_AUTOMAKE_VERSION so it can be traced. -# This function is AC_REQUIREd by AC_INIT_AUTOMAKE. -AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], - [AM_AUTOMAKE_VERSION([1.4-p6])]) - -# -# Check to make sure that the build environment is sane. -# - -AC_DEFUN([AM_SANITY_CHECK], -[AC_MSG_CHECKING([whether build environment is sane]) -# Just in case -sleep 1 -echo timestamp > conftestfile -# Do `set' in a subshell so we don't clobber the current shell's -# arguments. Must try -L first in case configure is actually a -# symlink; some systems play weird games with the mod time of symlinks -# (eg FreeBSD returns the mod time of the symlink's containing -# directory). -if ( - set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null` - if test "[$]*" = "X"; then - # -L didn't work. - set X `ls -t $srcdir/configure conftestfile` - fi - if test "[$]*" != "X $srcdir/configure conftestfile" \ - && test "[$]*" != "X conftestfile $srcdir/configure"; then - - # If neither matched, then we have a broken ls. This can happen - # if, for instance, CONFIG_SHELL is bash and it inherits a - # broken ls alias from the environment. This has actually - # happened. Such a system could not be considered "sane". - AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken -alias in your environment]) - fi - - test "[$]2" = conftestfile - ) -then - # Ok. - : -else - AC_MSG_ERROR([newly created file is older than distributed files! -Check your system clock]) -fi -rm -f conftest* -AC_MSG_RESULT(yes)]) - -dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY) -dnl The program must properly implement --version. -AC_DEFUN([AM_MISSING_PROG], -[AC_MSG_CHECKING(for working $2) -# Run test in a subshell; some versions of sh will print an error if -# an executable is not found, even if stderr is redirected. -# Redirect stdin to placate older versions of autoconf. Sigh. -if ($2 --version) < /dev/null > /dev/null 2>&1; then - $1=$2 - AC_MSG_RESULT(found) -else - $1="$3/missing $2" - AC_MSG_RESULT(missing) -fi -AC_SUBST($1)]) - -# Like AC_CONFIG_HEADER, but automatically create stamp file. - -AC_DEFUN([AM_CONFIG_HEADER], -[AC_PREREQ([2.12]) -AC_CONFIG_HEADER([$1]) -dnl When config.status generates a header, we must update the stamp-h file. -dnl This file resides in the same directory as the config header -dnl that is generated. We must strip everything past the first ":", -dnl and everything past the last "/". -AC_OUTPUT_COMMANDS(changequote(<<,>>)dnl -ifelse(patsubst(<<$1>>, <<[^ ]>>, <<>>), <<>>, -<<test -z "<<$>>CONFIG_HEADERS" || echo timestamp > patsubst(<<$1>>, <<^\([^:]*/\)?.*>>, <<\1>>)stamp-h<<>>dnl>>, -<<am_indx=1 -for am_file in <<$1>>; do - case " <<$>>CONFIG_HEADERS " in - *" <<$>>am_file "*<<)>> - echo timestamp > `echo <<$>>am_file | sed -e 's%:.*%%' -e 's%[^/]*$%%'`stamp-h$am_indx - ;; - esac - am_indx=`expr "<<$>>am_indx" + 1` -done<<>>dnl>>) -changequote([,]))]) - - -dnl PKG_CHECK_MODULES(GSTUFF, gtk+-2.0 >= 1.3 glib = 1.3.4, action-if, action-not) -dnl defines GSTUFF_LIBS, GSTUFF_CFLAGS, see pkg-config man page -dnl also defines GSTUFF_PKG_ERRORS on error -AC_DEFUN(PKG_CHECK_MODULES, [ - succeeded=no - - if test -z "$PKG_CONFIG"; then - AC_PATH_PROG(PKG_CONFIG, pkg-config, no) - fi - - if test "$PKG_CONFIG" = "no" ; then - echo "*** The pkg-config script could not be found. Make sure it is" - echo "*** in your path, or set the PKG_CONFIG environment variable" - echo "*** to the full path to pkg-config." - echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config." - else - PKG_CONFIG_MIN_VERSION=0.9.0 - if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then - AC_MSG_CHECKING(for $2) - - if $PKG_CONFIG --exists "$2" ; then - AC_MSG_RESULT(yes) - succeeded=yes - - AC_MSG_CHECKING($1_CFLAGS) - $1_CFLAGS=`$PKG_CONFIG --cflags "$2"` - AC_MSG_RESULT($$1_CFLAGS) - - AC_MSG_CHECKING($1_LIBS) - $1_LIBS=`$PKG_CONFIG --libs "$2"` - AC_MSG_RESULT($$1_LIBS) - else - $1_CFLAGS="" - $1_LIBS="" - ## If we have a custom action on failure, don't print errors, but - ## do set a variable so people can do so. - $1_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"` - ifelse([$4], ,echo $$1_PKG_ERRORS,) - fi - - AC_SUBST($1_CFLAGS) - AC_SUBST($1_LIBS) - else - echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer." - echo "*** See http://www.freedesktop.org/software/pkgconfig" - fi - fi - - if test $succeeded = yes; then - ifelse([$3], , :, [$3]) - else - ifelse([$4], , AC_MSG_ERROR([Library requirements ($2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.]), [$4]) - fi -]) - - - -# Define a conditional. - -AC_DEFUN([AM_CONDITIONAL], -[AC_SUBST($1_TRUE) -AC_SUBST($1_FALSE) -if $2; then - $1_TRUE= - $1_FALSE='#' -else - $1_TRUE='#' - $1_FALSE= -fi]) - diff --git a/atheos.cpp b/atheos.cpp @@ -1,672 +0,0 @@ -#include "cfg.h" - -#ifdef GRDRV_ATHEOS - -#include <atheos/threads.h> -#include <gui/view.h> -#include <gui/window.h> -#include <gui/desktop.h> -#include <gui/bitmap.h> -#include <util/locker.h> -#include <util/application.h> -#include <string> - -using namespace std; - -extern "C" { -#include "links.h" -} - -#define WINDOW_TITLE_SIZE 16 -#define TOP_PANEL_SIZE 32 -#define NEW_WINDOW_X_ADD 16 -#define NEW_WINDOW_Y_ADD 16 -#define NEW_WINDOW_X_MIN 8 -#define NEW_WINDOW_Y_MIN 8 - -#ifdef debug -#undef debug -#endif -#ifdef debug2 -#undef debug2 -#endif -#define debug(x) -#define debug2(x) - -extern struct graphics_driver atheos_driver; - -using namespace os; - -class LinksApplication : public Application { - public: - LinksApplication():Application("application/x-vnd.links"){} - virtual bool OkToQuit(){return false;} -}; - -class LinksView; - -class LinksWindow : public Window { - public: - LinksWindow(Rect r); - ~LinksWindow(); - virtual void FrameSized(const Point &d); - virtual bool OkToQuit(); - int resized; - LinksView *view; -}; - -class LinksView : public View { - public: - LinksView(LinksWindow *w); - ~LinksView(); - virtual void Paint(const Rect &r); - virtual void MouseDown(const Point &p, uint32 b); - virtual void MouseUp(const Point &p, uint32 b, Message *m); - virtual void MouseMove(const Point &p, int c, uint32 b, Message *m); - virtual void KeyDown(const char *s, const char *rs, uint32 q); - virtual void WheelMoved(const Point &d); - LinksWindow *win; - struct graphics_device *dev; - void d_flush(); - int flushing; - int last_x, last_y; -}; - -#define lv(dev) ((LinksView *)(dev)->driver_data) - -#define lock_dev(dev) do { if (lv(dev)->win->Lock()) return; } while (0) -#define lock_dev0(dev) do { if (lv(dev)->win->Lock()) return 0; } while (0) -#define unlock_dev(dev) do { lv(dev)->win->Unlock(); } while (0) - -LinksApplication *ath_links_app; -Locker *ath_lock = NULL; - -int msg_pipe[2]; - -thread_id ath_app_thread_id; - -#define rpipe (msg_pipe[0]) -#define wpipe (msg_pipe[1]) - -#define small_color (sizeof(Color32_s) <= sizeof(long)) -#define get_color32(c, rgb) Color32_s c((rgb >> 16) & 255, (rgb >> 8) & 255, rgb & 255, 255) - -color_space ath_cs_desktop, ath_cs_bmp; - -int ath_x_size, ath_y_size; -int ath_y_panel; - -int ath_win_x_size, ath_win_y_size; -int ath_win_x_pos, ath_win_y_pos; - -LinksWindow::LinksWindow(Rect r):Window(r, "links_wnd", "Links") -{ - debug2("LINKSWINDOW\n"); - resized = 0; - view = NULL; -} - -LinksWindow::~LinksWindow() -{ - view = NULL; - debug2("~LINKSWINDOW\n"); -} - -void LinksWindow::FrameSized(const Point &d) -{ - resized = 1; -} - -bool LinksWindow::OkToQuit() -{ - ath_lock->Lock(); - Lock(); - if (view) if (view->dev) view->dev->keyboard_handler(view->dev, KBD_CTRL_C, 0); - Unlock(); - ath_lock->Unlock(); - write(wpipe, " ", 1); - /*debug2("key: :%s: :%s: %d %d\n", s, rs, q, c);*/ - return false; -} - -void do_flush(void *p_dev) -{ - struct graphics_device *dev = (struct graphics_device *)p_dev; - LinksView *v = lv(dev); - v->win->Lock(); - v->win->Flush(); - v->win->Unlock(); - v->flushing = 0; -} - -LinksView::LinksView(LinksWindow *w):View(w->GetBounds(), "Links", CF_FOLLOW_ALL, WID_WILL_DRAW | WID_FULL_UPDATE_ON_RESIZE) -{ - debug2("LINKSVIEW\n"); - (win = w)->AddChild(this); - w->SetFocusChild(this); - w->view = this; - flushing = 0; - last_x = last_y = 0; -} - -LinksView::~LinksView() -{ - win->view = NULL; - debug2("~LINKSVIEW\n"); -} - -void LinksView::d_flush() -{ - if (flushing) return; - register_bottom_half(do_flush, this->dev); - flushing = 1; -} - -#undef select - -int ath_select(int n, fd_set *r, fd_set *w, fd_set *e, struct timeval *t) -{ - int v; - if (ath_lock) ath_lock->Unlock(); - v = select(n, r, w, e, t); - if (ath_lock) { - ath_lock->Lock(); - check_bottom_halves(); - } - return v; -} - -void ath_get_event(void *dummy) -{ - char dummy_buffer[256]; - read(rpipe, dummy_buffer, 256); - debug2("GETE\n"); -} - -void ath_get_size(struct graphics_device *dev) -{ - Rect r = lv(dev)->GetBounds(); - dev->size.x1 = dev->size.y1 = 0; - dev->size.x2 = (int)r.Width() + 1; - dev->size.y2 = (int)r.Height() + 1; -} - -void LinksView::Paint(const Rect &r) -{ - struct rect rr; - win->Unlock(); - ath_lock->Lock(); - win->Lock(); - rr.x1 = (int)r.left; - rr.x2 = (int)r.right + 1; - rr.y1 = (int)r.top; - rr.y2 = (int)r.bottom + 1; - /*debug2("paint: %d %d %d %d\n", rr.x1, rr.x2, rr.y1, rr.y2);*/ - if (dev) { - if (!win->resized) dev->redraw_handler(dev, &rr); - else { - ath_get_size(dev); - win->resized = 0; - dev->resize_handler(dev); - } - } - check_bottom_halves(); - ath_lock->Unlock(); - write(wpipe, " ", 1); -} - - -void LinksView::MouseDown(const Point &p, uint32 b) -{ - win->Unlock(); - ath_lock->Lock(); - win->Lock(); - if (dev) dev->mouse_handler(dev, last_x = (int)p.x, last_y = (int)p.y, B_DOWN | (b == 2 ? B_RIGHT : b == 3 ? B_MIDDLE : B_LEFT)); - ath_lock->Unlock(); - write(wpipe, " ", 1); -} - -void LinksView::MouseUp(const Point &p, uint32 b, Message *m) -{ - win->Unlock(); - ath_lock->Lock(); - win->Lock(); - if (dev) dev->mouse_handler(dev, last_x = (int)p.x, last_y = (int)p.y, B_UP | (b == 2 ? B_RIGHT : b == 3 ? B_MIDDLE : B_LEFT)); - ath_lock->Unlock(); - write(wpipe, " ", 1); -} - -void LinksView::MouseMove(const Point &p, int c, uint32 b, Message *m) -{ - win->Unlock(); - ath_lock->Lock(); - win->Lock(); - if (dev) dev->mouse_handler(dev, last_x = (int)p.x, last_y = (int)p.y, !b ? B_MOVE : B_DRAG | (b & 1 ? B_LEFT : b & 2 ? B_RIGHT : b & 4 ? B_MIDDLE : B_LEFT)); - ath_lock->Unlock(); - write(wpipe, " ", 1); -} - -void LinksView::WheelMoved(const Point &d) -{ - win->Unlock(); - ath_lock->Lock(); - win->Lock(); - if (d.y) if (dev) dev->mouse_handler(dev, last_x, last_y, B_MOVE | (d.y > 0 ? B_WHEELDOWN : B_WHEELUP)); - if (d.x) if (dev) dev->mouse_handler(dev, last_x, last_y, B_MOVE | (d.x < 0 ? B_WHEELLEFT : B_WHEELRIGHT)); - ath_lock->Unlock(); - write(wpipe, " ", 1); -} - -void LinksView::KeyDown(const char *s, const char *rs, uint32 q) -{ - int c; - unsigned char *ss = q & (QUAL_CTRL | QUAL_ALT) ? (unsigned char *)rs : (unsigned char *)s; - win->Unlock(); - ath_lock->Lock(); - win->Lock(); - GET_UTF_8(ss, c); - switch (c) { - case VK_BACKSPACE: c = KBD_BS; break; - case VK_ENTER: c = KBD_ENTER; break; - case VK_SPACE: c = ' '; break; - case VK_TAB: c = KBD_TAB; break; - case VK_ESCAPE: c = KBD_ESC; break; - case VK_LEFT_ARROW: c = KBD_LEFT; break; - case VK_RIGHT_ARROW: c = KBD_RIGHT; break; - case VK_UP_ARROW: c = KBD_UP; break; - case VK_DOWN_ARROW: c = KBD_DOWN; break; - case VK_INSERT: c = KBD_INS; break; - case VK_DELETE: c = KBD_DEL; break; - case VK_HOME: c = KBD_HOME; break; - case VK_END: c = KBD_END; break; - case VK_PAGE_UP: c = KBD_PAGE_UP; break; - case VK_PAGE_DOWN: c = KBD_PAGE_DOWN; break; - default: if (c < 32) c = 0; - else q &= ~QUAL_SHIFT; - break; - } - if (c) if (dev) dev->keyboard_handler(dev, c, (q & QUAL_SHIFT ? KBD_SHIFT : 0) | (q & QUAL_CTRL ? KBD_CTRL : 0) | (q & QUAL_ALT ? KBD_ALT : 0)); - ath_lock->Unlock(); - write(wpipe, " ", 1); - /*debug2("key: :%s: :%s: %d %d\n", s, rs, q, c);*/ -} - -unsigned char *ath_get_driver_param(void) -{ - return NULL; -} - -uint32 ath_app_thread(void *p) -{ - ath_links_app->Run(); - delete ath_links_app; - return 0; -} - -unsigned char *ath_init_driver(unsigned char *param, unsigned char *display) -{ - Desktop *d; - ath_links_app = new LinksApplication(); - if (!ath_links_app) { - return stracpy((unsigned char *)"Unable to allocate Application object.\n"); - } - ath_lock = new Locker("links_sem", false, false); - if (!ath_lock || ath_lock->Lock()) { - delete ath_links_app; - return stracpy((unsigned char *)"Could not create lock.\n"); - } - if (c_pipe(msg_pipe)) { - delete ath_lock; ath_lock = NULL; - delete ath_links_app; - return stracpy((unsigned char *)"Could not create pipe.\n"); - } - fcntl(rpipe, F_SETFL, O_NONBLOCK); - fcntl(wpipe, F_SETFL, O_NONBLOCK); - set_handlers(rpipe, ath_get_event, NULL, NULL); - ath_app_thread_id = spawn_thread("links_app", (void *)ath_app_thread, 0, 0, NULL); - if (ath_app_thread_id == -1) { - close(rpipe); - close(wpipe); - delete ath_lock; ath_lock = NULL; - delete ath_links_app; - return stracpy((unsigned char *)"Could not spawn thread.\n"); - } - resume_thread(ath_app_thread_id); - if ((d = new Desktop)) { - ath_cs_desktop = d->GetColorSpace(); - ath_x_size = d->GetResolution().x; - ath_y_size = d->GetResolution().y; - delete d; - } else { - ath_cs_desktop = CS_NO_COLOR_SPACE; - ath_x_size = 640; - ath_y_size = 480; - } - ath_y_panel = WINDOW_TITLE_SIZE; -#ifdef __SYLLABLE__ - ath_y_panel += TOP_PANEL_SIZE; -#endif - if (ath_y_panel > ath_y_size) ath_y_panel = 0; - ath_win_y_size = (ath_y_size - ath_y_panel) * 9 / 10; - ath_win_x_size = ath_win_y_size; - /* - debug2("%d %d\n", ath_x_size, ath_y_size); - debug2("%d %d\n", ath_win_x_size, ath_win_y_size); - */ - ath_win_y_pos = (ath_y_size - ath_y_panel - ath_win_y_size) / 2 + ath_y_panel; - ath_win_x_pos = ath_x_size - ath_win_x_size - ath_win_y_pos; - if (/*ath_cs_desktop == CS_RGB32 ||*/ ath_cs_desktop == CS_RGB24 || ath_cs_desktop == CS_RGB16 || ath_cs_desktop == CS_RGB15) - ath_cs_bmp = ath_cs_desktop; - else if (ath_cs_desktop == CS_RGB32 || ath_cs_desktop == CS_RGBA32) ath_cs_bmp = CS_RGB24; - else ath_cs_bmp = CS_RGB15; - switch (ath_cs_bmp) { - case CS_RGB24: - atheos_driver.depth = 0xc3; - break; - case CS_RGB16: - atheos_driver.depth = 0x82; - break; - case CS_RGB15: - atheos_driver.depth = 0x7a; - break; - default: - internal("unknown depth"); - } - return NULL; -} - -void ath_shutdown_driver() -{ - debug((unsigned char *)"D"); - set_handlers(rpipe, NULL, NULL, NULL); - close(rpipe); - close(wpipe); - ath_lock->Unlock(); - debug((unsigned char *)"DD"); - ath_links_app->PostMessage(M_TERMINATE); - debug((unsigned char *)"E"); - /*delete ath_lock; ath_lock = NULL;*/ - debug((unsigned char *)"F"); -} - -void ath_after_fork() -{ - close(rpipe); - close(wpipe); -} - -struct graphics_device *ath_init_device() -{ - LinksView *view; - LinksWindow *win; - struct graphics_device *dev = (struct graphics_device *)mem_calloc(sizeof(struct graphics_device)); - if (!dev) return NULL; - debug((unsigned char *)"1"); - retry: - win = new LinksWindow(Rect(ath_win_x_pos, ath_win_y_pos, ath_win_x_pos + ath_win_x_size, ath_win_y_pos + ath_win_y_size)); - debug((unsigned char *)"2"); - if (!win) { - if (out_of_memory(0, NULL, 0)) - goto retry; - mem_free(dev); - return NULL; - } - debug((unsigned char *)"3"); - retry2: - view = new LinksView(win); - if (!view) { - if (out_of_memory(0, NULL, 0)) - goto retry2; - delete win; - mem_free(dev); - return NULL; - } - view->dev = dev; - dev->driver_data = view; - ath_get_size(dev); - memcpy(&dev->clip, &dev->size, sizeof(struct rect)); - debug((unsigned char *)"4"); - win->Show(); - win->MakeFocus(); - debug((unsigned char *)"5"); - - ath_win_x_pos += NEW_WINDOW_X_ADD; - ath_win_y_pos += NEW_WINDOW_Y_ADD; - if (ath_win_x_pos + ath_win_x_size > ath_x_size - NEW_WINDOW_X_MIN) - ath_win_x_pos = NEW_WINDOW_X_MIN; - if (ath_win_y_pos + ath_win_y_size > ath_y_size - NEW_WINDOW_Y_MIN) - ath_win_y_pos = ath_y_panel + NEW_WINDOW_Y_MIN; - - return dev; -} - -void ath_shutdown_device(struct graphics_device *dev) -{ - LinksWindow *win = lv(dev)->win; - unregister_bottom_half(do_flush, dev); - lv(dev)->dev = NULL; - win->PostMessage(M_TERMINATE); - mem_free(dev); -} - -void ath_set_title(struct graphics_device *dev, unsigned char *title) -{ - LinksWindow *win = lv(dev)->win; - lock_dev(dev); - win->SetTitle(string((char *)title)); - lv(dev)->d_flush(); - unlock_dev(dev); -} - -int ath_get_empty_bitmap(struct bitmap *bmp) -{ - debug2("bmp\n"); - Bitmap *b; - retry: - b = new Bitmap(bmp->x, bmp->y, ath_cs_bmp, Bitmap::SHARE_FRAMEBUFFER); - if (!b) { - if (out_of_memory(0, NULL, 0)) - goto retry; - bmp->data = NULL; - bmp->flags = NULL; - return -1; - } - bmp->data = b->LockRaster(); - bmp->skip = b->GetBytesPerRow(); - bmp->flags = b; - return 0; -} - -void ath_register_bitmap(struct bitmap *bmp) -{ - Bitmap *b = (Bitmap *)bmp->flags; - if (!b) return; - b->UnlockRaster(); -} - -void *ath_prepare_strip(struct bitmap *bmp, int top, int lines) -{ - debug2("preps\n"); - Bitmap *b = (Bitmap *)bmp->flags; - if (!b) return NULL; - bmp->data = b->LockRaster(); - bmp->skip = b->GetBytesPerRow(); - return ((char *)bmp->data) + bmp->skip * top; -} - -void ath_commit_strip(struct bitmap *bmp, int top, int lines) -{ - Bitmap *b = (Bitmap *)bmp->flags; - if (!b) return; - b->UnlockRaster(); -} - -void ath_unregister_bitmap(struct bitmap *bmp) -{ - debug2("unb\n"); - Bitmap *b = (Bitmap *)bmp->flags; - if (!b) return; - delete b; -} - -void ath_draw_bitmap(struct graphics_device *dev, struct bitmap *bmp, int x, int y) -{ - debug2("drawb\n"); - Bitmap *b = (Bitmap *)bmp->flags; - if (!b) return; - lock_dev(dev); - lv(dev)->DrawBitmap(b, b->GetBounds(), Rect(x, y, x + bmp->x - 1, y + bmp->y - 1)); - lv(dev)->d_flush(); - unlock_dev(dev); -} - -#if 0 -void ath_draw_bitmaps(struct graphics_device *dev, struct bitmap **bmp, int n, int x, int y) -{ - LinksView *lvv = lv(dev); - lock_dev(dev); - while (n--) { - Bitmap *b = (Bitmap *)(*bmp)->flags; - lvv->DrawBitmap(b, b->GetBounds(), Rect(x, y, x + (*bmp)->x, y + (*bmp)->y)); - x += (*bmp)->x; - bmp++; - } - lv(dev)->d_flush(); - unlock_dev(dev); -} -#endif - -long ath_get_color(int rgb) -{ - if (small_color) { - get_color32(c, rgb); - return *(long *)(void *)&c; - } else return rgb & 0xffffff; -} - -void ath_fill_area(struct graphics_device *dev, int x1, int y1, int x2, int y2, long color) -{ - debug2("fill\n"); - if (x1 >= x2 || y1 >= y2) return; - lock_dev(dev); - if (small_color) - lv(dev)->FillRect(Rect(x1, y1, x2 - 1, y2 - 1), *(Color32_s *)(void *)&color); - else - lv(dev)->FillRect(Rect(x1, y1, x2 - 1, y2 - 1), get_color32(, color)); - lv(dev)->d_flush(); - unlock_dev(dev); -} - -void ath_draw_hline(struct graphics_device *dev, int x1, int y, int x2, long color) -{ - debug2("hline\n"); - if (x1 >= x2) return; - lock_dev(dev); - if (small_color) - lv(dev)->SetFgColor(*(Color32_s *)(void *)&color); - else - lv(dev)->SetFgColor(get_color32(, color)); - lv(dev)->DrawLine(Point(IPoint(x1, y)), Point(IPoint(x2 - 1, y))); - lv(dev)->d_flush(); - unlock_dev(dev); -} - -void ath_draw_vline(struct graphics_device *dev, int x, int y1, int y2, long color) -{ - debug2("vline\n"); - if (y1 >= y2) return; - lock_dev(dev); - if (small_color) - lv(dev)->SetFgColor(*(Color32_s *)(void *)&color); - else - lv(dev)->SetFgColor(get_color32(, color)); - lv(dev)->DrawLine(Point(IPoint(x, y1)), Point(IPoint(x, y2 - 1))); - lv(dev)->d_flush(); - unlock_dev(dev); -} - -int ath_hscroll(struct graphics_device *dev, struct rect_set **ignore, int sc) -{ - debug2("hscroll\n"); - if (dev->clip.x1 >= dev->clip.x2 || dev->clip.y1 >= dev->clip.y2) return 0; - if (sc <= dev->clip.x1 - dev->clip.x2) return 1; - if (sc >= dev->clip.x2 - dev->clip.x1) return 1; - lock_dev0(dev); - if (sc > 0) lv(dev)->ScrollRect(Rect(dev->clip.x1, dev->clip.y1, dev->clip.x2 - sc - 1, dev->clip.y2 - 1), Rect(dev->clip.x1 + sc, dev->clip.y1, dev->clip.x2 - 1, dev->clip.y2 - 1)); - else lv(dev)->ScrollRect(Rect(dev->clip.x1 - sc, dev->clip.y1, dev->clip.x2 - 1, dev->clip.y2 - 1), Rect(dev->clip.x1, dev->clip.y1, dev->clip.x2 + sc - 1, dev->clip.y2 - 1)); - lv(dev)->d_flush(); - unlock_dev(dev); - return 1; -} - -int ath_vscroll(struct graphics_device *dev, struct rect_set **ignore, int sc) -{ - debug2("vscroll\n"); - if (!sc || dev->clip.x1 >= dev->clip.x2 || dev->clip.y1 >= dev->clip.y2) return 0; - if (sc <= dev->clip.y1 - dev->clip.y2) return 1; - if (sc >= dev->clip.y2 - dev->clip.y1) return 1; - lock_dev0(dev); - if (sc > 0) lv(dev)->ScrollRect(Rect(dev->clip.x1, dev->clip.y1, dev->clip.x2 - 1, dev->clip.y2 - sc - 1), Rect(dev->clip.x1, dev->clip.y1 + sc, dev->clip.x2 - 1, dev->clip.y2 - 1)); - else lv(dev)->ScrollRect(Rect(dev->clip.x1, dev->clip.y1 - sc, dev->clip.x2 - 1, dev->clip.y2 - 1), Rect(dev->clip.x1, dev->clip.y1, dev->clip.x2 - 1, dev->clip.y2 + sc - 1)); - lv(dev)->d_flush(); - unlock_dev(dev); - return 1; -} - -void ath_set_clip_area(struct graphics_device *dev, struct rect *r) -{ - debug2("setc\n"); - generic_set_clip_area(dev, r); - lock_dev(dev); - lv(dev)->SetDrawingRegion(Region(IRect(dev->clip.x1, dev->clip.y1, dev->clip.x2 - 1, dev->clip.y2 - 1))); - unlock_dev(dev); -} - -void ath_flush(struct graphics_device *dev) -{ - unregister_bottom_half(do_flush, dev); - do_flush(dev); -} - -struct graphics_driver atheos_driver = { - (unsigned char *)"atheos", - ath_init_driver, - ath_init_device, - ath_shutdown_device, - ath_shutdown_driver, - NULL, - ath_after_fork, - ath_get_driver_param, - NULL, - NULL, - NULL, - ath_get_empty_bitmap, - /*ath_get_filled_bitmap,*/ - ath_register_bitmap, - ath_prepare_strip, - ath_commit_strip, - ath_unregister_bitmap, - ath_draw_bitmap, - /*ath_draw_bitmaps,*/ - ath_get_color, - ath_fill_area, - ath_draw_hline, - ath_draw_vline, - ath_hscroll, - ath_vscroll, - ath_set_clip_area, - ath_flush, - dummy_block, - dummy_unblock, - ath_set_title, - NULL, /* exec */ - NULL, /* set_clipboard_text */ - NULL, /* get_clipboard_text */ - 0, /* depth */ - 0, 0, /* size */ - GD_UNICODE_KEYS | GD_NO_OS_SHELL | GD_NO_LIBEVENT,/* flags */ - 0, /* codepage */ - NULL, /* shell */ -}; - -#endif diff --git a/config-vms.h b/config-vms.h @@ -1,1052 +0,0 @@ -/* config.h. Generated automatically by configure. */ -/* config.h.in. Generated automatically from configure.in by autoheader 2.13. */ - -/* Define to empty if the keyword does not work. */ -/* #undef const */ - -/* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems. - This function is required for alloca.c support on those systems. */ -/* #undef CRAY_STACKSEG_END */ - -/* Define to the type of elements in the array set by `getgroups'. - Usually this is either `int' or `gid_t'. */ -/* #undef GETGROUPS_T */ - -/* Define if the `getloadavg' function needs to be run setuid or setgid. */ -/* #undef GETLOADAVG_PRIVILEGED */ - -/* Define if the `getpgrp' function takes no argument. */ -/* #undef GETPGRP_VOID */ - -/* Define if you don't have vprintf but do have _doprnt. */ -/* #undef HAVE_DOPRNT */ - -/* Define if you have the strftime function. */ -#define HAVE_STRFTIME 1 - -/* Define if you have <sys/wait.h> that is POSIX.1 compatible. */ -#define HAVE_SYS_WAIT_H 1 - -/* Define if you have the vprintf function. */ -#define HAVE_VPRINTF 1 - -/* Define as __inline if that's what the C compiler calls it. */ -/* #undef inline */ - -/* Define to `int' if <sys/types.h> doesn't define. */ -/* #undef pid_t */ - -/* Define as the return type of signal handlers (int or void). */ -#define RETSIGTYPE void - -/* Define to `unsigned' if <sys/types.h> doesn't define. */ -/* #undef size_t */ - -/* Define if you have the ANSI C header files. */ -#define STDC_HEADERS 1 - -/* Define if you can safely include both <sys/time.h> and <time.h>. */ -#define TIME_WITH_SYS_TIME 1 - -/* Define if your <sys/time.h> declares struct tm. */ -/* #undef TM_IN_SYS_TIME */ - -/* The number of bytes in a unsigned. */ -#define SIZEOF_UNSIGNED 4 - -/* The number of bytes in a unsigned long. */ -#define SIZEOF_UNSIGNED_LONG 4 - -/* The number of bytes in a unsigned long long. */ -#define SIZEOF_UNSIGNED_LONG_LONG 8 - -/* The number of bytes in a unsigned short. */ -#define SIZEOF_UNSIGNED_SHORT 2 - -/* Define if you have the ASN1_STRING_get0_data function. */ -/* #undef HAVE_ASN1_STRING_GET0_DATA */ - -/* Define if you have the ASN1_STRING_to_UTF8 function. */ -/* #undef HAVE_ASN1_STRING_TO_UTF8 */ - -/* Define if you have the DirectFBInit function. */ -/* #undef HAVE_DIRECTFBINIT */ - -/* Define if you have the Gpm_GetLibVersion function. */ -/* #undef HAVE_GPM_GETLIBVERSION */ - -/* Define if you have the MouOpen function. */ -/* #undef HAVE_MOUOPEN */ - -/* Define if you have the OPENSSL_cleanup function. */ -/* #undef HAVE_OPENSSL_CLEANUP */ - -/* Define if you have the OPENSSL_init_ssl function. */ -/* #undef HAVE_OPENSSL_INIT_SSL */ - -/* Define if you have the RAND_add function. */ -/* #undef HAVE_RAND_ADD */ - -/* Define if you have the RAND_egd function. */ -/* #undef HAVE_RAND_EGD */ - -/* Define if you have the RAND_file_name function. */ -/* #undef HAVE_RAND_FILE_NAME */ - -/* Define if you have the RAND_load_file function. */ -/* #undef HAVE_RAND_LOAD_FILE */ - -/* Define if you have the RAND_write_file function. */ -/* #undef HAVE_RAND_WRITE_FILE */ - -/* Define if you have the SSL_SESSION_is_resumable function. */ -/* #undef HAVE_SSL_SESSION_IS_RESUMABLE */ - -/* Define if you have the SSL_get1_session function. */ -/* #undef HAVE_SSL_GET1_SESSION */ - -/* Define if you have the SSL_load_error_strings function. */ -/* #undef HAVE_SSL_LOAD_ERROR_STRINGS */ - -/* Define if you have the X509_check_host function. */ -/* #undef HAVE_X509_CHECK_HOST */ - -/* Define if you have the X509_check_ip function. */ -/* #undef HAVE_X509_CHECK_IP */ - -/* Define if you have the XCloseIM function. */ -/* #undef HAVE_XCLOSEIM */ - -/* Define if you have the XCreateIC function. */ -/* #undef HAVE_XCREATEIC */ - -/* Define if you have the XDestroyIC function. */ -/* #undef HAVE_XDESTROYIC */ - -/* Define if you have the XOpenDisplay function. */ -/* #undef HAVE_XOPENDISPLAY */ - -/* Define if you have the XOpenIM function. */ -/* #undef HAVE_XOPENIM */ - -/* Define if you have the XSupportsLocale function. */ -/* #undef HAVE_XSUPPORTSLOCALE */ - -/* Define if you have the XmbTextListToTextProperty function. */ -/* #undef HAVE_XMBTEXTLISTTOTEXTPROPERTY */ - -/* Define if you have the Xutf8LookupString function. */ -/* #undef HAVE_XUTF8LOOKUPSTRING */ - -/* Define if you have the XwcLookupString function. */ -/* #undef HAVE_XWCLOOKUPSTRING */ - -/* Define if you have the __strtoll function. */ -/* #undef HAVE___STRTOLL */ - -/* Define if you have the _heapmin function. */ -/* #undef HAVE__HEAPMIN */ - -/* Define if you have the _read_kbd function. */ -/* #undef HAVE__READ_KBD */ - -/* Define if you have the _ucreate function. */ -/* #undef HAVE__UCREATE */ - -/* Define if you have the _udefault function. */ -/* #undef HAVE__UDEFAULT */ - -/* Define if you have the _udestroy function. */ -/* #undef HAVE__UDESTROY */ - -/* Define if you have the _uopen function. */ -/* #undef HAVE__UOPEN */ - -/* Define if you have the bcmp function. */ -#define HAVE_BCMP 1 - -/* Define if you have the bcopy function. */ -#define HAVE_BCOPY 1 - -/* Define if you have the bzero function. */ -#define HAVE_BZERO 1 - -/* Define if you have the calloc function. */ -#define HAVE_CALLOC 1 - -/* Define if you have the cfmakeraw function. */ -/* #undef HAVE_CFMAKERAW */ - -/* Define if you have the chmod function. */ -#define HAVE_CHMOD 1 - -/* Define if you have the clock_gettime function. */ -/* #undef HAVE_CLOCK_GETTIME */ - -/* Define if you have the cygwin_conv_path function. */ -/* #undef HAVE_CYGWIN_CONV_PATH */ - -/* Define if you have the cygwin_conv_to_full_win32_path function. */ -/* #undef HAVE_CYGWIN_CONV_TO_FULL_WIN32_PATH */ - -/* Define if you have the dirfd function. */ -/* #undef HAVE_DIRFD */ - -/* Define if you have the event_base_free function. */ -/* #undef HAVE_EVENT_BASE_FREE */ - -/* Define if you have the event_base_get_method function. */ -/* #undef HAVE_EVENT_BASE_GET_METHOD */ - -/* Define if you have the event_base_new function. */ -/* #undef HAVE_EVENT_BASE_NEW */ - -/* Define if you have the event_base_set function. */ -/* #undef HAVE_EVENT_BASE_SET */ - -/* Define if you have the event_config_set_flag function. */ -/* #undef HAVE_EVENT_CONFIG_SET_FLAG */ - -/* Define if you have the event_get_method function. */ -/* #undef HAVE_EVENT_GET_METHOD */ - -/* Define if you have the event_get_struct_event_size function. */ -/* #undef HAVE_EVENT_GET_STRUCT_EVENT_SIZE */ - -/* Define if you have the event_get_version function. */ -/* #undef HAVE_EVENT_GET_VERSION */ - -/* Define if you have the event_reinit function. */ -/* #undef HAVE_EVENT_REINIT */ - -/* Define if you have the fallocate function. */ -/* #undef HAVE_FALLOCATE */ - -/* Define if you have the freeaddrinfo function. */ -#define HAVE_FREEADDRINFO 1 - -/* Define if you have the gai_strerror function. */ -#define HAVE_GAI_STRERROR 1 - -/* Define if you have the getaddrinfo function. */ -#define HAVE_GETADDRINFO 1 - -/* Define if you have the getcwd function. */ -#define HAVE_GETCWD 1 - -/* Define if you have the getgrgid function. */ -#define HAVE_GETGRGID 1 - -/* Define if you have the getpagesize function. */ -#define HAVE_GETPAGESIZE 1 - -/* Define if you have the getpid function. */ -#define HAVE_GETPID 1 - -/* Define if you have the getpwuid function. */ -#define HAVE_GETPWUID 1 - -/* Define if you have the getrlimit function. */ -/* #undef HAVE_GETRLIMIT */ - -/* Define if you have the gettimeofday function. */ -#define HAVE_GETTIMEOFDAY 1 - -/* Define if you have the herror function. */ -#define HAVE_HERROR 1 - -/* Define if you have the inet_ntop function. */ -#define HAVE_INET_NTOP 1 - -/* Define if you have the inet_pton function. */ -#define HAVE_INET_PTON 1 - -/* Define if you have the kqueue function. */ -/* #undef HAVE_KQUEUE */ - -/* Define if you have the malloc_trim function. */ -/* #undef HAVE_MALLOC_TRIM */ - -/* Define if you have the mallopt function. */ -/* #undef HAVE_MALLOPT */ - -/* Define if you have the memchr function. */ -#define HAVE_MEMCHR 1 - -/* Define if you have the memcmp function. */ -#define HAVE_MEMCMP 1 - -/* Define if you have the memcpy function. */ -#define HAVE_MEMCPY 1 - -/* Define if you have the memmem function. */ -/* #undef HAVE_MEMMEM */ - -/* Define if you have the memmove function. */ -#define HAVE_MEMMOVE 1 - -/* Define if you have the memset function. */ -#define HAVE_MEMSET 1 - -/* Define if you have the mktime function. */ -#define HAVE_MKTIME 1 - -/* Define if you have the nl_langinfo function. */ -#define HAVE_NL_LANGINFO 1 - -/* Define if you have the png_create_info_struct function. */ -/* #undef HAVE_PNG_CREATE_INFO_STRUCT */ - -/* Define if you have the png_get_bit_depth function. */ -/* #undef HAVE_PNG_GET_BIT_DEPTH */ - -/* Define if you have the png_get_color_type function. */ -/* #undef HAVE_PNG_GET_COLOR_TYPE */ - -/* Define if you have the png_get_gAMA function. */ -/* #undef HAVE_PNG_GET_GAMA */ - -/* Define if you have the png_get_image_height function. */ -/* #undef HAVE_PNG_GET_IMAGE_HEIGHT */ - -/* Define if you have the png_get_image_width function. */ -/* #undef HAVE_PNG_GET_IMAGE_WIDTH */ - -/* Define if you have the png_get_libpng_ver function. */ -/* #undef HAVE_PNG_GET_LIBPNG_VER */ - -/* Define if you have the png_get_sRGB function. */ -/* #undef HAVE_PNG_GET_SRGB */ - -/* Define if you have the png_get_valid function. */ -/* #undef HAVE_PNG_GET_VALID */ - -/* Define if you have the png_set_rgb_to_gray function. */ -/* #undef HAVE_PNG_SET_RGB_TO_GRAY */ - -/* Define if you have the png_set_strip_alpha function. */ -/* #undef HAVE_PNG_SET_STRIP_ALPHA */ - -/* Define if you have the poll function. */ -/* #undef HAVE_POLL */ - -/* Define if you have the popen function. */ -#define HAVE_POPEN 1 - -/* Define if you have the posix_fallocate function. */ -/* #undef HAVE_POSIX_FALLOCATE */ - -/* Define if you have the pthread_sigmask function. */ -/* #undef HAVE_PTHREAD_SIGMASK */ - -/* Define if you have the raise function. */ -#define HAVE_RAISE 1 - -/* Define if you have the resume_thread function. */ -/* #undef HAVE_RESUME_THREAD */ - -/* Define if you have the rsvg_handle_render_cairo function. */ -/* #undef HAVE_RSVG_HANDLE_RENDER_CAIRO */ - -/* Define if you have the select function. */ -#define HAVE_SELECT 1 - -/* Define if you have the setlocale function. */ -#define HAVE_SETLOCALE 1 - -/* Define if you have the setpgid function. */ -#define HAVE_SETPGID 1 - -/* Define if you have the setrlimit function. */ -/* #undef HAVE_SETRLIMIT */ - -/* Define if you have the setsid function. */ -/* #undef HAVE_SETSID */ - -/* Define if you have the sigaction function. */ -#define HAVE_SIGACTION 1 - -/* Define if you have the sigblock function. */ -#define HAVE_SIGBLOCK 1 - -/* Define if you have the sigdelset function. */ -#define HAVE_SIGDELSET 1 - -/* Define if you have the sigprocmask function. */ -#define HAVE_SIGPROCMASK 1 - -/* Define if you have the sigsetmask function. */ -#define HAVE_SIGSETMASK 1 - -/* Define if you have the snprintf function. */ -#define HAVE_SNPRINTF 1 - -/* Define if you have the spawn_thread function. */ -/* #undef HAVE_SPAWN_THREAD */ - -/* Define if you have the strchr function. */ -#define HAVE_STRCHR 1 - -/* Define if you have the strcmp function. */ -#define HAVE_STRCMP 1 - -/* Define if you have the strcpy function. */ -#define HAVE_STRCPY 1 - -/* Define if you have the strcspn function. */ -#define HAVE_STRCSPN 1 - -/* Define if you have the strdup function. */ -#define HAVE_STRDUP 1 - -/* Define if you have the strerror function. */ -#define HAVE_STRERROR 1 - -/* Define if you have the strlen function. */ -#define HAVE_STRLEN 1 - -/* Define if you have the strncmp function. */ -#define HAVE_STRNCMP 1 - -/* Define if you have the strptime function. */ -#define HAVE_STRPTIME 1 - -/* Define if you have the strrchr function. */ -#define HAVE_STRRCHR 1 - -/* Define if you have the strspn function. */ -#define HAVE_STRSPN 1 - -/* Define if you have the strstr function. */ -#define HAVE_STRSTR 1 - -/* Define if you have the strtod function. */ -#define HAVE_STRTOD 1 - -/* Define if you have the strtoimax function. */ -/* #undef HAVE_STRTOIMAX */ - -/* Define if you have the strtol function. */ -#define HAVE_STRTOL 1 - -/* Define if you have the strtoll function. */ -#define HAVE_STRTOLL 1 - -/* Define if you have the strtoq function. */ -#define HAVE_STRTOQ 1 - -/* Define if you have the strtoul function. */ -#define HAVE_STRTOUL 1 - -/* Define if you have the tdelete function. */ -/* #undef HAVE_TDELETE */ - -/* Define if you have the tempnam function. */ -#define HAVE_TEMPNAM 1 - -/* Define if you have the tfind function. */ -/* #undef HAVE_TFIND */ - -/* Define if you have the tsearch function. */ -/* #undef HAVE_TSEARCH */ - -/* Define if you have the uname function. */ -#define HAVE_UNAME 1 - -/* Define if you have the unixpath2win function. */ -/* #undef HAVE_UNIXPATH2WIN */ - -/* Define if you have the utime function. */ -#define HAVE_UTIME 1 - -/* Define if you have the utimes function. */ -#define HAVE_UTIMES 1 - -/* Define if you have the uwin_path function. */ -/* #undef HAVE_UWIN_PATH */ - -/* Define if you have the winpath2unix function. */ -/* #undef HAVE_WINPATH2UNIX */ - -/* Define if you have the <X11/X.h> header file. */ -/* #undef HAVE_X11_X_H */ - -/* Define if you have the <X11/Xatom.h> header file. */ -/* #undef HAVE_X11_XATOM_H */ - -/* Define if you have the <X11/Xlib.h> header file. */ -/* #undef HAVE_X11_XLIB_H */ - -/* Define if you have the <X11/Xlocale.h> header file. */ -/* #undef HAVE_X11_XLOCALE_H */ - -/* Define if you have the <X11/Xutil.h> header file. */ -/* #undef HAVE_X11_XUTIL_H */ - -/* Define if you have the <X11/keysymdef.h> header file. */ -/* #undef HAVE_X11_KEYSYMDEF_H */ - -/* Define if you have the <alloca.h> header file. */ -/* #undef HAVE_ALLOCA_H */ - -/* Define if you have the <arpa/inet.h> header file. */ -#define HAVE_ARPA_INET_H 1 - -/* Define if you have the <atheos/threads.h> header file. */ -/* #undef HAVE_ATHEOS_THREADS_H */ - -/* Define if you have the <brotli/decode.h> header file. */ -/* #undef HAVE_BROTLI_DECODE_H */ - -/* Define if you have the <bzlib.h> header file. */ -/* #undef HAVE_BZLIB_H */ - -/* Define if you have the <cairo.h> header file. */ -/* #undef HAVE_CAIRO_H */ - -/* Define if you have the <cygwin/process.h> header file. */ -/* #undef HAVE_CYGWIN_PROCESS_H */ - -/* Define if you have the <cygwin/version.h> header file. */ -/* #undef HAVE_CYGWIN_VERSION_H */ - -/* Define if you have the <directfb.h> header file. */ -/* #undef HAVE_DIRECTFB_H */ - -/* Define if you have the <dirent.h> header file. */ -#define HAVE_DIRENT_H 1 - -/* Define if you have the <ev-event.h> header file. */ -/* #undef HAVE_EV_EVENT_H */ - -/* Define if you have the <event.h> header file. */ -/* #undef HAVE_EVENT_H */ - -/* Define if you have the <fcntl.h> header file. */ -#define HAVE_FCNTL_H 1 - -/* Define if you have the <gpm.h> header file. */ -/* #undef HAVE_GPM_H */ - -/* Define if you have the <grp.h> header file. */ -#define HAVE_GRP_H 1 - -/* Define if you have the <grx20.h> header file. */ -/* #undef HAVE_GRX20_H */ - -/* Define if you have the <gui/bitmap.h> header file. */ -/* #undef HAVE_GUI_BITMAP_H */ - -/* Define if you have the <gui/desktop.h> header file. */ -/* #undef HAVE_GUI_DESKTOP_H */ - -/* Define if you have the <gui/view.h> header file. */ -/* #undef HAVE_GUI_VIEW_H */ - -/* Define if you have the <gui/window.h> header file. */ -/* #undef HAVE_GUI_WINDOW_H */ - -/* Define if you have the <ieee.h> header file. */ -/* #undef HAVE_IEEE_H */ - -/* Define if you have the <interix/interix.h> header file. */ -/* #undef HAVE_INTERIX_INTERIX_H */ - -/* Define if you have the <inttypes.h> header file. */ -#define HAVE_INTTYPES_H 1 - -/* Define if you have the <io.h> header file. */ -/* #undef HAVE_IO_H */ - -/* Define if you have the <jpeglib.h> header file. */ -/* #undef HAVE_JPEGLIB_H */ - -/* Define if you have the <langinfo.h> header file. */ -#define HAVE_LANGINFO_H 1 - -/* Define if you have the <libpng/png.h> header file. */ -/* #undef HAVE_LIBPNG_PNG_H */ - -/* Define if you have the <librsvg/librsvg-features.h> header file. */ -/* #undef HAVE_LIBRSVG_LIBRSVG_FEATURES_H */ - -/* Define if you have the <librsvg/rsvg-cairo.h> header file. */ -/* #undef HAVE_LIBRSVG_RSVG_CAIRO_H */ - -/* Define if you have the <librsvg/rsvg.h> header file. */ -/* #undef HAVE_LIBRSVG_RSVG_H */ - -/* Define if you have the <limits.h> header file. */ -#define HAVE_LIMITS_H 1 - -/* Define if you have the <linux/falloc.h> header file. */ -/* #undef HAVE_LINUX_FALLOC_H */ - -/* Define if you have the <linux/fb.h> header file. */ -/* #undef HAVE_LINUX_FB_H */ - -/* Define if you have the <linux/kd.h> header file. */ -/* #undef HAVE_LINUX_KD_H */ - -/* Define if you have the <linux/vt.h> header file. */ -/* #undef HAVE_LINUX_VT_H */ - -/* Define if you have the <locale.h> header file. */ -#define HAVE_LOCALE_H 1 - -/* Define if you have the <lzlib.h> header file. */ -/* #undef HAVE_LZLIB_H */ - -/* Define if you have the <lzma.h> header file. */ -/* #undef HAVE_LZMA_H */ - -/* Define if you have the <malloc.h> header file. */ -/* #undef HAVE_MALLOC_H */ - -/* Define if you have the <math.h> header file. */ -#define HAVE_MATH_H 1 - -/* Define if you have the <ndir.h> header file. */ -/* #undef HAVE_NDIR_H */ - -/* Define if you have the <net/socket.h> header file. */ -#define HAVE_NET_SOCKET_H 1 - -/* Define if you have the <netinet/in_system.h> header file. */ -/* #undef HAVE_NETINET_IN_SYSTEM_H */ - -/* Define if you have the <netinet/in_systm.h> header file. */ -/* #undef HAVE_NETINET_IN_SYSTM_H */ - -/* Define if you have the <netinet/ip.h> header file. */ -/* #undef HAVE_NETINET_IP_H */ - -/* Define if you have the <openssl/x509v3.h> header file. */ -#define HAVE_OPENSSL_X509V3_H 1 - -/* Define if you have the <png.h> header file. */ -/* #undef HAVE_PNG_H */ - -/* Define if you have the <poll.h> header file. */ -/* #undef HAVE_POLL_H */ - -/* Define if you have the <process.h> header file. */ -/* #undef HAVE_PROCESS_H */ - -/* Define if you have the <pwd.h> header file. */ -#define HAVE_PWD_H 1 - -/* Define if you have the <search.h> header file. */ -/* #undef HAVE_SEARCH_H */ - -/* Define if you have the <setjmp.h> header file. */ -#define HAVE_SETJMP_H 1 - -/* Define if you have the <sgtty.h> header file. */ -/* #undef HAVE_SGTTY_H */ - -/* Define if you have the <stdarg.h> header file. */ -#define HAVE_STDARG_H 1 - -/* Define if you have the <string.h> header file. */ -#define HAVE_STRING_H 1 - -/* Define if you have the <strings.h> header file. */ -#define HAVE_STRINGS_H 1 - -/* Define if you have the <sys/cygwin.h> header file. */ -/* #undef HAVE_SYS_CYGWIN_H */ - -/* Define if you have the <sys/dir.h> header file. */ -/* #undef HAVE_SYS_DIR_H */ - -/* Define if you have the <sys/file.h> header file. */ -#define HAVE_SYS_FILE_H 1 - -/* Define if you have the <sys/fmutex.h> header file. */ -/* #undef HAVE_SYS_FMUTEX_H */ - -/* Define if you have the <sys/ioctl.h> header file. */ -#define HAVE_SYS_IOCTL_H 1 - -/* Define if you have the <sys/mman.h> header file. */ -/* #undef HAVE_SYS_MMAN_H */ - -/* Define if you have the <sys/ndir.h> header file. */ -/* #undef HAVE_SYS_NDIR_H */ - -/* Define if you have the <sys/resource.h> header file. */ -#define HAVE_SYS_RESOURCE_H 1 - -/* Define if you have the <sys/select.h> header file. */ -/* #undef HAVE_SYS_SELECT_H */ - -/* Define if you have the <sys/time.h> header file. */ -#define HAVE_SYS_TIME_H 1 - -/* Define if you have the <sys/un.h> header file. */ -/* #undef HAVE_SYS_UN_H */ - -/* Define if you have the <sys/utsname.h> header file. */ -#define HAVE_SYS_UTSNAME_H 1 - -/* Define if you have the <termios.h> header file. */ -/* #undef HAVE_TERMIOS_H */ - -/* Define if you have the <tiffio.h> header file. */ -/* #undef HAVE_TIFFIO_H */ - -/* Define if you have the <time.h> header file. */ -#define HAVE_TIME_H 1 - -/* Define if you have the <umalloc.h> header file. */ -/* #undef HAVE_UMALLOC_H */ - -/* Define if you have the <unistd.h> header file. */ -#define HAVE_UNISTD_H 1 - -/* Define if you have the <unixlib.h> header file. */ -#define HAVE_UNIXLIB_H 1 - -/* Define if you have the <util/application.h> header file. */ -/* #undef HAVE_UTIL_APPLICATION_H */ - -/* Define if you have the <util/locker.h> header file. */ -/* #undef HAVE_UTIL_LOCKER_H */ - -/* Define if you have the <utime.h> header file. */ -#define HAVE_UTIME_H 1 - -/* Define if you have the <uwin.h> header file. */ -/* #undef HAVE_UWIN_H */ - -/* Define if you have the <values.h> header file. */ -/* #undef HAVE_VALUES_H */ - -/* Define if you have the <windowsx.h> header file. */ -/* #undef HAVE_WINDOWSX_H */ - -/* Define if you have the <zlib.h> header file. */ -/* #undef HAVE_ZLIB_H */ - -/* Define if you have the Xau library (-lXau). */ -/* #undef HAVE_LIBXAU */ - -/* Define if you have the Xdmcp library (-lXdmcp). */ -/* #undef HAVE_LIBXDMCP */ - -/* Define if you have the atheos library (-latheos). */ -/* #undef HAVE_LIBATHEOS */ - -/* Define if you have the brotlidec library (-lbrotlidec). */ -/* #undef HAVE_LIBBROTLIDEC */ - -/* Define if you have the bz2 library (-lbz2). */ -/* #undef HAVE_LIBBZ2 */ - -/* Define if you have the dl library (-ldl). */ -/* #undef HAVE_LIBDL */ - -/* Define if you have the ev library (-lev). */ -/* #undef HAVE_LIBEV */ - -/* Define if you have the event library (-levent). */ -/* #undef HAVE_LIBEVENT */ - -/* Define if you have the fontconfig library (-lfontconfig). */ -/* #undef HAVE_LIBFONTCONFIG */ - -/* Define if you have the gpm library (-lgpm). */ -/* #undef HAVE_LIBGPM */ - -/* Define if you have the grx20 library (-lgrx20). */ -/* #undef HAVE_LIBGRX20 */ - -/* Define if you have the jbig library (-ljbig). */ -/* #undef HAVE_LIBJBIG */ - -/* Define if you have the jpeg library (-ljpeg). */ -/* #undef HAVE_LIBJPEG */ - -/* Define if you have the lz library (-llz). */ -/* #undef HAVE_LIBLZ */ - -/* Define if you have the lzma library (-llzma). */ -/* #undef HAVE_LIBLZMA */ - -/* Define if you have the m library (-lm). */ -/* #undef HAVE_LIBM */ - -/* Define if you have the network library (-lnetwork). */ -/* #undef HAVE_LIBNETWORK */ - -/* Define if you have the nsl library (-lnsl). */ -/* #undef HAVE_LIBNSL */ - -/* Define if you have the png library (-lpng). */ -/* #undef HAVE_LIBPNG */ - -/* Define if you have the pthread library (-lpthread). */ -/* #undef HAVE_LIBPTHREAD */ - -/* Define if you have the rsvg-2 library (-lrsvg-2). */ -/* #undef HAVE_LIBRSVG_2 */ - -/* Define if you have the rt library (-lrt). */ -/* #undef HAVE_LIBRT */ - -/* Define if you have the socket library (-lsocket). */ -/* #undef HAVE_LIBSOCKET */ - -/* Define if you have the stdc++ library (-lstdc++). */ -/* #undef HAVE_LIBSTDC__ */ - -/* Define if you have the syllable library (-lsyllable). */ -/* #undef HAVE_LIBSYLLABLE */ - -/* Define if you have the tiff library (-ltiff). */ -/* #undef HAVE_LIBTIFF */ - -/* Define if you have the watt library (-lwatt). */ -/* #undef HAVE_LIBWATT */ - -/* Define if you have the x86 library (-lx86). */ -/* #undef HAVE_LIBX86 */ - -/* Define if you have the xcb library (-lxcb). */ -/* #undef HAVE_LIBXCB */ - -/* Define if you have the xcb-xlib library (-lxcb-xlib). */ -/* #undef HAVE_LIBXCB_XLIB */ - -/* Define if you have the z library (-lz). */ -/* #undef HAVE_LIBZ */ - -/* Name of package */ -#define PACKAGE "links" - -/* Version number of package */ -#define VERSION "2.15" - - -/* */ -#define VERSION "2.15" - -/* */ -/* #undef HAVE_OPENMP */ - -/* */ -#define HAVE_LONG_LONG 1 - -/* */ -/* #undef HAVE_POINTER_COMPARISON_BUG */ - -/* */ -/* #undef HAVE_MAXINT_CONVERSION_BUG */ - -/* */ -#define HAVE_STDLIB_H_X 1 - -/* */ -/* #undef HAVE_SOCKLEN_T */ - -/* */ -#define HAVE_VOLATILE 1 - -/* */ -/* #undef HAVE_RESTRICT */ - -/* */ -/* #undef HAVE___RESTRICT */ - -/* */ -#define HAVE_ERRNO 1 - -/* */ -/* #undef C_BIG_ENDIAN */ - -/* */ -#define C_LITTLE_ENDIAN 1 - -/* */ -#define RENAME_OVER_EXISTING_FILES 1 - -/* */ -#define HAVE_STRLEN 1 - -/* */ -#define HAVE_STRCPY 1 - -/* */ -#define HAVE_STRCHR 1 - -/* */ -#define HAVE_STRRCHR 1 - -/* */ -#define HAVE_STRCMP 1 - -/* */ -#define HAVE_STRNCMP 1 - -/* */ -#define HAVE_STRCSPN 1 - -/* */ -#define HAVE_STRSPN 1 - -/* */ -#define HAVE_STRSTR 1 - -/* */ -#define HAVE_MEMCMP 1 - -/* */ -#define HAVE_MEMCHR 1 - -/* */ -#define HAVE_MEMCPY 1 - -/* */ -#define HAVE_MEMMOVE 1 - -/* */ -#define HAVE_MEMSET 1 - -/* */ -/* #undef HAVE_MEMMEM */ - -/* */ -#define HAVE_STRERROR 1 - -/* */ -#define HAVE_SIGFILLSET 1 - -/* */ -#define HAVE_SIGSETJMP 1 - -/* */ -/* #undef HAVE___BUILTIN_ADD_OVERFLOW */ - -/* */ -/* #undef HAVE___BUILTIN_CLZ */ - -/* */ -#define DEBUGLEVEL 0 - -/* */ -/* #undef HAVE_CLOCK_GETTIME */ - -/* */ -#define HAVE_GETHOSTBYNAME 1 - -/* */ -/* #undef HAVE_GETHOSTBYNAME_BUG */ - -/* */ -#define SUPPORT_IPV6 1 - -/* */ -#define SUPPORT_IPV6_SCOPE 1 - -/* */ -/* #undef HAVE_POW */ - -/* */ -/* #undef HAVE_POWF */ - -/* */ -/* #undef JS */ - -/* */ -/* #undef CHCEME_FLEXI_LIBU */ - -/* */ -/* #undef HAVE_PCRE */ - -/* */ -/* #undef HAVE_REGEX */ - -/* */ -#define ENABLE_UTF8 1 - -/* */ -/* #undef HAVE_BEGINTHREAD */ - -/* */ -/* #undef HAVE_PTHREADS */ - -/* */ -/* #undef X2 */ - -/* */ -/* #undef HAVE_XSETLOCALE */ - -/* */ -/* #undef HAVE_SSL */ - -/* */ -/* #undef HAVE_OPENSSL */ - -/* */ -/* #undef HAVE_NSS */ - -/* */ -#undef HAVE_CRYPTO_SET_MEM_FUNCTIONS_1 - -/* */ -#undef HAVE_CRYPTO_SET_MEM_FUNCTIONS_2 - -/* */ -/* #undef HAVE_ZLIB */ - -/* */ -/* #undef HAVE_BROTLI */ - -/* */ -/* #undef HAVE_BZIP2 */ - -/* */ -/* #undef HAVE_LZMA */ - -/* */ -/* #undef HAVE_LZIP */ - -/* */ -/* #undef G */ - -/* */ -/* #undef GRDRV_SVGALIB */ - -/* */ -/* #undef GRDRV_FB */ - -/* */ -/* #undef GRDRV_DIRECTFB */ - -/* */ -/* #undef GRDRV_X */ - -/* */ -/* #undef GRDRV_SDL */ - -/* */ -/* #undef GRDRV_PMSHELL */ - -/* */ -/* #undef GRDRV_ATHEOS */ - -/* */ -/* #undef GRDRV_GRX */ - -/* Jpeg by Clock */ -/* #undef HAVE_JPEG */ - -/* Tiff by Brain */ -/* #undef HAVE_TIFF */ - -/* SVG */ -/* #undef HAVE_SVG */ - -/* Gpm_Event has wdx and wdy */ -/* #undef HAVE_WDX_WDY */ diff --git a/config.guess b/config.guess @@ -1,976 +0,0 @@ -#! /bin/sh -# Attempt to guess a canonical system name. -# Copyright (C) 1992, 93, 94, 95, 96, 97, 1998 Free Software Foundation, Inc. -# -# This file is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -# -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - -# Written by Per Bothner <bothner@cygnus.com>. -# The master version of this file is at the FSF in /home/gd/gnu/lib. -# -# This script attempts to guess a canonical system name similar to -# config.sub. If it succeeds, it prints the system name on stdout, and -# exits with 0. Otherwise, it exits with 1. -# -# The plan is that this can be called by configure scripts if you -# don't specify an explicit system type (host/target name). -# -# Only a few systems have been added to this list; please add others -# (but try to keep the structure clean). -# - -# This is needed to find uname on a Pyramid OSx when run in the BSD universe. -# (ghazi@noc.rutgers.edu 8/24/94.) -if (test -f /.attbin/uname) >/dev/null 2>&1 ; then - PATH=$PATH:/.attbin ; export PATH -fi - -UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown -UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown -UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown -UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown - -dummy=dummy-$$ -trap 'rm -f $dummy.c $dummy.o $dummy; exit 1' 1 2 15 - -# Note: order is significant - the case branches are not exclusive. - -case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in - *:OS/2:*:*) - echo "i386-pc-os2_emx" - exit 0;; - alpha:OSF1:*:*) - if test $UNAME_RELEASE = "V4.0"; then - UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` - fi - # A Vn.n version is a released version. - # A Tn.n version is a released field test version. - # A Xn.n version is an unreleased experimental baselevel. - # 1.2 uses "1.2" for uname -r. - cat <<EOF >$dummy.s - .globl main - .ent main -main: - .frame \$30,0,\$26,0 - .prologue 0 - .long 0x47e03d80 # implver $0 - lda \$2,259 - .long 0x47e20c21 # amask $2,$1 - srl \$1,8,\$2 - sll \$2,2,\$2 - sll \$0,3,\$0 - addl \$1,\$0,\$0 - addl \$2,\$0,\$0 - ret \$31,(\$26),1 - .end main -EOF - ${CC-cc} $dummy.s -o $dummy 2>/dev/null - if test "$?" = 0 ; then - ./$dummy - case "$?" in - 7) - UNAME_MACHINE="alpha" - ;; - 15) - UNAME_MACHINE="alphaev5" - ;; - 14) - UNAME_MACHINE="alphaev56" - ;; - 10) - UNAME_MACHINE="alphapca56" - ;; - 16) - UNAME_MACHINE="alphaev6" - ;; - esac - fi - rm -f $dummy.s $dummy - echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr [[A-Z]] [[a-z]]` - exit 0 ;; - 21064:Windows_NT:50:3) - echo alpha-dec-winnt3.5 - exit 0 ;; - Amiga*:UNIX_System_V:4.0:*) - echo m68k-cbm-sysv4 - exit 0;; - amiga:NetBSD:*:*) - echo m68k-cbm-netbsd${UNAME_RELEASE} - exit 0 ;; - amiga:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - *:[Aa]miga[Oo][Ss]:*:*) - echo ${UNAME_MACHINE}-unknown-amigaos - exit 0 ;; - arc64:OpenBSD:*:*) - echo mips64el-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - arc:OpenBSD:*:*) - echo mipsel-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - hkmips:OpenBSD:*:*) - echo mips-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - pmax:OpenBSD:*:*) - echo mipsel-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - sgi:OpenBSD:*:*) - echo mips-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - wgrisc:OpenBSD:*:*) - echo mipsel-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) - echo arm-acorn-riscix${UNAME_RELEASE} - exit 0;; - arm32:NetBSD:*:*) - echo arm-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` - exit 0 ;; - SR2?01:HI-UX/MPP:*:*) - echo hppa1.1-hitachi-hiuxmpp - exit 0;; - Pyramid*:OSx*:*:*|MIS*:OSx*:*:*|MIS*:SMP_DC-OSx*:*:*) - # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. - if test "`(/bin/universe) 2>/dev/null`" = att ; then - echo pyramid-pyramid-sysv3 - else - echo pyramid-pyramid-bsd - fi - exit 0 ;; - NILE:*:*:dcosx) - echo pyramid-pyramid-svr4 - exit 0 ;; - sun4H:SunOS:5.*:*) - echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit 0 ;; - sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) - echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit 0 ;; - i86pc:SunOS:5.*:*) - echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit 0 ;; - sun4*:SunOS:6*:*) - # According to config.sub, this is the proper way to canonicalize - # SunOS6. Hard to guess exactly what SunOS6 will be like, but - # it's likely to be more like Solaris than SunOS4. - echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit 0 ;; - sun4*:SunOS:*:*) - case "`/usr/bin/arch -k`" in - Series*|S4*) - UNAME_RELEASE=`uname -v` - ;; - esac - # Japanese Language versions have a version number like `4.1.3-JL'. - echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` - exit 0 ;; - sun3*:SunOS:*:*) - echo m68k-sun-sunos${UNAME_RELEASE} - exit 0 ;; - sun*:*:4.2BSD:*) - UNAME_RELEASE=`(head -1 /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` - test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 - case "`/bin/arch`" in - sun3) - echo m68k-sun-sunos${UNAME_RELEASE} - ;; - sun4) - echo sparc-sun-sunos${UNAME_RELEASE} - ;; - esac - exit 0 ;; - aushp:SunOS:*:*) - echo sparc-auspex-sunos${UNAME_RELEASE} - exit 0 ;; - atari*:NetBSD:*:*) - echo m68k-atari-netbsd${UNAME_RELEASE} - exit 0 ;; - atari*:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - sun3*:NetBSD:*:*) - echo m68k-sun-netbsd${UNAME_RELEASE} - exit 0 ;; - sun3*:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - mac68k:NetBSD:*:*) - echo m68k-apple-netbsd${UNAME_RELEASE} - exit 0 ;; - mac68k:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - mvme68k:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - mvme88k:OpenBSD:*:*) - echo m88k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - powerpc:machten:*:*) - echo powerpc-apple-machten${UNAME_RELEASE} - exit 0 ;; - macppc:NetBSD:*:*) - echo powerpc-apple-netbsd${UNAME_RELEASE} - exit 0 ;; - RISC*:Mach:*:*) - echo mips-dec-mach_bsd4.3 - exit 0 ;; - RISC*:ULTRIX:*:*) - echo mips-dec-ultrix${UNAME_RELEASE} - exit 0 ;; - VAX*:ULTRIX*:*:*) - echo vax-dec-ultrix${UNAME_RELEASE} - exit 0 ;; - 2020:CLIX:*:*) - echo clipper-intergraph-clix${UNAME_RELEASE} - exit 0 ;; - mips:*:*:UMIPS | mips:*:*:RISCos) - sed 's/^ //' << EOF >$dummy.c - int main (argc, argv) int argc; char **argv; { - #if defined (host_mips) && defined (MIPSEB) - #if defined (SYSTYPE_SYSV) - printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0); - #endif - #if defined (SYSTYPE_SVR4) - printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0); - #endif - #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) - printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0); - #endif - #endif - exit (-1); - } -EOF - ${CC-cc} $dummy.c -o $dummy \ - && ./$dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \ - && rm $dummy.c $dummy && exit 0 - rm -f $dummy.c $dummy - echo mips-mips-riscos${UNAME_RELEASE} - exit 0 ;; - Night_Hawk:Power_UNIX:*:*) - echo powerpc-harris-powerunix - exit 0 ;; - m88k:CX/UX:7*:*) - echo m88k-harris-cxux7 - exit 0 ;; - m88k:*:4*:R4*) - echo m88k-motorola-sysv4 - exit 0 ;; - m88k:*:3*:R3*) - echo m88k-motorola-sysv3 - exit 0 ;; - AViiON:dgux:*:*) - # DG/UX returns AViiON for all architectures - UNAME_PROCESSOR=`/usr/bin/uname -p` - if [ $UNAME_PROCESSOR = mc88100 -o $UNAME_PROCESSOR = mc88110 ] ; then - if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx \ - -o ${TARGET_BINARY_INTERFACE}x = x ] ; then - echo m88k-dg-dgux${UNAME_RELEASE} - else - echo m88k-dg-dguxbcs${UNAME_RELEASE} - fi - else echo i586-dg-dgux${UNAME_RELEASE} - fi - exit 0 ;; - M88*:DolphinOS:*:*) # DolphinOS (SVR3) - echo m88k-dolphin-sysv3 - exit 0 ;; - M88*:*:R3*:*) - # Delta 88k system running SVR3 - echo m88k-motorola-sysv3 - exit 0 ;; - XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) - echo m88k-tektronix-sysv3 - exit 0 ;; - Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) - echo m68k-tektronix-bsd - exit 0 ;; - *:IRIX*:*:*) - echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` - exit 0 ;; - ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. - echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id - exit 0 ;; # Note that: echo "'`uname -s`'" gives 'AIX ' - i?86:AIX:*:*) - echo i386-ibm-aix - exit 0 ;; - *:AIX:2:3) - if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then - sed 's/^ //' << EOF >$dummy.c - #include <sys/systemcfg.h> - - main() - { - if (!__power_pc()) - exit(1); - puts("powerpc-ibm-aix3.2.5"); - exit(0); - } -EOF - ${CC-cc} $dummy.c -o $dummy && ./$dummy && rm $dummy.c $dummy && exit 0 - rm -f $dummy.c $dummy - echo rs6000-ibm-aix3.2.5 - elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then - echo rs6000-ibm-aix3.2.4 - else - echo rs6000-ibm-aix3.2 - fi - exit 0 ;; - *:AIX:*:4) - IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | head -1 | awk '{ print $1 }'` - if /usr/sbin/lsattr -EHl ${IBM_CPU_ID} | grep POWER >/dev/null 2>&1; then - IBM_ARCH=rs6000 - else - IBM_ARCH=powerpc - fi - if [ -x /usr/bin/oslevel ] ; then - IBM_REV=`/usr/bin/oslevel` - else - IBM_REV=4.${UNAME_RELEASE} - fi - echo ${IBM_ARCH}-ibm-aix${IBM_REV} - exit 0 ;; - *:AIX:*:*) - echo rs6000-ibm-aix - exit 0 ;; - ibmrt:4.4BSD:*|romp-ibm:BSD:*) - echo romp-ibm-bsd4.4 - exit 0 ;; - ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC NetBSD and - echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to - exit 0 ;; # report: romp-ibm BSD 4.3 - *:BOSX:*:*) - echo rs6000-bull-bosx - exit 0 ;; - DPX/2?00:B.O.S.:*:*) - echo m68k-bull-sysv3 - exit 0 ;; - 9000/[34]??:4.3bsd:1.*:*) - echo m68k-hp-bsd - exit 0 ;; - hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) - echo m68k-hp-bsd4.4 - exit 0 ;; - 9000/[34678]??:HP-UX:*:*) - case "${UNAME_MACHINE}" in - 9000/31? ) HP_ARCH=m68000 ;; - 9000/[34]?? ) HP_ARCH=m68k ;; - 9000/6?? | 9000/7?? | 9000/80[24] | 9000/8?[13679] | 9000/892 ) - sed 's/^ //' << EOF >$dummy.c - #include <stdlib.h> - #include <unistd.h> - - int main () - { - #if defined(_SC_KERNEL_BITS) - long bits = sysconf(_SC_KERNEL_BITS); - #endif - long cpu = sysconf (_SC_CPU_VERSION); - - switch (cpu) - { - case CPU_PA_RISC1_0: puts ("hppa1.0"); break; - case CPU_PA_RISC1_1: puts ("hppa1.1"); break; - case CPU_PA_RISC2_0: - #if defined(_SC_KERNEL_BITS) - switch (bits) - { - case 64: puts ("hppa2.0w"); break; - case 32: puts ("hppa2.0n"); break; - default: puts ("hppa2.0"); break; - } break; - #else /* !defined(_SC_KERNEL_BITS) */ - puts ("hppa2.0"); break; - #endif - default: puts ("hppa1.0"); break; - } - exit (0); - } -EOF - (${CC-cc} $dummy.c -o $dummy 2>/dev/null ) && HP_ARCH=`./$dummy` - rm -f $dummy.c $dummy - esac - HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` - echo ${HP_ARCH}-hp-hpux${HPUX_REV} - exit 0 ;; - 3050*:HI-UX:*:*) - sed 's/^ //' << EOF >$dummy.c - #include <unistd.h> - int - main () - { - long cpu = sysconf (_SC_CPU_VERSION); - /* The order matters, because CPU_IS_HP_MC68K erroneously returns - true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct - results, however. */ - if (CPU_IS_PA_RISC (cpu)) - { - switch (cpu) - { - case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; - case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; - case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; - default: puts ("hppa-hitachi-hiuxwe2"); break; - } - } - else if (CPU_IS_HP_MC68K (cpu)) - puts ("m68k-hitachi-hiuxwe2"); - else puts ("unknown-hitachi-hiuxwe2"); - exit (0); - } -EOF - ${CC-cc} $dummy.c -o $dummy && ./$dummy && rm $dummy.c $dummy && exit 0 - rm -f $dummy.c $dummy - echo unknown-hitachi-hiuxwe2 - exit 0 ;; - 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) - echo hppa1.1-hp-bsd - exit 0 ;; - 9000/8??:4.3bsd:*:*) - echo hppa1.0-hp-bsd - exit 0 ;; - hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) - echo hppa1.1-hp-osf - exit 0 ;; - hp8??:OSF1:*:*) - echo hppa1.0-hp-osf - exit 0 ;; - i?86:OSF1:*:*) - if [ -x /usr/sbin/sysversion ] ; then - echo ${UNAME_MACHINE}-unknown-osf1mk - else - echo ${UNAME_MACHINE}-unknown-osf1 - fi - exit 0 ;; - parisc*:Lites*:*:*) - echo hppa1.1-hp-lites - exit 0 ;; - C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) - echo c1-convex-bsd - exit 0 ;; - C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) - if getsysinfo -f scalar_acc - then echo c32-convex-bsd - else echo c2-convex-bsd - fi - exit 0 ;; - C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) - echo c34-convex-bsd - exit 0 ;; - C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) - echo c38-convex-bsd - exit 0 ;; - C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) - echo c4-convex-bsd - exit 0 ;; - CRAY*X-MP:*:*:*) - echo xmp-cray-unicos - exit 0 ;; - CRAY*Y-MP:*:*:*) - echo ymp-cray-unicos${UNAME_RELEASE} - exit 0 ;; - CRAY*[A-Z]90:*:*:*) - echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ - | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ - -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ - exit 0 ;; - CRAY*TS:*:*:*) - echo t90-cray-unicos${UNAME_RELEASE} - exit 0 ;; - CRAY*T3E:*:*:*) - echo t3e-cray-unicosmk${UNAME_RELEASE} - exit 0 ;; - CRAY-2:*:*:*) - echo cray2-cray-unicos - exit 0 ;; - F300:UNIX_System_V:*:*) - FUJITSU_SYS=`uname -p | tr [A-Z] [a-z] | sed -e 's/\///'` - FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` - echo "f300-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" - exit 0 ;; - F301:UNIX_System_V:*:*) - echo f301-fujitsu-uxpv`echo $UNAME_RELEASE | sed 's/ .*//'` - exit 0 ;; - hp3[0-9][05]:NetBSD:*:*) - echo m68k-hp-netbsd${UNAME_RELEASE} - exit 0 ;; - hp300:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - sparc*:BSD/OS:*:*) - echo sparc-unknown-bsdi${UNAME_RELEASE} - exit 0 ;; - i?86:BSD/386:*:* | i?86:BSD/OS:*:*) - echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} - exit 0 ;; - *:BSD/OS:*:*) - echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} - exit 0 ;; - *:FreeBSD:*:*) - echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` - exit 0 ;; - *:NetBSD:*:*) - echo ${UNAME_MACHINE}-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` - exit 0 ;; - *:OpenBSD:*:*) - echo ${UNAME_MACHINE}-unknown-openbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` - exit 0 ;; - i*:CYGWIN*:*) - echo ${UNAME_MACHINE}-pc-cygwin - exit 0 ;; - i*:MINGW*:*) - echo ${UNAME_MACHINE}-pc-mingw32 - exit 0 ;; - p*:CYGWIN*:*) - echo powerpcle-unknown-cygwin - exit 0 ;; - prep*:SunOS:5.*:*) - echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit 0 ;; - *:GNU:*:*) - echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` - exit 0 ;; - *:Linux:*:*) - # uname on the ARM produces all sorts of strangeness, and we need to - # filter it out. - case "$UNAME_MACHINE" in - arm* | sa110*) UNAME_MACHINE="arm" ;; - esac - - # The BFD linker knows what the default object file format is, so - # first see if it will tell us. - ld_help_string=`ld --help 2>&1` - ld_supported_emulations=`echo $ld_help_string \ - | sed -ne '/supported emulations:/!d - s/[ ][ ]*/ /g - s/.*supported emulations: *// - s/ .*// - p'` - case "$ld_supported_emulations" in - i?86linux) echo "${UNAME_MACHINE}-pc-linux-gnuaout" ; exit 0 ;; - i?86coff) echo "${UNAME_MACHINE}-pc-linux-gnucoff" ; exit 0 ;; - sparclinux) echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 ;; - armlinux) echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 ;; - m68klinux) echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 ;; - elf32ppc) echo "powerpc-unknown-linux-gnu" ; exit 0 ;; - esac - - if test "${UNAME_MACHINE}" = "alpha" ; then - sed 's/^ //' <<EOF >$dummy.s - .globl main - .ent main - main: - .frame \$30,0,\$26,0 - .prologue 0 - .long 0x47e03d80 # implver $0 - lda \$2,259 - .long 0x47e20c21 # amask $2,$1 - srl \$1,8,\$2 - sll \$2,2,\$2 - sll \$0,3,\$0 - addl \$1,\$0,\$0 - addl \$2,\$0,\$0 - ret \$31,(\$26),1 - .end main -EOF - LIBC="" - ${CC-cc} $dummy.s -o $dummy 2>/dev/null - if test "$?" = 0 ; then - ./$dummy - case "$?" in - 7) - UNAME_MACHINE="alpha" - ;; - 15) - UNAME_MACHINE="alphaev5" - ;; - 14) - UNAME_MACHINE="alphaev56" - ;; - 10) - UNAME_MACHINE="alphapca56" - ;; - 16) - UNAME_MACHINE="alphaev6" - ;; - esac - - objdump --private-headers $dummy | \ - grep ld.so.1 > /dev/null - if test "$?" = 0 ; then - LIBC="libc1" - fi - fi - rm -f $dummy.s $dummy - echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} ; exit 0 - elif test "${UNAME_MACHINE}" = "mips" ; then - cat >$dummy.c <<EOF -main(argc, argv) - int argc; - char *argv[]; -{ -#ifdef __MIPSEB__ - printf ("%s-unknown-linux-gnu\n", argv[1]); -#endif -#ifdef __MIPSEL__ - printf ("%sel-unknown-linux-gnu\n", argv[1]); -#endif - return 0; -} -EOF - ${CC-cc} $dummy.c -o $dummy 2>/dev/null && ./$dummy "${UNAME_MACHINE}" && rm $dummy.c $dummy && exit 0 - rm -f $dummy.c $dummy - else - # Either a pre-BFD a.out linker (linux-gnuoldld) - # or one that does not give us useful --help. - # GCC wants to distinguish between linux-gnuoldld and linux-gnuaout. - # If ld does not provide *any* "supported emulations:" - # that means it is gnuoldld. - echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations:" - test $? != 0 && echo "${UNAME_MACHINE}-pc-linux-gnuoldld" && exit 0 - - case "${UNAME_MACHINE}" in - i?86) - VENDOR=pc; - ;; - *) - VENDOR=unknown; - ;; - esac - # Determine whether the default compiler is a.out or elf - cat >$dummy.c <<EOF -#include <features.h> -main(argc, argv) - int argc; - char *argv[]; -{ -#ifdef __ELF__ -# ifdef __GLIBC__ -# if __GLIBC__ >= 2 - printf ("%s-${VENDOR}-linux-gnu\n", argv[1]); -# else - printf ("%s-${VENDOR}-linux-gnulibc1\n", argv[1]); -# endif -# else - printf ("%s-${VENDOR}-linux-gnulibc1\n", argv[1]); -# endif -#else - printf ("%s-${VENDOR}-linux-gnuaout\n", argv[1]); -#endif - return 0; -} -EOF - ${CC-cc} $dummy.c -o $dummy 2>/dev/null && ./$dummy "${UNAME_MACHINE}" && rm $dummy.c $dummy && exit 0 - rm -f $dummy.c $dummy - fi ;; -# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. earlier versions -# are messed up and put the nodename in both sysname and nodename. - i?86:DYNIX/ptx:4*:*) - echo i386-sequent-sysv4 - exit 0 ;; - i?86:UNIX_SV:4.2MP:2.*) - # Unixware is an offshoot of SVR4, but it has its own version - # number series starting with 2... - # I am not positive that other SVR4 systems won't match this, - # I just have to hope. -- rms. - # Use sysv4.2uw... so that sysv4* matches it. - echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} - exit 0 ;; - i?86:*:4.*:* | i?86:SYSTEM_V:4.*:*) - if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then - echo ${UNAME_MACHINE}-univel-sysv${UNAME_RELEASE} - else - echo ${UNAME_MACHINE}-pc-sysv${UNAME_RELEASE} - fi - exit 0 ;; - i?86:*:3.2:*) - if test -f /usr/options/cb.name; then - UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name` - echo ${UNAME_MACHINE}-pc-isc$UNAME_REL - elif /bin/uname -X 2>/dev/null >/dev/null ; then - UNAME_REL=`(/bin/uname -X|egrep Release|sed -e 's/.*= //')` - (/bin/uname -X|egrep i80486 >/dev/null) && UNAME_MACHINE=i486 - (/bin/uname -X|egrep '^Machine.*Pentium' >/dev/null) \ - && UNAME_MACHINE=i586 - echo ${UNAME_MACHINE}-pc-sco$UNAME_REL - else - echo ${UNAME_MACHINE}-pc-sysv32 - fi - exit 0 ;; - i?86:UnixWare:*:*) - if /bin/uname -X 2>/dev/null >/dev/null ; then - (/bin/uname -X|egrep '^Machine.*Pentium' >/dev/null) \ - && UNAME_MACHINE=i586 - fi - echo ${UNAME_MACHINE}-unixware-${UNAME_RELEASE}-${UNAME_VERSION} - exit 0 ;; - pc:*:*:*) - # uname -m prints for DJGPP always 'pc', but it prints nothing about - # the processor, so we play safe by assuming i386. - echo i386-pc-msdosdjgpp - exit 0 ;; - Intel:Mach:3*:*) - echo i386-pc-mach3 - exit 0 ;; - paragon:*:*:*) - echo i860-intel-osf1 - exit 0 ;; - i860:*:4.*:*) # i860-SVR4 - if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then - echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 - else # Add other i860-SVR4 vendors below as they are discovered. - echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 - fi - exit 0 ;; - mini*:CTIX:SYS*5:*) - # "miniframe" - echo m68010-convergent-sysv - exit 0 ;; - M68*:*:R3V[567]*:*) - test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;; - 3[34]??:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 4850:*:4.0:3.0) - OS_REL='' - test -r /etc/.relid \ - && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` - /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ - && echo i486-ncr-sysv4.3${OS_REL} && exit 0 - /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ - && echo i586-ncr-sysv4.3${OS_REL} && exit 0 ;; - 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) - /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ - && echo i486-ncr-sysv4 && exit 0 ;; - m68*:LynxOS:2.*:*) - echo m68k-unknown-lynxos${UNAME_RELEASE} - exit 0 ;; - mc68030:UNIX_System_V:4.*:*) - echo m68k-atari-sysv4 - exit 0 ;; - i?86:LynxOS:2.*:*) - echo i386-unknown-lynxos${UNAME_RELEASE} - exit 0 ;; - TSUNAMI:LynxOS:2.*:*) - echo sparc-unknown-lynxos${UNAME_RELEASE} - exit 0 ;; - rs6000:LynxOS:2.*:* | PowerPC:LynxOS:2.*:*) - echo rs6000-unknown-lynxos${UNAME_RELEASE} - exit 0 ;; - SM[BE]S:UNIX_SV:*:*) - echo mips-dde-sysv${UNAME_RELEASE} - exit 0 ;; - RM*:SINIX-*:*:*) - echo mips-sni-sysv4 - exit 0 ;; - *:SINIX-*:*:*) - if uname -p 2>/dev/null >/dev/null ; then - UNAME_MACHINE=`(uname -p) 2>/dev/null` - echo ${UNAME_MACHINE}-sni-sysv4 - else - echo ns32k-sni-sysv - fi - exit 0 ;; - PENTIUM:CPunix:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort - # says <Richard.M.Bartel@ccMail.Census.GOV> - echo i586-unisys-sysv4 - exit 0 ;; - *:UNIX_System_V:4*:FTX*) - # From Gerald Hewes <hewes@openmarket.com>. - # How about differentiating between stratus architectures? -djm - echo hppa1.1-stratus-sysv4 - exit 0 ;; - *:*:*:FTX*) - # From seanf@swdc.stratus.com. - echo i860-stratus-sysv4 - exit 0 ;; - mc68*:A/UX:*:*) - echo m68k-apple-aux${UNAME_RELEASE} - exit 0 ;; - news*:NEWS-OS:*:6*) - echo mips-sony-newsos6 - exit 0 ;; - R3000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R4000:UNIX_SV:*:*) - if [ -d /usr/nec ]; then - echo mips-nec-sysv${UNAME_RELEASE} - else - echo mips-unknown-sysv${UNAME_RELEASE} - fi - exit 0 ;; - BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. - echo powerpc-be-beos - exit 0 ;; - BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. - echo powerpc-apple-beos - exit 0 ;; - BePC:BeOS:*:*) # BeOS running on Intel PC compatible. - echo i586-pc-beos - exit 0 ;; - SX-4:SUPER-UX:*:*) - echo sx4-nec-superux${UNAME_RELEASE} - exit 0 ;; - SX-5:SUPER-UX:*:*) - echo sx5-nec-superux${UNAME_RELEASE} - exit 0 ;; - Power*:Rhapsody:*:*) - echo powerpc-apple-rhapsody${UNAME_RELEASE} - exit 0 ;; - *:Rhapsody:*:*) - echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} - exit 0 ;; -esac - -#echo '(No uname command or uname output not recognized.)' 1>&2 -#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 - -cat >$dummy.c <<EOF -#ifdef _SEQUENT_ -# include <sys/types.h> -# include <sys/utsname.h> -#endif -main () -{ -#if defined (sony) -#if defined (MIPSEB) - /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed, - I don't know.... */ - printf ("mips-sony-bsd\n"); exit (0); -#else -#include <sys/param.h> - printf ("m68k-sony-newsos%s\n", -#ifdef NEWSOS4 - "4" -#else - "" -#endif - ); exit (0); -#endif -#endif - -#if defined (__arm) && defined (__acorn) && defined (__unix) - printf ("arm-acorn-riscix"); exit (0); -#endif - -#if defined (hp300) && !defined (hpux) - printf ("m68k-hp-bsd\n"); exit (0); -#endif - -#if defined (NeXT) -#if !defined (__ARCHITECTURE__) -#define __ARCHITECTURE__ "m68k" -#endif - int version; - version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; - if (version < 4) - printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version); - else - printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version); - exit (0); -#endif - -#if defined (MULTIMAX) || defined (n16) -#if defined (UMAXV) - printf ("ns32k-encore-sysv\n"); exit (0); -#else -#if defined (CMU) - printf ("ns32k-encore-mach\n"); exit (0); -#else - printf ("ns32k-encore-bsd\n"); exit (0); -#endif -#endif -#endif - -#if defined (__386BSD__) - printf ("i386-pc-bsd\n"); exit (0); -#endif - -#if defined (sequent) -#if defined (i386) - printf ("i386-sequent-dynix\n"); exit (0); -#endif -#if defined (ns32000) - printf ("ns32k-sequent-dynix\n"); exit (0); -#endif -#endif - -#if defined (_SEQUENT_) - struct utsname un; - - uname(&un); - - if (strncmp(un.version, "V2", 2) == 0) { - printf ("i386-sequent-ptx2\n"); exit (0); - } - if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */ - printf ("i386-sequent-ptx1\n"); exit (0); - } - printf ("i386-sequent-ptx\n"); exit (0); - -#endif - -#if defined (vax) -#if !defined (ultrix) - printf ("vax-dec-bsd\n"); exit (0); -#else - printf ("vax-dec-ultrix\n"); exit (0); -#endif -#endif - -#if defined (alliant) && defined (i860) - printf ("i860-alliant-bsd\n"); exit (0); -#endif - - exit (1); -} -EOF - -${CC-cc} $dummy.c -o $dummy 2>/dev/null && ./$dummy && rm $dummy.c $dummy && exit 0 -rm -f $dummy.c $dummy - -# Apollos put the system type in the environment. - -test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit 0; } - -# Convex versions that predate uname can use getsysinfo(1) - -if [ -x /usr/convex/getsysinfo ] -then - case `getsysinfo -f cpu_type` in - c1*) - echo c1-convex-bsd - exit 0 ;; - c2*) - if getsysinfo -f scalar_acc - then echo c32-convex-bsd - else echo c2-convex-bsd - fi - exit 0 ;; - c34*) - echo c34-convex-bsd - exit 0 ;; - c38*) - echo c38-convex-bsd - exit 0 ;; - c4*) - echo c4-convex-bsd - exit 0 ;; - esac -fi - -#echo '(Unable to guess system type)' 1>&2 - -exit 1 diff --git a/config.h b/config.h @@ -1,26 +1,3 @@ -/* config.h. Generated automatically by configure. */ -/* config.h.in. Generated automatically from configure.in by autoheader 2.13. */ - -/* Define to empty if the keyword does not work. */ -/* #undef const */ - -/* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems. - This function is required for alloca.c support on those systems. */ -/* #undef CRAY_STACKSEG_END */ - -/* Define to the type of elements in the array set by `getgroups'. - Usually this is either `int' or `gid_t'. */ -/* #undef GETGROUPS_T */ - -/* Define if the `getloadavg' function needs to be run setuid or setgid. */ -/* #undef GETLOADAVG_PRIVILEGED */ - -/* Define if the `getpgrp' function takes no argument. */ -/* #undef GETPGRP_VOID */ - -/* Define if you don't have vprintf but do have _doprnt. */ -/* #undef HAVE_DOPRNT */ - /* Define if you have the strftime function. */ #define HAVE_STRFTIME 1 @@ -30,27 +7,15 @@ /* Define if you have the vprintf function. */ #define HAVE_VPRINTF 1 -/* Define as __inline if that's what the C compiler calls it. */ -/* #undef inline */ - -/* Define to `int' if <sys/types.h> doesn't define. */ -/* #undef pid_t */ - /* Define as the return type of signal handlers (int or void). */ #define RETSIGTYPE void -/* Define to `unsigned' if <sys/types.h> doesn't define. */ -/* #undef size_t */ - /* Define if you have the ANSI C header files. */ #define STDC_HEADERS 1 /* Define if you can safely include both <sys/time.h> and <time.h>. */ #define TIME_WITH_SYS_TIME 1 -/* Define if your <sys/time.h> declares struct tm. */ -/* #undef TM_IN_SYS_TIME */ - /* The number of bytes in a unsigned. */ #define SIZEOF_UNSIGNED 4 @@ -69,27 +34,12 @@ /* Define if you have the ASN1_STRING_to_UTF8 function. */ #define HAVE_ASN1_STRING_TO_UTF8 1 -/* Define if you have the DirectFBInit function. */ -/* #undef HAVE_DIRECTFBINIT */ - -/* Define if you have the Gpm_GetLibVersion function. */ -/* #undef HAVE_GPM_GETLIBVERSION */ - -/* Define if you have the MouOpen function. */ -/* #undef HAVE_MOUOPEN */ - -/* Define if you have the OPENSSL_cleanup function. */ -/* #undef HAVE_OPENSSL_CLEANUP */ - /* Define if you have the OPENSSL_init_ssl function. */ #define HAVE_OPENSSL_INIT_SSL 1 /* Define if you have the RAND_add function. */ #define HAVE_RAND_ADD 1 -/* Define if you have the RAND_egd function. */ -/* #undef HAVE_RAND_EGD */ - /* Define if you have the RAND_file_name function. */ #define HAVE_RAND_FILE_NAME 1 @@ -99,9 +49,6 @@ /* Define if you have the RAND_write_file function. */ #define HAVE_RAND_WRITE_FILE 1 -/* Define if you have the SSL_SESSION_is_resumable function. */ -/* #undef HAVE_SSL_SESSION_IS_RESUMABLE */ - /* Define if you have the SSL_get1_session function. */ #define HAVE_SSL_GET1_SESSION 1 @@ -141,27 +88,6 @@ /* Define if you have the XwcLookupString function. */ #define HAVE_XWCLOOKUPSTRING 1 -/* Define if you have the __strtoll function. */ -/* #undef HAVE___STRTOLL */ - -/* Define if you have the _heapmin function. */ -/* #undef HAVE__HEAPMIN */ - -/* Define if you have the _read_kbd function. */ -/* #undef HAVE__READ_KBD */ - -/* Define if you have the _ucreate function. */ -/* #undef HAVE__UCREATE */ - -/* Define if you have the _udefault function. */ -/* #undef HAVE__UDEFAULT */ - -/* Define if you have the _udestroy function. */ -/* #undef HAVE__UDESTROY */ - -/* Define if you have the _uopen function. */ -/* #undef HAVE__UOPEN */ - /* Define if you have the bcmp function. */ #define HAVE_BCMP 1 @@ -183,12 +109,6 @@ /* Define if you have the clock_gettime function. */ #define HAVE_CLOCK_GETTIME 1 -/* Define if you have the cygwin_conv_path function. */ -/* #undef HAVE_CYGWIN_CONV_PATH */ - -/* Define if you have the cygwin_conv_to_full_win32_path function. */ -/* #undef HAVE_CYGWIN_CONV_TO_FULL_WIN32_PATH */ - /* Define if you have the dirfd function. */ #define HAVE_DIRFD 1 @@ -204,24 +124,15 @@ /* Define if you have the event_base_set function. */ #define HAVE_EVENT_BASE_SET 1 -/* Define if you have the event_config_set_flag function. */ -/* #undef HAVE_EVENT_CONFIG_SET_FLAG */ - /* Define if you have the event_get_method function. */ #define HAVE_EVENT_GET_METHOD 1 -/* Define if you have the event_get_struct_event_size function. */ -/* #undef HAVE_EVENT_GET_STRUCT_EVENT_SIZE */ - /* Define if you have the event_get_version function. */ #define HAVE_EVENT_GET_VERSION 1 /* Define if you have the event_reinit function. */ #define HAVE_EVENT_REINIT 1 -/* Define if you have the fallocate function. */ -/* #undef HAVE_FALLOCATE */ - /* Define if you have the freeaddrinfo function. */ #define HAVE_FREEADDRINFO 1 @@ -264,12 +175,6 @@ /* Define if you have the kqueue function. */ #define HAVE_KQUEUE 1 -/* Define if you have the malloc_trim function. */ -/* #undef HAVE_MALLOC_TRIM */ - -/* Define if you have the mallopt function. */ -/* #undef HAVE_MALLOPT */ - /* Define if you have the memchr function. */ #define HAVE_MEMCHR 1 @@ -333,21 +238,12 @@ /* Define if you have the popen function. */ #define HAVE_POPEN 1 -/* Define if you have the posix_fallocate function. */ -/* #undef HAVE_POSIX_FALLOCATE */ - /* Define if you have the pthread_sigmask function. */ #define HAVE_PTHREAD_SIGMASK 1 /* Define if you have the raise function. */ #define HAVE_RAISE 1 -/* Define if you have the resume_thread function. */ -/* #undef HAVE_RESUME_THREAD */ - -/* Define if you have the rsvg_handle_render_cairo function. */ -/* #undef HAVE_RSVG_HANDLE_RENDER_CAIRO */ - /* Define if you have the select function. */ #define HAVE_SELECT 1 @@ -381,9 +277,6 @@ /* Define if you have the snprintf function. */ #define HAVE_SNPRINTF 1 -/* Define if you have the spawn_thread function. */ -/* #undef HAVE_SPAWN_THREAD */ - /* Define if you have the strchr function. */ #define HAVE_STRCHR 1 @@ -453,21 +346,12 @@ /* Define if you have the uname function. */ #define HAVE_UNAME 1 -/* Define if you have the unixpath2win function. */ -/* #undef HAVE_UNIXPATH2WIN */ - /* Define if you have the utime function. */ #define HAVE_UTIME 1 /* Define if you have the utimes function. */ #define HAVE_UTIMES 1 -/* Define if you have the uwin_path function. */ -/* #undef HAVE_UWIN_PATH */ - -/* Define if you have the winpath2unix function. */ -/* #undef HAVE_WINPATH2UNIX */ - /* Define if you have the <X11/X.h> header file. */ #define HAVE_X11_X_H 1 @@ -486,135 +370,36 @@ /* Define if you have the <X11/keysymdef.h> header file. */ #define HAVE_X11_KEYSYMDEF_H 1 -/* Define if you have the <alloca.h> header file. */ -/* #undef HAVE_ALLOCA_H */ - /* Define if you have the <arpa/inet.h> header file. */ #define HAVE_ARPA_INET_H 1 -/* Define if you have the <atheos/threads.h> header file. */ -/* #undef HAVE_ATHEOS_THREADS_H */ - -/* Define if you have the <brotli/decode.h> header file. */ -/* #undef HAVE_BROTLI_DECODE_H */ - -/* Define if you have the <bzlib.h> header file. */ -/* #undef HAVE_BZLIB_H */ - -/* Define if you have the <cairo.h> header file. */ -/* #undef HAVE_CAIRO_H */ - -/* Define if you have the <cygwin/process.h> header file. */ -/* #undef HAVE_CYGWIN_PROCESS_H */ - -/* Define if you have the <cygwin/version.h> header file. */ -/* #undef HAVE_CYGWIN_VERSION_H */ - -/* Define if you have the <directfb.h> header file. */ -/* #undef HAVE_DIRECTFB_H */ - /* Define if you have the <dirent.h> header file. */ #define HAVE_DIRENT_H 1 -/* Define if you have the <ev-event.h> header file. */ -/* #undef HAVE_EV_EVENT_H */ - /* Define if you have the <event.h> header file. */ #define HAVE_EVENT_H 1 /* Define if you have the <fcntl.h> header file. */ #define HAVE_FCNTL_H 1 -/* Define if you have the <gpm.h> header file. */ -/* #undef HAVE_GPM_H */ - /* Define if you have the <grp.h> header file. */ #define HAVE_GRP_H 1 -/* Define if you have the <grx20.h> header file. */ -/* #undef HAVE_GRX20_H */ - -/* Define if you have the <gui/bitmap.h> header file. */ -/* #undef HAVE_GUI_BITMAP_H */ - -/* Define if you have the <gui/desktop.h> header file. */ -/* #undef HAVE_GUI_DESKTOP_H */ - -/* Define if you have the <gui/view.h> header file. */ -/* #undef HAVE_GUI_VIEW_H */ - -/* Define if you have the <gui/window.h> header file. */ -/* #undef HAVE_GUI_WINDOW_H */ - -/* Define if you have the <ieee.h> header file. */ -/* #undef HAVE_IEEE_H */ - -/* Define if you have the <interix/interix.h> header file. */ -/* #undef HAVE_INTERIX_INTERIX_H */ - /* Define if you have the <inttypes.h> header file. */ #define HAVE_INTTYPES_H 1 -/* Define if you have the <io.h> header file. */ -/* #undef HAVE_IO_H */ - -/* Define if you have the <jpeglib.h> header file. */ -#define HAVE_JPEGLIB_H 1 - /* Define if you have the <langinfo.h> header file. */ #define HAVE_LANGINFO_H 1 -/* Define if you have the <libpng/png.h> header file. */ -/* #undef HAVE_LIBPNG_PNG_H */ - -/* Define if you have the <librsvg/librsvg-features.h> header file. */ -/* #undef HAVE_LIBRSVG_LIBRSVG_FEATURES_H */ - -/* Define if you have the <librsvg/rsvg-cairo.h> header file. */ -/* #undef HAVE_LIBRSVG_RSVG_CAIRO_H */ - -/* Define if you have the <librsvg/rsvg.h> header file. */ -/* #undef HAVE_LIBRSVG_RSVG_H */ - /* Define if you have the <limits.h> header file. */ #define HAVE_LIMITS_H 1 -/* Define if you have the <linux/falloc.h> header file. */ -/* #undef HAVE_LINUX_FALLOC_H */ - -/* Define if you have the <linux/fb.h> header file. */ -/* #undef HAVE_LINUX_FB_H */ - -/* Define if you have the <linux/kd.h> header file. */ -/* #undef HAVE_LINUX_KD_H */ - -/* Define if you have the <linux/vt.h> header file. */ -/* #undef HAVE_LINUX_VT_H */ - /* Define if you have the <locale.h> header file. */ #define HAVE_LOCALE_H 1 -/* Define if you have the <lzlib.h> header file. */ -/* #undef HAVE_LZLIB_H */ - -/* Define if you have the <lzma.h> header file. */ -/* #undef HAVE_LZMA_H */ - -/* Define if you have the <malloc.h> header file. */ -/* #undef HAVE_MALLOC_H */ - /* Define if you have the <math.h> header file. */ #define HAVE_MATH_H 1 -/* Define if you have the <ndir.h> header file. */ -/* #undef HAVE_NDIR_H */ - -/* Define if you have the <net/socket.h> header file. */ -/* #undef HAVE_NET_SOCKET_H */ - -/* Define if you have the <netinet/in_system.h> header file. */ -/* #undef HAVE_NETINET_IN_SYSTEM_H */ - /* Define if you have the <netinet/in_systm.h> header file. */ #define HAVE_NETINET_IN_SYSTM_H 1 @@ -630,9 +415,6 @@ /* Define if you have the <poll.h> header file. */ #define HAVE_POLL_H 1 -/* Define if you have the <process.h> header file. */ -/* #undef HAVE_PROCESS_H */ - /* Define if you have the <pwd.h> header file. */ #define HAVE_PWD_H 1 @@ -642,9 +424,6 @@ /* Define if you have the <setjmp.h> header file. */ #define HAVE_SETJMP_H 1 -/* Define if you have the <sgtty.h> header file. */ -/* #undef HAVE_SGTTY_H */ - /* Define if you have the <stdarg.h> header file. */ #define HAVE_STDARG_H 1 @@ -654,27 +433,15 @@ /* Define if you have the <strings.h> header file. */ #define HAVE_STRINGS_H 1 -/* Define if you have the <sys/cygwin.h> header file. */ -/* #undef HAVE_SYS_CYGWIN_H */ - -/* Define if you have the <sys/dir.h> header file. */ -/* #undef HAVE_SYS_DIR_H */ - /* Define if you have the <sys/file.h> header file. */ #define HAVE_SYS_FILE_H 1 -/* Define if you have the <sys/fmutex.h> header file. */ -/* #undef HAVE_SYS_FMUTEX_H */ - /* Define if you have the <sys/ioctl.h> header file. */ #define HAVE_SYS_IOCTL_H 1 /* Define if you have the <sys/mman.h> header file. */ #define HAVE_SYS_MMAN_H 1 -/* Define if you have the <sys/ndir.h> header file. */ -/* #undef HAVE_SYS_NDIR_H */ - /* Define if you have the <sys/resource.h> header file. */ #define HAVE_SYS_RESOURCE_H 1 @@ -693,132 +460,27 @@ /* Define if you have the <termios.h> header file. */ #define HAVE_TERMIOS_H 1 -/* Define if you have the <tiffio.h> header file. */ -/* #undef HAVE_TIFFIO_H */ - /* Define if you have the <time.h> header file. */ #define HAVE_TIME_H 1 -/* Define if you have the <umalloc.h> header file. */ -/* #undef HAVE_UMALLOC_H */ - /* Define if you have the <unistd.h> header file. */ #define HAVE_UNISTD_H 1 -/* Define if you have the <unixlib.h> header file. */ -/* #undef HAVE_UNIXLIB_H */ - -/* Define if you have the <util/application.h> header file. */ -/* #undef HAVE_UTIL_APPLICATION_H */ - -/* Define if you have the <util/locker.h> header file. */ -/* #undef HAVE_UTIL_LOCKER_H */ - /* Define if you have the <utime.h> header file. */ #define HAVE_UTIME_H 1 -/* Define if you have the <uwin.h> header file. */ -/* #undef HAVE_UWIN_H */ - -/* Define if you have the <values.h> header file. */ -/* #undef HAVE_VALUES_H */ - -/* Define if you have the <windowsx.h> header file. */ -/* #undef HAVE_WINDOWSX_H */ - /* Define if you have the <zlib.h> header file. */ #define HAVE_ZLIB_H 1 -/* Define if you have the Xau library (-lXau). */ -/* #undef HAVE_LIBXAU */ - -/* Define if you have the Xdmcp library (-lXdmcp). */ -/* #undef HAVE_LIBXDMCP */ - -/* Define if you have the atheos library (-latheos). */ -/* #undef HAVE_LIBATHEOS */ - -/* Define if you have the brotlidec library (-lbrotlidec). */ -/* #undef HAVE_LIBBROTLIDEC */ - -/* Define if you have the bz2 library (-lbz2). */ -/* #undef HAVE_LIBBZ2 */ - -/* Define if you have the dl library (-ldl). */ -/* #undef HAVE_LIBDL */ - -/* Define if you have the ev library (-lev). */ -/* #undef HAVE_LIBEV */ - /* Define if you have the event library (-levent). */ #define HAVE_LIBEVENT 1 -/* Define if you have the fontconfig library (-lfontconfig). */ -/* #undef HAVE_LIBFONTCONFIG */ - -/* Define if you have the gpm library (-lgpm). */ -/* #undef HAVE_LIBGPM */ - -/* Define if you have the grx20 library (-lgrx20). */ -/* #undef HAVE_LIBGRX20 */ - -/* Define if you have the jbig library (-ljbig). */ -/* #undef HAVE_LIBJBIG */ - -/* Define if you have the jpeg library (-ljpeg). */ -#define HAVE_LIBJPEG 1 - -/* Define if you have the lz library (-llz). */ -/* #undef HAVE_LIBLZ */ - -/* Define if you have the lzma library (-llzma). */ -/* #undef HAVE_LIBLZMA */ - /* Define if you have the m library (-lm). */ #define HAVE_LIBM 1 -/* Define if you have the network library (-lnetwork). */ -/* #undef HAVE_LIBNETWORK */ - -/* Define if you have the nsl library (-lnsl). */ -/* #undef HAVE_LIBNSL */ - -/* Define if you have the png library (-lpng). */ -/* #undef HAVE_LIBPNG */ - /* Define if you have the pthread library (-lpthread). */ #define HAVE_LIBPTHREAD 1 -/* Define if you have the rsvg-2 library (-lrsvg-2). */ -/* #undef HAVE_LIBRSVG_2 */ - -/* Define if you have the rt library (-lrt). */ -/* #undef HAVE_LIBRT */ - -/* Define if you have the socket library (-lsocket). */ -/* #undef HAVE_LIBSOCKET */ - -/* Define if you have the stdc++ library (-lstdc++). */ -/* #undef HAVE_LIBSTDC__ */ - -/* Define if you have the syllable library (-lsyllable). */ -/* #undef HAVE_LIBSYLLABLE */ - -/* Define if you have the tiff library (-ltiff). */ -/* #undef HAVE_LIBTIFF */ - -/* Define if you have the watt library (-lwatt). */ -/* #undef HAVE_LIBWATT */ - -/* Define if you have the x86 library (-lx86). */ -/* #undef HAVE_LIBX86 */ - -/* Define if you have the xcb library (-lxcb). */ -/* #undef HAVE_LIBXCB */ - -/* Define if you have the xcb-xlib library (-lxcb-xlib). */ -/* #undef HAVE_LIBXCB_XLIB */ - /* Define if you have the z library (-lz). */ #define HAVE_LIBZ 1 @@ -828,23 +490,13 @@ /* Version number of package */ #define VERSION "2.15" - /* */ #define VERSION "2.15" /* */ -/* #undef HAVE_OPENMP */ - -/* */ #define HAVE_LONG_LONG 1 /* */ -/* #undef HAVE_POINTER_COMPARISON_BUG */ - -/* */ -/* #undef HAVE_MAXINT_CONVERSION_BUG */ - -/* */ #define HAVE_STDLIB_H_X 1 /* */ @@ -854,18 +506,12 @@ #define HAVE_VOLATILE 1 /* */ -/* #undef HAVE_RESTRICT */ - -/* */ #define HAVE___RESTRICT 1 /* */ #define HAVE_ERRNO 1 /* */ -/* #undef C_BIG_ENDIAN */ - -/* */ #define C_LITTLE_ENDIAN 1 /* */ @@ -926,9 +572,6 @@ #define HAVE_SIGSETJMP 1 /* */ -/* #undef HAVE___BUILTIN_ADD_OVERFLOW */ - -/* */ #define HAVE___BUILTIN_CLZ 1 /* */ @@ -941,9 +584,6 @@ #define HAVE_GETHOSTBYNAME 1 /* */ -/* #undef HAVE_GETHOSTBYNAME_BUG */ - -/* */ #define SUPPORT_IPV6 1 /* */ @@ -959,27 +599,9 @@ #undef JS /* */ -/* #undef CHCEME_FLEXI_LIBU */ - -/* */ -/* #undef HAVE_PCRE */ - -/* */ -/* #undef HAVE_REGEX */ - -/* */ #define ENABLE_UTF8 1 /* */ -/* #undef HAVE_BEGINTHREAD */ - -/* */ -/* #undef HAVE_PTHREADS */ - -/* */ -/* #undef X2 */ - -/* */ #define HAVE_XSETLOCALE 1 /* */ @@ -989,61 +611,11 @@ #define HAVE_OPENSSL 1 /* */ -/* #undef HAVE_NSS */ - -/* */ #define HAVE_CRYPTO_SET_MEM_FUNCTIONS_1 1 /* */ -/* #undef HAVE_CRYPTO_SET_MEM_FUNCTIONS_2 */ - -/* */ #define HAVE_ZLIB 1 -/* */ -/* #undef HAVE_BROTLI */ - -/* */ -/* #undef HAVE_BZIP2 */ - -/* */ -/* #undef HAVE_LZMA */ - -/* */ -/* #undef HAVE_LZIP */ - -/* graphics options */ -/* -#define G 1 -#define GRDRV_X 1 -#define HAVE_JPEG 1*/ - -/* */ -/* #undef GRDRV_SVGALIB */ - -/* */ -/* #undef GRDRV_FB */ - -/* */ -/* #undef GRDRV_DIRECTFB */ - -/* */ - -/* */ -/* #undef GRDRV_SDL */ - -/* */ -/* #undef GRDRV_PMSHELL */ - -/* */ -/* #undef GRDRV_ATHEOS */ - -/* */ -/* #undef GRDRV_GRX */ - -/* Jpeg by Clock */ - - /* Tiff by Brain */ #undef HAVE_TIFF diff --git a/config.h.in b/config.h.in @@ -1,1051 +0,0 @@ -/* config.h.in. Generated automatically from configure.in by autoheader 2.13. */ - -/* Define to empty if the keyword does not work. */ -#undef const - -/* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems. - This function is required for alloca.c support on those systems. */ -#undef CRAY_STACKSEG_END - -/* Define to the type of elements in the array set by `getgroups'. - Usually this is either `int' or `gid_t'. */ -#undef GETGROUPS_T - -/* Define if the `getloadavg' function needs to be run setuid or setgid. */ -#undef GETLOADAVG_PRIVILEGED - -/* Define if the `getpgrp' function takes no argument. */ -#undef GETPGRP_VOID - -/* Define if you don't have vprintf but do have _doprnt. */ -#undef HAVE_DOPRNT - -/* Define if you have the strftime function. */ -#undef HAVE_STRFTIME - -/* Define if you have <sys/wait.h> that is POSIX.1 compatible. */ -#undef HAVE_SYS_WAIT_H - -/* Define if you have the vprintf function. */ -#undef HAVE_VPRINTF - -/* Define as __inline if that's what the C compiler calls it. */ -#undef inline - -/* Define to `int' if <sys/types.h> doesn't define. */ -#undef pid_t - -/* Define as the return type of signal handlers (int or void). */ -#undef RETSIGTYPE - -/* Define to `unsigned' if <sys/types.h> doesn't define. */ -#undef size_t - -/* Define if you have the ANSI C header files. */ -#undef STDC_HEADERS - -/* Define if you can safely include both <sys/time.h> and <time.h>. */ -#undef TIME_WITH_SYS_TIME - -/* Define if your <sys/time.h> declares struct tm. */ -#undef TM_IN_SYS_TIME - -/* The number of bytes in a unsigned. */ -#undef SIZEOF_UNSIGNED - -/* The number of bytes in a unsigned long. */ -#undef SIZEOF_UNSIGNED_LONG - -/* The number of bytes in a unsigned long long. */ -#undef SIZEOF_UNSIGNED_LONG_LONG - -/* The number of bytes in a unsigned short. */ -#undef SIZEOF_UNSIGNED_SHORT - -/* Define if you have the ASN1_STRING_get0_data function. */ -#undef HAVE_ASN1_STRING_GET0_DATA - -/* Define if you have the ASN1_STRING_to_UTF8 function. */ -#undef HAVE_ASN1_STRING_TO_UTF8 - -/* Define if you have the DirectFBInit function. */ -#undef HAVE_DIRECTFBINIT - -/* Define if you have the Gpm_GetLibVersion function. */ -#undef HAVE_GPM_GETLIBVERSION - -/* Define if you have the MouOpen function. */ -#undef HAVE_MOUOPEN - -/* Define if you have the OPENSSL_cleanup function. */ -#undef HAVE_OPENSSL_CLEANUP - -/* Define if you have the OPENSSL_init_ssl function. */ -#undef HAVE_OPENSSL_INIT_SSL - -/* Define if you have the RAND_add function. */ -#undef HAVE_RAND_ADD - -/* Define if you have the RAND_egd function. */ -#undef HAVE_RAND_EGD - -/* Define if you have the RAND_file_name function. */ -#undef HAVE_RAND_FILE_NAME - -/* Define if you have the RAND_load_file function. */ -#undef HAVE_RAND_LOAD_FILE - -/* Define if you have the RAND_write_file function. */ -#undef HAVE_RAND_WRITE_FILE - -/* Define if you have the SSL_SESSION_is_resumable function. */ -#undef HAVE_SSL_SESSION_IS_RESUMABLE - -/* Define if you have the SSL_get1_session function. */ -#undef HAVE_SSL_GET1_SESSION - -/* Define if you have the SSL_load_error_strings function. */ -#undef HAVE_SSL_LOAD_ERROR_STRINGS - -/* Define if you have the X509_check_host function. */ -#undef HAVE_X509_CHECK_HOST - -/* Define if you have the X509_check_ip function. */ -#undef HAVE_X509_CHECK_IP - -/* Define if you have the XCloseIM function. */ -#undef HAVE_XCLOSEIM - -/* Define if you have the XCreateIC function. */ -#undef HAVE_XCREATEIC - -/* Define if you have the XDestroyIC function. */ -#undef HAVE_XDESTROYIC - -/* Define if you have the XOpenDisplay function. */ -#undef HAVE_XOPENDISPLAY - -/* Define if you have the XOpenIM function. */ -#undef HAVE_XOPENIM - -/* Define if you have the XSupportsLocale function. */ -#undef HAVE_XSUPPORTSLOCALE - -/* Define if you have the XmbTextListToTextProperty function. */ -#undef HAVE_XMBTEXTLISTTOTEXTPROPERTY - -/* Define if you have the Xutf8LookupString function. */ -#undef HAVE_XUTF8LOOKUPSTRING - -/* Define if you have the XwcLookupString function. */ -#undef HAVE_XWCLOOKUPSTRING - -/* Define if you have the __strtoll function. */ -#undef HAVE___STRTOLL - -/* Define if you have the _heapmin function. */ -#undef HAVE__HEAPMIN - -/* Define if you have the _read_kbd function. */ -#undef HAVE__READ_KBD - -/* Define if you have the _ucreate function. */ -#undef HAVE__UCREATE - -/* Define if you have the _udefault function. */ -#undef HAVE__UDEFAULT - -/* Define if you have the _udestroy function. */ -#undef HAVE__UDESTROY - -/* Define if you have the _uopen function. */ -#undef HAVE__UOPEN - -/* Define if you have the bcmp function. */ -#undef HAVE_BCMP - -/* Define if you have the bcopy function. */ -#undef HAVE_BCOPY - -/* Define if you have the bzero function. */ -#undef HAVE_BZERO - -/* Define if you have the calloc function. */ -#undef HAVE_CALLOC - -/* Define if you have the cfmakeraw function. */ -#undef HAVE_CFMAKERAW - -/* Define if you have the chmod function. */ -#undef HAVE_CHMOD - -/* Define if you have the clock_gettime function. */ -#undef HAVE_CLOCK_GETTIME - -/* Define if you have the cygwin_conv_path function. */ -#undef HAVE_CYGWIN_CONV_PATH - -/* Define if you have the cygwin_conv_to_full_win32_path function. */ -#undef HAVE_CYGWIN_CONV_TO_FULL_WIN32_PATH - -/* Define if you have the dirfd function. */ -#undef HAVE_DIRFD - -/* Define if you have the event_base_free function. */ -#undef HAVE_EVENT_BASE_FREE - -/* Define if you have the event_base_get_method function. */ -#undef HAVE_EVENT_BASE_GET_METHOD - -/* Define if you have the event_base_new function. */ -#undef HAVE_EVENT_BASE_NEW - -/* Define if you have the event_base_set function. */ -#undef HAVE_EVENT_BASE_SET - -/* Define if you have the event_config_set_flag function. */ -#undef HAVE_EVENT_CONFIG_SET_FLAG - -/* Define if you have the event_get_method function. */ -#undef HAVE_EVENT_GET_METHOD - -/* Define if you have the event_get_struct_event_size function. */ -#undef HAVE_EVENT_GET_STRUCT_EVENT_SIZE - -/* Define if you have the event_get_version function. */ -#undef HAVE_EVENT_GET_VERSION - -/* Define if you have the event_reinit function. */ -#undef HAVE_EVENT_REINIT - -/* Define if you have the fallocate function. */ -#undef HAVE_FALLOCATE - -/* Define if you have the freeaddrinfo function. */ -#undef HAVE_FREEADDRINFO - -/* Define if you have the gai_strerror function. */ -#undef HAVE_GAI_STRERROR - -/* Define if you have the getaddrinfo function. */ -#undef HAVE_GETADDRINFO - -/* Define if you have the getcwd function. */ -#undef HAVE_GETCWD - -/* Define if you have the getgrgid function. */ -#undef HAVE_GETGRGID - -/* Define if you have the getpagesize function. */ -#undef HAVE_GETPAGESIZE - -/* Define if you have the getpid function. */ -#undef HAVE_GETPID - -/* Define if you have the getpwuid function. */ -#undef HAVE_GETPWUID - -/* Define if you have the getrlimit function. */ -#undef HAVE_GETRLIMIT - -/* Define if you have the gettimeofday function. */ -#undef HAVE_GETTIMEOFDAY - -/* Define if you have the herror function. */ -#undef HAVE_HERROR - -/* Define if you have the inet_ntop function. */ -#undef HAVE_INET_NTOP - -/* Define if you have the inet_pton function. */ -#undef HAVE_INET_PTON - -/* Define if you have the kqueue function. */ -#undef HAVE_KQUEUE - -/* Define if you have the malloc_trim function. */ -#undef HAVE_MALLOC_TRIM - -/* Define if you have the mallopt function. */ -#undef HAVE_MALLOPT - -/* Define if you have the memchr function. */ -#undef HAVE_MEMCHR - -/* Define if you have the memcmp function. */ -#undef HAVE_MEMCMP - -/* Define if you have the memcpy function. */ -#undef HAVE_MEMCPY - -/* Define if you have the memmem function. */ -#undef HAVE_MEMMEM - -/* Define if you have the memmove function. */ -#undef HAVE_MEMMOVE - -/* Define if you have the memset function. */ -#undef HAVE_MEMSET - -/* Define if you have the mktime function. */ -#undef HAVE_MKTIME - -/* Define if you have the nl_langinfo function. */ -#undef HAVE_NL_LANGINFO - -/* Define if you have the png_create_info_struct function. */ -#undef HAVE_PNG_CREATE_INFO_STRUCT - -/* Define if you have the png_get_bit_depth function. */ -#undef HAVE_PNG_GET_BIT_DEPTH - -/* Define if you have the png_get_color_type function. */ -#undef HAVE_PNG_GET_COLOR_TYPE - -/* Define if you have the png_get_gAMA function. */ -#undef HAVE_PNG_GET_GAMA - -/* Define if you have the png_get_image_height function. */ -#undef HAVE_PNG_GET_IMAGE_HEIGHT - -/* Define if you have the png_get_image_width function. */ -#undef HAVE_PNG_GET_IMAGE_WIDTH - -/* Define if you have the png_get_libpng_ver function. */ -#undef HAVE_PNG_GET_LIBPNG_VER - -/* Define if you have the png_get_sRGB function. */ -#undef HAVE_PNG_GET_SRGB - -/* Define if you have the png_get_valid function. */ -#undef HAVE_PNG_GET_VALID - -/* Define if you have the png_set_rgb_to_gray function. */ -#undef HAVE_PNG_SET_RGB_TO_GRAY - -/* Define if you have the png_set_strip_alpha function. */ -#undef HAVE_PNG_SET_STRIP_ALPHA - -/* Define if you have the poll function. */ -#undef HAVE_POLL - -/* Define if you have the popen function. */ -#undef HAVE_POPEN - -/* Define if you have the posix_fallocate function. */ -#undef HAVE_POSIX_FALLOCATE - -/* Define if you have the pthread_sigmask function. */ -#undef HAVE_PTHREAD_SIGMASK - -/* Define if you have the raise function. */ -#undef HAVE_RAISE - -/* Define if you have the resume_thread function. */ -#undef HAVE_RESUME_THREAD - -/* Define if you have the rsvg_handle_render_cairo function. */ -#undef HAVE_RSVG_HANDLE_RENDER_CAIRO - -/* Define if you have the select function. */ -#undef HAVE_SELECT - -/* Define if you have the setlocale function. */ -#undef HAVE_SETLOCALE - -/* Define if you have the setpgid function. */ -#undef HAVE_SETPGID - -/* Define if you have the setrlimit function. */ -#undef HAVE_SETRLIMIT - -/* Define if you have the setsid function. */ -#undef HAVE_SETSID - -/* Define if you have the sigaction function. */ -#undef HAVE_SIGACTION - -/* Define if you have the sigblock function. */ -#undef HAVE_SIGBLOCK - -/* Define if you have the sigdelset function. */ -#undef HAVE_SIGDELSET - -/* Define if you have the sigprocmask function. */ -#undef HAVE_SIGPROCMASK - -/* Define if you have the sigsetmask function. */ -#undef HAVE_SIGSETMASK - -/* Define if you have the snprintf function. */ -#undef HAVE_SNPRINTF - -/* Define if you have the spawn_thread function. */ -#undef HAVE_SPAWN_THREAD - -/* Define if you have the strchr function. */ -#undef HAVE_STRCHR - -/* Define if you have the strcmp function. */ -#undef HAVE_STRCMP - -/* Define if you have the strcpy function. */ -#undef HAVE_STRCPY - -/* Define if you have the strcspn function. */ -#undef HAVE_STRCSPN - -/* Define if you have the strdup function. */ -#undef HAVE_STRDUP - -/* Define if you have the strerror function. */ -#undef HAVE_STRERROR - -/* Define if you have the strlen function. */ -#undef HAVE_STRLEN - -/* Define if you have the strncmp function. */ -#undef HAVE_STRNCMP - -/* Define if you have the strptime function. */ -#undef HAVE_STRPTIME - -/* Define if you have the strrchr function. */ -#undef HAVE_STRRCHR - -/* Define if you have the strspn function. */ -#undef HAVE_STRSPN - -/* Define if you have the strstr function. */ -#undef HAVE_STRSTR - -/* Define if you have the strtod function. */ -#undef HAVE_STRTOD - -/* Define if you have the strtoimax function. */ -#undef HAVE_STRTOIMAX - -/* Define if you have the strtol function. */ -#undef HAVE_STRTOL - -/* Define if you have the strtoll function. */ -#undef HAVE_STRTOLL - -/* Define if you have the strtoq function. */ -#undef HAVE_STRTOQ - -/* Define if you have the strtoul function. */ -#undef HAVE_STRTOUL - -/* Define if you have the tdelete function. */ -#undef HAVE_TDELETE - -/* Define if you have the tempnam function. */ -#undef HAVE_TEMPNAM - -/* Define if you have the tfind function. */ -#undef HAVE_TFIND - -/* Define if you have the tsearch function. */ -#undef HAVE_TSEARCH - -/* Define if you have the uname function. */ -#undef HAVE_UNAME - -/* Define if you have the unixpath2win function. */ -#undef HAVE_UNIXPATH2WIN - -/* Define if you have the utime function. */ -#undef HAVE_UTIME - -/* Define if you have the utimes function. */ -#undef HAVE_UTIMES - -/* Define if you have the uwin_path function. */ -#undef HAVE_UWIN_PATH - -/* Define if you have the winpath2unix function. */ -#undef HAVE_WINPATH2UNIX - -/* Define if you have the <X11/X.h> header file. */ -#undef HAVE_X11_X_H - -/* Define if you have the <X11/Xatom.h> header file. */ -#undef HAVE_X11_XATOM_H - -/* Define if you have the <X11/Xlib.h> header file. */ -#undef HAVE_X11_XLIB_H - -/* Define if you have the <X11/Xlocale.h> header file. */ -#undef HAVE_X11_XLOCALE_H - -/* Define if you have the <X11/Xutil.h> header file. */ -#undef HAVE_X11_XUTIL_H - -/* Define if you have the <X11/keysymdef.h> header file. */ -#undef HAVE_X11_KEYSYMDEF_H - -/* Define if you have the <alloca.h> header file. */ -#undef HAVE_ALLOCA_H - -/* Define if you have the <arpa/inet.h> header file. */ -#undef HAVE_ARPA_INET_H - -/* Define if you have the <atheos/threads.h> header file. */ -#undef HAVE_ATHEOS_THREADS_H - -/* Define if you have the <brotli/decode.h> header file. */ -#undef HAVE_BROTLI_DECODE_H - -/* Define if you have the <bzlib.h> header file. */ -#undef HAVE_BZLIB_H - -/* Define if you have the <cairo.h> header file. */ -#undef HAVE_CAIRO_H - -/* Define if you have the <cygwin/process.h> header file. */ -#undef HAVE_CYGWIN_PROCESS_H - -/* Define if you have the <cygwin/version.h> header file. */ -#undef HAVE_CYGWIN_VERSION_H - -/* Define if you have the <directfb.h> header file. */ -#undef HAVE_DIRECTFB_H - -/* Define if you have the <dirent.h> header file. */ -#undef HAVE_DIRENT_H - -/* Define if you have the <ev-event.h> header file. */ -#undef HAVE_EV_EVENT_H - -/* Define if you have the <event.h> header file. */ -#undef HAVE_EVENT_H - -/* Define if you have the <fcntl.h> header file. */ -#undef HAVE_FCNTL_H - -/* Define if you have the <gpm.h> header file. */ -#undef HAVE_GPM_H - -/* Define if you have the <grp.h> header file. */ -#undef HAVE_GRP_H - -/* Define if you have the <grx20.h> header file. */ -#undef HAVE_GRX20_H - -/* Define if you have the <gui/bitmap.h> header file. */ -#undef HAVE_GUI_BITMAP_H - -/* Define if you have the <gui/desktop.h> header file. */ -#undef HAVE_GUI_DESKTOP_H - -/* Define if you have the <gui/view.h> header file. */ -#undef HAVE_GUI_VIEW_H - -/* Define if you have the <gui/window.h> header file. */ -#undef HAVE_GUI_WINDOW_H - -/* Define if you have the <ieee.h> header file. */ -#undef HAVE_IEEE_H - -/* Define if you have the <interix/interix.h> header file. */ -#undef HAVE_INTERIX_INTERIX_H - -/* Define if you have the <inttypes.h> header file. */ -#undef HAVE_INTTYPES_H - -/* Define if you have the <io.h> header file. */ -#undef HAVE_IO_H - -/* Define if you have the <jpeglib.h> header file. */ -#undef HAVE_JPEGLIB_H - -/* Define if you have the <langinfo.h> header file. */ -#undef HAVE_LANGINFO_H - -/* Define if you have the <libpng/png.h> header file. */ -#undef HAVE_LIBPNG_PNG_H - -/* Define if you have the <librsvg/librsvg-features.h> header file. */ -#undef HAVE_LIBRSVG_LIBRSVG_FEATURES_H - -/* Define if you have the <librsvg/rsvg-cairo.h> header file. */ -#undef HAVE_LIBRSVG_RSVG_CAIRO_H - -/* Define if you have the <librsvg/rsvg.h> header file. */ -#undef HAVE_LIBRSVG_RSVG_H - -/* Define if you have the <limits.h> header file. */ -#undef HAVE_LIMITS_H - -/* Define if you have the <linux/falloc.h> header file. */ -#undef HAVE_LINUX_FALLOC_H - -/* Define if you have the <linux/fb.h> header file. */ -#undef HAVE_LINUX_FB_H - -/* Define if you have the <linux/kd.h> header file. */ -#undef HAVE_LINUX_KD_H - -/* Define if you have the <linux/vt.h> header file. */ -#undef HAVE_LINUX_VT_H - -/* Define if you have the <locale.h> header file. */ -#undef HAVE_LOCALE_H - -/* Define if you have the <lzlib.h> header file. */ -#undef HAVE_LZLIB_H - -/* Define if you have the <lzma.h> header file. */ -#undef HAVE_LZMA_H - -/* Define if you have the <malloc.h> header file. */ -#undef HAVE_MALLOC_H - -/* Define if you have the <math.h> header file. */ -#undef HAVE_MATH_H - -/* Define if you have the <ndir.h> header file. */ -#undef HAVE_NDIR_H - -/* Define if you have the <net/socket.h> header file. */ -#undef HAVE_NET_SOCKET_H - -/* Define if you have the <netinet/in_system.h> header file. */ -#undef HAVE_NETINET_IN_SYSTEM_H - -/* Define if you have the <netinet/in_systm.h> header file. */ -#undef HAVE_NETINET_IN_SYSTM_H - -/* Define if you have the <netinet/ip.h> header file. */ -#undef HAVE_NETINET_IP_H - -/* Define if you have the <openssl/x509v3.h> header file. */ -#undef HAVE_OPENSSL_X509V3_H - -/* Define if you have the <png.h> header file. */ -#undef HAVE_PNG_H - -/* Define if you have the <poll.h> header file. */ -#undef HAVE_POLL_H - -/* Define if you have the <process.h> header file. */ -#undef HAVE_PROCESS_H - -/* Define if you have the <pwd.h> header file. */ -#undef HAVE_PWD_H - -/* Define if you have the <search.h> header file. */ -#undef HAVE_SEARCH_H - -/* Define if you have the <setjmp.h> header file. */ -#undef HAVE_SETJMP_H - -/* Define if you have the <sgtty.h> header file. */ -#undef HAVE_SGTTY_H - -/* Define if you have the <stdarg.h> header file. */ -#undef HAVE_STDARG_H - -/* Define if you have the <string.h> header file. */ -#undef HAVE_STRING_H - -/* Define if you have the <strings.h> header file. */ -#undef HAVE_STRINGS_H - -/* Define if you have the <sys/cygwin.h> header file. */ -#undef HAVE_SYS_CYGWIN_H - -/* Define if you have the <sys/dir.h> header file. */ -#undef HAVE_SYS_DIR_H - -/* Define if you have the <sys/file.h> header file. */ -#undef HAVE_SYS_FILE_H - -/* Define if you have the <sys/fmutex.h> header file. */ -#undef HAVE_SYS_FMUTEX_H - -/* Define if you have the <sys/ioctl.h> header file. */ -#undef HAVE_SYS_IOCTL_H - -/* Define if you have the <sys/mman.h> header file. */ -#undef HAVE_SYS_MMAN_H - -/* Define if you have the <sys/ndir.h> header file. */ -#undef HAVE_SYS_NDIR_H - -/* Define if you have the <sys/resource.h> header file. */ -#undef HAVE_SYS_RESOURCE_H - -/* Define if you have the <sys/select.h> header file. */ -#undef HAVE_SYS_SELECT_H - -/* Define if you have the <sys/time.h> header file. */ -#undef HAVE_SYS_TIME_H - -/* Define if you have the <sys/un.h> header file. */ -#undef HAVE_SYS_UN_H - -/* Define if you have the <sys/utsname.h> header file. */ -#undef HAVE_SYS_UTSNAME_H - -/* Define if you have the <termios.h> header file. */ -#undef HAVE_TERMIOS_H - -/* Define if you have the <tiffio.h> header file. */ -#undef HAVE_TIFFIO_H - -/* Define if you have the <time.h> header file. */ -#undef HAVE_TIME_H - -/* Define if you have the <umalloc.h> header file. */ -#undef HAVE_UMALLOC_H - -/* Define if you have the <unistd.h> header file. */ -#undef HAVE_UNISTD_H - -/* Define if you have the <unixlib.h> header file. */ -#undef HAVE_UNIXLIB_H - -/* Define if you have the <util/application.h> header file. */ -#undef HAVE_UTIL_APPLICATION_H - -/* Define if you have the <util/locker.h> header file. */ -#undef HAVE_UTIL_LOCKER_H - -/* Define if you have the <utime.h> header file. */ -#undef HAVE_UTIME_H - -/* Define if you have the <uwin.h> header file. */ -#undef HAVE_UWIN_H - -/* Define if you have the <values.h> header file. */ -#undef HAVE_VALUES_H - -/* Define if you have the <windowsx.h> header file. */ -#undef HAVE_WINDOWSX_H - -/* Define if you have the <zlib.h> header file. */ -#undef HAVE_ZLIB_H - -/* Define if you have the Xau library (-lXau). */ -#undef HAVE_LIBXAU - -/* Define if you have the Xdmcp library (-lXdmcp). */ -#undef HAVE_LIBXDMCP - -/* Define if you have the atheos library (-latheos). */ -#undef HAVE_LIBATHEOS - -/* Define if you have the brotlidec library (-lbrotlidec). */ -#undef HAVE_LIBBROTLIDEC - -/* Define if you have the bz2 library (-lbz2). */ -#undef HAVE_LIBBZ2 - -/* Define if you have the dl library (-ldl). */ -#undef HAVE_LIBDL - -/* Define if you have the ev library (-lev). */ -#undef HAVE_LIBEV - -/* Define if you have the event library (-levent). */ -#undef HAVE_LIBEVENT - -/* Define if you have the fontconfig library (-lfontconfig). */ -#undef HAVE_LIBFONTCONFIG - -/* Define if you have the gpm library (-lgpm). */ -#undef HAVE_LIBGPM - -/* Define if you have the grx20 library (-lgrx20). */ -#undef HAVE_LIBGRX20 - -/* Define if you have the jbig library (-ljbig). */ -#undef HAVE_LIBJBIG - -/* Define if you have the jpeg library (-ljpeg). */ -#undef HAVE_LIBJPEG - -/* Define if you have the lz library (-llz). */ -#undef HAVE_LIBLZ - -/* Define if you have the lzma library (-llzma). */ -#undef HAVE_LIBLZMA - -/* Define if you have the m library (-lm). */ -#undef HAVE_LIBM - -/* Define if you have the network library (-lnetwork). */ -#undef HAVE_LIBNETWORK - -/* Define if you have the nsl library (-lnsl). */ -#undef HAVE_LIBNSL - -/* Define if you have the png library (-lpng). */ -#undef HAVE_LIBPNG - -/* Define if you have the pthread library (-lpthread). */ -#undef HAVE_LIBPTHREAD - -/* Define if you have the rsvg-2 library (-lrsvg-2). */ -#undef HAVE_LIBRSVG_2 - -/* Define if you have the rt library (-lrt). */ -#undef HAVE_LIBRT - -/* Define if you have the socket library (-lsocket). */ -#undef HAVE_LIBSOCKET - -/* Define if you have the stdc++ library (-lstdc++). */ -#undef HAVE_LIBSTDC__ - -/* Define if you have the syllable library (-lsyllable). */ -#undef HAVE_LIBSYLLABLE - -/* Define if you have the tiff library (-ltiff). */ -#undef HAVE_LIBTIFF - -/* Define if you have the watt library (-lwatt). */ -#undef HAVE_LIBWATT - -/* Define if you have the x86 library (-lx86). */ -#undef HAVE_LIBX86 - -/* Define if you have the xcb library (-lxcb). */ -#undef HAVE_LIBXCB - -/* Define if you have the xcb-xlib library (-lxcb-xlib). */ -#undef HAVE_LIBXCB_XLIB - -/* Define if you have the z library (-lz). */ -#undef HAVE_LIBZ - -/* Name of package */ -#undef PACKAGE - -/* Version number of package */ -#undef VERSION - - -/* */ -#undef VERSION - -/* */ -#undef HAVE_OPENMP - -/* */ -#undef HAVE_LONG_LONG - -/* */ -#undef HAVE_POINTER_COMPARISON_BUG - -/* */ -#undef HAVE_MAXINT_CONVERSION_BUG - -/* */ -#undef HAVE_STDLIB_H_X - -/* */ -#undef HAVE_SOCKLEN_T - -/* */ -#undef HAVE_VOLATILE - -/* */ -#undef HAVE_RESTRICT - -/* */ -#undef HAVE___RESTRICT - -/* */ -#undef HAVE_ERRNO - -/* */ -#undef C_BIG_ENDIAN - -/* */ -#undef C_LITTLE_ENDIAN - -/* */ -#undef RENAME_OVER_EXISTING_FILES - -/* */ -#undef HAVE_STRLEN - -/* */ -#undef HAVE_STRCPY - -/* */ -#undef HAVE_STRCHR - -/* */ -#undef HAVE_STRRCHR - -/* */ -#undef HAVE_STRCMP - -/* */ -#undef HAVE_STRNCMP - -/* */ -#undef HAVE_STRCSPN - -/* */ -#undef HAVE_STRSPN - -/* */ -#undef HAVE_STRSTR - -/* */ -#undef HAVE_MEMCMP - -/* */ -#undef HAVE_MEMCHR - -/* */ -#undef HAVE_MEMCPY - -/* */ -#undef HAVE_MEMMOVE - -/* */ -#undef HAVE_MEMSET - -/* */ -#undef HAVE_MEMMEM - -/* */ -#undef HAVE_STRERROR - -/* */ -#undef HAVE_SIGFILLSET - -/* */ -#undef HAVE_SIGSETJMP - -/* */ -#undef HAVE___BUILTIN_ADD_OVERFLOW - -/* */ -#undef HAVE___BUILTIN_CLZ - -/* */ -#undef DEBUGLEVEL - -/* */ -#undef HAVE_CLOCK_GETTIME - -/* */ -#undef HAVE_GETHOSTBYNAME - -/* */ -#undef HAVE_GETHOSTBYNAME_BUG - -/* */ -#undef SUPPORT_IPV6 - -/* */ -#undef SUPPORT_IPV6_SCOPE - -/* */ -#undef HAVE_POW - -/* */ -#undef HAVE_POWF - -/* */ -#undef JS - -/* */ -#undef CHCEME_FLEXI_LIBU - -/* */ -#undef HAVE_PCRE - -/* */ -#undef HAVE_REGEX - -/* */ -#undef ENABLE_UTF8 - -/* */ -#undef HAVE_BEGINTHREAD - -/* */ -#undef HAVE_PTHREADS - -/* */ -#undef X2 - -/* */ -#undef HAVE_XSETLOCALE - -/* */ -#undef HAVE_SSL - -/* */ -#undef HAVE_OPENSSL - -/* */ -#undef HAVE_NSS - -/* */ -#undef HAVE_CRYPTO_SET_MEM_FUNCTIONS_1 - -/* */ -#undef HAVE_CRYPTO_SET_MEM_FUNCTIONS_2 - -/* */ -#undef HAVE_ZLIB - -/* */ -#undef HAVE_BROTLI - -/* */ -#undef HAVE_BZIP2 - -/* */ -#undef HAVE_LZMA - -/* */ -#undef HAVE_LZIP - -/* */ -#undef G - -/* */ -#undef GRDRV_SVGALIB - -/* */ -#undef GRDRV_FB - -/* */ -#undef GRDRV_DIRECTFB - -/* */ -#undef GRDRV_X - -/* */ -#undef GRDRV_SDL - -/* */ -#undef GRDRV_PMSHELL - -/* */ -#undef GRDRV_ATHEOS - -/* */ -#undef GRDRV_GRX - -/* Jpeg by Clock */ -#undef HAVE_JPEG - -/* Tiff by Brain */ -#undef HAVE_TIFF - -/* SVG */ -#undef HAVE_SVG - -/* Gpm_Event has wdx and wdy */ -#undef HAVE_WDX_WDY diff --git a/config.sub b/config.sub @@ -1,958 +0,0 @@ -#! /bin/sh -# Configuration validation subroutine script, version 1.1. -# Copyright (C) 1991, 92-97, 1998 Free Software Foundation, Inc. -# This file is (in principle) common to ALL GNU software. -# The presence of a machine in this file suggests that SOME GNU software -# can handle that machine. It does not imply ALL GNU software can. -# -# This file is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, -# Boston, MA 02111-1307, USA. - -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - -# Configuration subroutine to validate and canonicalize a configuration type. -# Supply the specified configuration type as an argument. -# If it is invalid, we print an error message on stderr and exit with code 1. -# Otherwise, we print the canonical config type on stdout and succeed. - -# This file is supposed to be the same for all GNU packages -# and recognize all the CPU types, system types and aliases -# that are meaningful with *any* GNU software. -# Each package is responsible for reporting which valid configurations -# it does not support. The user should be able to distinguish -# a failure to support a valid configuration from a meaningless -# configuration. - -# The goal of this file is to map all the various variations of a given -# machine specification into a single specification in the form: -# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM -# or in some cases, the newer four-part form: -# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM -# It is wrong to echo any other type of specification. - -if [ x$1 = x ] -then - echo Configuration name missing. 1>&2 - echo "Usage: $0 CPU-MFR-OPSYS" 1>&2 - echo "or $0 ALIAS" 1>&2 - echo where ALIAS is a recognized configuration type. 1>&2 - exit 1 -fi - -# First pass through any local machine types. -case $1 in - *local*) - echo $1 - exit 0 - ;; - *) - ;; -esac - -# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). -# Here we must recognize all the valid KERNEL-OS combinations. -maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` -case $maybe_os in - linux-gnu*) - os=-$maybe_os - basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` - ;; - *) - basic_machine=`echo $1 | sed 's/-[^-]*$//'` - if [ $basic_machine != $1 ] - then os=`echo $1 | sed 's/.*-/-/'` - else os=; fi - ;; -esac - -### Let's recognize common machines as not being operating systems so -### that things like config.sub decstation-3100 work. We also -### recognize some manufacturers as not being operating systems, so we -### can provide default operating systems below. -case $os in - -sun*os*) - # Prevent following clause from handling this invalid input. - ;; - -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ - -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ - -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ - -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ - -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ - -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ - -apple) - os= - basic_machine=$1 - ;; - -hiux*) - os=-hiuxwe2 - ;; - -sco5) - os=sco3.2v5 - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -sco4) - os=-sco3.2v4 - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -sco3.2.[4-9]*) - os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -sco3.2v[4-9]*) - # Don't forget version if it is 3.2v4 or newer. - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -sco*) - os=-sco3.2v2 - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -isc) - os=-isc2.2 - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -clix*) - basic_machine=clipper-intergraph - ;; - -isc*) - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -lynx*) - os=-lynxos - ;; - -ptx*) - basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` - ;; - -windowsnt*) - os=`echo $os | sed -e 's/windowsnt/winnt/'` - ;; - -psos*) - os=-psos - ;; -esac - -# Decode aliases for certain CPU-COMPANY combinations. -case $basic_machine in - # Recognize the basic CPU types without company name. - # Some are omitted here because they have special meanings below. - tahoe | i860 | m32r | m68k | m68000 | m88k | ns32k | arc | arm \ - | arme[lb] | pyramid | mn10200 | mn10300 | tron | a29k \ - | 580 | i960 | h8300 | hppa | hppa1.0 | hppa1.1 | hppa2.0 \ - | alpha | alphaev5 | alphaev56 | we32k | ns16k | clipper \ - | i370 | sh | powerpc | powerpcle | 1750a | dsp16xx | pdp11 \ - | mips64 | mipsel | mips64el | mips64orion | mips64orionel \ - | mipstx39 | mipstx39el \ - | sparc | sparclet | sparclite | sparc64 | v850) - basic_machine=$basic_machine-unknown - ;; - # We use `pc' rather than `unknown' - # because (1) that's what they normally are, and - # (2) the word "unknown" tends to confuse beginning users. - i[34567]86) - basic_machine=$basic_machine-pc - ;; - # Object if more than one company name word. - *-*-*) - echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 - exit 1 - ;; - # Recognize the basic CPU types with company name. - vax-* | tahoe-* | i[34567]86-* | i860-* | m32r-* | m68k-* | m68000-* \ - | m88k-* | sparc-* | ns32k-* | fx80-* | arc-* | arm-* | c[123]* \ - | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \ - | power-* | none-* | 580-* | cray2-* | h8300-* | i960-* \ - | xmp-* | ymp-* | hppa-* | hppa1.0-* | hppa1.1-* | hppa2.0-* \ - | alpha-* | alphaev5-* | alphaev56-* | we32k-* | cydra-* \ - | ns16k-* | pn-* | np1-* | xps100-* | clipper-* | orion-* \ - | sparclite-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \ - | sparc64-* | mips64-* | mipsel-* \ - | mips64el-* | mips64orion-* | mips64orionel-* \ - | mipstx39-* | mipstx39el-* \ - | f301-*) - ;; - # Recognize the various machine names and aliases which stand - # for a CPU type and a company and sometimes even an OS. - 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) - basic_machine=m68000-att - ;; - 3b*) - basic_machine=we32k-att - ;; - alliant | fx80) - basic_machine=fx80-alliant - ;; - altos | altos3068) - basic_machine=m68k-altos - ;; - am29k) - basic_machine=a29k-none - os=-bsd - ;; - amdahl) - basic_machine=580-amdahl - os=-sysv - ;; - amiga | amiga-*) - basic_machine=m68k-cbm - ;; - amigaos | amigados) - basic_machine=m68k-cbm - os=-amigaos - ;; - amigaunix | amix) - basic_machine=m68k-cbm - os=-sysv4 - ;; - apollo68) - basic_machine=m68k-apollo - os=-sysv - ;; - aux) - basic_machine=m68k-apple - os=-aux - ;; - balance) - basic_machine=ns32k-sequent - os=-dynix - ;; - convex-c1) - basic_machine=c1-convex - os=-bsd - ;; - convex-c2) - basic_machine=c2-convex - os=-bsd - ;; - convex-c32) - basic_machine=c32-convex - os=-bsd - ;; - convex-c34) - basic_machine=c34-convex - os=-bsd - ;; - convex-c38) - basic_machine=c38-convex - os=-bsd - ;; - cray | ymp) - basic_machine=ymp-cray - os=-unicos - ;; - cray2) - basic_machine=cray2-cray - os=-unicos - ;; - [ctj]90-cray) - basic_machine=c90-cray - os=-unicos - ;; - crds | unos) - basic_machine=m68k-crds - ;; - da30 | da30-*) - basic_machine=m68k-da30 - ;; - decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) - basic_machine=mips-dec - ;; - delta | 3300 | motorola-3300 | motorola-delta \ - | 3300-motorola | delta-motorola) - basic_machine=m68k-motorola - ;; - delta88) - basic_machine=m88k-motorola - os=-sysv3 - ;; - dpx20 | dpx20-*) - basic_machine=rs6000-bull - os=-bosx - ;; - dpx2* | dpx2*-bull) - basic_machine=m68k-bull - os=-sysv3 - ;; - ebmon29k) - basic_machine=a29k-amd - os=-ebmon - ;; - elxsi) - basic_machine=elxsi-elxsi - os=-bsd - ;; - encore | umax | mmax) - basic_machine=ns32k-encore - ;; - fx2800) - basic_machine=i860-alliant - ;; - genix) - basic_machine=ns32k-ns - ;; - gmicro) - basic_machine=tron-gmicro - os=-sysv - ;; - h3050r* | hiux*) - basic_machine=hppa1.1-hitachi - os=-hiuxwe2 - ;; - h8300hms) - basic_machine=h8300-hitachi - os=-hms - ;; - harris) - basic_machine=m88k-harris - os=-sysv3 - ;; - hp300-*) - basic_machine=m68k-hp - ;; - hp300bsd) - basic_machine=m68k-hp - os=-bsd - ;; - hp300hpux) - basic_machine=m68k-hp - os=-hpux - ;; - hp9k2[0-9][0-9] | hp9k31[0-9]) - basic_machine=m68000-hp - ;; - hp9k3[2-9][0-9]) - basic_machine=m68k-hp - ;; - hp9k7[0-9][0-9] | hp7[0-9][0-9] | hp9k8[0-9]7 | hp8[0-9]7) - basic_machine=hppa1.1-hp - ;; - hp9k8[0-9][0-9] | hp8[0-9][0-9]) - basic_machine=hppa1.0-hp - ;; - hppa-next) - os=-nextstep3 - ;; - i370-ibm* | ibm*) - basic_machine=i370-ibm - os=-mvs - ;; -# I'm not sure what "Sysv32" means. Should this be sysv3.2? - i[34567]86v32) - basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` - os=-sysv32 - ;; - i[34567]86v4*) - basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` - os=-sysv4 - ;; - i[34567]86v) - basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` - os=-sysv - ;; - i[34567]86sol2) - basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` - os=-solaris2 - ;; - iris | iris4d) - basic_machine=mips-sgi - case $os in - -irix*) - ;; - *) - os=-irix4 - ;; - esac - ;; - isi68 | isi) - basic_machine=m68k-isi - os=-sysv - ;; - m88k-omron*) - basic_machine=m88k-omron - ;; - magnum | m3230) - basic_machine=mips-mips - os=-sysv - ;; - merlin) - basic_machine=ns32k-utek - os=-sysv - ;; - miniframe) - basic_machine=m68000-convergent - ;; - mipsel*-linux*) - basic_machine=mipsel-unknown - os=-linux-gnu - ;; - mips*-linux*) - basic_machine=mips-unknown - os=-linux-gnu - ;; - mips3*-*) - basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` - ;; - mips3*) - basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown - ;; - ncr3000) - basic_machine=i486-ncr - os=-sysv4 - ;; - news | news700 | news800 | news900) - basic_machine=m68k-sony - os=-newsos - ;; - news1000) - basic_machine=m68030-sony - os=-newsos - ;; - news-3600 | risc-news) - basic_machine=mips-sony - os=-newsos - ;; - next | m*-next ) - basic_machine=m68k-next - case $os in - -nextstep* ) - ;; - -ns2*) - os=-nextstep2 - ;; - *) - os=-nextstep3 - ;; - esac - ;; - nh3000) - basic_machine=m68k-harris - os=-cxux - ;; - nh[45]000) - basic_machine=m88k-harris - os=-cxux - ;; - nindy960) - basic_machine=i960-intel - os=-nindy - ;; - np1) - basic_machine=np1-gould - ;; - pa-hitachi) - basic_machine=hppa1.1-hitachi - os=-hiuxwe2 - ;; - paragon) - basic_machine=i860-intel - os=-osf - ;; - pbd) - basic_machine=sparc-tti - ;; - pbb) - basic_machine=m68k-tti - ;; - pc532 | pc532-*) - basic_machine=ns32k-pc532 - ;; - pentium | p5 | k5 | nexen) - basic_machine=i586-pc - ;; - pentiumpro | p6 | k6 | 6x86) - basic_machine=i686-pc - ;; - pentiumii | pentium2) - basic_machine=i786-pc - ;; - pentium-* | p5-* | k5-* | nexen-*) - basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - pentiumpro-* | p6-* | k6-* | 6x86-*) - basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - pentiumii-* | pentium2-*) - basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - pn) - basic_machine=pn-gould - ;; - power) basic_machine=rs6000-ibm - ;; - ppc) basic_machine=powerpc-unknown - ;; - ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - ppcle | powerpclittle | ppc-le | powerpc-little) - basic_machine=powerpcle-unknown - ;; - ppcle-* | powerpclittle-*) - basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - ps2) - basic_machine=i386-ibm - ;; - rm[46]00) - basic_machine=mips-siemens - ;; - rtpc | rtpc-*) - basic_machine=romp-ibm - ;; - sequent) - basic_machine=i386-sequent - ;; - sh) - basic_machine=sh-hitachi - os=-hms - ;; - sps7) - basic_machine=m68k-bull - os=-sysv2 - ;; - spur) - basic_machine=spur-unknown - ;; - sun2) - basic_machine=m68000-sun - ;; - sun2os3) - basic_machine=m68000-sun - os=-sunos3 - ;; - sun2os4) - basic_machine=m68000-sun - os=-sunos4 - ;; - sun3os3) - basic_machine=m68k-sun - os=-sunos3 - ;; - sun3os4) - basic_machine=m68k-sun - os=-sunos4 - ;; - sun4os3) - basic_machine=sparc-sun - os=-sunos3 - ;; - sun4os4) - basic_machine=sparc-sun - os=-sunos4 - ;; - sun4sol2) - basic_machine=sparc-sun - os=-solaris2 - ;; - sun3 | sun3-*) - basic_machine=m68k-sun - ;; - sun4) - basic_machine=sparc-sun - ;; - sun386 | sun386i | roadrunner) - basic_machine=i386-sun - ;; - symmetry) - basic_machine=i386-sequent - os=-dynix - ;; - tx39) - basic_machine=mipstx39-unknown - ;; - tx39el) - basic_machine=mipstx39el-unknown - ;; - tower | tower-32) - basic_machine=m68k-ncr - ;; - udi29k) - basic_machine=a29k-amd - os=-udi - ;; - ultra3) - basic_machine=a29k-nyu - os=-sym1 - ;; - vaxv) - basic_machine=vax-dec - os=-sysv - ;; - vms) - basic_machine=vax-dec - os=-vms - ;; - vpp*|vx|vx-*) - basic_machine=f301-fujitsu - ;; - vxworks960) - basic_machine=i960-wrs - os=-vxworks - ;; - vxworks68) - basic_machine=m68k-wrs - os=-vxworks - ;; - vxworks29k) - basic_machine=a29k-wrs - os=-vxworks - ;; - xmp) - basic_machine=xmp-cray - os=-unicos - ;; - xps | xps100) - basic_machine=xps100-honeywell - ;; - none) - basic_machine=none-none - os=-none - ;; - -# Here we handle the default manufacturer of certain CPU types. It is in -# some cases the only manufacturer, in others, it is the most popular. - mips) - if [ x$os = x-linux-gnu ]; then - basic_machine=mips-unknown - else - basic_machine=mips-mips - fi - ;; - romp) - basic_machine=romp-ibm - ;; - rs6000) - basic_machine=rs6000-ibm - ;; - vax) - basic_machine=vax-dec - ;; - pdp11) - basic_machine=pdp11-dec - ;; - we32k) - basic_machine=we32k-att - ;; - sparc) - basic_machine=sparc-sun - ;; - cydra) - basic_machine=cydra-cydrome - ;; - orion) - basic_machine=orion-highlevel - ;; - orion105) - basic_machine=clipper-highlevel - ;; - *) - echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 - exit 1 - ;; -esac - -# Here we canonicalize certain aliases for manufacturers. -case $basic_machine in - *-digital*) - basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'` - ;; - *-commodore*) - basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'` - ;; - *) - ;; -esac - -# Decode manufacturer-specific aliases for certain operating systems. - -if [ x"$os" != x"" ] -then -case $os in - # First match some system type aliases - # that might get confused with valid system types. - # -solaris* is a basic system type, with this one exception. - -solaris1 | -solaris1.*) - os=`echo $os | sed -e 's|solaris1|sunos4|'` - ;; - -solaris) - os=-solaris2 - ;; - -svr4*) - os=-sysv4 - ;; - -unixware*) - os=-sysv4.2uw - ;; - -gnu/linux*) - os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` - ;; - -os2_emx) - ;; - # First accept the basic system types. - # The portable systems comes first. - # Each alternative MUST END IN A *, to match a version number. - # -sysv* is not here because it comes later, after sysvr4. - -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ - | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\ - | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ - | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ - | -aos* \ - | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ - | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ - | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \ - | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* \ - | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ - | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ - | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ - | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -rhapsody* \ - | -openstep*) - # Remember, each alternative MUST END IN *, to match a version number. - ;; - -linux*) - os=`echo $os | sed -e 's|linux|linux-gnu|'` - ;; - -sunos5*) - os=`echo $os | sed -e 's|sunos5|solaris2|'` - ;; - -sunos6*) - os=`echo $os | sed -e 's|sunos6|solaris3|'` - ;; - -osfrose*) - os=-osfrose - ;; - -osf*) - os=-osf - ;; - -utek*) - os=-bsd - ;; - -dynix*) - os=-bsd - ;; - -acis*) - os=-aos - ;; - -ctix* | -uts*) - os=-sysv - ;; - -ns2 ) - os=-nextstep2 - ;; - # Preserve the version number of sinix5. - -sinix5.*) - os=`echo $os | sed -e 's|sinix|sysv|'` - ;; - -sinix*) - os=-sysv4 - ;; - -triton*) - os=-sysv3 - ;; - -oss*) - os=-sysv3 - ;; - -svr4) - os=-sysv4 - ;; - -svr3) - os=-sysv3 - ;; - -sysvr4) - os=-sysv4 - ;; - # This must come after -sysvr4. - -sysv*) - ;; - -xenix) - os=-xenix - ;; - -none) - ;; - *) - # Get rid of the `-' at the beginning of $os. - os=`echo $os | sed 's/[^-]*-//'` - echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 - exit 1 - ;; -esac -else - -# Here we handle the default operating systems that come with various machines. -# The value should be what the vendor currently ships out the door with their -# machine or put another way, the most popular os provided with the machine. - -# Note that if you're going to try to match "-MANUFACTURER" here (say, -# "-sun"), then you have to tell the case statement up towards the top -# that MANUFACTURER isn't an operating system. Otherwise, code above -# will signal an error saying that MANUFACTURER isn't an operating -# system, and we'll never get to this point. - -case $basic_machine in - *-acorn) - os=-riscix1.2 - ;; - arm*-semi) - os=-aout - ;; - pdp11-*) - os=-none - ;; - *-dec | vax-*) - os=-ultrix4.2 - ;; - m68*-apollo) - os=-domain - ;; - i386-sun) - os=-sunos4.0.2 - ;; - m68000-sun) - os=-sunos3 - # This also exists in the configure program, but was not the - # default. - # os=-sunos4 - ;; - *-tti) # must be before sparc entry or we get the wrong os. - os=-sysv3 - ;; - sparc-* | *-sun) - os=-sunos4.1.1 - ;; - *-be) - os=-beos - ;; - *-ibm) - os=-aix - ;; - *-hp) - os=-hpux - ;; - *-hitachi) - os=-hiux - ;; - i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) - os=-sysv - ;; - *-cbm) - os=-amigaos - ;; - *-dg) - os=-dgux - ;; - *-dolphin) - os=-sysv3 - ;; - m68k-ccur) - os=-rtu - ;; - m88k-omron*) - os=-luna - ;; - *-next ) - os=-nextstep - ;; - *-sequent) - os=-ptx - ;; - *-crds) - os=-unos - ;; - *-ns) - os=-genix - ;; - i370-*) - os=-mvs - ;; - *-next) - os=-nextstep3 - ;; - *-gould) - os=-sysv - ;; - *-highlevel) - os=-bsd - ;; - *-encore) - os=-bsd - ;; - *-sgi) - os=-irix - ;; - *-siemens) - os=-sysv4 - ;; - *-masscomp) - os=-rtu - ;; - f301-fujitsu) - os=-uxpv - ;; - *) - os=-none - ;; -esac -fi - -# Here we handle the case where we know the os, and the CPU type, but not the -# manufacturer. We pick the logical manufacturer. -vendor=unknown -case $basic_machine in - *-unknown) - case $os in - -riscix*) - vendor=acorn - ;; - -sunos*) - vendor=sun - ;; - -aix*) - vendor=ibm - ;; - -hpux*) - vendor=hp - ;; - -hiux*) - vendor=hitachi - ;; - -unos*) - vendor=crds - ;; - -dgux*) - vendor=dg - ;; - -luna*) - vendor=omron - ;; - -genix*) - vendor=ns - ;; - -mvs*) - vendor=ibm - ;; - -ptx*) - vendor=sequent - ;; - -vxsim* | -vxworks*) - vendor=wrs - ;; - -aux*) - vendor=apple - ;; - esac - basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` - ;; -esac - -echo $basic_machine$os diff --git a/configure b/configure @@ -1,10738 +0,0 @@ -#! /bin/sh -LANG= -LC_ALL= - -# Guess values for system-dependent variables and create Makefiles. -# Generated automatically using autoconf version 2.13 -# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. -# -# This configure script is free software; the Free Software Foundation -# gives unlimited permission to copy, distribute and modify it. - -# Defaults: -ac_help= -ac_default_prefix=/usr/local -# Any additions from configure.in: -ac_help="$ac_help - --enable-debuglevel set internal checking level - -1 - recover from segmentation faults - 0 - no checks (fastest) - 1 - check memory leaks - 2 - check memory leaks, red zone - 3 - check memory leaks, red zone, pattern filling" -ac_help="$ac_help - --enable-graphics use graphics" -ac_help="$ac_help - --disable-utf8 disable UTF-8 terminal (saves memory)" -ac_help="$ac_help - --without-getaddrinfo compile without getaddrinfo function" -ac_help="$ac_help - --without-ipv6 compile without ipv6" -ac_help="$ac_help - --without-libevent compile without libevent" -ac_help="$ac_help - --without-gpm compile without gpm mouse" -ac_help="$ac_help - --with-ssl(=directory) enable SSL support - --with-ssl=nss enable SSL support through NSS OpenSSL emulation" -ac_help="$ac_help - --disable-ssl-pkgconfig don't use pkgconfig when searching for openssl" -ac_help="$ac_help - --without-zlib compile without zlib compression" -ac_help="$ac_help - --without-brotli compile without brotli compression" -ac_help="$ac_help - --without-bzip2 compile without bzip2 compression" -ac_help="$ac_help - --without-lzma compile without lzma compression" -ac_help="$ac_help - --without-lzip compile without lzip compression" -ac_help="$ac_help - --without-openmp compile without OpenMP" -ac_help="$ac_help - --without-svgalib compile without svgalib graphics driver" -ac_help="$ac_help - --without-x compile without X Window System graphics driver" -ac_help="$ac_help - --without-fb compile without Linux Framebuffer graphics driver" -ac_help="$ac_help - --without-directfb compile without DirectFB graphics driver" -ac_help="$ac_help - --without-pmshell compile without PMShell graphics driver" -ac_help="$ac_help - --without-windows compile without Windows graphics driver" -ac_help="$ac_help - --without-atheos compile without Atheos graphics driver" -ac_help="$ac_help - --without-grx compile without DOS GRX graphics driver" -ac_help="$ac_help - --with-x use the X Window System" -ac_help="$ac_help - --disable-png-pkgconfig don't use pkgconfig when searching for libpng" -ac_help="$ac_help - --without-libjpeg compile without JPEG support" -ac_help="$ac_help - --without-libtiff compile without TIFF support" -ac_help="$ac_help - --without-librsvg compile without SVG support" -ac_help="$ac_help - --disable-svg-pkgconfig don't use pkgconfig when searching for librsvg" - -# Initialize some variables set by options. -# The variables have the same names as the options, with -# dashes changed to underlines. -build=NONE -cache_file=./config.cache -exec_prefix=NONE -host=NONE -no_create= -nonopt=NONE -no_recursion= -prefix=NONE -program_prefix=NONE -program_suffix=NONE -program_transform_name=s,x,x, -silent= -site= -srcdir= -target=NONE -verbose= -x_includes=NONE -x_libraries=NONE -bindir='${exec_prefix}/bin' -sbindir='${exec_prefix}/sbin' -libexecdir='${exec_prefix}/libexec' -datadir='${prefix}/share' -sysconfdir='${prefix}/etc' -sharedstatedir='${prefix}/com' -localstatedir='${prefix}/var' -libdir='${exec_prefix}/lib' -includedir='${prefix}/include' -oldincludedir='/usr/include' -infodir='${prefix}/info' -mandir='${prefix}/man' - -# Initialize some other variables. -subdirs= -MFLAGS= MAKEFLAGS= -SHELL=${CONFIG_SHELL-/bin/sh} -# Maximum number of lines to put in a shell here document. -ac_max_here_lines=12 - -ac_prev= -for ac_option -do - - # If the previous option needs an argument, assign it. - if test -n "$ac_prev"; then - eval "$ac_prev=\$ac_option" - ac_prev= - continue - fi - - case "$ac_option" in - -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; - *) ac_optarg= ;; - esac - - # Accept the important Cygnus configure options, so we can diagnose typos. - - case "$ac_option" in - - -bindir | --bindir | --bindi | --bind | --bin | --bi) - ac_prev=bindir ;; - -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) - bindir="$ac_optarg" ;; - - -build | --build | --buil | --bui | --bu) - ac_prev=build ;; - -build=* | --build=* | --buil=* | --bui=* | --bu=*) - build="$ac_optarg" ;; - - -cache-file | --cache-file | --cache-fil | --cache-fi \ - | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) - ac_prev=cache_file ;; - -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ - | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) - cache_file="$ac_optarg" ;; - - -datadir | --datadir | --datadi | --datad | --data | --dat | --da) - ac_prev=datadir ;; - -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ - | --da=*) - datadir="$ac_optarg" ;; - - -disable-* | --disable-*) - ac_feature=`echo $ac_option|sed -e 's/-*disable-//'` - # Reject names that are not valid shell variable names. - if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then - { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } - fi - ac_feature=`echo $ac_feature| sed 's/-/_/g'` - eval "enable_${ac_feature}=no" ;; - - -enable-* | --enable-*) - ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'` - # Reject names that are not valid shell variable names. - if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then - { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } - fi - ac_feature=`echo $ac_feature| sed 's/-/_/g'` - case "$ac_option" in - *=*) ;; - *) ac_optarg=yes ;; - esac - eval "enable_${ac_feature}='$ac_optarg'" ;; - - -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ - | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ - | --exec | --exe | --ex) - ac_prev=exec_prefix ;; - -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ - | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ - | --exec=* | --exe=* | --ex=*) - exec_prefix="$ac_optarg" ;; - - -gas | --gas | --ga | --g) - # Obsolete; use --with-gas. - with_gas=yes ;; - - -help | --help | --hel | --he) - # Omit some internal or obsolete options to make the list less imposing. - # This message is too long to be a string in the A/UX 3.1 sh. - cat << EOF -Usage: configure [options] [host] -Options: [defaults in brackets after descriptions] -Configuration: - --cache-file=FILE cache test results in FILE - --help print this message - --no-create do not create output files - --quiet, --silent do not print \`checking...' messages - --version print the version of autoconf that created configure -Directory and file names: - --prefix=PREFIX install architecture-independent files in PREFIX - [$ac_default_prefix] - --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX - [same as prefix] - --bindir=DIR user executables in DIR [EPREFIX/bin] - --sbindir=DIR system admin executables in DIR [EPREFIX/sbin] - --libexecdir=DIR program executables in DIR [EPREFIX/libexec] - --datadir=DIR read-only architecture-independent data in DIR - [PREFIX/share] - --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc] - --sharedstatedir=DIR modifiable architecture-independent data in DIR - [PREFIX/com] - --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var] - --libdir=DIR object code libraries in DIR [EPREFIX/lib] - --includedir=DIR C header files in DIR [PREFIX/include] - --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include] - --infodir=DIR info documentation in DIR [PREFIX/info] - --mandir=DIR man documentation in DIR [PREFIX/man] - --srcdir=DIR find the sources in DIR [configure dir or ..] - --program-prefix=PREFIX prepend PREFIX to installed program names - --program-suffix=SUFFIX append SUFFIX to installed program names - --program-transform-name=PROGRAM - run sed PROGRAM on installed program names -EOF - cat << EOF -Host type: - --build=BUILD configure for building on BUILD [BUILD=HOST] - --host=HOST configure for HOST [guessed] - --target=TARGET configure for TARGET [TARGET=HOST] -Features and packages: - --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) - --enable-FEATURE[=ARG] include FEATURE [ARG=yes] - --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] - --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) - --x-includes=DIR X include files are in DIR - --x-libraries=DIR X library files are in DIR -EOF - if test -n "$ac_help"; then - echo "--enable and --with options recognized:$ac_help" - fi - exit 0 ;; - - -host | --host | --hos | --ho) - ac_prev=host ;; - -host=* | --host=* | --hos=* | --ho=*) - host="$ac_optarg" ;; - - -includedir | --includedir | --includedi | --included | --include \ - | --includ | --inclu | --incl | --inc) - ac_prev=includedir ;; - -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ - | --includ=* | --inclu=* | --incl=* | --inc=*) - includedir="$ac_optarg" ;; - - -infodir | --infodir | --infodi | --infod | --info | --inf) - ac_prev=infodir ;; - -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) - infodir="$ac_optarg" ;; - - -libdir | --libdir | --libdi | --libd) - ac_prev=libdir ;; - -libdir=* | --libdir=* | --libdi=* | --libd=*) - libdir="$ac_optarg" ;; - - -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ - | --libexe | --libex | --libe) - ac_prev=libexecdir ;; - -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ - | --libexe=* | --libex=* | --libe=*) - libexecdir="$ac_optarg" ;; - - -localstatedir | --localstatedir | --localstatedi | --localstated \ - | --localstate | --localstat | --localsta | --localst \ - | --locals | --local | --loca | --loc | --lo) - ac_prev=localstatedir ;; - -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ - | --localstate=* | --localstat=* | --localsta=* | --localst=* \ - | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) - localstatedir="$ac_optarg" ;; - - -mandir | --mandir | --mandi | --mand | --man | --ma | --m) - ac_prev=mandir ;; - -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) - mandir="$ac_optarg" ;; - - -nfp | --nfp | --nf) - # Obsolete; use --without-fp. - with_fp=no ;; - - -no-create | --no-create | --no-creat | --no-crea | --no-cre \ - | --no-cr | --no-c) - no_create=yes ;; - - -no-recursion | --no-recursion | --no-recursio | --no-recursi \ - | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) - no_recursion=yes ;; - - -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ - | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ - | --oldin | --oldi | --old | --ol | --o) - ac_prev=oldincludedir ;; - -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ - | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ - | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) - oldincludedir="$ac_optarg" ;; - - -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) - ac_prev=prefix ;; - -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) - prefix="$ac_optarg" ;; - - -program-prefix | --program-prefix | --program-prefi | --program-pref \ - | --program-pre | --program-pr | --program-p) - ac_prev=program_prefix ;; - -program-prefix=* | --program-prefix=* | --program-prefi=* \ - | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) - program_prefix="$ac_optarg" ;; - - -program-suffix | --program-suffix | --program-suffi | --program-suff \ - | --program-suf | --program-su | --program-s) - ac_prev=program_suffix ;; - -program-suffix=* | --program-suffix=* | --program-suffi=* \ - | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) - program_suffix="$ac_optarg" ;; - - -program-transform-name | --program-transform-name \ - | --program-transform-nam | --program-transform-na \ - | --program-transform-n | --program-transform- \ - | --program-transform | --program-transfor \ - | --program-transfo | --program-transf \ - | --program-trans | --program-tran \ - | --progr-tra | --program-tr | --program-t) - ac_prev=program_transform_name ;; - -program-transform-name=* | --program-transform-name=* \ - | --program-transform-nam=* | --program-transform-na=* \ - | --program-transform-n=* | --program-transform-=* \ - | --program-transform=* | --program-transfor=* \ - | --program-transfo=* | --program-transf=* \ - | --program-trans=* | --program-tran=* \ - | --progr-tra=* | --program-tr=* | --program-t=*) - program_transform_name="$ac_optarg" ;; - - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ - | -silent | --silent | --silen | --sile | --sil) - silent=yes ;; - - -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) - ac_prev=sbindir ;; - -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ - | --sbi=* | --sb=*) - sbindir="$ac_optarg" ;; - - -sharedstatedir | --sharedstatedir | --sharedstatedi \ - | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ - | --sharedst | --shareds | --shared | --share | --shar \ - | --sha | --sh) - ac_prev=sharedstatedir ;; - -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ - | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ - | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ - | --sha=* | --sh=*) - sharedstatedir="$ac_optarg" ;; - - -site | --site | --sit) - ac_prev=site ;; - -site=* | --site=* | --sit=*) - site="$ac_optarg" ;; - - -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) - ac_prev=srcdir ;; - -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) - srcdir="$ac_optarg" ;; - - -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ - | --syscon | --sysco | --sysc | --sys | --sy) - ac_prev=sysconfdir ;; - -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ - | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) - sysconfdir="$ac_optarg" ;; - - -target | --target | --targe | --targ | --tar | --ta | --t) - ac_prev=target ;; - -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) - target="$ac_optarg" ;; - - -v | -verbose | --verbose | --verbos | --verbo | --verb) - verbose=yes ;; - - -version | --version | --versio | --versi | --vers) - echo "configure generated by autoconf version 2.13" - exit 0 ;; - - -with-* | --with-*) - ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` - # Reject names that are not valid shell variable names. - if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then - { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } - fi - ac_package=`echo $ac_package| sed 's/-/_/g'` - case "$ac_option" in - *=*) ;; - *) ac_optarg=yes ;; - esac - eval "with_${ac_package}='$ac_optarg'" ;; - - -without-* | --without-*) - ac_package=`echo $ac_option|sed -e 's/-*without-//'` - # Reject names that are not valid shell variable names. - if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then - { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } - fi - ac_package=`echo $ac_package| sed 's/-/_/g'` - eval "with_${ac_package}=no" ;; - - --x) - # Obsolete; use --with-x. - with_x=yes ;; - - -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ - | --x-incl | --x-inc | --x-in | --x-i) - ac_prev=x_includes ;; - -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ - | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) - x_includes="$ac_optarg" ;; - - -x-libraries | --x-libraries | --x-librarie | --x-librari \ - | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) - ac_prev=x_libraries ;; - -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ - | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) - x_libraries="$ac_optarg" ;; - - -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; } - ;; - - *) - if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then - echo "configure: warning: $ac_option: invalid host type" 1>&2 - fi - if test "x$nonopt" != xNONE; then - { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } - fi - nonopt="$ac_option" - ;; - - esac -done - -if test -n "$ac_prev"; then - { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; } -fi - -trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 - -# File descriptor usage: -# 0 standard input -# 1 file creation -# 2 errors and warnings -# 3 some systems may open it to /dev/tty -# 4 used on the Kubota Titan -# 6 checking for... messages and results -# 5 compiler messages saved in config.log -if test "$silent" = yes; then - exec 6>/dev/null -else - exec 6>&1 -fi -exec 5>./config.log - -echo "\ -This file contains any messages produced by compilers while -running configure, to aid debugging if configure makes a mistake. -" 1>&5 - -# Strip out --no-create and --no-recursion so they do not pile up. -# Also quote any args containing shell metacharacters. -ac_configure_args= -for ac_arg -do - case "$ac_arg" in - -no-create | --no-create | --no-creat | --no-crea | --no-cre \ - | --no-cr | --no-c) ;; - -no-recursion | --no-recursion | --no-recursio | --no-recursi \ - | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*) - ac_configure_args="$ac_configure_args '$ac_arg'" ;; - *) ac_configure_args="$ac_configure_args $ac_arg" ;; - esac -done - -# NLS nuisances. -# Only set these to C if already set. These must not be set unconditionally -# because not all systems understand e.g. LANG=C (notably SCO). -# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! -# Non-C LC_CTYPE values break the ctype check. -if test "${LANG+set}" = set; then LANG=C; export LANG; fi -if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi -if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi -if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi - -# confdefs.h avoids OS command line length limits that DEFS can exceed. -rm -rf conftest* confdefs.h -# AIX cpp loses on an empty file, so make sure it contains at least a newline. -echo > confdefs.h - -# A filename unique to this package, relative to the directory that -# configure is in, which we can look for to find out if srcdir is correct. -ac_unique_file=main.c - -# Find the source files, if location was not specified. -if test -z "$srcdir"; then - ac_srcdir_defaulted=yes - # Try the directory containing this script, then its parent. - ac_prog=$0 - ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` - test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. - srcdir=$ac_confdir - if test ! -r $srcdir/$ac_unique_file; then - srcdir=.. - fi -else - ac_srcdir_defaulted=no -fi -if test ! -r $srcdir/$ac_unique_file; then - if test "$ac_srcdir_defaulted" = yes; then - { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; } - else - { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; } - fi -fi -srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` - -# Prefer explicitly selected file to automatically selected ones. -if test -z "$CONFIG_SITE"; then - if test "x$prefix" != xNONE; then - CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" - else - CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" - fi -fi -for ac_site_file in $CONFIG_SITE; do - if test -r "$ac_site_file"; then - echo "loading site script $ac_site_file" - . "$ac_site_file" - fi -done - -if test -r "$cache_file"; then - echo "loading cache $cache_file" - . $cache_file -else - echo "creating cache $cache_file" - > $cache_file -fi - -ac_ext=c -# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. -ac_cpp='$CPP $CPPFLAGS' -ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' -ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' -cross_compiling=$ac_cv_prog_cc_cross - -ac_exeext= -ac_objext=o -if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then - # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. - if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then - ac_n= ac_c=' -' ac_t=' ' - else - ac_n=-n ac_c= ac_t= - fi -else - ac_n= ac_c='\c' ac_t= -fi - - - -ac_aux_dir= -for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do - if test -f $ac_dir/install-sh; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/install-sh -c" - break - elif test -f $ac_dir/install.sh; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/install.sh -c" - break - fi -done -if test -z "$ac_aux_dir"; then - { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; } -fi -ac_config_guess=$ac_aux_dir/config.guess -ac_config_sub=$ac_aux_dir/config.sub -ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. - -am__api_version="1.4" -# Find a good install program. We prefer a C program (faster), -# so one script is as good as another. But avoid the broken or -# incompatible versions: -# SysV /etc/install, /usr/sbin/install -# SunOS /usr/etc/install -# IRIX /sbin/install -# AIX /bin/install -# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag -# AFS /usr/afsws/bin/install, which mishandles nonexistent args -# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" -# ./install, which can be erroneously created by make from ./install.sh. -echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 -echo "configure:622: checking for a BSD compatible install" >&5 -if test -z "$INSTALL"; then -if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" - for ac_dir in $PATH; do - # Account for people who put trailing slashes in PATH elements. - case "$ac_dir/" in - /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; - *) - # OSF1 and SCO ODT 3.0 have their own names for install. - # Don't use installbsd from OSF since it installs stuff as root - # by default. - for ac_prog in ginstall scoinst install; do - if test -f $ac_dir/$ac_prog; then - if test $ac_prog = install && - grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then - # AIX install. It has an incompatible calling convention. - : - else - ac_cv_path_install="$ac_dir/$ac_prog -c" - break 2 - fi - fi - done - ;; - esac - done - IFS="$ac_save_IFS" - -fi - if test "${ac_cv_path_install+set}" = set; then - INSTALL="$ac_cv_path_install" - else - # As a last resort, use the slow shell script. We don't cache a - # path for INSTALL within a source directory, because that will - # break other packages using the cache if that directory is - # removed, or if the path is relative. - INSTALL="$ac_install_sh" - fi -fi -echo "$ac_t""$INSTALL" 1>&6 - -# Use test -z because SunOS4 sh mishandles braces in ${var-val}. -# It thinks the first close brace ends the variable substitution. -test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' - -test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' - -test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' - -echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 -echo "configure:675: checking whether build environment is sane" >&5 -# Just in case -sleep 1 -echo timestamp > conftestfile -# Do `set' in a subshell so we don't clobber the current shell's -# arguments. Must try -L first in case configure is actually a -# symlink; some systems play weird games with the mod time of symlinks -# (eg FreeBSD returns the mod time of the symlink's containing -# directory). -if ( - set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null` - if test "$*" = "X"; then - # -L didn't work. - set X `ls -t $srcdir/configure conftestfile` - fi - if test "$*" != "X $srcdir/configure conftestfile" \ - && test "$*" != "X conftestfile $srcdir/configure"; then - - # If neither matched, then we have a broken ls. This can happen - # if, for instance, CONFIG_SHELL is bash and it inherits a - # broken ls alias from the environment. This has actually - # happened. Such a system could not be considered "sane". - { echo "configure: error: ls -t appears to fail. Make sure there is not a broken -alias in your environment" 1>&2; exit 1; } - fi - - test "$2" = conftestfile - ) -then - # Ok. - : -else - { echo "configure: error: newly created file is older than distributed files! -Check your system clock" 1>&2; exit 1; } -fi -rm -f conftest* -echo "$ac_t""yes" 1>&6 -if test "$program_transform_name" = s,x,x,; then - program_transform_name= -else - # Double any \ or $. echo might interpret backslashes. - cat <<\EOF_SED > conftestsed -s,\\,\\\\,g; s,\$,$$,g -EOF_SED - program_transform_name="`echo $program_transform_name|sed -f conftestsed`" - rm -f conftestsed -fi -test "$program_prefix" != NONE && - program_transform_name="s,^,${program_prefix},; $program_transform_name" -# Use a double $ so make ignores it. -test "$program_suffix" != NONE && - program_transform_name="s,\$\$,${program_suffix},; $program_transform_name" - -# sed with no file args requires a program. -test "$program_transform_name" = "" && program_transform_name="s,x,x," - -echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 -echo "configure:732: checking whether ${MAKE-make} sets \${MAKE}" >&5 -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` -if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftestmake <<\EOF -all: - @echo 'ac_maketemp="${MAKE}"' -EOF -# GNU make sometimes prints "make[1]: Entering...", which would confuse us. -eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=` -if test -n "$ac_maketemp"; then - eval ac_cv_prog_make_${ac_make}_set=yes -else - eval ac_cv_prog_make_${ac_make}_set=no -fi -rm -f conftestmake -fi -if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then - echo "$ac_t""yes" 1>&6 - SET_MAKE= -else - echo "$ac_t""no" 1>&6 - SET_MAKE="MAKE=${MAKE-make}" -fi - - -PACKAGE=links - -VERSION=2.15 - -if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then - { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } -fi -cat >> confdefs.h <<EOF -#define PACKAGE "$PACKAGE" -EOF - -cat >> confdefs.h <<EOF -#define VERSION "$VERSION" -EOF - - - -missing_dir=`cd $ac_aux_dir && pwd` -echo $ac_n "checking for working aclocal-${am__api_version}""... $ac_c" 1>&6 -echo "configure:778: checking for working aclocal-${am__api_version}" >&5 -# Run test in a subshell; some versions of sh will print an error if -# an executable is not found, even if stderr is redirected. -# Redirect stdin to placate older versions of autoconf. Sigh. -if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then - ACLOCAL=aclocal-${am__api_version} - echo "$ac_t""found" 1>&6 -else - ACLOCAL="$missing_dir/missing aclocal-${am__api_version}" - echo "$ac_t""missing" 1>&6 -fi - -echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 -echo "configure:791: checking for working autoconf" >&5 -# Run test in a subshell; some versions of sh will print an error if -# an executable is not found, even if stderr is redirected. -# Redirect stdin to placate older versions of autoconf. Sigh. -if (autoconf --version) < /dev/null > /dev/null 2>&1; then - AUTOCONF=autoconf - echo "$ac_t""found" 1>&6 -else - AUTOCONF="$missing_dir/missing autoconf" - echo "$ac_t""missing" 1>&6 -fi - -echo $ac_n "checking for working automake-${am__api_version}""... $ac_c" 1>&6 -echo "configure:804: checking for working automake-${am__api_version}" >&5 -# Run test in a subshell; some versions of sh will print an error if -# an executable is not found, even if stderr is redirected. -# Redirect stdin to placate older versions of autoconf. Sigh. -if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then - AUTOMAKE=automake-${am__api_version} - echo "$ac_t""found" 1>&6 -else - AUTOMAKE="$missing_dir/missing automake-${am__api_version}" - echo "$ac_t""missing" 1>&6 -fi - -echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 -echo "configure:817: checking for working autoheader" >&5 -# Run test in a subshell; some versions of sh will print an error if -# an executable is not found, even if stderr is redirected. -# Redirect stdin to placate older versions of autoconf. Sigh. -if (autoheader --version) < /dev/null > /dev/null 2>&1; then - AUTOHEADER=autoheader - echo "$ac_t""found" 1>&6 -else - AUTOHEADER="$missing_dir/missing autoheader" - echo "$ac_t""missing" 1>&6 -fi - -echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 -echo "configure:830: checking for working makeinfo" >&5 -# Run test in a subshell; some versions of sh will print an error if -# an executable is not found, even if stderr is redirected. -# Redirect stdin to placate older versions of autoconf. Sigh. -if (makeinfo --version) < /dev/null > /dev/null 2>&1; then - MAKEINFO=makeinfo - echo "$ac_t""found" 1>&6 -else - MAKEINFO="$missing_dir/missing makeinfo" - echo "$ac_t""missing" 1>&6 -fi - - - -ACLOCAL="./missing aclocal" -AUTOCONF="./missing autoconf" -AUTOMAKE="./missing automake" -AUTOHEADER="./missing autoheader" - -export CC -export CPPFLAGS -export CFLAGS -export LDFLAGS -export LIBS - - - - - -# Extract the first word of "gcc", so it can be a program name with args. -set dummy gcc; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:862: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_prog_CC="gcc" - break - fi - done - IFS="$ac_save_ifs" -fi -fi -CC="$ac_cv_prog_CC" -if test -n "$CC"; then - echo "$ac_t""$CC" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - -if test -z "$CC"; then - # Extract the first word of "cc", so it can be a program name with args. -set dummy cc; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:892: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_prog_rejected=no - ac_dummy="$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then - ac_prog_rejected=yes - continue - fi - ac_cv_prog_CC="cc" - break - fi - done - IFS="$ac_save_ifs" -if test $ac_prog_rejected = yes; then - # We found a bogon in the path, so make sure we never use it. - set dummy $ac_cv_prog_CC - shift - if test $# -gt 0; then - # We chose a different compiler from the bogus one. - # However, it has the same basename, so the bogon will be chosen - # first if we set CC to just the basename; use the full file name. - shift - set dummy "$ac_dir/$ac_word" "$@" - shift - ac_cv_prog_CC="$@" - fi -fi -fi -fi -CC="$ac_cv_prog_CC" -if test -n "$CC"; then - echo "$ac_t""$CC" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - if test -z "$CC"; then - case "`uname -s`" in - *win32* | *WIN32*) - # Extract the first word of "cl", so it can be a program name with args. -set dummy cl; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:943: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_prog_CC="cl" - break - fi - done - IFS="$ac_save_ifs" -fi -fi -CC="$ac_cv_prog_CC" -if test -n "$CC"; then - echo "$ac_t""$CC" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - ;; - esac - fi - test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } -fi - -echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 -echo "configure:975: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 - -ac_ext=c -# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. -ac_cpp='$CPP $CPPFLAGS' -ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' -ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' -cross_compiling=$ac_cv_prog_cc_cross - -cat > conftest.$ac_ext << EOF - -#line 986 "configure" -#include "confdefs.h" - -main(){return(0);} -EOF -if { (eval echo configure:991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - ac_cv_prog_cc_works=yes - # If we can't run a trivial program, we are probably using a cross compiler. - if (./conftest; exit) 2>/dev/null; then - ac_cv_prog_cc_cross=no - else - ac_cv_prog_cc_cross=yes - fi -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - ac_cv_prog_cc_works=no -fi -rm -fr conftest* -ac_ext=c -# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. -ac_cpp='$CPP $CPPFLAGS' -ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' -ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' -cross_compiling=$ac_cv_prog_cc_cross - -echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 -if test $ac_cv_prog_cc_works = no; then - { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } -fi -echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 -echo "configure:1017: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 -echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 -cross_compiling=$ac_cv_prog_cc_cross - -echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 -echo "configure:1022: checking whether we are using GNU C" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.c <<EOF -#ifdef __GNUC__ - yes; -#endif -EOF -if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1031: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then - ac_cv_prog_gcc=yes -else - ac_cv_prog_gcc=no -fi -fi - -echo "$ac_t""$ac_cv_prog_gcc" 1>&6 - -if test $ac_cv_prog_gcc = yes; then - GCC=yes -else - GCC= -fi - -ac_test_CFLAGS="${CFLAGS+set}" -ac_save_CFLAGS="$CFLAGS" -CFLAGS= -echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 -echo "configure:1050: checking whether ${CC-cc} accepts -g" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - echo 'void f(){}' > conftest.c -if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then - ac_cv_prog_cc_g=yes -else - ac_cv_prog_cc_g=no -fi -rm -f conftest* - -fi - -echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 -if test "$ac_test_CFLAGS" = set; then - CFLAGS="$ac_save_CFLAGS" -elif test $ac_cv_prog_cc_g = yes; then - if test "$GCC" = yes; then - CFLAGS="-g -O2" - else - CFLAGS="-g" - fi -else - if test "$GCC" = yes; then - CFLAGS="-O2" - else - CFLAGS= - fi -fi - - - -image_formats="GIF PNG XBM" - -static_link=0 -if test -n "`echo "$CC" "$LDFLAGS" "$CFLAGS" "$LIBS" | grep 'static\>'`"; then - static_link=1 -fi - -if test -n "`uname|grep -i bsd`"; then - CPPFLAGS="$CPPFLAGS -I/usr/local/include" - LDFLAGS="$LDFLAGS -L/usr/local/lib" -fi - -echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 -echo "configure:1096: checking how to run the C preprocessor" >&5 -# On Suns, sometimes $CPP names a directory. -if test -n "$CPP" && test -d "$CPP"; then - CPP= -fi -if test -z "$CPP"; then -if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - # This must be in double quotes, not single quotes, because CPP may get - # substituted into the Makefile and "${CC-cc}" will confuse make. - CPP="${CC-cc} -E" - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. - cat > conftest.$ac_ext <<EOF -#line 1111 "configure" -#include "confdefs.h" -#include <assert.h> -Syntax Error -EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1117: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` -if test -z "$ac_err"; then - : -else - echo "$ac_err" >&5 - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - CPP="${CC-cc} -E -traditional-cpp" - cat > conftest.$ac_ext <<EOF -#line 1128 "configure" -#include "confdefs.h" -#include <assert.h> -Syntax Error -EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1134: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` -if test -z "$ac_err"; then - : -else - echo "$ac_err" >&5 - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - CPP="${CC-cc} -nologo -E" - cat > conftest.$ac_ext <<EOF -#line 1145 "configure" -#include "confdefs.h" -#include <assert.h> -Syntax Error -EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1151: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` -if test -z "$ac_err"; then - : -else - echo "$ac_err" >&5 - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - CPP=/lib/cpp -fi -rm -f conftest* -fi -rm -f conftest* -fi -rm -f conftest* - ac_cv_prog_CPP="$CPP" -fi - CPP="$ac_cv_prog_CPP" -else - ac_cv_prog_CPP="$CPP" -fi -echo "$ac_t""$CPP" 1>&6 - -echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 -echo "configure:1176: checking for ANSI C header files" >&5 -if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 1181 "configure" -#include "confdefs.h" -#include <stdlib.h> -#include <stdarg.h> -#include <string.h> -#include <float.h> -EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1189: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` -if test -z "$ac_err"; then - rm -rf conftest* - ac_cv_header_stdc=yes -else - echo "$ac_err" >&5 - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_header_stdc=no -fi -rm -f conftest* - -if test $ac_cv_header_stdc = yes; then - # SunOS 4.x string.h does not declare mem*, contrary to ANSI. -cat > conftest.$ac_ext <<EOF -#line 1206 "configure" -#include "confdefs.h" -#include <string.h> -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "memchr" >/dev/null 2>&1; then - : -else - rm -rf conftest* - ac_cv_header_stdc=no -fi -rm -f conftest* - -fi - -if test $ac_cv_header_stdc = yes; then - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. -cat > conftest.$ac_ext <<EOF -#line 1224 "configure" -#include "confdefs.h" -#include <stdlib.h> -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "free" >/dev/null 2>&1; then - : -else - rm -rf conftest* - ac_cv_header_stdc=no -fi -rm -f conftest* - -fi - -if test $ac_cv_header_stdc = yes; then - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. -if test "$cross_compiling" = yes; then - : -else - cat > conftest.$ac_ext <<EOF -#line 1245 "configure" -#include "confdefs.h" -#include <ctype.h> -#define ISLOWER(c) ('a' <= (c) && (c) <= 'z') -#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) -int main () { int i; for (i = 0; i < 256; i++) -if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); -exit (0); } - -EOF -if { (eval echo configure:1256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null -then - : -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -fr conftest* - ac_cv_header_stdc=no -fi -rm -fr conftest* -fi - -fi -fi - -echo "$ac_t""$ac_cv_header_stdc" 1>&6 -if test $ac_cv_header_stdc = yes; then - cat >> confdefs.h <<\EOF -#define STDC_HEADERS 1 -EOF - -fi - -if test $ac_cv_prog_gcc = yes; then - echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 -echo "configure:1281: checking whether ${CC-cc} needs -traditional" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - ac_pattern="Autoconf.*'x'" - cat > conftest.$ac_ext <<EOF -#line 1287 "configure" -#include "confdefs.h" -#include <sgtty.h> -Autoconf TIOCGETP -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "$ac_pattern" >/dev/null 2>&1; then - rm -rf conftest* - ac_cv_prog_gcc_traditional=yes -else - rm -rf conftest* - ac_cv_prog_gcc_traditional=no -fi -rm -f conftest* - - - if test $ac_cv_prog_gcc_traditional = no; then - cat > conftest.$ac_ext <<EOF -#line 1305 "configure" -#include "confdefs.h" -#include <termio.h> -Autoconf TCGETA -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "$ac_pattern" >/dev/null 2>&1; then - rm -rf conftest* - ac_cv_prog_gcc_traditional=yes -fi -rm -f conftest* - - fi -fi - -echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6 - if test $ac_cv_prog_gcc_traditional = yes; then - CC="$CC -traditional" - fi -fi - - - -echo $ac_n "checking for EMX""... $ac_c" 1>&6 -echo "configure:1329: checking for EMX" >&5 -if eval "test \"`echo '$''{'ac_cv_have_emx'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 1334 "configure" -#include "confdefs.h" - -int main() { -#ifndef __EMX__ - kill me! - #endif -; return 0; } -EOF -if { (eval echo configure:1343: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - ac_cv_have_emx=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_have_emx=no -fi -rm -f conftest* - -fi - -echo "$ac_t""$ac_cv_have_emx" 1>&6 -test "$ac_cv_have_emx" = yes && LDFLAGS="`echo "$LDFLAGS" | sed "s/-Zexe//g" | sed "s/-Zbin-files//g"`" -test "$ac_cv_have_emx" = yes && test "$static_link" = 0 && LDFLAGS="$LDFLAGS -Zcrtdll" - -echo $ac_n "checking for OpenWatcom""... $ac_c" 1>&6 -echo "configure:1361: checking for OpenWatcom" >&5 -if eval "test \"`echo '$''{'ac_cv_have_watcom'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 1366 "configure" -#include "confdefs.h" - -int main() { -#ifndef __WATCOMC__ - kill me! - #endif -; return 0; } -EOF -if { (eval echo configure:1375: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - ac_cv_have_watcom=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_have_watcom=no -fi -rm -f conftest* - -fi - -echo "$ac_t""$ac_cv_have_watcom" 1>&6 -test "$ac_cv_have_watcom" = yes && ac_cv_lib_dir_opendir=no - -echo $ac_n "checking for DJGPP""... $ac_c" 1>&6 -echo "configure:1392: checking for DJGPP" >&5 -if eval "test \"`echo '$''{'ac_cv_have_djgpp'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 1397 "configure" -#include "confdefs.h" - -int main() { -#ifndef __DJGPP - kill me! - #endif -; return 0; } -EOF -if { (eval echo configure:1406: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - ac_cv_have_djgpp=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_have_djgpp=no -fi -rm -f conftest* - -fi - -echo "$ac_t""$ac_cv_have_djgpp" 1>&6 - -if test "$ac_cv_have_djgpp" = yes; then - static_link=1 - test -n "$DJDIR" && test -d "$DJDIR/net/watt/inc" && CPPFLAGS="-I$DJDIR/net/watt/inc $CPPFLAGS" - test -n "$DJDIR" && test -d "$DJDIR/net/watt/lib" && LDFLAGS="-L$DJDIR/net/watt/lib $LDFLAGS" -fi - -echo $ac_n "checking for volatile""... $ac_c" 1>&6 -echo "configure:1428: checking for volatile" >&5 -if eval "test \"`echo '$''{'ac_cv_have_volatile'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 1433 "configure" -#include "confdefs.h" - -int main() { - - volatile int a = 0; - return a; - -; return 0; } -EOF -if { (eval echo configure:1443: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - ac_cv_have_volatile=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_have_volatile=no -fi -rm -f conftest* - -fi - -echo "$ac_t""$ac_cv_have_volatile" 1>&6 -if test "$ac_cv_have_volatile" = yes; then - cat >> confdefs.h <<\EOF -#define HAVE_VOLATILE 1 -EOF - -fi - -echo $ac_n "checking for restrict""... $ac_c" 1>&6 -echo "configure:1465: checking for restrict" >&5 -if eval "test \"`echo '$''{'ac_cv_have_restrict'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 1470 "configure" -#include "confdefs.h" - - static void f(int * restrict a, int * restrict b) - { - } - -int main() { - - int a, b; - f(&a, &b); - return 0; - -; return 0; } -EOF -if { (eval echo configure:1485: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - ac_cv_have_restrict=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_have_restrict=no -fi -rm -f conftest* - -fi - -echo "$ac_t""$ac_cv_have_restrict" 1>&6 -if test "$ac_cv_have_restrict" = yes; then - cat >> confdefs.h <<\EOF -#define HAVE_RESTRICT 1 -EOF - -fi - -echo $ac_n "checking for __restrict""... $ac_c" 1>&6 -echo "configure:1507: checking for __restrict" >&5 -if eval "test \"`echo '$''{'ac_cv_have___restrict'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 1512 "configure" -#include "confdefs.h" - - static void f(int * __restrict a, int * __restrict b) - { - } - -int main() { - - int a, b; - f(&a, &b); - return 0; - -; return 0; } -EOF -if { (eval echo configure:1527: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - ac_cv_have___restrict=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_have___restrict=no -fi -rm -f conftest* - -fi - -echo "$ac_t""$ac_cv_have___restrict" 1>&6 -if test "$ac_cv_have___restrict" = yes; then - cat >> confdefs.h <<\EOF -#define HAVE___RESTRICT 1 -EOF - -fi - -echo $ac_n "checking for long long""... $ac_c" 1>&6 -echo "configure:1549: checking for long long" >&5 -if eval "test \"`echo '$''{'ac_cv_have_long_long'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 1554 "configure" -#include "confdefs.h" - -int main() { -unsigned long long a; -; return 0; } -EOF -if { (eval echo configure:1561: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - ac_cv_have_long_long=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_have_long_long=no -fi -rm -f conftest* - -fi - -echo "$ac_t""$ac_cv_have_long_long" 1>&6 -test "$ac_cv_have_long_long" = yes && cat >> confdefs.h <<\EOF -#define HAVE_LONG_LONG 1 -EOF - - -echo $ac_n "checking for pointer comparison bug""... $ac_c" 1>&6 -echo "configure:1581: checking for pointer comparison bug" >&5 -if eval "test \"`echo '$''{'ac_cv_pointer_comparison_bug'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - if test "$cross_compiling" = yes; then - if test -n "`echo "$CC"|grep ^tcc`"; then - ac_cv_pointer_comparison_bug=yes - else - ac_cv_pointer_comparison_bug=no - fi - -else - cat > conftest.$ac_ext <<EOF -#line 1594 "configure" -#include "confdefs.h" - - int main() - { - void *p = (void *)-1L; - return p != (void *)-1L; - } - -EOF -if { (eval echo configure:1604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null -then - ac_cv_pointer_comparison_bug=no -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -fr conftest* - ac_cv_pointer_comparison_bug=yes -fi -rm -fr conftest* -fi - - -fi - -echo "$ac_t""$ac_cv_pointer_comparison_bug" 1>&6 -test "$ac_cv_pointer_comparison_bug" = yes && cat >> confdefs.h <<\EOF -#define HAVE_POINTER_COMPARISON_BUG 1 -EOF - - -if test "$ac_cv_have_long_long" = yes -a "$ac_cv_have_volatile" = yes; then - echo $ac_n "checking for maxint conversion bug""... $ac_c" 1>&6 -echo "configure:1627: checking for maxint conversion bug" >&5 -if eval "test \"`echo '$''{'ac_cv_maxint_conversion_bug'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - if test "$cross_compiling" = yes; then - if test -n "`echo "$CC"|grep ^cc`" -a "`uname -s`" = HP-UX; then - ac_cv_maxint_conversion_bug=yes - else - ac_cv_maxint_conversion_bug=no - fi - -else - cat > conftest.$ac_ext <<EOF -#line 1640 "configure" -#include "confdefs.h" - - int main() - { - volatile long long q = 0x7FFFFFEF; - return q < 0; - } - -EOF -if { (eval echo configure:1650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null -then - ac_cv_maxint_conversion_bug=no -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -fr conftest* - ac_cv_maxint_conversion_bug=yes -fi -rm -fr conftest* -fi - - -fi - -echo "$ac_t""$ac_cv_maxint_conversion_bug" 1>&6 - test "$ac_cv_maxint_conversion_bug" = yes && cat >> confdefs.h <<\EOF -#define HAVE_MAXINT_CONVERSION_BUG 1 -EOF - -fi - - -echo $ac_n "checking for stdlib.h""... $ac_c" 1>&6 -echo "configure:1674: checking for stdlib.h" >&5 -if eval "test \"`echo '$''{'ac_cv_have_stdlib_h'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 1679 "configure" -#include "confdefs.h" -#include <stdlib.h> -int main() { - -; return 0; } -EOF -if { (eval echo configure:1686: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - ac_cv_have_stdlib_h=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_have_stdlib_h=no -fi -rm -f conftest* - -fi - -echo "$ac_t""$ac_cv_have_stdlib_h" 1>&6 -if test "$ac_cv_have_stdlib_h" = yes; then - cat >> confdefs.h <<\EOF -#define HAVE_STDLIB_H_X 1 -EOF - -fi - - -ac_header_dirent=no -for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h -do -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` -echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6 -echo "configure:1713: checking for $ac_hdr that defines DIR" >&5 -if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 1718 "configure" -#include "confdefs.h" -#include <sys/types.h> -#include <$ac_hdr> -int main() { -DIR *dirp = 0; -; return 0; } -EOF -if { (eval echo configure:1726: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - eval "ac_cv_header_dirent_$ac_safe=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_header_dirent_$ac_safe=no" -fi -rm -f conftest* -fi -if eval "test \"`echo '$ac_cv_header_dirent_'$ac_safe`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` - cat >> confdefs.h <<EOF -#define $ac_tr_hdr 1 -EOF - ac_header_dirent=$ac_hdr; break -else - echo "$ac_t""no" 1>&6 -fi -done -# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. -if test $ac_header_dirent = dirent.h; then -echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6 -echo "configure:1751: checking for opendir in -ldir" >&5 -ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'` -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - ac_save_LIBS="$LIBS" -LIBS="-ldir $LIBS" -cat > conftest.$ac_ext <<EOF -#line 1759 "configure" -#include "confdefs.h" -/* Override any gcc2 internal prototype to avoid an error. */ -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char opendir(); - -int main() { -opendir() -; return 0; } -EOF -if { (eval echo configure:1770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=no" -fi -rm -f conftest* -LIBS="$ac_save_LIBS" - -fi -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then - echo "$ac_t""yes" 1>&6 - LIBS="$LIBS -ldir" -else - echo "$ac_t""no" 1>&6 -fi - -else -echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 -echo "configure:1792: checking for opendir in -lx" >&5 -ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'` -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - ac_save_LIBS="$LIBS" -LIBS="-lx $LIBS" -cat > conftest.$ac_ext <<EOF -#line 1800 "configure" -#include "confdefs.h" -/* Override any gcc2 internal prototype to avoid an error. */ -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char opendir(); - -int main() { -opendir() -; return 0; } -EOF -if { (eval echo configure:1811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=no" -fi -rm -f conftest* -LIBS="$ac_save_LIBS" - -fi -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then - echo "$ac_t""yes" 1>&6 - LIBS="$LIBS -lx" -else - echo "$ac_t""no" 1>&6 -fi - -fi - -echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 -echo "configure:1834: checking for sys/wait.h that is POSIX.1 compatible" >&5 -if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 1839 "configure" -#include "confdefs.h" -#include <sys/types.h> -#include <sys/wait.h> -#ifndef WEXITSTATUS -#define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) -#endif -#ifndef WIFEXITED -#define WIFEXITED(stat_val) (((stat_val) & 255) == 0) -#endif -int main() { -int s; -wait (&s); -s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; -; return 0; } -EOF -if { (eval echo configure:1855: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - ac_cv_header_sys_wait_h=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_header_sys_wait_h=no -fi -rm -f conftest* -fi - -echo "$ac_t""$ac_cv_header_sys_wait_h" 1>&6 -if test $ac_cv_header_sys_wait_h = yes; then - cat >> confdefs.h <<\EOF -#define HAVE_SYS_WAIT_H 1 -EOF - -fi - -for ac_hdr in alloca.h arpa/inet.h cygwin/process.h cygwin/version.h fcntl.h grp.h ieee.h interix/interix.h inttypes.h io.h langinfo.h limits.h linux/falloc.h locale.h malloc.h math.h net/socket.h netinet/in_system.h netinet/in_systm.h netinet/ip.h poll.h process.h pwd.h search.h setjmp.h sgtty.h stdarg.h string.h strings.h sys/cygwin.h sys/file.h sys/fmutex.h sys/ioctl.h sys/resource.h sys/select.h sys/time.h sys/un.h sys/utsname.h termios.h time.h umalloc.h unistd.h unixlib.h utime.h uwin.h values.h -do -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:1879: checking for $ac_hdr" >&5 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 1884 "configure" -#include "confdefs.h" -#include <$ac_hdr> -EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1889: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` -if test -z "$ac_err"; then - rm -rf conftest* - eval "ac_cv_header_$ac_safe=yes" -else - echo "$ac_err" >&5 - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_header_$ac_safe=no" -fi -rm -f conftest* -fi -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` - cat >> confdefs.h <<EOF -#define $ac_tr_hdr 1 -EOF - -else - echo "$ac_t""no" 1>&6 -fi -done - - -if test "$ac_cv_header_stdarg_h" != yes; then - { echo "configure: error: stdarg.h not present" 1>&2; exit 1; } -fi - -echo $ac_n "checking for working const""... $ac_c" 1>&6 -echo "configure:1921: checking for working const" >&5 -if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 1926 "configure" -#include "confdefs.h" - -int main() { - -/* Ultrix mips cc rejects this. */ -typedef int charset[2]; const charset x; -/* SunOS 4.1.1 cc rejects this. */ -char const *const *ccp; -char **p; -/* NEC SVR4.0.2 mips cc rejects this. */ -struct point {int x, y;}; -static struct point const zero = {0,0}; -/* AIX XL C 1.02.0.0 rejects this. - It does not let you subtract one const X* pointer from another in an arm - of an if-expression whose if-part is not a constant expression */ -const char *g = "string"; -ccp = &g + (g ? g-g : 0); -/* HPUX 7.0 cc rejects these. */ -++ccp; -p = (char**) ccp; -ccp = (char const *const *) p; -{ /* SCO 3.2v4 cc rejects this. */ - char *t; - char const *s = 0 ? (char *) 0 : (char const *) 0; - - *t++ = 0; -} -{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ - int x[] = {25, 17}; - const int *foo = &x[0]; - ++foo; -} -{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ - typedef const int *iptr; - iptr p = 0; - ++p; -} -{ /* AIX XL C 1.02.0.0 rejects this saying - "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ - struct s { int j; const int *ap[3]; }; - struct s *b; b->j = 5; -} -{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ - const int foo = 10; -} - -; return 0; } -EOF -if { (eval echo configure:1975: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - ac_cv_c_const=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_c_const=no -fi -rm -f conftest* -fi - -echo "$ac_t""$ac_cv_c_const" 1>&6 -if test $ac_cv_c_const = no; then - cat >> confdefs.h <<\EOF -#define const -EOF - -fi - -echo $ac_n "checking for inline""... $ac_c" 1>&6 -echo "configure:1996: checking for inline" >&5 -if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - ac_cv_c_inline=no -for ac_kw in inline __inline__ __inline; do - cat > conftest.$ac_ext <<EOF -#line 2003 "configure" -#include "confdefs.h" - -int main() { -} $ac_kw foo() { -; return 0; } -EOF -if { (eval echo configure:2010: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - ac_cv_c_inline=$ac_kw; break -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 -fi -rm -f conftest* -done - -fi - -echo "$ac_t""$ac_cv_c_inline" 1>&6 -case "$ac_cv_c_inline" in - inline | yes) ;; - no) cat >> confdefs.h <<\EOF -#define inline -EOF - ;; - *) cat >> confdefs.h <<EOF -#define inline $ac_cv_c_inline -EOF - ;; -esac - -echo $ac_n "checking for size_t""... $ac_c" 1>&6 -echo "configure:2036: checking for size_t" >&5 -if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 2041 "configure" -#include "confdefs.h" -#include <sys/types.h> -#if STDC_HEADERS -#include <stdlib.h> -#include <stddef.h> -#endif -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then - rm -rf conftest* - ac_cv_type_size_t=yes -else - rm -rf conftest* - ac_cv_type_size_t=no -fi -rm -f conftest* - -fi -echo "$ac_t""$ac_cv_type_size_t" 1>&6 -if test $ac_cv_type_size_t = no; then - cat >> confdefs.h <<\EOF -#define size_t unsigned -EOF - -fi - -echo $ac_n "checking for pid_t""... $ac_c" 1>&6 -echo "configure:2069: checking for pid_t" >&5 -if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 2074 "configure" -#include "confdefs.h" -#include <sys/types.h> -#if STDC_HEADERS -#include <stdlib.h> -#include <stddef.h> -#endif -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then - rm -rf conftest* - ac_cv_type_pid_t=yes -else - rm -rf conftest* - ac_cv_type_pid_t=no -fi -rm -f conftest* - -fi -echo "$ac_t""$ac_cv_type_pid_t" 1>&6 -if test $ac_cv_type_pid_t = no; then - cat >> confdefs.h <<\EOF -#define pid_t int -EOF - -fi - -echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 -echo "configure:2102: checking for socklen_t" >&5 -if eval "test \"`echo '$''{'ac_cv_have_socklen_t'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 2107 "configure" -#include "confdefs.h" - - #include <sys/types.h> - #include <sys/socket.h> - -int main() { - - socklen_t a = 0; - return a; - -; return 0; } -EOF -if { (eval echo configure:2120: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - ac_cv_have_socklen_t=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_have_socklen_t=no -fi -rm -f conftest* - -fi - -echo "$ac_t""$ac_cv_have_socklen_t" 1>&6 -if test "$ac_cv_have_socklen_t" = yes; then - cat >> confdefs.h <<\EOF -#define HAVE_SOCKLEN_T 1 -EOF - -fi -echo $ac_n "checking for errno""... $ac_c" 1>&6 -echo "configure:2141: checking for errno" >&5 -if eval "test \"`echo '$''{'ac_cv_have_errno'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 2146 "configure" -#include "confdefs.h" - - #include <errno.h> - -int main() { - - errno = 0; - return errno; - -; return 0; } -EOF -if { (eval echo configure:2158: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - ac_cv_have_errno=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_have_errno=no -fi -rm -f conftest* - -fi - -echo "$ac_t""$ac_cv_have_errno" 1>&6 -if test "$ac_cv_have_errno" = yes; then - cat >> confdefs.h <<\EOF -#define HAVE_ERRNO 1 -EOF - -fi - -echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 -echo "configure:2180: checking whether time.h and sys/time.h may both be included" >&5 -if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 2185 "configure" -#include "confdefs.h" -#include <sys/types.h> -#include <sys/time.h> -#include <time.h> -int main() { -struct tm *tp; -; return 0; } -EOF -if { (eval echo configure:2194: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - ac_cv_header_time=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_header_time=no -fi -rm -f conftest* -fi - -echo "$ac_t""$ac_cv_header_time" 1>&6 -if test $ac_cv_header_time = yes; then - cat >> confdefs.h <<\EOF -#define TIME_WITH_SYS_TIME 1 -EOF - -fi - -echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 -echo "configure:2215: checking whether struct tm is in sys/time.h or time.h" >&5 -if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 2220 "configure" -#include "confdefs.h" -#include <sys/types.h> -#include <time.h> -int main() { -struct tm *tp; tp->tm_sec; -; return 0; } -EOF -if { (eval echo configure:2228: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - ac_cv_struct_tm=time.h -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_struct_tm=sys/time.h -fi -rm -f conftest* -fi - -echo "$ac_t""$ac_cv_struct_tm" 1>&6 -if test $ac_cv_struct_tm = sys/time.h; then - cat >> confdefs.h <<\EOF -#define TM_IN_SYS_TIME 1 -EOF - -fi - - -if test "$ac_cv_have_emx" = yes; then - default_short=2 - default_int=4 - default_long=4 - default_long_long=8 -else - default_short=0 - default_int=0 - default_long=0 - default_long_long=0 -fi - -echo $ac_n "checking size of unsigned short""... $ac_c" 1>&6 -echo "configure:2262: checking size of unsigned short" >&5 -if eval "test \"`echo '$''{'ac_cv_sizeof_unsigned_short'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - if test "$cross_compiling" = yes; then - ac_cv_sizeof_unsigned_short="$default_short" -else - cat > conftest.$ac_ext <<EOF -#line 2270 "configure" -#include "confdefs.h" -#include <stdio.h> -#include <sys/types.h> -main() -{ - FILE *f=fopen("conftestval", "w"); - if (!f) exit(1); - fprintf(f, "%d\n", sizeof(unsigned short)); - exit(0); -} -EOF -if { (eval echo configure:2282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null -then - ac_cv_sizeof_unsigned_short=`cat conftestval` -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -fr conftest* - ac_cv_sizeof_unsigned_short=0 -fi -rm -fr conftest* -fi - -fi -echo "$ac_t""$ac_cv_sizeof_unsigned_short" 1>&6 -cat >> confdefs.h <<EOF -#define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short -EOF - - -echo $ac_n "checking size of unsigned""... $ac_c" 1>&6 -echo "configure:2302: checking size of unsigned" >&5 -if eval "test \"`echo '$''{'ac_cv_sizeof_unsigned'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - if test "$cross_compiling" = yes; then - ac_cv_sizeof_unsigned="$default_int" -else - cat > conftest.$ac_ext <<EOF -#line 2310 "configure" -#include "confdefs.h" -#include <stdio.h> -#include <sys/types.h> -main() -{ - FILE *f=fopen("conftestval", "w"); - if (!f) exit(1); - fprintf(f, "%d\n", sizeof(unsigned)); - exit(0); -} -EOF -if { (eval echo configure:2322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null -then - ac_cv_sizeof_unsigned=`cat conftestval` -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -fr conftest* - ac_cv_sizeof_unsigned=0 -fi -rm -fr conftest* -fi - -fi -echo "$ac_t""$ac_cv_sizeof_unsigned" 1>&6 -cat >> confdefs.h <<EOF -#define SIZEOF_UNSIGNED $ac_cv_sizeof_unsigned -EOF - - -echo $ac_n "checking size of unsigned long""... $ac_c" 1>&6 -echo "configure:2342: checking size of unsigned long" >&5 -if eval "test \"`echo '$''{'ac_cv_sizeof_unsigned_long'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - if test "$cross_compiling" = yes; then - ac_cv_sizeof_unsigned_long="$default_long" -else - cat > conftest.$ac_ext <<EOF -#line 2350 "configure" -#include "confdefs.h" -#include <stdio.h> -#include <sys/types.h> -main() -{ - FILE *f=fopen("conftestval", "w"); - if (!f) exit(1); - fprintf(f, "%d\n", sizeof(unsigned long)); - exit(0); -} -EOF -if { (eval echo configure:2362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null -then - ac_cv_sizeof_unsigned_long=`cat conftestval` -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -fr conftest* - ac_cv_sizeof_unsigned_long=0 -fi -rm -fr conftest* -fi - -fi -echo "$ac_t""$ac_cv_sizeof_unsigned_long" 1>&6 -cat >> confdefs.h <<EOF -#define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long -EOF - - -if test "$ac_cv_have_long_long" = yes; then - echo $ac_n "checking size of unsigned long long""... $ac_c" 1>&6 -echo "configure:2383: checking size of unsigned long long" >&5 -if eval "test \"`echo '$''{'ac_cv_sizeof_unsigned_long_long'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - if test "$cross_compiling" = yes; then - ac_cv_sizeof_unsigned_long_long="$default_long_long" -else - cat > conftest.$ac_ext <<EOF -#line 2391 "configure" -#include "confdefs.h" -#include <stdio.h> -#include <sys/types.h> -main() -{ - FILE *f=fopen("conftestval", "w"); - if (!f) exit(1); - fprintf(f, "%d\n", sizeof(unsigned long long)); - exit(0); -} -EOF -if { (eval echo configure:2403: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null -then - ac_cv_sizeof_unsigned_long_long=`cat conftestval` -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -fr conftest* - ac_cv_sizeof_unsigned_long_long=0 -fi -rm -fr conftest* -fi - -fi -echo "$ac_t""$ac_cv_sizeof_unsigned_long_long" 1>&6 -cat >> confdefs.h <<EOF -#define SIZEOF_UNSIGNED_LONG_LONG $ac_cv_sizeof_unsigned_long_long -EOF - - -fi -if test "$ac_cv_sizeof_unsigned" -ne 0 && test "$ac_cv_sizeof_unsigned" -lt 4; then - { echo "configure: error: integer must have at least 32 bits" 1>&2; exit 1; } -fi -echo $ac_n "checking for big endian""... $ac_c" 1>&6 -echo "configure:2427: checking for big endian" >&5 -if eval "test \"`echo '$''{'ac_cv_big_endian'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - if test "$cross_compiling" = yes; then - ac_cv_big_endian=no -else - cat > conftest.$ac_ext <<EOF -#line 2435 "configure" -#include "confdefs.h" - - long l; - char *c = (char *)&l; - int main() - { - l = 0x12345678L; - return !(c[sizeof(long) - 1] == 0x78 && c[sizeof(long) - 2] == 0x56 && c[sizeof(long) - 3] == 0x34 && c[sizeof(long) - 4] == 0x12); - } - -EOF -if { (eval echo configure:2447: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null -then - ac_cv_big_endian=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -fr conftest* - ac_cv_big_endian=no -fi -rm -fr conftest* -fi - - -fi - -echo "$ac_t""$ac_cv_big_endian" 1>&6 -echo $ac_n "checking for little endian""... $ac_c" 1>&6 -echo "configure:2464: checking for little endian" >&5 -if eval "test \"`echo '$''{'ac_cv_little_endian'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - if test "$cross_compiling" = yes; then - ac_cv_little_endian="$ac_cv_have_emx" -else - cat > conftest.$ac_ext <<EOF -#line 2472 "configure" -#include "confdefs.h" - - long l; - char *c = (char *)&l; - int main() - { - l = 0x12345678L; - return !(c[0] == 0x78 && c[1] == 0x56 && c[2] == 0x34 && c[3] == 0x12); - } - -EOF -if { (eval echo configure:2484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null -then - ac_cv_little_endian=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -fr conftest* - ac_cv_little_endian=no -fi -rm -fr conftest* -fi - - -fi - -echo "$ac_t""$ac_cv_little_endian" 1>&6 - -if test "$ac_cv_big_endian" = yes; then - cat >> confdefs.h <<\EOF -#define C_BIG_ENDIAN 1 -EOF - -else if test "$ac_cv_little_endian" = yes; then - cat >> confdefs.h <<\EOF -#define C_LITTLE_ENDIAN 1 -EOF - -fi -fi - -echo $ac_n "checking if rename can replace existing files""... $ac_c" 1>&6 -echo "configure:2515: checking if rename can replace existing files" >&5 -if eval "test \"`echo '$''{'ac_cv_rename_over_existing_files'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - if test "$cross_compiling" = yes; then - ac_cv_rename_over_existing_files=no -else - cat > conftest.$ac_ext <<EOF -#line 2523 "configure" -#include "confdefs.h" - - #include <fcntl.h> - #include <stdio.h> - #include <unistd.h> - - int main() - { - int ret; - close(creat("conftest.rename1", 0600)); - close(creat("conftest.rename2", 0600)); - ret = rename("conftest.rename1", "conftest.rename2"); - unlink("conftest.rename1"); - unlink("conftest.rename2"); - return !!ret; - } - -EOF -if { (eval echo configure:2542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null -then - ac_cv_rename_over_existing_files=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -fr conftest* - ac_cv_rename_over_existing_files=no -fi -rm -fr conftest* -fi - - -fi - -echo "$ac_t""$ac_cv_rename_over_existing_files" 1>&6 - -if test "$ac_cv_rename_over_existing_files" = yes; then - cat >> confdefs.h <<\EOF -#define RENAME_OVER_EXISTING_FILES 1 -EOF - -fi - -echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 -echo "configure:2567: checking return type of signal handlers" >&5 -if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 2572 "configure" -#include "confdefs.h" -#include <sys/types.h> -#include <signal.h> -#ifdef signal -#undef signal -#endif -#ifdef __cplusplus -extern "C" void (*signal (int, void (*)(int)))(int); -#else -void (*signal ()) (); -#endif - -int main() { -int i; -; return 0; } -EOF -if { (eval echo configure:2589: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - ac_cv_type_signal=void -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_type_signal=int -fi -rm -f conftest* -fi - -echo "$ac_t""$ac_cv_type_signal" 1>&6 -cat >> confdefs.h <<EOF -#define RETSIGTYPE $ac_cv_type_signal -EOF - - -echo $ac_n "checking for strftime""... $ac_c" 1>&6 -echo "configure:2608: checking for strftime" >&5 -if eval "test \"`echo '$''{'ac_cv_func_strftime'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 2613 "configure" -#include "confdefs.h" -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char strftime(); below. */ -#include <assert.h> -/* Override any gcc2 internal prototype to avoid an error. */ -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char strftime(); - -int main() { - -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_strftime) || defined (__stub___strftime) -choke me -#else -strftime(); -#endif - -; return 0; } -EOF -if { (eval echo configure:2636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_func_strftime=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_func_strftime=no" -fi -rm -f conftest* -fi - -if eval "test \"`echo '$ac_cv_func_'strftime`\" = yes"; then - echo "$ac_t""yes" 1>&6 - cat >> confdefs.h <<\EOF -#define HAVE_STRFTIME 1 -EOF - -else - echo "$ac_t""no" 1>&6 -# strftime is in -lintl on SCO UNIX. -echo $ac_n "checking for strftime in -lintl""... $ac_c" 1>&6 -echo "configure:2658: checking for strftime in -lintl" >&5 -ac_lib_var=`echo intl'_'strftime | sed 'y%./+-%__p_%'` -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - ac_save_LIBS="$LIBS" -LIBS="-lintl $LIBS" -cat > conftest.$ac_ext <<EOF -#line 2666 "configure" -#include "confdefs.h" -/* Override any gcc2 internal prototype to avoid an error. */ -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char strftime(); - -int main() { -strftime() -; return 0; } -EOF -if { (eval echo configure:2677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=no" -fi -rm -f conftest* -LIBS="$ac_save_LIBS" - -fi -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then - echo "$ac_t""yes" 1>&6 - cat >> confdefs.h <<\EOF -#define HAVE_STRFTIME 1 -EOF - -LIBS="-lintl $LIBS" -else - echo "$ac_t""no" 1>&6 -fi - -fi - -echo $ac_n "checking for vprintf""... $ac_c" 1>&6 -echo "configure:2704: checking for vprintf" >&5 -if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 2709 "configure" -#include "confdefs.h" -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char vprintf(); below. */ -#include <assert.h> -/* Override any gcc2 internal prototype to avoid an error. */ -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char vprintf(); - -int main() { - -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_vprintf) || defined (__stub___vprintf) -choke me -#else -vprintf(); -#endif - -; return 0; } -EOF -if { (eval echo configure:2732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_func_vprintf=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_func_vprintf=no" -fi -rm -f conftest* -fi - -if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then - echo "$ac_t""yes" 1>&6 - cat >> confdefs.h <<\EOF -#define HAVE_VPRINTF 1 -EOF - -else - echo "$ac_t""no" 1>&6 -fi - -if test "$ac_cv_func_vprintf" != yes; then -echo $ac_n "checking for _doprnt""... $ac_c" 1>&6 -echo "configure:2756: checking for _doprnt" >&5 -if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 2761 "configure" -#include "confdefs.h" -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char _doprnt(); below. */ -#include <assert.h> -/* Override any gcc2 internal prototype to avoid an error. */ -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char _doprnt(); - -int main() { - -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub__doprnt) || defined (__stub____doprnt) -choke me -#else -_doprnt(); -#endif - -; return 0; } -EOF -if { (eval echo configure:2784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_func__doprnt=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_func__doprnt=no" -fi -rm -f conftest* -fi - -if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then - echo "$ac_t""yes" 1>&6 - cat >> confdefs.h <<\EOF -#define HAVE_DOPRNT 1 -EOF - -else - echo "$ac_t""no" 1>&6 -fi - -fi - -for ac_func in bcmp bcopy bzero calloc cfmakeraw chmod cygwin_conv_path cygwin_conv_to_full_win32_path dirfd fallocate getcwd getgrgid getpagesize getpid getpwuid getrlimit gettimeofday kqueue malloc_trim mallopt mktime nl_langinfo poll popen posix_fallocate raise select setlocale setpgid setrlimit setsid sigaction sigblock sigdelset sigprocmask sigsetmask snprintf strdup strptime strtod strtoimax strtol strtoll strtoq strtoul tdelete tempnam tfind tsearch uname unixpath2win utime utimes uwin_path winpath2unix _heapmin _ucreate _udefault _udestroy _uopen __strtoll -do -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:2811: checking for $ac_func" >&5 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 2816 "configure" -#include "confdefs.h" -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func(); below. */ -#include <assert.h> -/* Override any gcc2 internal prototype to avoid an error. */ -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func(); - -int main() { - -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -$ac_func(); -#endif - -; return 0; } -EOF -if { (eval echo configure:2839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_func_$ac_func=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_func_$ac_func=no" -fi -rm -f conftest* -fi - -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` - cat >> confdefs.h <<EOF -#define $ac_tr_func 1 -EOF - -else - echo "$ac_t""no" 1>&6 -fi -done - - - -for ac_func in strlen -do -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:2868: checking for $ac_func" >&5 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 2873 "configure" -#include "confdefs.h" -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func(); below. */ -#include <assert.h> -/* Override any gcc2 internal prototype to avoid an error. */ -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func(); - -int main() { - -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -$ac_func(); -#endif - -; return 0; } -EOF -if { (eval echo configure:2896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_func_$ac_func=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_func_$ac_func=no" -fi -rm -f conftest* -fi - -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` - cat >> confdefs.h <<EOF -#define $ac_tr_func 1 -EOF - -else - echo "$ac_t""no" 1>&6 -fi -done - -echo $ac_n "checking for strlen""... $ac_c" 1>&6 -echo "configure:2921: checking for strlen" >&5 -if eval "test \"`echo '$''{'ac_cv_have_strlen'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 2926 "configure" -#include "confdefs.h" -#include <string.h> -int main() { -strlen(""); return 0; -; return 0; } -EOF -if { (eval echo configure:2933: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - ac_cv_have_strlen=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_have_strlen=no -fi -rm -f conftest* - -fi - -echo "$ac_t""$ac_cv_have_strlen" 1>&6 -if test "$ac_cv_have_strlen" = yes; then - cat >> confdefs.h <<\EOF -#define HAVE_STRLEN 1 -EOF - -fi - -for ac_func in strcpy -do -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:2957: checking for $ac_func" >&5 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 2962 "configure" -#include "confdefs.h" -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func(); below. */ -#include <assert.h> -/* Override any gcc2 internal prototype to avoid an error. */ -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func(); - -int main() { - -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -$ac_func(); -#endif - -; return 0; } -EOF -if { (eval echo configure:2985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_func_$ac_func=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_func_$ac_func=no" -fi -rm -f conftest* -fi - -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` - cat >> confdefs.h <<EOF -#define $ac_tr_func 1 -EOF - -else - echo "$ac_t""no" 1>&6 -fi -done - -echo $ac_n "checking for strcpy""... $ac_c" 1>&6 -echo "configure:3010: checking for strcpy" >&5 -if eval "test \"`echo '$''{'ac_cv_have_strcpy'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 3015 "configure" -#include "confdefs.h" -#include <string.h> -int main() { -char a[1]; strcpy(a, ""); return 0; -; return 0; } -EOF -if { (eval echo configure:3022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - ac_cv_have_strcpy=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_have_strcpy=no -fi -rm -f conftest* - -fi - -echo "$ac_t""$ac_cv_have_strcpy" 1>&6 -if test "$ac_cv_have_strcpy" = yes; then - cat >> confdefs.h <<\EOF -#define HAVE_STRCPY 1 -EOF - -fi - -for ac_func in strchr -do -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:3046: checking for $ac_func" >&5 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 3051 "configure" -#include "confdefs.h" -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func(); below. */ -#include <assert.h> -/* Override any gcc2 internal prototype to avoid an error. */ -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func(); - -int main() { - -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -$ac_func(); -#endif - -; return 0; } -EOF -if { (eval echo configure:3074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_func_$ac_func=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_func_$ac_func=no" -fi -rm -f conftest* -fi - -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` - cat >> confdefs.h <<EOF -#define $ac_tr_func 1 -EOF - -else - echo "$ac_t""no" 1>&6 -fi -done - -echo $ac_n "checking for strchr""... $ac_c" 1>&6 -echo "configure:3099: checking for strchr" >&5 -if eval "test \"`echo '$''{'ac_cv_have_strchr'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 3104 "configure" -#include "confdefs.h" -#include <string.h> -int main() { -strchr("", 0); return 0; -; return 0; } -EOF -if { (eval echo configure:3111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - ac_cv_have_strchr=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_have_strchr=no -fi -rm -f conftest* - -fi - -echo "$ac_t""$ac_cv_have_strchr" 1>&6 -if test "$ac_cv_have_strchr" = yes; then - cat >> confdefs.h <<\EOF -#define HAVE_STRCHR 1 -EOF - -fi - -for ac_func in strrchr -do -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:3135: checking for $ac_func" >&5 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 3140 "configure" -#include "confdefs.h" -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func(); below. */ -#include <assert.h> -/* Override any gcc2 internal prototype to avoid an error. */ -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func(); - -int main() { - -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -$ac_func(); -#endif - -; return 0; } -EOF -if { (eval echo configure:3163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_func_$ac_func=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_func_$ac_func=no" -fi -rm -f conftest* -fi - -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` - cat >> confdefs.h <<EOF -#define $ac_tr_func 1 -EOF - -else - echo "$ac_t""no" 1>&6 -fi -done - -echo $ac_n "checking for strrchr""... $ac_c" 1>&6 -echo "configure:3188: checking for strrchr" >&5 -if eval "test \"`echo '$''{'ac_cv_have_strrchr'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 3193 "configure" -#include "confdefs.h" -#include <string.h> -int main() { -strrchr("", 0); return 0; -; return 0; } -EOF -if { (eval echo configure:3200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - ac_cv_have_strrchr=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_have_strrchr=no -fi -rm -f conftest* - -fi - -echo "$ac_t""$ac_cv_have_strrchr" 1>&6 -if test "$ac_cv_have_strrchr" = yes; then - cat >> confdefs.h <<\EOF -#define HAVE_STRRCHR 1 -EOF - -fi - -for ac_func in strcmp -do -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:3224: checking for $ac_func" >&5 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 3229 "configure" -#include "confdefs.h" -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func(); below. */ -#include <assert.h> -/* Override any gcc2 internal prototype to avoid an error. */ -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func(); - -int main() { - -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -$ac_func(); -#endif - -; return 0; } -EOF -if { (eval echo configure:3252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_func_$ac_func=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_func_$ac_func=no" -fi -rm -f conftest* -fi - -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` - cat >> confdefs.h <<EOF -#define $ac_tr_func 1 -EOF - -else - echo "$ac_t""no" 1>&6 -fi -done - -echo $ac_n "checking for strcmp""... $ac_c" 1>&6 -echo "configure:3277: checking for strcmp" >&5 -if eval "test \"`echo '$''{'ac_cv_have_strcmp'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 3282 "configure" -#include "confdefs.h" -#include <string.h> -int main() { -strcmp("", ""); return 0; -; return 0; } -EOF -if { (eval echo configure:3289: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - ac_cv_have_strcmp=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_have_strcmp=no -fi -rm -f conftest* - -fi - -echo "$ac_t""$ac_cv_have_strcmp" 1>&6 -if test "$ac_cv_have_strcmp" = yes; then - cat >> confdefs.h <<\EOF -#define HAVE_STRCMP 1 -EOF - -fi - -for ac_func in strncmp -do -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:3313: checking for $ac_func" >&5 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 3318 "configure" -#include "confdefs.h" -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func(); below. */ -#include <assert.h> -/* Override any gcc2 internal prototype to avoid an error. */ -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func(); - -int main() { - -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -$ac_func(); -#endif - -; return 0; } -EOF -if { (eval echo configure:3341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_func_$ac_func=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_func_$ac_func=no" -fi -rm -f conftest* -fi - -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` - cat >> confdefs.h <<EOF -#define $ac_tr_func 1 -EOF - -else - echo "$ac_t""no" 1>&6 -fi -done - -echo $ac_n "checking for strncmp""... $ac_c" 1>&6 -echo "configure:3366: checking for strncmp" >&5 -if eval "test \"`echo '$''{'ac_cv_have_strncmp'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 3371 "configure" -#include "confdefs.h" -#include <string.h> -int main() { -strncmp("", "", 1); return 0; -; return 0; } -EOF -if { (eval echo configure:3378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - ac_cv_have_strncmp=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_have_strncmp=no -fi -rm -f conftest* - -fi - -echo "$ac_t""$ac_cv_have_strncmp" 1>&6 -if test "$ac_cv_have_strncmp" = yes; then - cat >> confdefs.h <<\EOF -#define HAVE_STRNCMP 1 -EOF - -fi - -for ac_func in strcspn -do -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:3402: checking for $ac_func" >&5 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 3407 "configure" -#include "confdefs.h" -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func(); below. */ -#include <assert.h> -/* Override any gcc2 internal prototype to avoid an error. */ -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func(); - -int main() { - -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -$ac_func(); -#endif - -; return 0; } -EOF -if { (eval echo configure:3430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_func_$ac_func=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_func_$ac_func=no" -fi -rm -f conftest* -fi - -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` - cat >> confdefs.h <<EOF -#define $ac_tr_func 1 -EOF - -else - echo "$ac_t""no" 1>&6 -fi -done - -echo $ac_n "checking for strcspn""... $ac_c" 1>&6 -echo "configure:3455: checking for strcspn" >&5 -if eval "test \"`echo '$''{'ac_cv_have_strcspn'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 3460 "configure" -#include "confdefs.h" -#include <string.h> -int main() { -strcspn("", ""); return 0; -; return 0; } -EOF -if { (eval echo configure:3467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - ac_cv_have_strcspn=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_have_strcspn=no -fi -rm -f conftest* - -fi - -echo "$ac_t""$ac_cv_have_strcspn" 1>&6 -if test "$ac_cv_have_strcspn" = yes; then - cat >> confdefs.h <<\EOF -#define HAVE_STRCSPN 1 -EOF - -fi - -for ac_func in strspn -do -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:3491: checking for $ac_func" >&5 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 3496 "configure" -#include "confdefs.h" -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func(); below. */ -#include <assert.h> -/* Override any gcc2 internal prototype to avoid an error. */ -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func(); - -int main() { - -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -$ac_func(); -#endif - -; return 0; } -EOF -if { (eval echo configure:3519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_func_$ac_func=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_func_$ac_func=no" -fi -rm -f conftest* -fi - -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` - cat >> confdefs.h <<EOF -#define $ac_tr_func 1 -EOF - -else - echo "$ac_t""no" 1>&6 -fi -done - -echo $ac_n "checking for strspn""... $ac_c" 1>&6 -echo "configure:3544: checking for strspn" >&5 -if eval "test \"`echo '$''{'ac_cv_have_strspn'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 3549 "configure" -#include "confdefs.h" -#include <string.h> -int main() { -strspn("", ""); return 0; -; return 0; } -EOF -if { (eval echo configure:3556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - ac_cv_have_strspn=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_have_strspn=no -fi -rm -f conftest* - -fi - -echo "$ac_t""$ac_cv_have_strspn" 1>&6 -if test "$ac_cv_have_strspn" = yes; then - cat >> confdefs.h <<\EOF -#define HAVE_STRSPN 1 -EOF - -fi - -for ac_func in strstr -do -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:3580: checking for $ac_func" >&5 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 3585 "configure" -#include "confdefs.h" -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func(); below. */ -#include <assert.h> -/* Override any gcc2 internal prototype to avoid an error. */ -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func(); - -int main() { - -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -$ac_func(); -#endif - -; return 0; } -EOF -if { (eval echo configure:3608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_func_$ac_func=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_func_$ac_func=no" -fi -rm -f conftest* -fi - -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` - cat >> confdefs.h <<EOF -#define $ac_tr_func 1 -EOF - -else - echo "$ac_t""no" 1>&6 -fi -done - -echo $ac_n "checking for strstr""... $ac_c" 1>&6 -echo "configure:3633: checking for strstr" >&5 -if eval "test \"`echo '$''{'ac_cv_have_strstr'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 3638 "configure" -#include "confdefs.h" -#include <string.h> -int main() { -strstr("", ""); return 0; -; return 0; } -EOF -if { (eval echo configure:3645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - ac_cv_have_strstr=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_have_strstr=no -fi -rm -f conftest* - -fi - -echo "$ac_t""$ac_cv_have_strstr" 1>&6 -if test "$ac_cv_have_strstr" = yes; then - cat >> confdefs.h <<\EOF -#define HAVE_STRSTR 1 -EOF - -fi - -for ac_func in memchr -do -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:3669: checking for $ac_func" >&5 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 3674 "configure" -#include "confdefs.h" -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func(); below. */ -#include <assert.h> -/* Override any gcc2 internal prototype to avoid an error. */ -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func(); - -int main() { - -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -$ac_func(); -#endif - -; return 0; } -EOF -if { (eval echo configure:3697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_func_$ac_func=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_func_$ac_func=no" -fi -rm -f conftest* -fi - -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` - cat >> confdefs.h <<EOF -#define $ac_tr_func 1 -EOF - -else - echo "$ac_t""no" 1>&6 -fi -done - -echo $ac_n "checking for memchr""... $ac_c" 1>&6 -echo "configure:3722: checking for memchr" >&5 -if eval "test \"`echo '$''{'ac_cv_have_memchr'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 3727 "configure" -#include "confdefs.h" -#include <string.h> -int main() { -char a[1]; memchr(a, 0, 1); return 0; -; return 0; } -EOF -if { (eval echo configure:3734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - ac_cv_have_memchr=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_have_memchr=no -fi -rm -f conftest* - -fi - -echo "$ac_t""$ac_cv_have_memchr" 1>&6 -if test "$ac_cv_have_memchr" = yes; then - cat >> confdefs.h <<\EOF -#define HAVE_MEMCHR 1 -EOF - -fi - -for ac_func in memcmp -do -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:3758: checking for $ac_func" >&5 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 3763 "configure" -#include "confdefs.h" -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func(); below. */ -#include <assert.h> -/* Override any gcc2 internal prototype to avoid an error. */ -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func(); - -int main() { - -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -$ac_func(); -#endif - -; return 0; } -EOF -if { (eval echo configure:3786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_func_$ac_func=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_func_$ac_func=no" -fi -rm -f conftest* -fi - -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` - cat >> confdefs.h <<EOF -#define $ac_tr_func 1 -EOF - -else - echo "$ac_t""no" 1>&6 -fi -done - -echo $ac_n "checking for memcmp""... $ac_c" 1>&6 -echo "configure:3811: checking for memcmp" >&5 -if eval "test \"`echo '$''{'ac_cv_have_memcmp'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 3816 "configure" -#include "confdefs.h" -#include <string.h> -int main() { -char a[1]; memcmp(a, a, 1); return 0; -; return 0; } -EOF -if { (eval echo configure:3823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - ac_cv_have_memcmp=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_have_memcmp=no -fi -rm -f conftest* - -fi - -echo "$ac_t""$ac_cv_have_memcmp" 1>&6 -if test "$ac_cv_have_memcmp" = yes; then - cat >> confdefs.h <<\EOF -#define HAVE_MEMCMP 1 -EOF - -fi - -for ac_func in memcpy -do -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:3847: checking for $ac_func" >&5 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 3852 "configure" -#include "confdefs.h" -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func(); below. */ -#include <assert.h> -/* Override any gcc2 internal prototype to avoid an error. */ -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func(); - -int main() { - -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -$ac_func(); -#endif - -; return 0; } -EOF -if { (eval echo configure:3875: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_func_$ac_func=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_func_$ac_func=no" -fi -rm -f conftest* -fi - -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` - cat >> confdefs.h <<EOF -#define $ac_tr_func 1 -EOF - -else - echo "$ac_t""no" 1>&6 -fi -done - -echo $ac_n "checking for memcpy""... $ac_c" 1>&6 -echo "configure:3900: checking for memcpy" >&5 -if eval "test \"`echo '$''{'ac_cv_have_memcpy'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 3905 "configure" -#include "confdefs.h" -#include <string.h> -int main() { -char a[1]; memcpy(a, a, 1); return 0; -; return 0; } -EOF -if { (eval echo configure:3912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - ac_cv_have_memcpy=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_have_memcpy=no -fi -rm -f conftest* - -fi - -echo "$ac_t""$ac_cv_have_memcpy" 1>&6 -if test "$ac_cv_have_memcpy" = yes; then - cat >> confdefs.h <<\EOF -#define HAVE_MEMCPY 1 -EOF - -fi - -for ac_func in memmove -do -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:3936: checking for $ac_func" >&5 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 3941 "configure" -#include "confdefs.h" -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func(); below. */ -#include <assert.h> -/* Override any gcc2 internal prototype to avoid an error. */ -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func(); - -int main() { - -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -$ac_func(); -#endif - -; return 0; } -EOF -if { (eval echo configure:3964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_func_$ac_func=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_func_$ac_func=no" -fi -rm -f conftest* -fi - -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` - cat >> confdefs.h <<EOF -#define $ac_tr_func 1 -EOF - -else - echo "$ac_t""no" 1>&6 -fi -done - -echo $ac_n "checking for memmove""... $ac_c" 1>&6 -echo "configure:3989: checking for memmove" >&5 -if eval "test \"`echo '$''{'ac_cv_have_memmove'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 3994 "configure" -#include "confdefs.h" -#include <string.h> -int main() { -char a[1]; memmove(a, a, 1); return 0; -; return 0; } -EOF -if { (eval echo configure:4001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - ac_cv_have_memmove=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_have_memmove=no -fi -rm -f conftest* - -fi - -echo "$ac_t""$ac_cv_have_memmove" 1>&6 -if test "$ac_cv_have_memmove" = yes; then - cat >> confdefs.h <<\EOF -#define HAVE_MEMMOVE 1 -EOF - -fi - -for ac_func in memset -do -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:4025: checking for $ac_func" >&5 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 4030 "configure" -#include "confdefs.h" -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func(); below. */ -#include <assert.h> -/* Override any gcc2 internal prototype to avoid an error. */ -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func(); - -int main() { - -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -$ac_func(); -#endif - -; return 0; } -EOF -if { (eval echo configure:4053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_func_$ac_func=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_func_$ac_func=no" -fi -rm -f conftest* -fi - -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` - cat >> confdefs.h <<EOF -#define $ac_tr_func 1 -EOF - -else - echo "$ac_t""no" 1>&6 -fi -done - -echo $ac_n "checking for memset""... $ac_c" 1>&6 -echo "configure:4078: checking for memset" >&5 -if eval "test \"`echo '$''{'ac_cv_have_memset'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 4083 "configure" -#include "confdefs.h" -#include <string.h> -int main() { -char a[1]; memset(a, 0, 1); return 0; -; return 0; } -EOF -if { (eval echo configure:4090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - ac_cv_have_memset=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_have_memset=no -fi -rm -f conftest* - -fi - -echo "$ac_t""$ac_cv_have_memset" 1>&6 -if test "$ac_cv_have_memset" = yes; then - cat >> confdefs.h <<\EOF -#define HAVE_MEMSET 1 -EOF - -fi - -for ac_func in memmem -do -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:4114: checking for $ac_func" >&5 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 4119 "configure" -#include "confdefs.h" -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func(); below. */ -#include <assert.h> -/* Override any gcc2 internal prototype to avoid an error. */ -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func(); - -int main() { - -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -$ac_func(); -#endif - -; return 0; } -EOF -if { (eval echo configure:4142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_func_$ac_func=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_func_$ac_func=no" -fi -rm -f conftest* -fi - -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` - cat >> confdefs.h <<EOF -#define $ac_tr_func 1 -EOF - -else - echo "$ac_t""no" 1>&6 -fi -done - -echo $ac_n "checking for memmem""... $ac_c" 1>&6 -echo "configure:4167: checking for memmem" >&5 -if eval "test \"`echo '$''{'ac_cv_have_memmem'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 4172 "configure" -#include "confdefs.h" -#define _GNU_SOURCE -#include <string.h> -int main() { -memmem("", 0, "", 0); return 0; -; return 0; } -EOF -if { (eval echo configure:4180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - ac_cv_have_memmem=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_have_memmem=no -fi -rm -f conftest* - -fi - -echo "$ac_t""$ac_cv_have_memmem" 1>&6 -if test "$ac_cv_have_memmem" = yes; then - cat >> confdefs.h <<\EOF -#define HAVE_MEMMEM 1 -EOF - -fi - -for ac_func in strerror -do -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:4204: checking for $ac_func" >&5 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 4209 "configure" -#include "confdefs.h" -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func(); below. */ -#include <assert.h> -/* Override any gcc2 internal prototype to avoid an error. */ -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func(); - -int main() { - -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -$ac_func(); -#endif - -; return 0; } -EOF -if { (eval echo configure:4232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_func_$ac_func=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_func_$ac_func=no" -fi -rm -f conftest* -fi - -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` - cat >> confdefs.h <<EOF -#define $ac_tr_func 1 -EOF - -else - echo "$ac_t""no" 1>&6 -fi -done - -echo $ac_n "checking for strerror""... $ac_c" 1>&6 -echo "configure:4257: checking for strerror" >&5 -if eval "test \"`echo '$''{'ac_cv_have_strerror'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 4262 "configure" -#include "confdefs.h" -#include <string.h> -int main() { -char *c = strerror(1); return 0; -; return 0; } -EOF -if { (eval echo configure:4269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - ac_cv_have_strerror=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_have_strerror=no -fi -rm -f conftest* - -fi - -echo "$ac_t""$ac_cv_have_strerror" 1>&6 -if test "$ac_cv_have_strerror" = yes; then - cat >> confdefs.h <<\EOF -#define HAVE_STRERROR 1 -EOF - -fi - -echo $ac_n "checking for sigfillset""... $ac_c" 1>&6 -echo "configure:4291: checking for sigfillset" >&5 -if eval "test \"`echo '$''{'ac_cv_have_sigfillset'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 4296 "configure" -#include "confdefs.h" -#include <signal.h> -int main() { -sigset_t set; sigfillset(&set); -; return 0; } -EOF -if { (eval echo configure:4303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - ac_cv_have_sigfillset=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_have_sigfillset=no -fi -rm -f conftest* - -fi - -echo "$ac_t""$ac_cv_have_sigfillset" 1>&6 -if test "$ac_cv_have_sigfillset" = yes; then - cat >> confdefs.h <<\EOF -#define HAVE_SIGFILLSET 1 -EOF - -fi - -echo $ac_n "checking for sigsetjmp/siglongjmp""... $ac_c" 1>&6 -echo "configure:4325: checking for sigsetjmp/siglongjmp" >&5 -if eval "test \"`echo '$''{'ac_cv_have_sigsetjmp'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 4330 "configure" -#include "confdefs.h" -#include <setjmp.h> -int main() { -sigjmp_buf env;sigsetjmp(env, 1);siglongjmp(env, 2); -; return 0; } -EOF -if { (eval echo configure:4337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - ac_cv_have_sigsetjmp=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_have_sigsetjmp=no -fi -rm -f conftest* - -fi - -echo "$ac_t""$ac_cv_have_sigsetjmp" 1>&6 -if test "$ac_cv_have_sigsetjmp" = yes; then - cat >> confdefs.h <<\EOF -#define HAVE_SIGSETJMP 1 -EOF - -fi - -echo $ac_n "checking for __builtin_add_overflow""... $ac_c" 1>&6 -echo "configure:4359: checking for __builtin_add_overflow" >&5 -if eval "test \"`echo '$''{'ac_cv_have___builtin_add_overflow'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 4364 "configure" -#include "confdefs.h" - -int main() { -volatile int a = 1, b = 2; int c; return __builtin_add_overflow(a, b, &c); -; return 0; } -EOF -if { (eval echo configure:4371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - ac_cv_have___builtin_add_overflow=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_have___builtin_add_overflow=no -fi -rm -f conftest* - -fi - -echo "$ac_t""$ac_cv_have___builtin_add_overflow" 1>&6 -if test "$ac_cv_have___builtin_add_overflow" = yes; then - cat >> confdefs.h <<\EOF -#define HAVE___BUILTIN_ADD_OVERFLOW 1 -EOF - -fi - -echo $ac_n "checking for __builtin_clz""... $ac_c" 1>&6 -echo "configure:4393: checking for __builtin_clz" >&5 -if eval "test \"`echo '$''{'ac_cv_have___builtin_clz'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 4398 "configure" -#include "confdefs.h" - -int main() { -volatile unsigned a = 1; return __builtin_clz(a); -; return 0; } -EOF -if { (eval echo configure:4405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - ac_cv_have___builtin_clz=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_have___builtin_clz=no -fi -rm -f conftest* - -fi - -echo "$ac_t""$ac_cv_have___builtin_clz" 1>&6 -if test "$ac_cv_have___builtin_clz" = yes; then - cat >> confdefs.h <<\EOF -#define HAVE___BUILTIN_CLZ 1 -EOF - -fi - - -if test "$ac_cv_func_select" != yes; then - { echo "configure: error: select function not present" 1>&2; exit 1; } -fi - - -echo $ac_n "checking for requested debug level""... $ac_c" 1>&6 -echo "configure:4433: checking for requested debug level" >&5 -# Check whether --enable-debuglevel or --disable-debuglevel was given. -if test "${enable_debuglevel+set}" = set; then - enableval="$enable_debuglevel" - cf_debuglevel="$enableval" -else - cf_debuglevel=0 -fi - -if test "$cf_debuglevel" = no; then cf_debuglevel=0; fi -if test "$cf_debuglevel" = yes; then cf_debuglevel=2; fi -echo "$ac_t""$cf_debuglevel" 1>&6 -if test "$cf_debuglevel" != -1 && test "$cf_debuglevel" != 0 && test "$cf_debuglevel" != 1 && test "$cf_debuglevel" != 2 && test "$cf_debuglevel" != 3; then - { echo "configure: error: Invalid debuglevel specified" 1>&2; exit 1; } -fi -cat >> confdefs.h <<EOF -#define DEBUGLEVEL $cf_debuglevel -EOF - - - -cf_use_graphics=no -echo $ac_n "checking if you want to use graphics""... $ac_c" 1>&6 -echo "configure:4456: checking if you want to use graphics" >&5 -# Check whether --enable-graphics or --disable-graphics was given. -if test "${enable_graphics+set}" = set; then - enableval="$enable_graphics" - cf_use_graphics="$enableval" -fi - -echo "$ac_t""$cf_use_graphics" 1>&6 - -echo $ac_n "checking if you want to enable UTF-8 terminal""... $ac_c" 1>&6 -echo "configure:4466: checking if you want to enable UTF-8 terminal" >&5 -cf_enable_utf8=yes -# Check whether --enable-utf8 or --disable-utf8 was given. -if test "${enable_utf8+set}" = set; then - enableval="$enable_utf8" - cf_enable_utf8="$enableval" -fi - -test "$ac_cv_have_emx" = yes && cf_enable_utf8=no -test "$ac_cv_have_djgpp" = yes && cf_enable_utf8=no -echo "$ac_t""$cf_enable_utf8" 1>&6 - -if test "$cf_enable_utf8" != no; then - cat >> confdefs.h <<\EOF -#define ENABLE_UTF8 1 -EOF - -fi - - - - -for ac_func in clock_gettime -do -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:4491: checking for $ac_func" >&5 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 4496 "configure" -#include "confdefs.h" -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func(); below. */ -#include <assert.h> -/* Override any gcc2 internal prototype to avoid an error. */ -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func(); - -int main() { - -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -$ac_func(); -#endif - -; return 0; } -EOF -if { (eval echo configure:4519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_func_$ac_func=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_func_$ac_func=no" -fi -rm -f conftest* -fi - -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` - cat >> confdefs.h <<EOF -#define $ac_tr_func 1 -EOF - -else - echo "$ac_t""no" 1>&6 -fi -done - -if test $ac_cv_func_clock_gettime = no; then - echo $ac_n "checking for clock_gettime in -lrt""... $ac_c" 1>&6 -echo "configure:4545: checking for clock_gettime in -lrt" >&5 -ac_lib_var=`echo rt'_'clock_gettime | sed 'y%./+-%__p_%'` -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - ac_save_LIBS="$LIBS" -LIBS="-lrt $LIBS" -cat > conftest.$ac_ext <<EOF -#line 4553 "configure" -#include "confdefs.h" -/* Override any gcc2 internal prototype to avoid an error. */ -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char clock_gettime(); - -int main() { -clock_gettime() -; return 0; } -EOF -if { (eval echo configure:4564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=no" -fi -rm -f conftest* -LIBS="$ac_save_LIBS" - -fi -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_lib=HAVE_LIB`echo rt | sed -e 's/[^a-zA-Z0-9_]/_/g' \ - -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` - cat >> confdefs.h <<EOF -#define $ac_tr_lib 1 -EOF - - LIBS="-lrt $LIBS" - -else - echo "$ac_t""no" 1>&6 -fi - - if test $ac_cv_lib_rt_clock_gettime = yes; then - cat >> confdefs.h <<\EOF -#define HAVE_CLOCK_GETTIME 1 -EOF - - fi -fi - -echo $ac_n "checking for socket""... $ac_c" 1>&6 -echo "configure:4600: checking for socket" >&5 -if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 4605 "configure" -#include "confdefs.h" -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char socket(); below. */ -#include <assert.h> -/* Override any gcc2 internal prototype to avoid an error. */ -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char socket(); - -int main() { - -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_socket) || defined (__stub___socket) -choke me -#else -socket(); -#endif - -; return 0; } -EOF -if { (eval echo configure:4628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_func_socket=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_func_socket=no" -fi -rm -f conftest* -fi - -if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then - echo "$ac_t""yes" 1>&6 - cf_result=yes -else - echo "$ac_t""no" 1>&6 -cf_result=no -fi - -if test "$cf_result" = no; then - echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6 -echo "configure:4650: checking for socket in -lsocket" >&5 -ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'` -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - ac_save_LIBS="$LIBS" -LIBS="-lsocket $LIBS" -cat > conftest.$ac_ext <<EOF -#line 4658 "configure" -#include "confdefs.h" -/* Override any gcc2 internal prototype to avoid an error. */ -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char socket(); - -int main() { -socket() -; return 0; } -EOF -if { (eval echo configure:4669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=no" -fi -rm -f conftest* -LIBS="$ac_save_LIBS" - -fi -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_lib=HAVE_LIB`echo socket | sed -e 's/[^a-zA-Z0-9_]/_/g' \ - -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` - cat >> confdefs.h <<EOF -#define $ac_tr_lib 1 -EOF - - LIBS="-lsocket $LIBS" - -else - echo "$ac_t""no" 1>&6 -fi - - if test "$ac_cv_lib_socket_socket" = no; then - echo $ac_n "checking for socket in -lnetwork""... $ac_c" 1>&6 -echo "configure:4698: checking for socket in -lnetwork" >&5 -ac_lib_var=`echo network'_'socket | sed 'y%./+-%__p_%'` -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - ac_save_LIBS="$LIBS" -LIBS="-lnetwork $LIBS" -cat > conftest.$ac_ext <<EOF -#line 4706 "configure" -#include "confdefs.h" -/* Override any gcc2 internal prototype to avoid an error. */ -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char socket(); - -int main() { -socket() -; return 0; } -EOF -if { (eval echo configure:4717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=no" -fi -rm -f conftest* -LIBS="$ac_save_LIBS" - -fi -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_lib=HAVE_LIB`echo network | sed -e 's/[^a-zA-Z0-9_]/_/g' \ - -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` - cat >> confdefs.h <<EOF -#define $ac_tr_lib 1 -EOF - - LIBS="-lnetwork $LIBS" - -else - echo "$ac_t""no" 1>&6 -fi - - if test "$ac_cv_lib_network_socket" = no; then - echo $ac_n "checking for socket in -lwatt""... $ac_c" 1>&6 -echo "configure:4746: checking for socket in -lwatt" >&5 -ac_lib_var=`echo watt'_'socket | sed 'y%./+-%__p_%'` -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - ac_save_LIBS="$LIBS" -LIBS="-lwatt $LIBS" -cat > conftest.$ac_ext <<EOF -#line 4754 "configure" -#include "confdefs.h" -/* Override any gcc2 internal prototype to avoid an error. */ -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char socket(); - -int main() { -socket() -; return 0; } -EOF -if { (eval echo configure:4765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=no" -fi -rm -f conftest* -LIBS="$ac_save_LIBS" - -fi -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_lib=HAVE_LIB`echo watt | sed -e 's/[^a-zA-Z0-9_]/_/g' \ - -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` - cat >> confdefs.h <<EOF -#define $ac_tr_lib 1 -EOF - - LIBS="-lwatt $LIBS" - -else - echo "$ac_t""no" 1>&6 -fi - - if test "$ac_cv_lib_watt_socket" = no; then - { echo "configure: error: socket function not present" 1>&2; exit 1; } - fi - fi - fi -fi -echo $ac_n "checking for setsockopt""... $ac_c" 1>&6 -echo "configure:4799: checking for setsockopt" >&5 -if eval "test \"`echo '$''{'ac_cv_func_setsockopt'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 4804 "configure" -#include "confdefs.h" -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char setsockopt(); below. */ -#include <assert.h> -/* Override any gcc2 internal prototype to avoid an error. */ -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char setsockopt(); - -int main() { - -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_setsockopt) || defined (__stub___setsockopt) -choke me -#else -setsockopt(); -#endif - -; return 0; } -EOF -if { (eval echo configure:4827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_func_setsockopt=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_func_setsockopt=no" -fi -rm -f conftest* -fi - -if eval "test \"`echo '$ac_cv_func_'setsockopt`\" = yes"; then - echo "$ac_t""yes" 1>&6 - cf_result=yes -else - echo "$ac_t""no" 1>&6 -cf_result=no -fi - -if test "$cf_result" = no; then - echo $ac_n "checking for setsockopt in -lsocket""... $ac_c" 1>&6 -echo "configure:4849: checking for setsockopt in -lsocket" >&5 -ac_lib_var=`echo socket'_'setsockopt | sed 'y%./+-%__p_%'` -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - ac_save_LIBS="$LIBS" -LIBS="-lsocket $LIBS" -cat > conftest.$ac_ext <<EOF -#line 4857 "configure" -#include "confdefs.h" -/* Override any gcc2 internal prototype to avoid an error. */ -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char setsockopt(); - -int main() { -setsockopt() -; return 0; } -EOF -if { (eval echo configure:4868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=no" -fi -rm -f conftest* -LIBS="$ac_save_LIBS" - -fi -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_lib=HAVE_LIB`echo socket | sed -e 's/[^a-zA-Z0-9_]/_/g' \ - -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` - cat >> confdefs.h <<EOF -#define $ac_tr_lib 1 -EOF - - LIBS="-lsocket $LIBS" - -else - echo "$ac_t""no" 1>&6 -fi - -fi - -echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 -echo "configure:4898: checking for gethostbyname" >&5 -if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 4903 "configure" -#include "confdefs.h" -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char gethostbyname(); below. */ -#include <assert.h> -/* Override any gcc2 internal prototype to avoid an error. */ -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char gethostbyname(); - -int main() { - -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) -choke me -#else -gethostbyname(); -#endif - -; return 0; } -EOF -if { (eval echo configure:4926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_func_gethostbyname=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_func_gethostbyname=no" -fi -rm -f conftest* -fi - -if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then - echo "$ac_t""yes" 1>&6 - cf_result=yes -else - echo "$ac_t""no" 1>&6 -cf_result=no -fi - -if test "$cf_result" = no; then - echo $ac_n "checking for gethostbyname in -lsocket""... $ac_c" 1>&6 -echo "configure:4948: checking for gethostbyname in -lsocket" >&5 -ac_lib_var=`echo socket'_'gethostbyname | sed 'y%./+-%__p_%'` -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - ac_save_LIBS="$LIBS" -LIBS="-lsocket $LIBS" -cat > conftest.$ac_ext <<EOF -#line 4956 "configure" -#include "confdefs.h" -/* Override any gcc2 internal prototype to avoid an error. */ -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char gethostbyname(); - -int main() { -gethostbyname() -; return 0; } -EOF -if { (eval echo configure:4967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=no" -fi -rm -f conftest* -LIBS="$ac_save_LIBS" - -fi -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_lib=HAVE_LIB`echo socket | sed -e 's/[^a-zA-Z0-9_]/_/g' \ - -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` - cat >> confdefs.h <<EOF -#define $ac_tr_lib 1 -EOF - - LIBS="-lsocket $LIBS" - -else - echo "$ac_t""no" 1>&6 -fi - - cf_result="$ac_cv_lib_socket_gethostbyname" - if test "$ac_cv_lib_socket_gethostbyname" = no; then - echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 -echo "configure:4997: checking for gethostbyname in -lnsl" >&5 -ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - ac_save_LIBS="$LIBS" -LIBS="-lnsl $LIBS" -cat > conftest.$ac_ext <<EOF -#line 5005 "configure" -#include "confdefs.h" -/* Override any gcc2 internal prototype to avoid an error. */ -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char gethostbyname(); - -int main() { -gethostbyname() -; return 0; } -EOF -if { (eval echo configure:5016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=no" -fi -rm -f conftest* -LIBS="$ac_save_LIBS" - -fi -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_lib=HAVE_LIB`echo nsl | sed -e 's/[^a-zA-Z0-9_]/_/g' \ - -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` - cat >> confdefs.h <<EOF -#define $ac_tr_lib 1 -EOF - - LIBS="-lnsl $LIBS" - -else - echo "$ac_t""no" 1>&6 -fi - - cf_result="$ac_cv_lib_nsl_gethostbyname" - fi -fi -test "$cf_result" = yes && cat >> confdefs.h <<\EOF -#define HAVE_GETHOSTBYNAME 1 -EOF - - -if test "$cf_result" = yes && test "$ac_cv_have_watcom" = yes -o "`uname -s`" = SunOS; then - echo $ac_n "checking for flawed gethostbyname""... $ac_c" 1>&6 -echo "configure:5053: checking for flawed gethostbyname" >&5 -if eval "test \"`echo '$''{'ac_cv_gethostbyname_bug'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - if test "$cross_compiling" = yes; then - ac_cv_gethostbyname_bug="$ac_cv_have_watcom" -else - cat > conftest.$ac_ext <<EOF -#line 5061 "configure" -#include "confdefs.h" - - #include <netdb.h> - int main() - { - return !gethostbyname("www.gnu.org"); - } - -EOF -if { (eval echo configure:5071: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null -then - ac_cv_gethostbyname_bug=no -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -fr conftest* - ac_cv_gethostbyname_bug=yes -fi -rm -fr conftest* -fi - - -fi - -echo "$ac_t""$ac_cv_gethostbyname_bug" 1>&6 - test "$ac_cv_gethostbyname_bug" = yes && cat >> confdefs.h <<\EOF -#define HAVE_GETHOSTBYNAME_BUG 1 -EOF - -fi - -# Check whether --with-getaddrinfo or --without-getaddrinfo was given. -if test "${with_getaddrinfo+set}" = set; then - withval="$with_getaddrinfo" - if test "$withval" = no; then disable_getaddrinfo=yes; else disable_getaddrinfo=no; fi -fi - - -if test "$disable_getaddrinfo" != yes; then - for ac_func in getaddrinfo freeaddrinfo gai_strerror -do -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:5104: checking for $ac_func" >&5 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 5109 "configure" -#include "confdefs.h" -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func(); below. */ -#include <assert.h> -/* Override any gcc2 internal prototype to avoid an error. */ -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func(); - -int main() { - -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -$ac_func(); -#endif - -; return 0; } -EOF -if { (eval echo configure:5132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_func_$ac_func=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_func_$ac_func=no" -fi -rm -f conftest* -fi - -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` - cat >> confdefs.h <<EOF -#define $ac_tr_func 1 -EOF - -else - echo "$ac_t""no" 1>&6 -fi -done - - if test "$ac_cv_func_getaddrinfo" = yes -a "$ac_cv_func_freeaddrinfo" = yes; then - cf_have_getaddrinfo=yes - else - cf_have_getaddrinfo=no - fi -else - cf_have_getaddrinfo=no -fi - -for ac_func in inet_ntop inet_pton herror -do -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:5168: checking for $ac_func" >&5 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 5173 "configure" -#include "confdefs.h" -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func(); below. */ -#include <assert.h> -/* Override any gcc2 internal prototype to avoid an error. */ -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func(); - -int main() { - -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -$ac_func(); -#endif - -; return 0; } -EOF -if { (eval echo configure:5196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_func_$ac_func=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_func_$ac_func=no" -fi -rm -f conftest* -fi - -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` - cat >> confdefs.h <<EOF -#define $ac_tr_func 1 -EOF - -else - echo "$ac_t""no" 1>&6 -fi -done - - -# Check whether --with-ipv6 or --without-ipv6 was given. -if test "${with_ipv6+set}" = set; then - withval="$with_ipv6" - if test "$withval" = no; then disable_ipv6=yes; else disable_ipv6=no; fi -fi - - -echo $ac_n "checking for ipv6""... $ac_c" 1>&6 -echo "configure:5229: checking for ipv6" >&5 -if eval "test \"`echo '$''{'ac_cv_have_ipv6'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 5234 "configure" -#include "confdefs.h" - - #include <sys/types.h> - #include <sys/socket.h> - #include <netinet/in.h> - -int main() { - - struct sockaddr_in6 sin6; - sin6.sin6_family = AF_INET6; - -; return 0; } -EOF -if { (eval echo configure:5248: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - ac_cv_have_ipv6=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_have_ipv6=no -fi -rm -f conftest* - -fi - -echo "$ac_t""$ac_cv_have_ipv6" 1>&6 -if test "$disable_ipv6" != yes -a "$ac_cv_have_ipv6" = yes -a "$cf_have_getaddrinfo" = yes; then - cf_have_ipv6=yes - cat >> confdefs.h <<\EOF -#define SUPPORT_IPV6 1 -EOF - -else - cf_have_ipv6=no -fi -echo $ac_n "checking for sockaddr_in6.sin6_scope_id""... $ac_c" 1>&6 -echo "configure:5272: checking for sockaddr_in6.sin6_scope_id" >&5 -if eval "test \"`echo '$''{'ac_cv_have_sin6_scope_id'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 5277 "configure" -#include "confdefs.h" - - #include <sys/types.h> - #include <sys/socket.h> - #include <netinet/in.h> - -int main() { - - struct sockaddr_in6 sin6; - sin6.sin6_scope_id = 0; - -; return 0; } -EOF -if { (eval echo configure:5291: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - ac_cv_have_sin6_scope_id=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_have_sin6_scope_id=no -fi -rm -f conftest* - -fi - -echo "$ac_t""$ac_cv_have_sin6_scope_id" 1>&6 -test "$ac_cv_have_sin6_scope_id" = yes && cat >> confdefs.h <<\EOF -#define SUPPORT_IPV6_SCOPE 1 -EOF - - -# Check whether --with-libevent or --without-libevent was given. -if test "${with_libevent+set}" = set; then - withval="$with_libevent" - if test "$withval" = no; then disable_libevent=yes; else disable_libevent=no; fi -fi - - -cf_have_libevent=no -if test "$disable_libevent" != yes; then - for ac_hdr in event.h ev-event.h -do -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:5323: checking for $ac_hdr" >&5 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 5328 "configure" -#include "confdefs.h" -#include <$ac_hdr> -EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:5333: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` -if test -z "$ac_err"; then - rm -rf conftest* - eval "ac_cv_header_$ac_safe=yes" -else - echo "$ac_err" >&5 - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_header_$ac_safe=no" -fi -rm -f conftest* -fi -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` - cat >> confdefs.h <<EOF -#define $ac_tr_hdr 1 -EOF - -else - echo "$ac_t""no" 1>&6 -fi -done - - if test "$ac_cv_header_event_h" = yes; then - echo $ac_n "checking for event_loop in -levent""... $ac_c" 1>&6 -echo "configure:5361: checking for event_loop in -levent" >&5 -ac_lib_var=`echo event'_'event_loop | sed 'y%./+-%__p_%'` -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - ac_save_LIBS="$LIBS" -LIBS="-levent $LIBS" -cat > conftest.$ac_ext <<EOF -#line 5369 "configure" -#include "confdefs.h" -/* Override any gcc2 internal prototype to avoid an error. */ -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char event_loop(); - -int main() { -event_loop() -; return 0; } -EOF -if { (eval echo configure:5380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=no" -fi -rm -f conftest* -LIBS="$ac_save_LIBS" - -fi -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_lib=HAVE_LIB`echo event | sed -e 's/[^a-zA-Z0-9_]/_/g' \ - -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` - cat >> confdefs.h <<EOF -#define $ac_tr_lib 1 -EOF - - LIBS="-levent $LIBS" - -else - echo "$ac_t""no" 1>&6 -fi - - if test "$ac_cv_lib_event_event_loop" = yes; then - cf_have_libevent=libevent - fi - fi - if test "$cf_have_libevent" = no; then - if test "$ac_cv_header_event_h" = yes -o "$ac_cv_header_ev_event_h" = yes; then - echo $ac_n "checking for event_loop in -lev""... $ac_c" 1>&6 -echo "configure:5414: checking for event_loop in -lev" >&5 -ac_lib_var=`echo ev'_'event_loop | sed 'y%./+-%__p_%'` -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - ac_save_LIBS="$LIBS" -LIBS="-lev $LIBS" -cat > conftest.$ac_ext <<EOF -#line 5422 "configure" -#include "confdefs.h" -/* Override any gcc2 internal prototype to avoid an error. */ -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char event_loop(); - -int main() { -event_loop() -; return 0; } -EOF -if { (eval echo configure:5433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=no" -fi -rm -f conftest* -LIBS="$ac_save_LIBS" - -fi -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_lib=HAVE_LIB`echo ev | sed -e 's/[^a-zA-Z0-9_]/_/g' \ - -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` - cat >> confdefs.h <<EOF -#define $ac_tr_lib 1 -EOF - - LIBS="-lev $LIBS" - -else - echo "$ac_t""no" 1>&6 -fi - - if test "$ac_cv_lib_ev_event_loop" = yes; then - cf_have_libevent=libev - fi - fi - fi -fi -if test "$cf_have_libevent" != no; then - for ac_func in event_base_set event_get_version event_get_method event_base_free event_base_new event_reinit event_base_get_method event_config_set_flag event_get_struct_event_size -do -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:5470: checking for $ac_func" >&5 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 5475 "configure" -#include "confdefs.h" -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func(); below. */ -#include <assert.h> -/* Override any gcc2 internal prototype to avoid an error. */ -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func(); - -int main() { - -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -$ac_func(); -#endif - -; return 0; } -EOF -if { (eval echo configure:5498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_func_$ac_func=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_func_$ac_func=no" -fi -rm -f conftest* -fi - -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` - cat >> confdefs.h <<EOF -#define $ac_tr_func 1 -EOF - -else - echo "$ac_t""no" 1>&6 -fi -done - -fi - -if test "$cf_use_graphics" != no; then - echo $ac_n "checking for pow in -lm""... $ac_c" 1>&6 -echo "configure:5526: checking for pow in -lm" >&5 -ac_lib_var=`echo m'_'pow | sed 'y%./+-%__p_%'` -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - ac_save_LIBS="$LIBS" -LIBS="-lm $LIBS" -cat > conftest.$ac_ext <<EOF -#line 5534 "configure" -#include "confdefs.h" -/* Override any gcc2 internal prototype to avoid an error. */ -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char pow(); - -int main() { -pow() -; return 0; } -EOF -if { (eval echo configure:5545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=no" -fi -rm -f conftest* -LIBS="$ac_save_LIBS" - -fi -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \ - -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` - cat >> confdefs.h <<EOF -#define $ac_tr_lib 1 -EOF - - LIBS="-lm $LIBS" - -else - echo "$ac_t""no" 1>&6 -fi - - if test "$ac_cv_lib_m_pow" = no; then - echo $ac_n "checking for main in -lm""... $ac_c" 1>&6 -echo "configure:5574: checking for main in -lm" >&5 -ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'` -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - ac_save_LIBS="$LIBS" -LIBS="-lm $LIBS" -cat > conftest.$ac_ext <<EOF -#line 5582 "configure" -#include "confdefs.h" - -int main() { -main() -; return 0; } -EOF -if { (eval echo configure:5589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=no" -fi -rm -f conftest* -LIBS="$ac_save_LIBS" - -fi -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \ - -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` - cat >> confdefs.h <<EOF -#define $ac_tr_lib 1 -EOF - - LIBS="-lm $LIBS" - -else - echo "$ac_t""no" 1>&6 -fi - - fi - echo $ac_n "checking for pow""... $ac_c" 1>&6 -echo "configure:5618: checking for pow" >&5 -if eval "test \"`echo '$''{'ac_cv_have_pow'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 5623 "configure" -#include "confdefs.h" -#include <math.h> -int main() { -pow(1.1, 2.2); return 0; -; return 0; } -EOF -if { (eval echo configure:5630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - ac_cv_have_pow=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_have_pow=no -fi -rm -f conftest* - -fi - -echo "$ac_t""$ac_cv_have_pow" 1>&6 - if test "$ac_cv_have_pow" = yes; then - cat >> confdefs.h <<\EOF -#define HAVE_POW 1 -EOF - - fi - echo $ac_n "checking for powf""... $ac_c" 1>&6 -echo "configure:5651: checking for powf" >&5 -if eval "test \"`echo '$''{'ac_cv_have_powf'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 5656 "configure" -#include "confdefs.h" -#include <math.h> -int main() { -powf(1.1, 2.2); return 0; -; return 0; } -EOF -if { (eval echo configure:5663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - ac_cv_have_powf=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_have_powf=no -fi -rm -f conftest* - -fi - -echo "$ac_t""$ac_cv_have_powf" 1>&6 - if test "$ac_cv_have_powf" = yes; then - cat >> confdefs.h <<\EOF -#define HAVE_POWF 1 -EOF - - fi - if test "$ac_cv_have_pow" != yes -a "$ac_cv_have_powf" != yes; then - { echo "configure: error: pow and powf functions not present" 1>&2; exit 1; } - fi -fi - -# Check whether --with-gpm or --without-gpm was given. -if test "${with_gpm+set}" = set; then - withval="$with_gpm" - if test "$withval" = no; then disable_gpm=yes; else disable_gpm=no; fi -fi - - -if test "$disable_gpm" != yes -a "$ac_cv_have_djgpp" != yes; then - for ac_hdr in gpm.h -do -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:5700: checking for $ac_hdr" >&5 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 5705 "configure" -#include "confdefs.h" -#include <$ac_hdr> -EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:5710: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` -if test -z "$ac_err"; then - rm -rf conftest* - eval "ac_cv_header_$ac_safe=yes" -else - echo "$ac_err" >&5 - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_header_$ac_safe=no" -fi -rm -f conftest* -fi -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` - cat >> confdefs.h <<EOF -#define $ac_tr_hdr 1 -EOF - -else - echo "$ac_t""no" 1>&6 -fi -done - - echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 -echo "configure:5737: checking for Gpm_Open in -lgpm" >&5 -ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - ac_save_LIBS="$LIBS" -LIBS="-lgpm $LIBS" -cat > conftest.$ac_ext <<EOF -#line 5745 "configure" -#include "confdefs.h" -/* Override any gcc2 internal prototype to avoid an error. */ -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char Gpm_Open(); - -int main() { -Gpm_Open() -; return 0; } -EOF -if { (eval echo configure:5756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=no" -fi -rm -f conftest* -LIBS="$ac_save_LIBS" - -fi -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_lib=HAVE_LIB`echo gpm | sed -e 's/[^a-zA-Z0-9_]/_/g' \ - -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` - cat >> confdefs.h <<EOF -#define $ac_tr_lib 1 -EOF - - LIBS="-lgpm $LIBS" - -else - echo "$ac_t""no" 1>&6 -fi - - for ac_func in Gpm_GetLibVersion -do -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:5786: checking for $ac_func" >&5 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 5791 "configure" -#include "confdefs.h" -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func(); below. */ -#include <assert.h> -/* Override any gcc2 internal prototype to avoid an error. */ -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func(); - -int main() { - -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -$ac_func(); -#endif - -; return 0; } -EOF -if { (eval echo configure:5814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_func_$ac_func=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_func_$ac_func=no" -fi -rm -f conftest* -fi - -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` - cat >> confdefs.h <<EOF -#define $ac_tr_func 1 -EOF - -else - echo "$ac_t""no" 1>&6 -fi -done - - if test "$ac_cv_lib_gpm_Gpm_Open" = yes && test "$ac_cv_header_gpm_h" = yes; then - cf_have_gpm=yes - echo $ac_n "checking for Gpm_Event wdx and wdy""... $ac_c" 1>&6 -echo "configure:5841: checking for Gpm_Event wdx and wdy" >&5 -if eval "test \"`echo '$''{'ac_cv_have_wdx_wdy'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 5846 "configure" -#include "confdefs.h" -#include <gpm.h> -int main() { -Gpm_Event e; e.wdx = 1; e.wdy = 2; return e.wdx + e.wdy -; return 0; } -EOF -if { (eval echo configure:5853: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - ac_cv_have_wdx_wdy=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_have_wdx_wdy=no -fi -rm -f conftest* - -fi - -echo "$ac_t""$ac_cv_have_wdx_wdy" 1>&6 - if test "$ac_cv_have_wdx_wdy" = yes; then - cat >> confdefs.h <<\EOF -#define HAVE_WDX_WDY 1 -EOF - - fi - else - cf_have_gpm=no - fi -else - cf_have_gpm=no -fi - -echo $ac_n "checking for OS/2 threads""... $ac_c" 1>&6 -echo "configure:5881: checking for OS/2 threads" >&5 -if eval "test \"`echo '$''{'ac_cv_have_beginthread'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - CFLAGS_X="$CFLAGS" - CFLAGS="$CFLAGS -Zmt" - cat > conftest.$ac_ext <<EOF -#line 5888 "configure" -#include "confdefs.h" -#include <stdlib.h> -int main() { -_beginthread(NULL, NULL, 0, NULL) -; return 0; } -EOF -if { (eval echo configure:5895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - ac_cv_have_beginthread=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_have_beginthread=no -fi -rm -f conftest* - CFLAGS="$CFLAGS_X" - -fi - -echo "$ac_t""$ac_cv_have_beginthread" 1>&6 -if test "$ac_cv_have_beginthread" = yes; then - CFLAGS="$CFLAGS -Zmt" - cat >> confdefs.h <<\EOF -#define HAVE_BEGINTHREAD 1 -EOF - -fi -for ac_hdr in atheos/threads.h -do -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:5921: checking for $ac_hdr" >&5 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 5926 "configure" -#include "confdefs.h" -#include <$ac_hdr> -EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:5931: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` -if test -z "$ac_err"; then - rm -rf conftest* - eval "ac_cv_header_$ac_safe=yes" -else - echo "$ac_err" >&5 - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_header_$ac_safe=no" -fi -rm -f conftest* -fi -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` - cat >> confdefs.h <<EOF -#define $ac_tr_hdr 1 -EOF - -else - echo "$ac_t""no" 1>&6 -fi -done - -for ac_func in spawn_thread resume_thread -do -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:5960: checking for $ac_func" >&5 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 5965 "configure" -#include "confdefs.h" -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func(); below. */ -#include <assert.h> -/* Override any gcc2 internal prototype to avoid an error. */ -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func(); - -int main() { - -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -$ac_func(); -#endif - -; return 0; } -EOF -if { (eval echo configure:5988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_func_$ac_func=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_func_$ac_func=no" -fi -rm -f conftest* -fi - -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` - cat >> confdefs.h <<EOF -#define $ac_tr_func 1 -EOF - -else - echo "$ac_t""no" 1>&6 -fi -done - - -for ac_func in MouOpen _read_kbd -do -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:6016: checking for $ac_func" >&5 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 6021 "configure" -#include "confdefs.h" -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func(); below. */ -#include <assert.h> -/* Override any gcc2 internal prototype to avoid an error. */ -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func(); - -int main() { - -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -$ac_func(); -#endif - -; return 0; } -EOF -if { (eval echo configure:6044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_func_$ac_func=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_func_$ac_func=no" -fi -rm -f conftest* -fi - -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` - cat >> confdefs.h <<EOF -#define $ac_tr_func 1 -EOF - -else - echo "$ac_t""no" 1>&6 -fi -done - -echo $ac_n "checking for XFree for OS/2""... $ac_c" 1>&6 -echo "configure:6069: checking for XFree for OS/2" >&5 -if eval "test \"`echo '$''{'ac_cv_have_x2'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - CPPFLAGS_X="$CPPFLAGS" - LIBS_X="$LIBS" - ac_cv_have_x2=no - if test -n "$X11ROOT"; then - CPPFLAGS="$CPPFLAGS_X -I$X11ROOT/XFree86/include" - LIBS="$LIBS_X -L$X11ROOT/XFree86/lib -lxf86_gcc" - cat > conftest.$ac_ext <<EOF -#line 6080 "configure" -#include "confdefs.h" -#include <pty.h> -int main() { -struct winsize win;ptioctl(1, TIOCGWINSZ, &win) -; return 0; } -EOF -if { (eval echo configure:6087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - ac_cv_have_x2=xf86_gcc -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_have_x2=no -fi -rm -f conftest* - if test "$ac_cv_have_x2" = no; then - LIBS="$LIBS_X -L$X11ROOT/XFree86/lib -lxf86" - cat > conftest.$ac_ext <<EOF -#line 6100 "configure" -#include "confdefs.h" -#include <pty.h> -int main() { -struct winsize win;ptioctl(1, TIOCGWINSZ, &win) -; return 0; } -EOF -if { (eval echo configure:6107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - ac_cv_have_x2=xf86 -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_have_x2=no -fi -rm -f conftest* - fi - fi - CPPFLAGS="$CPPFLAGS_X" - LIBS="$LIBS_X" - -fi - -echo "$ac_t""$ac_cv_have_x2" 1>&6 -if test "$ac_cv_have_x2" != no; then - CPPFLAGS="$CPPFLAGS -I$X11ROOT/XFree86/include" - LIBS="$LIBS -L$X11ROOT/XFree86/lib -l$ac_cv_have_x2" - cat >> confdefs.h <<\EOF -#define X2 1 -EOF - -fi - -cf_result=no -#ifdef HAVE_SSL -ssld=yes -withval= -# Check whether --with-ssl or --without-ssl was given. -if test "${with_ssl+set}" = set; then - withval="$with_ssl" - if test "$withval" = no; then disable_ssl=yes; else ssld="$withval"; fi -fi - -# Check whether --enable-ssl-pkgconfig or --disable-ssl-pkgconfig was given. -if test "${enable_ssl_pkgconfig+set}" = set; then - enableval="$enable_ssl_pkgconfig" - cf_openssl_pkgconfig="$enableval" -else - cf_openssl_pkgconfig=yes -fi - -if test -z "$disable_ssl"; then - CPPFLAGS_X="$CPPFLAGS" - LIBS_X="$LIBS" - if test "$static_link" != 0; then - echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 -echo "configure:6157: checking for dlopen in -ldl" >&5 -ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - ac_save_LIBS="$LIBS" -LIBS="-ldl $LIBS" -cat > conftest.$ac_ext <<EOF -#line 6165 "configure" -#include "confdefs.h" -/* Override any gcc2 internal prototype to avoid an error. */ -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char dlopen(); - -int main() { -dlopen() -; return 0; } -EOF -if { (eval echo configure:6176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=no" -fi -rm -f conftest* -LIBS="$ac_save_LIBS" - -fi -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_lib=HAVE_LIB`echo dl | sed -e 's/[^a-zA-Z0-9_]/_/g' \ - -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` - cat >> confdefs.h <<EOF -#define $ac_tr_lib 1 -EOF - - LIBS="-ldl $LIBS" - -else - echo "$ac_t""no" 1>&6 -fi - - echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 -echo "configure:6204: checking for inflate in -lz" >&5 -ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - ac_save_LIBS="$LIBS" -LIBS="-lz $LIBS" -cat > conftest.$ac_ext <<EOF -#line 6212 "configure" -#include "confdefs.h" -/* Override any gcc2 internal prototype to avoid an error. */ -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char inflate(); - -int main() { -inflate() -; return 0; } -EOF -if { (eval echo configure:6223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=no" -fi -rm -f conftest* -LIBS="$ac_save_LIBS" - -fi -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_lib=HAVE_LIB`echo z | sed -e 's/[^a-zA-Z0-9_]/_/g' \ - -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` - cat >> confdefs.h <<EOF -#define $ac_tr_lib 1 -EOF - - LIBS="-lz $LIBS" - -else - echo "$ac_t""no" 1>&6 -fi - - fi - CPPFLAGS_XX="$CPPFLAGS" - LIBS_XX="$LIBS" - if test "$cf_result" = no && test "$ssld" = yes -o "$ssld" = openssl; then - if test "$cf_openssl_pkgconfig" = no; then - pkgconfig_openssl=no - else - - succeeded=no - - if test -z "$PKG_CONFIG"; then - # Extract the first word of "pkg-config", so it can be a program name with args. -set dummy pkg-config; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:6264: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - case "$PKG_CONFIG" in - /*) - ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. - ;; - ?:/*) - ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a dos path. - ;; - *) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_path_PKG_CONFIG="$ac_dir/$ac_word" - break - fi - done - IFS="$ac_save_ifs" - test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" - ;; -esac -fi -PKG_CONFIG="$ac_cv_path_PKG_CONFIG" -if test -n "$PKG_CONFIG"; then - echo "$ac_t""$PKG_CONFIG" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - fi - - if test "$PKG_CONFIG" = "no" ; then - echo "*** The pkg-config script could not be found. Make sure it is" - echo "*** in your path, or set the PKG_CONFIG environment variable" - echo "*** to the full path to pkg-config." - echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config." - else - PKG_CONFIG_MIN_VERSION=0.9.0 - if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then - echo $ac_n "checking for openssl""... $ac_c" 1>&6 -echo "configure:6308: checking for openssl" >&5 - - if $PKG_CONFIG --exists "openssl" ; then - echo "$ac_t""yes" 1>&6 - succeeded=yes - - echo $ac_n "checking OPENSSL_CFLAGS""... $ac_c" 1>&6 -echo "configure:6315: checking OPENSSL_CFLAGS" >&5 - OPENSSL_CFLAGS=`$PKG_CONFIG --cflags "openssl"` - echo "$ac_t""$OPENSSL_CFLAGS" 1>&6 - - echo $ac_n "checking OPENSSL_LIBS""... $ac_c" 1>&6 -echo "configure:6320: checking OPENSSL_LIBS" >&5 - OPENSSL_LIBS=`$PKG_CONFIG --libs "openssl"` - echo "$ac_t""$OPENSSL_LIBS" 1>&6 - else - OPENSSL_CFLAGS="" - OPENSSL_LIBS="" - ## If we have a custom action on failure, don't print errors, but - ## do set a variable so people can do so. - OPENSSL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "openssl"` - - fi - - - - else - echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer." - echo "*** See http://www.freedesktop.org/software/pkgconfig" - fi - fi - - if test $succeeded = yes; then - pkgconfig_openssl=yes - else - pkgconfig_openssl=no - fi - - if test "$PKG_CONFIG" != no -a "$pkgconfig_openssl" = no; then - echo "$ac_t""no" 1>&6 - fi - fi - if test "$pkgconfig_openssl" = yes; then - echo $ac_n "checking for OpenSSL""... $ac_c" 1>&6 -echo "configure:6352: checking for OpenSSL" >&5 - CPPFLAGS="$CPPFLAGS_XX $OPENSSL_CFLAGS" - LIBS="$OPENSSL_LIBS $LIBS_XX" - cat > conftest.$ac_ext <<EOF -#line 6356 "configure" -#include "confdefs.h" -#include <stdio.h> -#include <openssl/ssl.h> -int main() { -SSL_CTX_new((void *)0) -; return 0; } -EOF -if { (eval echo configure:6364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - cf_result=openssl -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - cf_result=no -fi -rm -f conftest* - echo "$ac_t""$cf_result" 1>&6 - fi - fi - - if test "$cf_result" = no && test "$ssld" != nss; then - echo $ac_n "checking for OpenSSL""... $ac_c" 1>&6 -echo "configure:6380: checking for OpenSSL" >&5 - if test "$ssld" = yes -o "$ssld" = openssl; then - ssld=". /usr /usr/local /usr/local/openssl /usr/lib/openssl /usr/local/ssl /usr/local/www /usr/lib/ssl /usr/local /usr/pkg /opt /opt/openssl" - fi - for ssldir in $ssld; do - if test "$cf_result" = no; then - if test ! -z "$ssldir" && test "$ssldir" != /usr && test "$ssldir" != .; then - LIBS="-L$ssldir/lib -lssl -lcrypto $LIBS_XX" - CPPFLAGS="$CPPFLAGS_XX -I$ssldir/include" - else - LIBS="-lssl -lcrypto $LIBS_XX" - CPPFLAGS="$CPPFLAGS_XX" - fi - cat > conftest.$ac_ext <<EOF -#line 6394 "configure" -#include "confdefs.h" -#include <stdio.h> -#include <openssl/ssl.h> -int main() { -SSL_CTX_new((void *)0) -; return 0; } -EOF -if { (eval echo configure:6402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - cf_result=openssl -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - cf_result=no -fi -rm -f conftest* - fi - done - echo "$ac_t""$cf_result" 1>&6 - fi - - if test "$cf_result" = no && test "$ssld" = yes -o "$ssld" = nss; then - if test "$cf_openssl_pkgconfig" = no; then - pkgconfig_nss=no - else - - succeeded=no - - if test -z "$PKG_CONFIG"; then - # Extract the first word of "pkg-config", so it can be a program name with args. -set dummy pkg-config; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:6428: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - case "$PKG_CONFIG" in - /*) - ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. - ;; - ?:/*) - ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a dos path. - ;; - *) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_path_PKG_CONFIG="$ac_dir/$ac_word" - break - fi - done - IFS="$ac_save_ifs" - test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" - ;; -esac -fi -PKG_CONFIG="$ac_cv_path_PKG_CONFIG" -if test -n "$PKG_CONFIG"; then - echo "$ac_t""$PKG_CONFIG" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - fi - - if test "$PKG_CONFIG" = "no" ; then - echo "*** The pkg-config script could not be found. Make sure it is" - echo "*** in your path, or set the PKG_CONFIG environment variable" - echo "*** to the full path to pkg-config." - echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config." - else - PKG_CONFIG_MIN_VERSION=0.9.0 - if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then - echo $ac_n "checking for nss""... $ac_c" 1>&6 -echo "configure:6472: checking for nss" >&5 - - if $PKG_CONFIG --exists "nss" ; then - echo "$ac_t""yes" 1>&6 - succeeded=yes - - echo $ac_n "checking NSS_CFLAGS""... $ac_c" 1>&6 -echo "configure:6479: checking NSS_CFLAGS" >&5 - NSS_CFLAGS=`$PKG_CONFIG --cflags "nss"` - echo "$ac_t""$NSS_CFLAGS" 1>&6 - - echo $ac_n "checking NSS_LIBS""... $ac_c" 1>&6 -echo "configure:6484: checking NSS_LIBS" >&5 - NSS_LIBS=`$PKG_CONFIG --libs "nss"` - echo "$ac_t""$NSS_LIBS" 1>&6 - else - NSS_CFLAGS="" - NSS_LIBS="" - ## If we have a custom action on failure, don't print errors, but - ## do set a variable so people can do so. - NSS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "nss"` - - fi - - - - else - echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer." - echo "*** See http://www.freedesktop.org/software/pkgconfig" - fi - fi - - if test $succeeded = yes; then - pkgconfig_nss=yes - else - pkgconfig_nss=no - fi - - if test "$PKG_CONFIG" != no -a "$pkgconfig_nss" = no; then - echo "$ac_t""no" 1>&6 - fi - fi - if test "$pkgconfig_nss" = no; then - NSS_CFLAGS="" - NSS_LIBS="" - fi - CPPFLAGS="$CPPFLAGS_X $NSS_CFLAGS" - LIBS="-lnss_compat_ossl $NSS_LIBS $LIBS_X" - echo $ac_n "checking for NSS-compat-ossl""... $ac_c" 1>&6 -echo "configure:6521: checking for NSS-compat-ossl" >&5 - cat > conftest.$ac_ext <<EOF -#line 6523 "configure" -#include "confdefs.h" -#include <nss_compat_ossl/nss_compat_ossl.h> -int main() { -SSL_CTX_new((void *)0) -; return 0; } -EOF -if { (eval echo configure:6530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - cf_result=nss -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - cf_result=no -fi -rm -f conftest* - echo "$ac_t""$cf_result" 1>&6 - fi - - if test "$cf_result" = no; then - if test -n "$withval" -a "$withval" != no; then - { echo "configure: error: "OpenSSL not found"" 1>&2; exit 1; } - fi - CPPFLAGS="$CPPFLAGS_X" - LIBS="$LIBS_X" - else - cat >> confdefs.h <<\EOF -#define HAVE_SSL 1 -EOF - - if test "$cf_result" = openssl; then - cat >> confdefs.h <<\EOF -#define HAVE_OPENSSL 1 -EOF - - for ac_hdr in openssl/x509v3.h -do -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:6563: checking for $ac_hdr" >&5 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 6568 "configure" -#include "confdefs.h" -#include <$ac_hdr> -EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:6573: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` -if test -z "$ac_err"; then - rm -rf conftest* - eval "ac_cv_header_$ac_safe=yes" -else - echo "$ac_err" >&5 - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_header_$ac_safe=no" -fi -rm -f conftest* -fi -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` - cat >> confdefs.h <<EOF -#define $ac_tr_hdr 1 -EOF - -else - echo "$ac_t""no" 1>&6 -fi -done - - fi - if test "$cf_result" = nss; then - cat >> confdefs.h <<\EOF -#define HAVE_NSS 1 -EOF - - fi - for ac_func in ASN1_STRING_get0_data ASN1_STRING_to_UTF8 OPENSSL_cleanup OPENSSL_init_ssl RAND_add RAND_egd RAND_file_name RAND_load_file RAND_write_file SSL_SESSION_is_resumable SSL_get1_session SSL_load_error_strings X509_check_host X509_check_ip -do -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:6609: checking for $ac_func" >&5 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 6614 "configure" -#include "confdefs.h" -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func(); below. */ -#include <assert.h> -/* Override any gcc2 internal prototype to avoid an error. */ -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func(); - -int main() { - -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -$ac_func(); -#endif - -; return 0; } -EOF -if { (eval echo configure:6637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_func_$ac_func=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_func_$ac_func=no" -fi -rm -f conftest* -fi - -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` - cat >> confdefs.h <<EOF -#define $ac_tr_func 1 -EOF - -else - echo "$ac_t""no" 1>&6 -fi -done - - echo $ac_n "checking for CRYPTO_set_mem_functions without file/line""... $ac_c" 1>&6 -echo "configure:6662: checking for CRYPTO_set_mem_functions without file/line" >&5 -if eval "test \"`echo '$''{'ac_cv_have_crypto_set_mem_functions_1'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 6667 "configure" -#include "confdefs.h" -#include <openssl/crypto.h> - static int csmf(void *(*m)(size_t), void *(*r)(void *, size_t), void (*f)(void *)) { return 0; } - -int main() { -return (int)(CRYPTO_set_mem_functions - csmf); -; return 0; } -EOF -if { (eval echo configure:6676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - ac_cv_have_crypto_set_mem_functions_1=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_have_crypto_set_mem_functions_1=no -fi -rm -f conftest* - -fi - -echo "$ac_t""$ac_cv_have_crypto_set_mem_functions_1" 1>&6 - if test "$ac_cv_have_crypto_set_mem_functions_1" = yes; then - cat >> confdefs.h <<\EOF -#define HAVE_CRYPTO_SET_MEM_FUNCTIONS_1 1 -EOF - - fi - echo $ac_n "checking for CRYPTO_set_mem_functions with file/line""... $ac_c" 1>&6 -echo "configure:6697: checking for CRYPTO_set_mem_functions with file/line" >&5 -if eval "test \"`echo '$''{'ac_cv_have_crypto_set_mem_functions_2'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 6702 "configure" -#include "confdefs.h" -#include <openssl/crypto.h> - static int csmf(void *(*m)(size_t, const char *, int), void *(*r)(void *, size_t, const char *, int), void (*f)(void *, const char *, int)) { return 0; } - -int main() { -return (int)(CRYPTO_set_mem_functions - csmf); -; return 0; } -EOF -if { (eval echo configure:6711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - ac_cv_have_crypto_set_mem_functions_2=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_have_crypto_set_mem_functions_2=no -fi -rm -f conftest* - -fi - -echo "$ac_t""$ac_cv_have_crypto_set_mem_functions_2" 1>&6 - if test "$ac_cv_have_crypto_set_mem_functions_2" = yes; then - cat >> confdefs.h <<\EOF -#define HAVE_CRYPTO_SET_MEM_FUNCTIONS_2 1 -EOF - - fi - fi -fi -#endif -cf_have_ssl=$cf_result - -# Check whether --with-zlib or --without-zlib was given. -if test "${with_zlib+set}" = set; then - withval="$with_zlib" - if test "$withval" = no; then disable_zlib=yes; else disable_zlib=no; fi -fi - -# Check whether --with-brotli or --without-brotli was given. -if test "${with_brotli+set}" = set; then - withval="$with_brotli" - if test "$withval" = no; then disable_brotli=yes; else disable_brotli=no; fi -fi - -# Check whether --with-bzip2 or --without-bzip2 was given. -if test "${with_bzip2+set}" = set; then - withval="$with_bzip2" - if test "$withval" = no; then disable_bzip2=yes; else disable_bzip2=no; fi -fi - -# Check whether --with-lzma or --without-lzma was given. -if test "${with_lzma+set}" = set; then - withval="$with_lzma" - if test "$withval" = no; then disable_lzma=yes; else disable_lzma=no; fi -fi - -# Check whether --with-lzip or --without-lzip was given. -if test "${with_lzip+set}" = set; then - withval="$with_lzip" - if test "$withval" = no; then disable_lzip=yes; else disable_lzip=no; fi -fi - -compression="" - -if test "$disable_zlib" != yes; then - for ac_hdr in zlib.h -do -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:6773: checking for $ac_hdr" >&5 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 6778 "configure" -#include "confdefs.h" -#include <$ac_hdr> -EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:6783: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` -if test -z "$ac_err"; then - rm -rf conftest* - eval "ac_cv_header_$ac_safe=yes" -else - echo "$ac_err" >&5 - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_header_$ac_safe=no" -fi -rm -f conftest* -fi -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` - cat >> confdefs.h <<EOF -#define $ac_tr_hdr 1 -EOF - -else - echo "$ac_t""no" 1>&6 -fi -done - - echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 -echo "configure:6810: checking for inflate in -lz" >&5 -ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - ac_save_LIBS="$LIBS" -LIBS="-lz $LIBS" -cat > conftest.$ac_ext <<EOF -#line 6818 "configure" -#include "confdefs.h" -/* Override any gcc2 internal prototype to avoid an error. */ -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char inflate(); - -int main() { -inflate() -; return 0; } -EOF -if { (eval echo configure:6829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=no" -fi -rm -f conftest* -LIBS="$ac_save_LIBS" - -fi -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_lib=HAVE_LIB`echo z | sed -e 's/[^a-zA-Z0-9_]/_/g' \ - -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` - cat >> confdefs.h <<EOF -#define $ac_tr_lib 1 -EOF - - LIBS="-lz $LIBS" - -else - echo "$ac_t""no" 1>&6 -fi - - if test "$ac_cv_header_zlib_h" = yes && test "$ac_cv_lib_z_inflate" = yes; then - cat >> confdefs.h <<\EOF -#define HAVE_ZLIB 1 -EOF - - compression="$compression ZLIB" - fi -fi - -if test "$disable_brotli" != yes; then - for ac_hdr in brotli/decode.h -do -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:6870: checking for $ac_hdr" >&5 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 6875 "configure" -#include "confdefs.h" -#include <$ac_hdr> -EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:6880: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` -if test -z "$ac_err"; then - rm -rf conftest* - eval "ac_cv_header_$ac_safe=yes" -else - echo "$ac_err" >&5 - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_header_$ac_safe=no" -fi -rm -f conftest* -fi -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then - echo "$ac_t""yes" 1>&6