From 42e8063a326d086be265145cb34ecff6061be563 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Sat, 15 May 2004 12:24:30 +0000 Subject: [PATCH] Enhanced ./configure checks for required C header files. --- configure.in | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/configure.in b/configure.in index 49d2debe..64179058 100644 --- a/configure.in +++ b/configure.in @@ -8,7 +8,7 @@ # (at your option) any later version. # Please read the file COPYING, README and AUTHORS for more information. # -# $Id: configure.in,v 1.102 2004/04/11 13:20:24 alex Exp $ +# $Id: configure.in,v 1.103 2004/05/15 12:24:30 alex Exp $ # # -- Initialisation -- @@ -146,7 +146,7 @@ AC_ARG_WITH(syslog, ) if test "$x_syslog_on" = "yes"; then AC_DEFINE(SYSLOG, 1) - AC_CHECK_HEADERS(syslog.h) + AC_CHECK_HEADERS(syslog.h,,AC_MSG_ERROR([required C header missing!])) fi x_zlib_on=no @@ -165,7 +165,7 @@ AC_ARG_WITH(zlib, ) if test "$x_zlib_on" = "yes"; then AC_DEFINE(ZLIB, 1) - AC_CHECK_HEADERS(zlib.h) + AC_CHECK_HEADERS(zlib.h,,AC_MSG_ERROR([required C header missing!])) fi x_tcpwrap_on=no @@ -203,7 +203,8 @@ AC_ARG_WITH(rendezvous, ) if test "$x_rendezvous_on" = "yes"; then AC_DEFINE(RENDEZVOUS, 1) - AC_CHECK_HEADERS(DNSServiceDiscovery/DNSServiceDiscovery.h mach/port.h) + AC_CHECK_HEADERS([DNSServiceDiscovery/DNSServiceDiscovery.h \ + mach/port.h],,AC_MSG_ERROR([required C header missing!])) fi x_identauth_on=no @@ -219,7 +220,7 @@ AC_ARG_WITH(ident, ) if test "$x_identauth_on" = "yes"; then AC_DEFINE(IDENTAUTH, 1) - AC_CHECK_HEADERS(ident.h) + AC_CHECK_HEADERS(ident.h,,AC_MSG_ERROR([required C header missing!])) fi x_ircplus_on=yes -- 2.39.2