summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZaheer Abbas Merali <zaheerabbas@merali.org>2004-06-22 06:27:37 +0000
committerZaheer Abbas Merali <zaheerabbas@merali.org>2004-06-22 06:27:37 +0000
commit71b928429985c5bd5961ee612a64a5a6aad3de3a (patch)
tree41ea8ef2fcaee1c4468ce8c7274a76bb88be294a
parent9cfe55b1422fae21a7764b15ef622628c9fbee84 (diff)
downloadgst-plugins-bad-71b928429985c5bd5961ee612a64a5a6aad3de3a.tar.gz
gst-plugins-bad-71b928429985c5bd5961ee612a64a5a6aad3de3a.tar.bz2
gst-plugins-bad-71b928429985c5bd5961ee612a64a5a6aad3de3a.zip
configure.ac: Whoops, my fault...fixed build issues
Original commit message from CVS: 2004-06-22 Zaheer Abbas Merali <zaheerabbas at merali.org> * configure.ac: Whoops, my fault...fixed build issues
-rw-r--r--ChangeLog5
-rw-r--r--configure.ac13
2 files changed, 14 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 17b6639e..ce47fd6c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,11 @@
2004-06-22 Zaheer Abbas Merali <zaheerabbas at merali.org>
* configure.ac:
+ Whoops, my fault...fixed build issues
+
+2004-06-22 Zaheer Abbas Merali <zaheerabbas at merali.org>
+
+ * configure.ac:
Add objective-c support if running in Darwin/Mac OS X
* sys/Makefile.am:
* sys/osxvideo:
diff --git a/configure.ac b/configure.ac
index 8560dec2..d7f52d2a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -44,9 +44,9 @@ AM_PROG_CC_STDC
AM_PROG_AS
AS="${CC}"
dnl objective-c for OSX (should check if os is darwin)
+AM_CONDITIONAL([am__fastdepOBJC], false)
case "$host" in
*-*darwin*)
- AM_CONDITIONAL([am__fastdepOBJC], false)
OBJC="${CC}"
AC_SUBST(OBJC)
OBJCFLAGS="${CFLAGS}"
@@ -489,11 +489,16 @@ GST_CHECK_FEATURE(OSX_AUDIO, [OSX audio], osxaudiosrc osxaudiosink, [
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*)
- GST_CHECK_FEATURE(OSX_VIDEO, [OSX video], osxvideosink, [
- AC_CHECK_HEADER(OpenGL/gl.h, HAVE_OSX_VIDEO="yes", HAVE_OSX_VIDEO="no")
- ])
+ dnl do nothing
+ ;;
+ *)
+ HAVE_OSX_VIDEO="no"
;;
esac