[PATCH:libpciaccess] Fix quoting issue.

Thomas Klausner wiz at NetBSD.org
Sun Mar 22 13:39:25 PDT 2015


m4 has '[]' as quoting characters, so if we want '[]' to
end up in the configure script, we need to quote them again.

Reported by Greg Troxel <gdt at ir.bbn.com>.

Signed-off-by: Thomas Klausner <wiz at NetBSD.org>
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index f94fa15..4e93882 100644
--- a/configure.ac
+++ b/configure.ac
@@ -76,7 +76,7 @@ case $host_os in
 		;;
 	*netbsd*)
 		case $host in
-		*i[3-9]86*)
+		*i[[3-9]]86*)
 			PCIACCESS_LIBS="$PCIACCESS_LIBS -li386"
 			;;
 		*x86_64*|*amd64*)
-- 
2.3.2



More information about the xorg-devel mailing list