From: Nicholas Nethercote Date: Sun, 12 Jul 2009 23:07:13 +0000 (+0000) Subject: Disable AC_PROG_OBJC -- it's currently not required and apparently causes X-Git-Tag: svn/VALGRIND_3_5_0~411 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=44fcfd1f305b9eb226c978aba83a996628c4ccd0;p=thirdparty%2Fvalgrind.git Disable AC_PROG_OBJC -- it's currently not required and apparently causes problems on older Linux distros. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10436 --- diff --git a/configure.in b/configure.in index c982457c46..087f33aa38 100644 --- a/configure.in +++ b/configure.in @@ -25,7 +25,18 @@ AC_PROG_CC AM_PROG_CC_C_O AC_PROG_CPP AC_PROG_CXX -AC_PROG_OBJC +# AC_PROG_OBJC apparently causes problems on older Linux distros. If we +# ever have any Objective-C code in the Valgrind code base (eg. most likely +# as Darwin-specific tests) we'll need one of the following: +# - put AC_PROG_OBJC in a Darwin-specific part of this file +# - Use AC_PROG_OBJC here and up the minimum autoconf version +# - Use the following, which is apparently equivalent: +# m4_ifdef([AC_PROG_OBJC], +# [AC_PROG_OBJC], +# [AC_CHECK_TOOL([OBJC], [gcc]) +# AC_SUBST([OBJC]) +# AC_SUBST([OBJCFLAGS]) +# ]) AC_PROG_RANLIB # If no AR variable was specified, look up the name of the archiver. Otherwise