masqmail

changeset 35:9bf8b9f0f09d

fixed unexpanded $prefix in template paths i.e. I hacked the AutoHELLstuff even more ugly :-/
author meillo@marmaro.de
date Fri, 07 May 2010 16:42:58 +0200
parents 8ea86ac25658
children 9cb4031fa5e0
files configure.ac
diffstat 1 files changed, 6 insertions(+), 4 deletions(-) [+]
line diff
     1.1 --- a/configure.ac	Fri May 07 13:50:23 2010 +0200
     1.2 +++ b/configure.ac	Fri May 07 16:42:58 2010 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  dnl Process this file with autoconf to produce a configure script.
     1.5  
     1.6  AC_PREREQ(2.59)
     1.7 -AC_INIT(masqmail, 0.2.21, oku@debian.org)
     1.8 +AC_INIT(masqmail, 0.2.21, meillo@marmaro.de)
     1.9  AC_CONFIG_SRCDIR([src/masqmail.c])
    1.10  AM_CONFIG_HEADER(config.h)
    1.11  AM_INIT_AUTOMAKE()
    1.12 @@ -271,9 +271,12 @@
    1.13  AC_DEFINE_UNQUOTED(CONF_DIR, "${with_confdir}", [The configuration file location])
    1.14  AC_SUBST(with_confdir)
    1.15  
    1.16 -dnl well, /me/ thought that autoconf should make things _easy_ ...
    1.17  test "x$prefix" = xNONE && prefix="$ac_default_prefix"
    1.18 -AC_DEFINE_UNQUOTED(DATA_DIR, "`eval echo \""$datadir"\"`/masqmail", [The data directory])
    1.19 +
    1.20 +dnl well, /me/ thought that autoconf should make things _easy_ ... -- oku
    1.21 +dnl I needed the two `eval's to get the variable expanded in all cases -- meillo
    1.22 +dnl this is just horrible! -- meillo
    1.23 +AC_DEFINE_UNQUOTED(DATA_DIR, "`eval eval echo $datadir`/masqmail", [The data directory])
    1.24  
    1.25  dnl gymnastics to get the correct path where masqmail should be installed
    1.26  dnl we need this to call ourselves in failmsg.c
    1.27 @@ -288,7 +291,6 @@
    1.28  fi
    1.29  
    1.30  AC_OUTPUT(Makefile \
    1.31 -	tests/Makefile \
    1.32  	src/Makefile \
    1.33  	src/base64/Makefile \
    1.34  	src/md5/Makefile \