[vlc-commits] [Git][videolan/vlc][master] configure: remove unused defines from config.h

Steve Lhomme (@robUx4) gitlab at videolan.org
Sat Nov 16 08:40:02 UTC 2024



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
8b9f4281 by Steve Lhomme at 2024-11-16T08:16:19+00:00
configure: remove unused defines from config.h

- - - - -


1 changed file:

- configure.ac


Changes:

=====================================
configure.ac
=====================================
@@ -942,9 +942,7 @@ dnl __STDC_NO_THREADS__ can't be trusted on some platforms.
 dnl check for its availability explicitely
 AC_CHECK_HEADERS([threads.h])
 
-AC_CHECK_LIB([anl],[getaddrinfo_a],[
-  AC_DEFINE(HAVE_LIBANL, 1, [Define to 1 if you have the anl library])
-])
+AC_CHECK_LIB([anl],[getaddrinfo_a],[])
 
 dnl Check for dynamic plugins
 LIBDL=""
@@ -1948,8 +1946,6 @@ AS_IF([test "${enable_rust}" = "yes"],[
   AS_IF([test "$CARGO" = "no"],[
     AC_MSG_ERROR([cargo not found. cargo is required to build Rust modules])
   ])
-
-  AC_DEFINE(ENABLE_RUST, 1, [Define to 1 for building rust modules.])
 ])
 AM_CONDITIONAL([HAVE_RUST], [test "${enable_rust}" = "yes"])
 
@@ -2036,10 +2032,6 @@ dnl
 AC_ARG_ENABLE([addonmanagermodules],
   AS_HELP_STRING([--disable-addonmanagermodules],
     [disable the addons manager modules (default enabled)]))
-if test "${enable_addonmanagermodules}" != "no"
-then
-  AC_DEFINE(ENABLE_ADDONMANAGERMODULES, 1, [Define if you want the addons manager modules])
-fi
 AM_CONDITIONAL([ENABLE_ADDONMANAGERMODULES], [test "${enable_addonmanagermodules}" != "no"])
 
 
@@ -3318,9 +3310,6 @@ PKG_CHECK_MODULES([GL], [gl], [
   AC_MSG_RESULT([${have_gl}])
 ])
 AM_CONDITIONAL([HAVE_GL], [test "${have_gl}" = "yes"])
-AS_IF([test "${have_gl}" = "yes"], [
-  AC_DEFINE([HAVE_GL], 1, [Defined if having OpenGL])
-])
 
 dnl OpenGL ES 2: depends on EGL 1.1
 PKG_HAVE_WITH_MODULES([GLES2], [glesv2], [enable GLES2 support (default auto)])
@@ -3334,7 +3323,6 @@ AC_ARG_ENABLE(vulkan,
 
 AS_IF([test "$enable_vulkan" != "no"], [
   PKG_CHECK_MODULES([VULKAN], [vulkan >= 1.0.26], [
-    AC_DEFINE([HAVE_VULKAN], [1], [Define to 1 if vulkan is enabled.])
   ], [
     AS_IF([test -n "${enable_vulkan}"], [
       AC_MSG_ERROR([${VULKAN_PKG_ERRORS}.])



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/8b9f4281196b443d75de05c0cbec17b12275605b

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/8b9f4281196b443d75de05c0cbec17b12275605b
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list