fix for missing modules - hope this closes #412
authorMarian Durkovic <md@videolan.org>
Wed, 2 Nov 2005 13:42:48 +0000 (13:42 +0000)
committerMarian Durkovic <md@videolan.org>
Wed, 2 Nov 2005 13:42:48 +0000 (13:42 +0000)
bootstrap
vlc-config.in.in

index 7557428..4a9e423 100755 (executable)
--- a/bootstrap
+++ b/bootstrap
@@ -127,8 +127,8 @@ dnl  Private VLC macros - generated by bootstrap
 EOF
 
 if [ "${PKGCONFIG}" = "no" ]; then cat >> m4/private.m4 << EOF
-dnl  User does not have pkg-config, so this is a no-op
-AC_DEFUN([PKG_CHECK_MODULES], [:], [], [], [])
+dnl  User does not have pkg-config, so assume package was not found
+AC_DEFUN([PKG_CHECK_MODULES],[ifelse([\$4], , :, [\$4])])
 
 EOF
 fi
index 34945de..c1946a6 100644 (file)
@@ -10,8 +10,8 @@ gprof="@gprof@"
 cprof="@cprof@"
 optim="@optim@"
 
-plugins="@PLUGINS@"
-builtins="@BUILTINS@"
+plugins="@PLUGINS@ "
+builtins="@BUILTINS@ "
 
 cppflags=""
 cflags=""