]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
configure: Remove AC_HEADER_STDBOOL, AC_C_ and AC_TYPE_ macros
authorVarsha Rao <rvarsha016@gmail.com>
Fri, 19 Jan 2018 03:00:17 +0000 (08:30 +0530)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 19 Jan 2018 12:06:53 +0000 (13:06 +0100)
The following macros check if particular C types in specific header file
exists, these header files defines them and are already included in the
source code. So, remove them.

AC_HEADER_STDBOOL - stdbool.h
AC_TYPE_INT and AC_TYPE_UINT - stdint.h or inttypes.h
AC_TYPE_OFF_T and AC_TYPE_UID_T - sys/types.h
AC_TYPE_SIZE_T - stddef.h, string.h, stdlib.h or stdio.h

Remove AC_C_CONST and AC_C_INLINE as gcc supports inline and const
keywords.

Signed-off-by: Varsha Rao <rvarsha016@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
configure.ac

index 6ed3edca1fe5c18bc88ff193ae9e0063f541d845..13b5574859cd10923e7cfefc896b38e4605168b9 100644 (file)
@@ -120,22 +120,6 @@ AC_CHECK_HEADERS([arpa/inet.h fcntl.h inttypes.h limits.h malloc.h \
                  stddef.h stdint.h stdlib.h string.h unistd.h], ,
                 AC_MSG_ERROR([Header file not found]))
 
-# Checks for typedefs, structures, and compiler characteristics.
-AC_HEADER_STDBOOL
-AC_C_CONST
-AC_C_INLINE
-AC_TYPE_OFF_T
-AC_TYPE_SIZE_T
-AC_TYPE_UID_T
-AC_TYPE_INT8_T
-AC_TYPE_INT16_T
-AC_TYPE_INT32_T
-AC_TYPE_INT64_T
-AC_TYPE_UINT8_T
-AC_TYPE_UINT16_T
-AC_TYPE_UINT32_T
-AC_TYPE_UINT64_T
-
 # Checks for library functions.
 AC_CHECK_FUNCS([memmove memset strchr strdup strerror strtoull])