r2018: updating syntax for enable-cups check
authorGerald Carter <jerry@samba.org>
Tue, 24 Aug 2004 15:40:52 +0000 (15:40 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:52:28 +0000 (10:52 -0500)
source/configure.in

index ec53941c6111c1b152489cb2f6d399f297226754..0dc4838809e93216d3f19a944b627f4840d363c8 100644 (file)
@@ -716,7 +716,7 @@ if test x$enable_cups != xno; then
                CFLAGS="$CFLAGS `$CUPS_CONFIG --cflags`"
                LDFLAGS="$LDFLAGS `$CUPS_CONFIG --ldflags`"
                PRINT_LIBS="$PRINT_LIBS `$CUPS_CONFIG --libs`"
-       elif test x$enable_cups == xyes; then
+       elif test x"$enable_cups" == x"yes"; then
                AC_MSG_ERROR(Cups support required but cups-config not located.  Make sure cups-devel related files are installed.)
         fi
 fi