summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-11-30 17:35:07 +0100
committerwm4 <wm4@nowhere>2012-12-03 21:08:51 +0100
commit9ace4f1f4982891a25ff98126649bcf5b3816326 (patch)
treebf520d24437f2eaa8ffa4f40717ea7fe7f653abc /configure
parent08a7cdbfdd8d676eeaf8ebfffe180d447466209d (diff)
downloadmpv-9ace4f1f4982891a25ff98126649bcf5b3816326.tar.bz2
mpv-9ace4f1f4982891a25ff98126649bcf5b3816326.tar.xz
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.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure16
1 files changed, 0 insertions, 16 deletions
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