]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Disable AC_PROG_OBJC -- it's currently not required and apparently causes
authorNicholas Nethercote <njn@valgrind.org>
Sun, 12 Jul 2009 23:07:13 +0000 (23:07 +0000)
committerNicholas Nethercote <njn@valgrind.org>
Sun, 12 Jul 2009 23:07:13 +0000 (23:07 +0000)
problems on older Linux distros.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10436

configure.in

index c982457c46a9a0f3ea08d32a55849ae53446a0bb..087f33aa383e05494cc8e41569e842fa1dba364d 100644 (file)
@@ -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