summaryrefslogtreecommitdiff
path: root/Zend/Zend.m4
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2019-03-02 12:11:44 +0100
committerPeter Kokot <peterkokot@gmail.com>2019-03-02 12:23:21 +0100
commit7431eb72fe1593b75d87533abcd332ac404b7ea7 (patch)
tree4111aadad3bfcd144657a1b4379ab40b00eac885 /Zend/Zend.m4
parent220e6827109098d960647af816db7b081f52635a (diff)
downloadphp-git-7431eb72fe1593b75d87533abcd332ac404b7ea7.tar.gz
Remove LIBZEND_CHECK_INT_TYPE and PHP_CHECK_TYPES
Checking for int32_t and uint32_t types is already done by the PHP_CHECK_STDINT_TYPES m4 macro. The PHP_CHECK_TYPES m4 macro has been once used by the mysqlnd and has been removed via 14caf174ff219376e4f1234bd297ffe973cc416e and additionally, the internal unused macro _PHP_DEF_HAVE_FILE has been removed. Additionally, the unused PHP_HAVE_STDINT_TYPES symbol has been removed.
Diffstat (limited to 'Zend/Zend.m4')
-rw-r--r--Zend/Zend.m426
1 files changed, 0 insertions, 26 deletions
diff --git a/Zend/Zend.m4 b/Zend/Zend.m4
index 392d28ef72..25105b1451 100644
--- a/Zend/Zend.m4
+++ b/Zend/Zend.m4
@@ -2,28 +2,6 @@ dnl
dnl This file contains Zend specific autoconf functions.
dnl
-AC_DEFUN([LIBZEND_CHECK_INT_TYPE],[
-AC_MSG_CHECKING(for $1)
-AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
-#if HAVE_SYS_TYPES_H
-#include <sys/types.h>
-#endif
-#if HAVE_INTTYPES_H
-#include <inttypes.h>
-#elif HAVE_STDINT_H
-#include <stdint.h>
-#endif]],
-[[if (($1 *) 0)
- return 0;
-if (sizeof ($1))
- return 0;
-]])],[
- AC_DEFINE_UNQUOTED([HAVE_]translit($1,a-z_-,A-Z__), 1,[Define if $1 type is present. ])
- AC_MSG_RESULT(yes)
-], [AC_MSG_RESULT(no)
-])dnl
-])
-
AC_DEFUN([LIBZEND_BASIC_CHECKS],[
AC_REQUIRE([AC_PROG_YACC])
@@ -72,10 +50,6 @@ dnl This is required for QNX and may be some BSD derived systems
AC_CHECK_TYPE( uint, unsigned int )
AC_CHECK_TYPE( ulong, unsigned long )
-dnl Check if int32_t and uint32_t are defined
-LIBZEND_CHECK_INT_TYPE(int32_t)
-LIBZEND_CHECK_INT_TYPE(uint32_t)
-
dnl Checks for library functions.
AC_FUNC_ALLOCA
AC_CHECK_FUNCS(strdup getpid kill strtod strtol finite fpclass sigsetjmp)