From 8010f81b0350b5c4beafc260171c18f3852d4f7f Mon Sep 17 00:00:00 2001 From: Didier Raboud Date: Tue, 2 Aug 2011 17:55:17 +0200 Subject: Imported Upstream version 4.0.8 --- configure.ac | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index c0fcc46..3bbb89f 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ([2.61]) -AC_INIT(foomatic-rip, [4.0.7]) +AC_INIT(foomatic-rip, [4.0.8]) AM_INIT_AUTOMAKE([no-define]) AC_CONFIG_SRCDIR([options.c]) @@ -16,6 +16,9 @@ AC_PROG_INSTALL AC_PROG_LN_S AC_PROG_MAKE_SET +# Allows per-target compilation flags +AM_PROG_CC_C_O + # Checks for libraries. AC_CHECK_LIB(m, roundf) @@ -43,7 +46,7 @@ AC_CHECK_FUNCS([dup2 getcwd gethostname regcomp setenv strcasecmp strchr strcspn ETCSEARCHPATH=${prefix}/etc:/usr/etc:/usr/local/etc -LIBSEARCHPATH=${prefix}/lib:${prefix}/lib64:/usr/lib:/usr/lib64:/usr/local/lib:${prefix}/libexec:/usr/libexec:/usr/local/libexec +LIBSEARCHPATH=${libdir}:/usr/lib:/usr/lib64:/usr/local/lib:${prefix}/libexec:/usr/libexec:/usr/local/libexec uname=`uname` uversion=`uname -r | sed -e '1,$s/[[^0-9]]//g'` @@ -119,6 +122,14 @@ AC_ARG_WITH(file-converter,[ --with-file-converter=[a2ps|enscript|mpage] AC_MSG_RESULT([file-converter: $FILECONVERTER]) AC_SUBST(FILECONVERTER) +# Use DBUS +AC_ARG_ENABLE(dbus, AS_HELP_STRING([--enable-dbus],[enable DBus CMS code]), + enable_dbus=$enableval,enable_dbus=yes) +AM_CONDITIONAL(BUILD_DBUS, test x$enable_dbus = xyes) +if test x$enable_dbus = xyes; then + PKG_CHECK_MODULES(DBUS, dbus-1) +fi + if test "${NOCONVERTERCHECK}" = "" -a "${A2PS}" = "" -a "${ENSCRIPT}" = "" -a "${MPAGE}" = "" -a "${TEXTTOPS}" = "" ; then AC_MSG_ERROR([cannot find a2ps, enscript, mpage, or CUPS' texttops. You need to have at least one installed]); fi -- cgit v1.2.3