4
dnl Directory stuff for OpenPrinting CUPS Filters.
6
dnl Copyright 2007-2011 by Apple Inc.
7
dnl Copyright 1997-2007 by Easy Software Products, all rights reserved.
9
dnl These coded instructions, statements, and computer programs are the
10
dnl property of Apple Inc. and are protected by Federal copyright
11
dnl law. Distribution and use rights are outlined in the file "LICENSE.txt"
12
dnl which should have been included with this file. If this file is
13
dnl file is missing or damaged, see the license at "http://www.cups.org/".
18
dnl Fix "prefix" variable if it hasn't been specified...
19
if test "$prefix" = "NONE"; then
23
dnl Fix "exec_prefix" variable if it hasn't been specified...
24
if test "$exec_prefix" = "NONE"; then
25
if test "$prefix" = "/"; then
32
dnl Setup CUPS locations...
33
CUPS_DATADIR="`$CUPSCONFIG --datadir`"
34
AC_DEFINE_UNQUOTED(CUPS_DATADIR, "$CUPS_DATADIR")
35
AC_SUBST(CUPS_DATADIR)
37
CUPS_FONTPATH="$CUPS_DATADIR/fonts"
38
AC_SUBST(CUPS_FONTPATH)
39
AC_DEFINE_UNQUOTED(CUPS_FONTPATH, "$CUPS_FONTPATH")
41
CUPS_SERVERBIN="`$CUPSCONFIG --serverbin`"
42
AC_DEFINE_UNQUOTED(CUPS_SERVERBIN, "$CUPS_SERVERBIN")
43
AC_SUBST(CUPS_SERVERBIN)