diff options
author | wm4 <wm4@nowhere> | 2012-11-30 17:35:07 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-12-03 21:08:51 +0100 |
commit | 9ace4f1f4982891a25ff98126649bcf5b3816326 (patch) | |
tree | bf520d24437f2eaa8ffa4f40717ea7fe7f653abc | |
parent | 08a7cdbfdd8d676eeaf8ebfffe180d447466209d (diff) | |
download | mpv-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.
-rwxr-xr-x | configure | 16 | ||||
-rw-r--r-- | etc/inttypes.h | 4 |
2 files changed, 0 insertions, 20 deletions
@@ -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 diff --git a/etc/inttypes.h b/etc/inttypes.h deleted file mode 100644 index 2f22a52fe9..0000000000 --- a/etc/inttypes.h +++ /dev/null @@ -1,4 +0,0 @@ - -// fallback if the user doesn't have inttypes.h (libc5 systems) - -#include <sys/bitypes.h> |