diff options
author | Julien Moutte <julien@moutte.net> | 2008-04-11 09:27:44 +0000 |
---|---|---|
committer | Julien Moutte <julien@moutte.net> | 2008-04-11 09:27:44 +0000 |
commit | 224b878ff77002663fb2a2dd3051bfad73924507 (patch) | |
tree | 0e84629a745c41923d084f26a61ff38dcb1bdc06 /configure.ac | |
parent | f273ee8c4bd1c7435e1d983aebcb1a94d31431a5 (diff) |
Mac OS X love...
Original commit message from CVS:
2008-04-11 Julien Moutte <julien@fluendo.com>
Mac OS X love...
* configure.ac: Merge platform specific defines, introduce a new
define on OS X to remember that forking when updating registry is
unsafe.
* docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
module.
* gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
is defined.
* gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
condition that leads to absolutely no plugins being registered on
OS X.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/configure.ac b/configure.ac index 6613b1af8..c0a25a484 100644 --- a/configure.ac +++ b/configure.ac @@ -230,11 +230,19 @@ else fi AC_SUBST(GST_HAVE_UNALIGNED_ACCESS_DEFINE) -dnl check for extra platform specific plugin suffixes +dnl check for platform specific settings case $host_os in - darwin* | rhapsody*) + rhapsody*) AC_DEFINE_UNQUOTED(GST_EXTRA_MODULE_SUFFIX, [".dylib"], [Extra platform specific plugin suffix]) + ;; + darwin*) + AC_DEFINE_UNQUOTED(GST_EXTRA_MODULE_SUFFIX, [".dylib"], [Extra platform specific plugin suffix]) + AC_DEFINE_UNQUOTED(GST_HAVE_UNSAFE_FORK, 1, [Defined when registry scanning through fork is unsafe]) ;; + cygwin* | mingw* | msvc* | mks*) + dnl HAVE_WIN32 currently means "disable POSIXisms". + AC_DEFINE_UNQUOTED(HAVE_WIN32, 1, [Defined if compiling for Windows]) + ;; *) ;; esac @@ -245,15 +253,6 @@ dnl check for large file support dnl affected plugins must include config.h AC_SYS_LARGEFILE -dnl HAVE_WIN32 currently means "disable POSIXisms". -case "$host" in - *-*-mingw*) - AC_DEFINE_UNQUOTED(HAVE_WIN32, 1, [Defined if compiling for Windows]) - ;; - *) - ;; -esac - dnl *** checks for programs *** dnl find a compiler |