Quellcode durchsuchen

fix for missing modules - hope this closes #412

Marian Durkovic vor 20 Jahren
Ursprung
Commit
41e197b52a
2 geänderte Dateien mit 4 neuen und 4 gelöschten Zeilen
  1. 2 2
      bootstrap
  2. 2 2
      vlc-config.in.in

+ 2 - 2
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

+ 2 - 2
vlc-config.in.in

@@ -10,8 +10,8 @@ gprof="@gprof@"
 cprof="@cprof@"
 optim="@optim@"
 
-plugins="@PLUGINS@"
-builtins="@BUILTINS@"
+plugins="@PLUGINS@ "
+builtins="@BUILTINS@ "
 
 cppflags=""
 cflags=""