| 1 |
--- configure.in 2012-02-01 12:56:29.000000000 +0100 |
| 2 |
+++ configure.in 2012-02-13 20:06:15.570726513 +0100 |
| 3 |
@@ -472,7 +472,7 @@ |
| 4 |
|
| 5 |
# Check conditional packages. |
| 6 |
|
| 7 |
-if test "$hpijs_only_build" = "no" && test "$network_build" = "yes"; then |
| 8 |
+if test "$hpijs_only_build" = "no" && test "$network_build" = "yes" && test "$hpcups_only_build" = "no"; then |
| 9 |
# AC_CHECK_LIB([crypto], [CRYPTO_free], [LIBS="$LIBS"], [AC_MSG_ERROR([cannot find net-snmp support (or --disable-network-build)], 4)]) |
| 10 |
# AC_CHECK_LIB([netsnmp], [snmp_timeout], [LIBS="$LIBS" AC_DEFINE([HAVE_LIBNETSNMP])], [AC_MSG_ERROR([cannot find net-snmp support (or --disable-network-build)], 4)]) |
| 11 |
# AC_CHECK_HEADERS(net-snmp/net-snmp-config.h,, [AC_MSG_ERROR([cannot find net-snmp-devel support (or --disable-network-build)], 5)]) |
| 12 |
@@ -489,11 +489,11 @@ |
| 13 |
fi |
| 14 |
fi |
| 15 |
|
| 16 |
-if test "$hpijs_only_build" = "no" && test "$pp_build" = "yes"; then |
| 17 |
+if test "$hpijs_only_build" = "no" && test "$pp_build" = "yes" && test "$hpcups_only_build" = "no"; then |
| 18 |
AC_CHECK_HEADERS(linux/ppdev.h, ,[AC_MSG_ERROR([cannot find ppdev-devel support (or --disable-pp-build)], 8)]) |
| 19 |
fi |
| 20 |
|
| 21 |
-if test "$hpijs_only_build" = "no"; then |
| 22 |
+if test "$hpijs_only_build" = "no" && test "$hpcups_only_build" = "no"; then |
| 23 |
AC_CHECK_LIB([cups], [cupsDoFileRequest], [LIBS="$LIBS"], [AC_MSG_ERROR([cannot find libcups support], 9)]) |
| 24 |
AC_CHECK_HEADERS(cups/cups.h, ,[AC_MSG_ERROR([cannot find cups-devel support], 3)]) |
| 25 |
AC_CHECK_LIB([usb], [usb_init], [LIBS="$LIBS"], [AC_MSG_ERROR([cannot find libusb support], 2)]) |