diff options
author | Edward Hervey <bilboed@bilboed.com> | 2007-01-30 17:19:33 +0000 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2007-01-30 17:19:33 +0000 |
commit | 385bba644fffe6d585467a34ac8e01563263f4b5 (patch) | |
tree | 4bedc4db2b677228da2b34bacc43558e60e43563 /configure.ac | |
parent | 3838fe023eaf04917356e6db8ce548b16538d0db (diff) | |
download | gst-plugins-bad-385bba644fffe6d585467a34ac8e01563263f4b5.tar.gz gst-plugins-bad-385bba644fffe6d585467a34ac8e01563263f4b5.tar.bz2 gst-plugins-bad-385bba644fffe6d585467a34ac8e01563263f4b5.zip |
configure.ac: Check for an Objective C compiler
Original commit message from CVS:
* configure.ac:
Check for an Objective C compiler
* sys/Makefile.am:
* sys/osxvideo/Makefile.am:
* sys/osxvideo/cocoawindow.h:
* sys/osxvideo/cocoawindow.m:
* sys/osxvideo/osxvideosink.h:
* sys/osxvideo/osxvideosink.m:
Port of osxvideo plugin to 0.10. Do NOT consider 100% stable !
Fixes #402470
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index cafdf7cb..ec10ae01 100644 --- a/configure.ac +++ b/configure.ac @@ -131,6 +131,8 @@ AC_PROG_CXX dnl determine if c++ is available on this system AC_CHECK_PROG(HAVE_CXX, $CXX, yes, no) +AS_PROG_OBJC + AC_PATH_PROG(VALGRIND_PATH, valgrind, no) AM_CONDITIONAL(HAVE_VALGRIND, test ! "x$VALGRIND_PATH" = "xno") @@ -360,6 +362,24 @@ int main () AC_SUBST(HAVE_DIRECTSOUND) ]) +dnl *** OS X video *** +translit(dnm, m, l) AM_CONDITIONAL(USE_OSX_VIDEO, true) +HAVE_OSX_VIDEO="no" +GST_CHECK_FEATURE(OSX_VIDEO, [OSX video], osxvideosink, [ + AC_CHECK_HEADER(OpenGL/gl.h, HAVE_OSX_VIDEO="yes", HAVE_OSX_VIDEO="no") +]) +dnl in case header OpenGL/gl.h is found on other platforms +case "$host" in + *-*darwin*) + dnl do nothing + ;; + *) + HAVE_OSX_VIDEO="no" + ;; +esac + + + dnl *** ext plug-ins *** dnl keep this list sorted alphabetically ! @@ -961,6 +981,7 @@ sys/glsink/Makefile sys/dvb/Makefile sys/directdraw/Makefile sys/directsound/Makefile +sys/osxvideo/Makefile examples/Makefile examples/directfb/Makefile ext/amrwb/Makefile |