Commit 29c7965d authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

configure: remove unused ntohl in sys/param.h test

parent 58f1176f
......@@ -924,19 +924,6 @@ PKG_CHECK_MODULES([SYSTEMD], [libsystemd], [
AM_CONDITIONAL([HAVE_SYSTEMD], [test "${have_systemd}" = "yes"])
dnl Check for ntohl, etc.
CFLAGS="${CFLAGS} -Wall -Werror"
AC_CACHE_CHECK([for ntohl in sys/param.h],
[ AC_TRY_COMPILE([#include <sys/param.h>],
[int meuh; ntohl(meuh);],
ac_cv_c_ntohl_sys_param_h=yes, ac_cv_c_ntohl_sys_param_h=no)])
if test "${ac_cv_c_ntohl_sys_param_h}" != "no"; then
AC_DEFINE(NTOHL_IN_SYS_PARAM_H, 1, Define if <sys/param.h> defines ntohl.)
EXTEND_HELP_STRING([Optimization options:])
dnl Compiler warnings
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment