]> arthur.barton.de Git - ngircd-alex.git/commitdiff
Enhanced ./configure checks for required C header files.
authorAlexander Barton <alex@barton.de>
Sat, 15 May 2004 12:24:30 +0000 (12:24 +0000)
committerAlexander Barton <alex@barton.de>
Sat, 15 May 2004 12:24:30 +0000 (12:24 +0000)
configure.in

index 49d2debe62218b397b6e0075e032f07e85a11171..64179058def62578ce612f5df110b7ebe4bbae39 100644 (file)
@@ -8,7 +8,7 @@
 # (at your option) any later version.
 # Please read the file COPYING, README and AUTHORS for more information.
 #
 # (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 --
 #
 
 # -- Initialisation --
@@ -146,7 +146,7 @@ AC_ARG_WITH(syslog,
 )
 if test "$x_syslog_on" = "yes"; then
        AC_DEFINE(SYSLOG, 1)
 )
 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
 fi
 
 x_zlib_on=no
@@ -165,7 +165,7 @@ AC_ARG_WITH(zlib,
 )
 if test "$x_zlib_on" = "yes"; then
        AC_DEFINE(ZLIB, 1)
 )
 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
 fi
 
 x_tcpwrap_on=no
@@ -203,7 +203,8 @@ AC_ARG_WITH(rendezvous,
 )
 if test "$x_rendezvous_on" = "yes"; then
        AC_DEFINE(RENDEZVOUS, 1)
 )
 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
 fi
 
 x_identauth_on=no
@@ -219,7 +220,7 @@ AC_ARG_WITH(ident,
 )
 if test "$x_identauth_on" = "yes"; then
        AC_DEFINE(IDENTAUTH, 1)
 )
 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
 fi
 
 x_ircplus_on=yes