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

Put AC_ARG_ENABLE outside of if statement

parent d45ee932
...@@ -4544,16 +4544,16 @@ PKG_ENABLE_MODULES_VLC([projectm], [], [libprojectM], [projectM visualization pl ...@@ -4544,16 +4544,16 @@ PKG_ENABLE_MODULES_VLC([projectm], [], [libprojectM], [projectM visualization pl
dnl dnl
dnl AtmoLight (homebrew AmbiLight) dnl AtmoLight (homebrew AmbiLight)
dnl dnl
if test "${SYS}" = "mingw32" -o "${SYS}" = "linux"; then AC_ARG_ENABLE(atmo,
AC_ARG_ENABLE(atmo, AS_HELP_STRING([--disable-atmo],[AtmoLight (homebrew Philips ambilight)
AS_HELP_STRING([--disable-atmo],[AtmoLight (homebrew philips ambilight) (default enabled)]),, [enable_atmo="yes"])
(default enabled)])) AS_IF([test "${enable_atmo}" != no], [
if test "${enable_atmo}" != "no"; then AS_IF([test "${SYS}" = "mingw32" -o "${SYS}" = "linux"], [
AC_LANG_PUSH(C++) AC_LANG_PUSH(C++)
VLC_ADD_PLUGIN([atmo]) VLC_ADD_PLUGIN([atmo])
AC_LANG_POP(C++) AC_LANG_POP(C++)
fi ])
fi ])
dnl dnl
dnl Bonjour services discovery dnl Bonjour services discovery
......
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