-dnl $Id: config-checks.m4,v 1.3 2002-04-29 06:23:58 morgana Exp $
+dnl $Id: config-checks.m4,v 1.4 2003-05-20 20:50:49 didg Exp $
dnl Autoconf macro to set the configuration directories.
AC_DEFUN([NETATALK_CONFIG_DIRS], [
AC_ARG_WITH(message-dir,
[ --with-message-dir=PATH path to server message files [PKGCONF/msg]],
[
- if test "x$withval" != "x"; then
+ if test x"$withval" = x"no"; then
+ 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"
- cat >> confdefs.h <<EOF
-#define SERVERTEXT "$withval"
-EOF
fi
]
)