1 dnl $Id: config-checks.m4,v 1.3 2002-04-29 06:23:58 morgana 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="${PKGCONFDIR}/nls"
20 [ --with-nls-dir=PATH path to NLS files [PKGCONF/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"; then
35 cat >> confdefs.h <<EOF
36 #define SERVERTEXT "$withval"