Commit 31d3d277 authored by Alexis Ballier's avatar Alexis Ballier Committed by Christophe Mutricy

Allow disabling libsysfs support

Add a configure switch to allow disabling libsysfs support instead of letting it check what is on the build host and enable it accordingly. The default behavior is unchanged.
Signed-off-by: default avatarChristophe Mutricy <xtophe@videolan.org>
parent 1c7d467f
......@@ -3217,9 +3217,14 @@ AC_CHECK_HEADERS(zlib.h, [
VLC_ADD_LIBS([mp4 skins2 sap mkv gme],[-lz])
] )
AC_CHECK_HEADERS(sysfs/libsysfs.h, [
AC_ARG_ENABLE(libsysfs,
[ --enable-libsysfs Get user key from firewire connected iPod via libsysfs (default enabled)])
AS_IF([test "${enable_libsysfs}" != "no"],[
AC_CHECK_HEADERS(sysfs/libsysfs.h, [
VLC_ADD_LIBS([mp4 mkv],[-lsysfs])
] )
] )
])
dnl
dnl skins2 module
......
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