Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ config.log
config.status
dotlockfile
maillock.h
/autom4te.cache/
13 changes: 0 additions & 13 deletions acconfig.h

This file was deleted.

10 changes: 6 additions & 4 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ dnl extra argument: --with-libnfslock
nfslockdir="$libdir"
AC_MSG_CHECKING(build libnfslock)
AC_ARG_WITH(libnfslock,
[ --with-libnfslock[=DIR] Build libnfslock (and install in DIR)],
[AS_HELP_STRING([--with-libnfslock[=DIR]],
[Build libnfslock (and install in DIR)])],
[ case "$withval" in
no)
LIBNFSLOCK=no
Expand All @@ -54,9 +55,10 @@ AC_ARG_WITH(libnfslock,
AC_SUBST(LIBNFSLOCK)
AC_MSG_RESULT($LIBNFSLOCK)

dnl extra argument: --with-mailgroup[=mail]
dnl extra argument: --with-mailgroup[=group]
AC_ARG_WITH(mailgroup,
[ --with-mailgroup[=group] Run setgid (mail) to write to the mailspool],
[AS_HELP_STRING([--with-mailgroup[=GROUP]],
[Run setgid (group "mail" by default) to write to the mailspool directory])],
[ case "$withval" in
yes)
MAILGROUP="mail"
Expand All @@ -67,7 +69,7 @@ AC_ARG_WITH(mailgroup,
esac ]
)
if test "$MAILGROUP" != ""; then
AC_DEFINE_UNQUOTED(MAILGROUP, "$MAILGROUP")
AC_DEFINE_UNQUOTED([MAILGROUP], ["$MAILGROUP"], [If the mailspool is group-writable, defined as that group; undefined otherwise.])
fi
AC_SUBST(MAILGROUP)

Expand Down