Add --disable-cups option. (#513826, Alberto Ruiz)
2008-03-05 Johan Dahlin <johan@gnome.org> * configure.in: Add --disable-cups option. (#513826, Alberto Ruiz) svn path=/trunk/; revision=19715
This commit is contained in:
committed by
Johan Dahlin
parent
22900f7853
commit
e9b26a6412
@ -1,5 +1,8 @@
|
||||
2008-03-05 Johan Dahlin <johan@gnome.org>
|
||||
|
||||
* configure.in: Add --disable-cups option.
|
||||
(#513826, Alberto Ruiz)
|
||||
|
||||
* gtk/gtk.h:
|
||||
* gtk/Makefile.am:
|
||||
Separate broken and deprecated sources and headers into different sections
|
||||
|
||||
11
configure.in
11
configure.in
@ -1596,6 +1596,13 @@ LIBS="$old_LIBS"
|
||||
# Printing system checks
|
||||
################################################################
|
||||
|
||||
AC_ARG_ENABLE(cups,
|
||||
[AC_HELP_STRING([--disable-cups]
|
||||
[disable cups print backend])],,
|
||||
[enable_cups=auto])
|
||||
|
||||
if test "x$enable_cups" = "xauto"
|
||||
then
|
||||
AC_PATH_PROG(CUPS_CONFIG, cups-config, no)
|
||||
if test "x$CUPS_CONFIG" != "xno"; then
|
||||
CUPS_CFLAGS=`$CUPS_CONFIG --cflags | sed 's/-O[0-9]*//' | sed 's/-m[^\t]*//g'`
|
||||
@ -1633,6 +1640,10 @@ LIBS="$CUPS_LIBS"
|
||||
AC_CHECK_FUNCS(httpGetAuthString)
|
||||
LIBS="$gtk_save_libs"
|
||||
|
||||
else
|
||||
AM_CONDITIONAL(HAVE_CUPS, false)
|
||||
fi
|
||||
|
||||
gtk_save_cppflags="$CPPFLAGS"
|
||||
CPPFLAGS="$CPPFLAGS $GTK_DEP_CFLAGS"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user