From 9ace4f1f4982891a25ff98126649bcf5b3816326 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 30 Nov 2012 17:35:07 +0100 Subject: configure: don't check for inttypes.h, it always exists The presence of inttypes.h is guaranteed by POSIX. We don't need to check for it. We don't need to provide a compatibility header either. Apparently libc5 systems didn't provide inttypes.h. libc5 is ancient, unmaintained, and not used by modern Linux systems. --- configure | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'configure') diff --git a/configure b/configure index 155a2a90e0..7d8c68dec3 100755 --- a/configure +++ b/configure @@ -1428,22 +1428,6 @@ fi echores "$_gethostbyname2" -echocheck "inttypes.h (required)" -_inttypes=no -header_check inttypes.h && _inttypes=yes -echores "$_inttypes" - -if test "$_inttypes" = no ; then - echocheck "sys/bitypes.h (inttypes.h predecessor)" - header_check sys/bitypes.h && _inttypes=yes - if test "$_inttypes" = yes ; then - die "You don't have inttypes.h, but sys/bitypes.h is present. Please copy etc/inttypes.h into the include path, and re-run configure." - else - die "Cannot find header either inttypes.h or bitypes.h. There is no chance for compilation to succeed." - fi -fi - - echocheck "mman.h" _mman=no statement_check sys/mman.h 'mmap(0, 0, 0, 0, 0, 0)' && _mman=yes -- cgit v1.2.3