$NetBSD: patch-ad,v 1.11 2003/05/28 02:34:00 jlam Exp $

--- config-scripts/cups-libtool.m4.orig	Tue Dec 17 13:56:39 2002
+++ config-scripts/cups-libtool.m4
@@ -24,7 +24,7 @@ dnl
 
 AC_ARG_ENABLE(libtool_unsupported, [  --enable-libtool-unsupported=LIBTOOL_PATH
                           turn on building with libtool (UNSUPPORTED!), default=no],
-	[if test x$enable_libtool_unsupported != xno; then
+	[if test x"$enable_libtool_unsupported" != xno; then
 		LIBTOOL="$enable_libtool_unsupported"
 		enable_shared=no
 		echo "WARNING: libtool is not supported or endorsed by Easy Software Products."
@@ -36,7 +36,7 @@ AC_ARG_ENABLE(libtool_unsupported, [  --
 
 AC_SUBST(LIBTOOL)
 
-if test x$LIBTOOL != x; then
+if test x"$LIBTOOL" != x; then
 	LIBCUPS="libcups.la"
 	LIBCUPSIMAGE="libcupsimage.la"
 	LINKCUPS="../cups/\$(LIBCUPS)"
