X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=macros%2Fconfig-checks.m4;h=2b4f4b7e0f3fce515ffba5ea4f49ba73bcba470f;hb=1c53fca8ff87c63383eec3249a479bd1f416f4dd;hp=1627fd1ddc8750e1b6e194f9ac17bd9d505a3d06;hpb=5ab4f0463c00263b3d842f1e1a3648ecf35b4d65;p=netatalk.git diff --git a/macros/config-checks.m4 b/macros/config-checks.m4 index 1627fd1d..2b4f4b7e 100644 --- a/macros/config-checks.m4 +++ b/macros/config-checks.m4 @@ -1,12 +1,11 @@ -dnl $Id: config-checks.m4,v 1.6 2005-04-28 20:50:05 bfernhomberg Exp $ dnl Autoconf macro to set the configuration directories. AC_DEFUN([AC_NETATALK_CONFIG_DIRS], [ - PKGCONFDIR="${sysconfdir}/netatalk" + PKGCONFDIR="${sysconfdir}" AC_ARG_WITH(pkgconfdir, [ --with-pkgconfdir=DIR package specific configuration in DIR - [[SYSCONF/netatalk]]], + [[$sysconfdir]]], [ if test "x$withval" != "x"; then PKGCONFDIR="$withval" @@ -15,13 +14,13 @@ AC_DEFUN([AC_NETATALK_CONFIG_DIRS], [ ) - SERVERTEXT="${PKGCONFDIR}/msg" + SERVERTEXT="${localstatedir}/netatalk/msg" AC_ARG_WITH(message-dir, - [ --with-message-dir=PATH path to server message files [[PKGCONF/msg]]], + [ --with-message-dir=PATH path to server message files [[$localstatedir/netatalk/msg/]]], [ if test x"$withval" = x"no"; then - AC_MSG_WARN([*** message-dir is mandatory and cannot be disabled, using default ***]) + AC_MSG_WARN([message-dir is mandatory and cannot be disabled, using default]) elif test "x$withval" != "x" && test x"$withval" != x"yes"; then SERVERTEXT="$withval" fi