[vlc-commits] configure: remove unused ntohl in sys/param.h test
Rémi Denis-Courmont
git at videolan.org
Mon Aug 28 17:25:42 CEST 2017
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Aug 28 18:21:37 2017 +0300| [29c7965d70cb9f2ad3abc09b1f565a459dca1f0d] | committer: Rémi Denis-Courmont
configure: remove unused ntohl in sys/param.h test
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=29c7965d70cb9f2ad3abc09b1f565a459dca1f0d
---
configure.ac | 13 -------------
1 file changed, 13 deletions(-)
diff --git a/configure.ac b/configure.ac
index 3f7c2dec9c..9c07e2afc0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -924,19 +924,6 @@ PKG_CHECK_MODULES([SYSTEMD], [libsystemd], [
AM_CONDITIONAL([HAVE_SYSTEMD], [test "${have_systemd}" = "yes"])
-dnl Check for ntohl, etc.
-VLC_SAVE_FLAGS
-CFLAGS="${CFLAGS} -Wall -Werror"
-AC_CACHE_CHECK([for ntohl in sys/param.h],
- [ac_cv_c_ntohl_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.)
-fi
-VLC_RESTORE_FLAGS
-
EXTEND_HELP_STRING([Optimization options:])
dnl
dnl Compiler warnings
More information about the vlc-commits
mailing list