[PATCH] configure: quote argument to m4_pattern_forbid

Julien Cristau jcristau at debian.org
Tue Oct 6 07:08:42 PDT 2009


Without this, configure spits out
../configure: line 15460: ac_fn_c_check_member: command not found

Also anchor the pattern to make it stricter.

Signed-off-by: Julien Cristau <jcristau at debian.org>
Signed-off-by: Dan Nicholson <dbn.lists at gmail.com>
---
 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index 07ea81d..383dd2f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -637,7 +637,7 @@ dnl If you're seeing an error here, be sure you installed the lib/xtrans module
 dnl first and if it's not in the default location, that you set the ACLOCAL
 dnl environment variable to find it, such as:
 dnl	ACLOCAL="aclocal -I ${PREFIX}/share/aclocal"
-m4_pattern_forbid(XTRANS_CONNECTION_FLAGS)
+m4_pattern_forbid([^XTRANS_CONNECTION_FLAGS$])
 
 # Transport selection macro from xtrans.m4
 XTRANS_CONNECTION_FLAGS
-- 
1.6.4.3



More information about the xorg-devel mailing list