Skip to content

Commit 57da6b2

Browse files
committed
Revert "Drop autoconf check"
Seems like this was a tad too aggressive... This reverts commit 1be9152.
1 parent 519e486 commit 57da6b2

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

build/php.m4

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2409,6 +2409,23 @@ EOF
24092409
esac
24102410
])
24112411

2412+
dnl
2413+
dnl PHP_CHECK_STDINT_TYPES
2414+
dnl
2415+
AC_DEFUN([PHP_CHECK_STDINT_TYPES], [
2416+
AC_CHECK_SIZEOF([short])
2417+
AC_CHECK_SIZEOF([int])
2418+
AC_CHECK_SIZEOF([long])
2419+
AC_CHECK_SIZEOF([long long])
2420+
AC_CHECK_SIZEOF([size_t])
2421+
AC_CHECK_TYPES([int8, int16, int32, int64, int8_t, int16_t, int32_t, int64_t, uint8, uint16, uint32, uint64, uint8_t, uint16_t, uint32_t, uint64_t, u_int8_t, u_int16_t, u_int32_t, u_int64_t], [], [], [
2422+
#include <stdint.h>
2423+
#if HAVE_SYS_TYPES_H
2424+
# include <sys/types.h>
2425+
#endif
2426+
])
2427+
])
2428+
24122429
dnl
24132430
dnl PHP_CHECK_BUILTIN_EXPECT
24142431
dnl

0 commit comments

Comments
 (0)