Followup for bug 967556 - Force AC_CHECK_FUNC to use a different cache. r=bustage on a CLOSED TREE
authorMike Hommey <mh+mozilla@glandium.org>
Fri, 14 Feb 2014 11:34:12 +0900
changeset 185920 532299d1368ff435c44628d6858852ec554ec5f1
parent 185919 ae11ce69621f5e6b7d1e05d5ed2faf9d40e2543d
child 185921 c164916b5dc8774d4a4972b8586cbb608d1b5f93
push idunknown
push userunknown
push dateunknown
reviewersbustage
bugs967556
milestone30.0a1
Followup for bug 967556 - Force AC_CHECK_FUNC to use a different cache. r=bustage on a CLOSED TREE
build/autoconf/hotfixes.m4
--- a/build/autoconf/hotfixes.m4
+++ b/build/autoconf/hotfixes.m4
@@ -11,13 +11,14 @@ 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