]> git.sesse.net Git - vlc/blobdiff - m4/vlc.m4
qt4: improve the layout of files in file open dialog
[vlc] / m4 / vlc.m4
index 15fe9597b3cb08757a8caca251acdb6454f1ce00..59532b52eb2b14f33ac14b73ec8159267471d5ff 100644 (file)
--- a/m4/vlc.m4
+++ b/m4/vlc.m4
@@ -3,6 +3,8 @@ dnl  $Id$
 
 dnl ===========================================================================
 dnl  Macros to add plugins or builtins and handle their flags
+m4_pattern_allow([^PKG_CONFIG(_LIBDIR)?$])
+
 
 AC_DEFUN([VLC_ADD_BUILTINS], [
   BUILTINS="${BUILTINS} $1"
@@ -135,7 +137,7 @@ dnl  Macros for shared object handling (TODO)
 
 AC_DEFUN([VLC_LIBRARY_SUFFIX], [
   AC_MSG_CHECKING(for shared objects suffix)
-  case "${target_os}" in
+  case "${host_os}" in
     darwin*)
       LIBEXT=".dylib"
       ;;
@@ -156,8 +158,8 @@ AC_DEFUN([VLC_LIBRARY_SUFFIX], [
 AC_DEFUN([VLC_SYMBOL_PREFIX], [
   AC_MSG_CHECKING(for prefix to exported symbols)
   SYMPREF=""
-  case "${target_os}" in
-    darwin*)
+  case "${host_os}" in
+    darwin* | *mingw32* | *cygwin* | *wince* | *mingwce* | *pe*)
       SYMPREF="_"
       ;;
   esac