Bug 1260605 - Remove hack from bug 967556 draft
authorMike Hommey <mh+mozilla@glandium.org>
Wed, 30 Mar 2016 11:08:06 +0900
changeset 345684 bd909ed4285b3f6d17efd0af6544f53ceb90407d
parent 345683 36e9b1eebcf22ae03e7717ac6461aa0ecf7faf68
child 345699 71c76262c603c04ead9aede9e3caee4f6108722a
push id14136
push userbmo:mh+mozilla@glandium.org
push dateWed, 30 Mar 2016 02:10:11 +0000
bugs1260605, 967556
milestone48.0a1
Bug 1260605 - Remove hack from bug 967556 The hack was supposed to avoid clobbers when landing bug 967556, which might have worked somehow back then, but doesn't do anything useful anymore. In fact, it now breaks the display of some results in old-configure.
build/autoconf/hotfixes.m4
--- a/build/autoconf/hotfixes.m4
+++ b/build/autoconf/hotfixes.m4
@@ -11,14 +11,13 @@ dnl prints is replaced with:
 dnl   #define posix_memalign innocuous_posix_memalign
 dnl   #include "theinclude"
 dnl   #undef posix_memalign
 dnl This avoids double declaration of that function when the header normally
 dnl declares it, while the test itself is just expecting the function not to be
 dnl declared at all, and declares it differently (which doesn't matter for the
 dnl test itself).
 dnl More recent versions of autoconf are essentially doing this.
-define([ac_cv_func_], [ac_cv_func2_])dnl
 define([_AC_CHECK_FUNC],defn([AC_CHECK_FUNC]))dnl
 define([AC_CHECK_FUNC], [dnl
 patsubst(_AC_CHECK_FUNC($@), [#include.*$], [#define $1 innocuous_$1
 \&
 #undef $1])])dnl