From 44fcfd1f305b9eb226c978aba83a996628c4ccd0 Mon Sep 17 00:00:00 2001 From: Nicholas Nethercote Date: Sun, 12 Jul 2009 23:07:13 +0000 Subject: [PATCH] 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 --- configure.in | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) 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 -- 2.47.3