[gst-cvs] gst-plugins-gl: Fix Objective C compile problems

David Schleef ds at kemper.freedesktop.org
Tue Apr 14 11:25:45 PDT 2009


Module: gst-plugins-gl
Branch: master
Commit: c4c8384935a16c18f7199d7e2a153028e450b38c
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-gl/commit/?id=c4c8384935a16c18f7199d7e2a153028e450b38c

Author: David Schleef <ds at schleef.org>
Date:   Tue Apr 14 11:24:40 2009 -0700

Fix Objective C compile problems

Fixes #578939

---

 configure.ac                   |    2 +-
 tests/examples/gtk/Makefile.am |    2 ++
 2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index c0ecf4a..145db6e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -56,7 +56,7 @@ dnl AS_LIBTOOL_TAGS
 
 AC_LIBTOOL_WIN32_DLL
 AM_PROG_LIBTOOL
-AC_PROG_OBJC
+AS_PROG_OBJC
 
 dnl *** required versions of GStreamer stuff ***
 GST_REQ=0.10.15.1
diff --git a/tests/examples/gtk/Makefile.am b/tests/examples/gtk/Makefile.am
index 4a81214..55d8980 100644
--- a/tests/examples/gtk/Makefile.am
+++ b/tests/examples/gtk/Makefile.am
@@ -7,5 +7,7 @@ noinst_LTLIBRARIES = libgstgtkhelper.la
 libgstgtkhelper_la_SOURCES = gstgtk.c gstgtk.h
 libgstgtkhelper_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) $(GTK_CFLAGS)
 
+if GL_BACKEND_COCOA
 libgstgtkhelper_la_CFLAGS += -x objective-c
+endif
 





More information about the Gstreamer-commits mailing list