2
2
# Process this file with autoconf to produce a configure script.
5
AC_INIT(foomatic-rip, "4.0.6")
5
AC_INIT(foomatic-rip, [4.0.7])
6
6
AM_INIT_AUTOMAKE([no-define])
7
7
AC_CONFIG_SRCDIR([options.c])
66
66
# Check for /etc/printcap
67
AC_PATH_DIR(PRINTCAP,printcap,/etc/printcap,$ETCSEARCHPATH)
67
FM_PATH_DIR(PRINTCAP,printcap,/etc/printcap,$ETCSEARCHPATH)
69
dnl Check for cups-config
69
# Check for cups-config
70
70
AC_PATH_PROG(CUPS_CONFIG,cups-config)
72
dnl Use cups-config to find CUPS directories
72
# Use cups-config to find CUPS directories
73
73
if test -n "$CUPS_CONFIG" && test -z "$CUPS_SERVERBIN"; then
74
74
CUPS_SERVERBIN=`cups-config --serverbin 2>/dev/null`
82
82
AC_SUBST(CUPS_BACKENDS)
84
84
# Check for /usr/lib/cups
85
AC_PATH_DIR(CUPS,cups,/usr/lib/cups,$SERVERBIB$LIBSEARCHPATH)
85
FM_PATH_DIR(CUPS,cups,/usr/lib/cups,$SERVERBIB$LIBSEARCHPATH)
87
87
# Check for /usr/lib/cups/filter
88
AC_PATH_DIR(CUPS_FILTERS,cups/filter,/usr/lib/cups/filter,$FILTERS$LIBSEARCHPATH)
88
FM_PATH_DIR(CUPS_FILTERS,cups/filter,/usr/lib/cups/filter,$FILTERS$LIBSEARCHPATH)
90
90
# Check for /usr/lib/cups/backend
91
AC_PATH_DIR(CUPS_BACKENDS,cups/backend,/usr/lib/cups/backend,$BACKENDS$LIBSEARCHPATH)
91
FM_PATH_DIR(CUPS_BACKENDS,cups/backend,/usr/lib/cups/backend,$BACKENDS$LIBSEARCHPATH)
94
94
# Check for /usr/lib/ppr
95
AC_PATH_DIR(PPR,ppr,/usr/lib/ppr,$LIBSEARCHPATH)
95
FM_PATH_DIR(PPR,ppr,/usr/lib/ppr,$LIBSEARCHPATH)
97
97
# Check for /usr/lib/ppr/interfaces
98
AC_PATH_DIR(PPR_INTERFACES,ppr/interfaces,/usr/lib/ppr/interfaces,$LIBSEARCHPATH)
98
FM_PATH_DIR(PPR_INTERFACES,ppr/interfaces,/usr/lib/ppr/interfaces,$LIBSEARCHPATH)
100
100
# Check for /usr/lib/ppr/lib
101
AC_PATH_DIR(PPR_LIB,ppr/lib,/usr/lib/ppr/lib,$LIBSEARCHPATH)
101
FM_PATH_DIR(PPR_LIB,ppr/lib,/usr/lib/ppr/lib,$LIBSEARCHPATH)
103
103
AC_ARG_ENABLE(file-converter-check, [ --enable-file-converter-check check whether a file converter is installed [default=yes]],
104
104
[if eval "test x${enableval} = xno"; then