Mercurial > dovecot > original-hg > dovecot-1.2
changeset 3327:ce0733b39311 HEAD
Added --with-rundir configure option.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sat, 23 Apr 2005 20:07:12 +0300 |
parents | 5949ce51755b |
children | fdac6810fe64 |
files | configure.in src/login-common/Makefile.am src/master/Makefile.am |
diffstat | 3 files changed, 9 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/configure.in Sat Apr 23 20:02:40 2005 +0300 +++ b/configure.in Sat Apr 23 20:07:12 2005 +0300 @@ -191,6 +191,13 @@ ) AC_SUBST(ssldir) +AC_ARG_WITH(rundir, +[ --with-rundir=DIR Runtime data directory (LOCALSTATEDIR/run/dovecot)], + rundir="$withval", + rundir=$localstatedir/run/$PACKAGE_NAME +) +AC_SUBST(rundir) + AC_ARG_WITH(gc, [ --with-gc Use Boehm garbage collector (currently broken)], if test x$withval = xyes; then
--- a/src/login-common/Makefile.am Sat Apr 23 20:02:40 2005 +0300 +++ b/src/login-common/Makefile.am Sat Apr 23 20:07:12 2005 +0300 @@ -3,7 +3,7 @@ AM_CPPFLAGS = \ -I$(top_srcdir)/src/lib \ -I$(top_srcdir)/src/lib-auth \ - -DPKG_RUNDIR=\""$(localstatedir)/run/$(PACKAGE)"\" \ + -DPKG_RUNDIR=\""$(rundir)"\" \ -DSBINDIR=\""$(sbindir)"\" liblogin_common_a_SOURCES = \
--- a/src/master/Makefile.am Sat Apr 23 20:02:40 2005 +0300 +++ b/src/master/Makefile.am Sat Apr 23 20:07:12 2005 +0300 @@ -6,7 +6,7 @@ -I$(top_srcdir)/src/lib \ -I$(top_srcdir)/src/lib-settings \ -DSYSCONFDIR=\""$(sysconfdir)"\" \ - -DPKG_RUNDIR=\""$(localstatedir)/run/$(PACKAGE)"\" \ + -DPKG_RUNDIR=\""$(rundir)"\" \ -DPKG_LIBEXECDIR=\""$(pkglibexecdir)"\" \ -DMODULEDIR=\""$(moduledir)"\" \ -DSSLDIR=\""$(ssldir)\""