[PATCH] configure: make pattern for m4_pattern_forbid more strict

Dan Nicholson dbn.lists at gmail.com
Sun Oct 4 07:25:05 PDT 2009


On Sun, Oct 4, 2009 at 4:58 AM, Julien Cristau <jcristau at debian.org> wrote:
> Without this, configure spits out
> ../configure: line 15460: ac_fn_c_check_member: command not found
> ---
>  configure.ac |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index 46421fd..456ef1a 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -642,7 +642,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

This error is actually fixed by the quoting and not the extra line
markers, right? Either way,

Signed-off-by: Dan Nicholson <dbn.lists at gmail.com>

--
Dan


More information about the xorg-devel mailing list