From: RĂ©mi Denis-Courmont Date: Sun, 19 Feb 2006 13:30:20 +0000 (+0000) Subject: Fix a bug whereby --disable-shared-libvlc would actually enable it X-Git-Tag: 0.9.0-test0~12261 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=be9b749c89b70151c997396c4e89dc3dfbad8232;p=vlc Fix a bug whereby --disable-shared-libvlc would actually enable it --- diff --git a/configure.ac b/configure.ac index bba8aaed59..781a00a325 100644 --- a/configure.ac +++ b/configure.ac @@ -1371,8 +1371,7 @@ dnl Is the shared libvlc forced ? dnl build_pic=no AC_ARG_ENABLE(shared-libvlc, - [ --enable-shared-libvlc shared libvlc (default disabled EXPERIMENTAL)], - ,[shared_libvlc=no]) + [ --enable-shared-libvlc shared libvlc (default disabled EXPERIMENTAL)]) dnl @@ -5195,6 +5194,7 @@ AM_CONDITIONAL(HAVE_BUILTINS, ${builtin_support}) dnl dnl Pic and shared libvlc stuff dnl +AS_IF([test "x${shared_libvlc}" = "x"], [shared_libvlc=no]) AM_CONDITIONAL(BUILD_SHARED, [test "${shared_libvlc}" != "no"]) AM_CONDITIONAL(BUILD_PIC, [test "${build_pic}" = "yes" -o "${shared_libvlc}" != "no"] ) AS_IF([test "${shared_libvlc}" != "no"], [