]> git.sesse.net Git - vlc/commitdiff
Fix a bug whereby --disable-shared-libvlc would actually enable it
authorRémi Denis-Courmont <rem@videolan.org>
Sun, 19 Feb 2006 13:30:20 +0000 (13:30 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Sun, 19 Feb 2006 13:30:20 +0000 (13:30 +0000)
configure.ac

index bba8aaed59f529b710625f1d573054589b929c00..781a00a325806ed2570f7d081091b5f9a5ef8963 100644 (file)
@@ -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"], [