configure.ac: Fix test for Objective C
authorDavid Schleef <ds@schleef.org>
Tue, 13 Jul 2004 06:36:55 +0000 (06:36 +0000)
committerDavid Schleef <ds@schleef.org>
Tue, 13 Jul 2004 06:36:55 +0000 (06:36 +0000)
Original commit message from CVS:
* configure.ac: Fix test for Objective C

ChangeLog
common
configure.ac

index 63e26f3e2ab59cc2f7e1a2fa9ef06c012e18915d..76d1b45e87270e32b2006bb8db0d577ea9b78632 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2004-07-12  David Schleef  <ds@schleef.org>
+
+       * configure.ac: Fix test for Objective C
+
 2004-07-12  Jan Schmidt  <thaytan@mad.scientist.com>
        * ext/gdk_pixbuf/gstgdkpixbuf.c: (gst_gdk_pixbuf_get_capslist),
        (gst_gdk_pixbuf_chain):
diff --git a/common b/common
index 59a2885f01e3092ffaefbed270f331c143b16d6b..8f16cd236828a8bb7be51696029e0e24b7a6c517 160000 (submodule)
--- a/common
+++ b/common
@@ -1 +1 @@
-Subproject commit 59a2885f01e3092ffaefbed270f331c143b16d6b
+Subproject commit 8f16cd236828a8bb7be51696029e0e24b7a6c517
index 3fda630d4345d15a1ad3d28a9a7345bc2fb8f1e8..75c210605e0291af1e28c900a7a60c86ebf22432 100644 (file)
@@ -44,17 +44,8 @@ AC_PROG_CC
 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*)
-  OBJC="${CC}"
-  AC_SUBST(OBJC)
-  OBJCFLAGS="${CFLAGS}"
-  AC_SUBST(OBJCFLAGS)
-  _AM_DEPENDENCIES(OBJC)
-  ;;
-esac
+AS_PROG_OBJC
+
 dnl the gettext stuff needed
 AM_GNU_GETTEXT_VERSION(0.11.5)
 AM_GNU_GETTEXT([external])
@@ -533,6 +524,7 @@ GST_CHECK_FEATURE(VCD, [Video CD], vcdsrc, [
 
 dnl *** CDROM Audio ***
 translit(dnm, m, l) AM_CONDITIONAL(USE_CDROM, true)
+
 GST_CHECK_FEATURE(CDROM, [CDROM Audio], cdrom, [
   AC_CHECK_HEADERS(linux/cdrom.h) dnl linux
   AC_CHECK_HEADERS(sys/cdio.h) dnl almost everything else