From: Baptiste Daroussin Date: Fri, 19 Jan 2024 10:23:25 +0000 (+0100) Subject: configure: reduce the number of useless checks X-Git-Tag: RELEASE_1_4_5~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d97993757d50bf4449afa4c5f0ab577b1120a65;p=thirdparty%2Fmlmmj.git configure: reduce the number of useless checks --- diff --git a/configure.ac b/configure.ac index 2b3465ac..c304d894 100644 --- a/configure.ac +++ b/configure.ac @@ -14,17 +14,11 @@ AC_PROG_RANLIB # Checks for libraries. AC_CHECK_LIB(socket,socket) -AC_CHECK_LIB(nsl,gethostbyname) AC_CHECK_LIB(iconv,iconv_open) -AC_CHECK_HEADERS([arpa/inet.h fcntl.h netinet/in.h stddef.h stdlib.h string.h]) -AC_CHECK_HEADERS([sys/socket.h syslog.h unistd.h time.h]) +AC_CHECK_HEADERS([syslog.h ]) AC_CHECK_HEADER([iconv.h]) -# Checks for typedefs, structures, and compiler characteristics. -AC_C_CONST -AC_TYPE_SIZE_T - savex=$exec_prefix test "x$prefix" = xNONE && prefix=$ac_default_prefix test "x$exec_prefix" = xNONE && exec_prefix=$prefix