From d70f4dfb4eb69457acbfb70b97021cc476396d3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20=27Flameeyes=27=20Petten=C3=B2?= Date: Tue, 20 Mar 2007 01:13:30 +0000 Subject: USE AC_PROG_OBJC to find the objective C compiler, rather than messing by hand. CVS patchset: 8730 CVS date: 2007/03/20 01:13:30 --- configure.ac | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/configure.ac b/configure.ac index c14af373d..c25491240 100644 --- a/configure.ac +++ b/configure.ac @@ -2346,19 +2346,12 @@ AM_CONDITIONAL(HAVE_MMX, test "x$arch_x86" = "xyes") case $host_os in darwin*) + AC_PROG_OBJC HOST_OS_DARWIN=1 AC_DEFINE_UNQUOTED(HOST_OS_DARWIN, 1, [Define this if built on Mac OS X/Darwin]) - OBJC=${CC:-gcc} - AC_SUBST(OBJC) OBJCFLAGS="-D_INTL_REDIRECT_MACROS $CFLAGS $OBJCFLAGS" AC_SUBST(OBJCFLAGS) - OBJCDEPMODE="depmode=gcc3" - dnl Do not use AC_SUBST(OBJCDEPMODE): we don't need it as long we use - dnl _AM_DEPENDENCIES (below), and doing the AC_SUBST elicits a warning - dnl from automake 1.6. ;; - *) - ;; esac AM_CONDITIONAL(HOST_OS_DARWIN, test "x$HOST_OS_DARWIN" = "x1") -- cgit v1.2.3