Commit e66dab68 e66dab6889954d913fd397c9854235233d10bb0c by Sergey Poznyakoff

(DEFAULT_CUPS_CONFDIR): New variable

1 parent 2df162d1
...@@ -864,6 +864,14 @@ AH_BOTTOM([ ...@@ -864,6 +864,14 @@ AH_BOTTOM([
864 #endif 864 #endif
865 ]) 865 ])
866 866
867 AC_ARG_VAR([DEFAULT_CUPS_CONFDIR],
868 [Set the location of CUPS configuration directory. Default is \$sysconfdir/cups])
869
870 AC_SUBST(DEFAULT_CUPS_CONFDIR)
871 if test -z "$DEFAULT_CUPS_CONFDIR"; then
872 DEFAULT_CUPS_CONFDIR='$(sysconfdir)/cups'
873 fi
874
867 dnl Make sysconfdir available to the application 875 dnl Make sysconfdir available to the application
868 dnl This must be done LAST, since CPPFLAGS is passed by configure 876 dnl This must be done LAST, since CPPFLAGS is passed by configure
869 dnl to build tests, but this relies on being run in make to 877 dnl to build tests, but this relies on being run in make to
......