[vlc-devel] [PATCH 01/10] Configure: enable the access_shm module only when the correct headers are present
Jean-Baptiste Kempf
jb at videolan.org
Sat Jun 11 14:41:49 CEST 2011
---
configure.ac | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index f7eeb3c..53c9711 100644
--- a/configure.ac
+++ b/configure.ac
@@ -815,7 +815,7 @@ AC_CHECK_HEADERS([sys/mount.h], [], [],
])
if test "${SYS}" != "mingw32" -a "${SYS}" != "mingwce"; then
- AC_CHECK_HEADERS(machine/param.h sys/shm.h)
+ AC_CHECK_HEADERS(machine/param.h sys/shm.h, VLC_ADD_PLUGIN([access_shm]))
AC_CHECK_HEADERS([linux/version.h linux/dccp.h scsi/scsi.h linux/magic.h])
AC_CHECK_HEADERS(syslog.h)
fi # end "${SYS}" != "mingw32" -a "${SYS}" != "mingwce"
@@ -1262,7 +1262,7 @@ dnl
dnl Some plugins aren't useful on some platforms
dnl
if test "${SYS}" != "mingw32" -a "${SYS}" != "mingwce"; then
- VLC_ADD_PLUGIN([dynamicoverlay access_shm])
+ VLC_ADD_PLUGIN([dynamicoverlay])
elif test "${SYS}" != "mingwce"; then
VLC_ADD_PLUGIN([access_smb dmo globalhotkeys])
VLC_ADD_LIBS([dmo],[-lole32 -luuid])
--
1.7.5.3
More information about the vlc-devel
mailing list