From 80b322e2cddf336594fe547c31d6931ef021b581 Mon Sep 17 00:00:00 2001 From: Landry Breuil Date: Tue, 25 Feb 2014 07:44:21 +0100 Subject: [PATCH] Bug 973310 - Accomodate for OpenBSD's m4 greedyness with patsub's regexp after bug 967556 r=glandium --- build/autoconf/hotfixes.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/autoconf/hotfixes.m4 b/build/autoconf/hotfixes.m4 index dc1b522e59d8..1522df9c06fe 100644 --- a/build/autoconf/hotfixes.m4 +++ b/build/autoconf/hotfixes.m4 @@ -19,6 +19,6 @@ 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 +patsubst(_AC_CHECK_FUNC($@), [#include.*$], [#define $1 innocuous_$1 \& #undef $1])])dnl