From 3f1bff4b2d95443156a26237e0a870bacba3fc09 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 10 Jul 2006 02:30:45 +0000 Subject: Updated to detect stdint (same fix as 1_0_stable branch) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4259 e03df62e-2008-0410-955e-edbf42e46eb7 --- configure | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/configure b/configure index 9c9424a5f..a2312464f 100755 --- a/configure +++ b/configure @@ -34,6 +34,7 @@ $config{MAX_CHANNE} = "20"; # Default Max. $config{MAX_OPERCH} = "60"; # Default Max. Channels per oper $config{MAXI_MODES} = "20"; # Default Max. Number of Modes set at once. $config{HAS_STRLCPY} = "false"; # strlcpy Check. +$config{HAS_STDINT} = "false"; # stdint.h check $config{HAS_EXECINFO} = "0"; # execinfo.h Check. $config{USE_KQUEUE} = "y"; # kqueue enabled $config{USE_EPOLL} = "y"; # epoll enabled @@ -160,6 +161,17 @@ if (!$config{MAX_CLIENT}) { $config{MAX_CLIENT} = $config{MAX_CLIENT_T}; } +printf "Checking if stdint.h exists... "; +$config{HAS_STDINT} = "true"; +my $fail = 0; +open(STDINT, "