Move print backend list to configure.ac

We already juggle the print backends here, might as well
produce the list.
This commit is contained in:
Matthias Clasen
2014-11-30 23:23:31 -05:00
parent eee5947365
commit 9e1187135e
2 changed files with 18 additions and 34 deletions

View File

@ -8,36 +8,6 @@ else
GTK_PRINT_PREVIEW_COMMAND="evince --unlink-tempfile --preview --print-settings %s %f"
endif
if HAVE_CLOUDPRINT
if HAVE_PAPI_CUPS
GTK_PRINT_BACKENDS=file,papi,cups,cloudprint
else
if HAVE_CUPS
GTK_PRINT_BACKENDS=file,cups,cloudprint
else
if HAVE_PAPI
GTK_PRINT_BACKENDS=file,papi,cloudprint
else
GTK_PRINT_BACKENDS=file,lpr,cloudprint
endif
endif
endif
else
if HAVE_PAPI_CUPS
GTK_PRINT_BACKENDS=file,papi,cups
else
if HAVE_CUPS
GTK_PRINT_BACKENDS=file,cups
else
if HAVE_PAPI
GTK_PRINT_BACKENDS=file,papi
else
GTK_PRINT_BACKENDS=file,lpr
endif
endif
endif
endif
AM_CPPFLAGS = \
-DG_LOG_DOMAIN=\"Gtk\" \
-DGTK_LIBDIR=\"$(libdir)\" \