diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-03-20 01:13:30 +0000 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-03-20 01:13:30 +0000 |
commit | d70f4dfb4eb69457acbfb70b97021cc476396d3a (patch) | |
tree | d929bc47872851b17bcde24ca469b9b82b4c39cc | |
parent | a1d41e0046a141ab9b24b14fc04e6d7a0e9e966c (diff) | |
download | xine-lib-d70f4dfb4eb69457acbfb70b97021cc476396d3a.tar.gz xine-lib-d70f4dfb4eb69457acbfb70b97021cc476396d3a.tar.bz2 |
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
-rw-r--r-- | configure.ac | 9 |
1 files changed, 1 insertions, 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") |