1 dnl $Id: config-checks.m4,v 1.5 2003-06-06 19:45:51 srittau Exp $
2 dnl Autoconf macro to set the configuration directories.
4 AC_DEFUN([NETATALK_CONFIG_DIRS], [
5 PKGCONFDIR="${sysconfdir}/netatalk"
7 AC_ARG_WITH(pkgconfdir,
8 [ --with-pkgconfdir=DIR package specific configuration in DIR
11 if test "x$withval" != "x"; then
17 NLSDIR="${datadir}/netatalk/nls"
20 [ --with-nls-dir=PATH path to NLS files [DATA/netatalk/nls]],
22 if test "x$withval" != "x"; then
28 SERVERTEXT="${PKGCONFDIR}/msg"
30 AC_ARG_WITH(message-dir,
31 [ --with-message-dir=PATH path to server message files [PKGCONF/msg]],
33 if test x"$withval" = x"no"; then
34 AC_MSG_WARN([*** message-dir is mandatory and cannot be disabled, using default ***])
35 elif test "x$withval" != "x" && test x"$withval" != x"yes"; then