|
From: <sv...@va...> - 2009-07-12 23:07:22
|
Author: njn Date: 2009-07-13 00:07:13 +0100 (Mon, 13 Jul 2009) New Revision: 10436 Log: Disable AC_PROG_OBJC -- it's currently not required and apparently causes problems on older Linux distros. Modified: trunk/configure.in Modified: trunk/configure.in =================================================================== --- trunk/configure.in 2009-07-12 22:58:26 UTC (rev 10435) +++ trunk/configure.in 2009-07-12 23:07:13 UTC (rev 10436) @@ -25,7 +25,18 @@ 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 |