[PATCH:xts 1/6] configure.ac: Quote argument to m4_pattern_forbid.

Cyril Brulebois kibi at debian.org
Thu Dec 22 16:23:15 PST 2011


Without this, configure spits out:
  ./configure: line 12801: ac_fn_c_check_member: command not found
  ./configure: line 12815: ac_fn_c_check_type: command not found

Also anchor the pattern to make it stricter.

Signed-off-by: Cyril Brulebois <kibi at debian.org>
---
 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index f3b7893..b2dbfc1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -75,7 +75,7 @@ AC_DEFINE([XT_X_RELEASE], [6], [The X11 Release, e.g. 6 for X11R6])
 AC_DEFINE([XTESTEXTENSION], [1], [Build tests using the XTEST extension])
 AC_DEFINE([INPUTEXTENSION], [1], [Build tests using the XI extension])
 
-m4_pattern_forbid([XTRANS_CONNECTION_FLAGS])
+m4_pattern_forbid([^XTRANS_CONNECTION_FLAGS$])
 
 # Transport selection macro from xtrans.m4
 XTRANS_CONNECTION_FLAGS
-- 
1.7.7.3



More information about the xorg-devel mailing list