Make building the test print backend optional

svn path=/trunk/; revision=17687
This commit is contained in:
Matthias Clasen 2007-04-29 03:41:53 +00:00
parent 88d4546a36
commit fd57356b2f
3 changed files with 22 additions and 2 deletions

View File

@ -1,3 +1,11 @@
2007-04-28 Matthias Clasen <mclasen@redhat.com>
* configure.in: Add --enable-test-print-backend, defaulting
to no.
* modules/printbackends/Makefile.am: Make building the test
print backend conditional.
2007-04-28 Matthias Clasen <mclasen@redhat.com>
* modules/printbackends/lpr/*:

View File

@ -253,6 +253,7 @@ else
fi
fi
if test "x$enable_visibility" = "xno"; then
GTK_DEBUG_FLAGS="$GTK_DEBUG_FLAGS -DDISABLE_VISIBILITY"
fi
@ -1551,6 +1552,13 @@ fi
CPPFLAGS="$gtk_save_cppflags"
AC_ARG_ENABLE(test-print-backend,
[AC_HELP_STRING([--enable-test-print-backend],
[build test print backend])],,
[enable_test_print_backend=no])
AM_CONDITIONAL(TEST_PRINT_BACKEND, test "x$enable_test_print_backend" != "xno")
################################################################
# Strip -export-dynamic from the link lines of various libraries
################################################################

View File

@ -1,7 +1,11 @@
SUBDIRS = file lpr test
SUBDIRS = file lpr
if HAVE_CUPS
SUBDIRS += cups
endif
DIST_SUBDIRS=cups file lpr test
if TEST_PRINT_BACKEND
SUBDIRS += test
endif
DIST_SUBDIRS = cups file lpr test