From 54ec49d15111bc6e64e2c4b99a20bbae64d90478 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sat, 21 Jun 2008 08:51:51 +0300 Subject: [PATCH] Uppercased PACKAGE_NAME macro and started using it in some places. --HG-- branch : HEAD --- configure.in | 6 +++--- src/master/main.c | 2 +- src/master/master-settings.c | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/configure.in b/configure.in index bdcb3e8c90..46ab89c9a9 100644 --- a/configure.in +++ b/configure.in @@ -1,5 +1,5 @@ AC_PREREQ([2.59]) -AC_INIT([dovecot],[1.2.UNSTABLE],[dovecot@dovecot.org]) +AC_INIT([Dovecot],[1.2.UNSTABLE],[dovecot@dovecot.org]) AC_CONFIG_SRCDIR([src]) AM_INIT_AUTOMAKE @@ -292,14 +292,14 @@ AC_SUBST(ssldir) AC_ARG_WITH(rundir, [ --with-rundir=DIR Runtime data directory (LOCALSTATEDIR/run/dovecot)], rundir="$withval", - rundir=$localstatedir/run/$PACKAGE_NAME + rundir=$localstatedir/run/$PACKAGE ) AC_SUBST(rundir) AC_ARG_WITH(statedir, [ --with-statedir=DIR Permanent data directory (LOCALSTATEDIR/lib/dovecot)], statedir="$withval", - statedir=$localstatedir/lib/$PACKAGE_NAME + statedir=$localstatedir/lib/$PACKAGE ) AC_SUBST(statedir) diff --git a/src/master/main.c b/src/master/main.c index f0ed03d409..75e07271a4 100644 --- a/src/master/main.c +++ b/src/master/main.c @@ -255,7 +255,7 @@ static void main_init(bool log_error) i_error("This is Dovecot's error log"); i_fatal("This is Dovecot's fatal log"); } - i_info("Dovecot v"VERSION" starting up"); + i_info(PACKAGE_NAME" v"VERSION" starting up"); lib_signals_init(); lib_signals_set_handler(SIGINT, TRUE, sig_die, NULL); diff --git a/src/master/master-settings.c b/src/master/master-settings.c index a4a47d422c..0e5a112220 100644 --- a/src/master/master-settings.c +++ b/src/master/master-settings.c @@ -201,7 +201,7 @@ struct settings default_settings = { MEMBER(login_dir) "login", MEMBER(login_executable) NULL, MEMBER(login_user) "dovecot", - MEMBER(login_greeting) "Dovecot ready.", + MEMBER(login_greeting) PACKAGE_NAME" ready.", MEMBER(login_log_format_elements) "user=<%u> method=%m rip=%r lip=%l %c", MEMBER(login_log_format) "%$: %s", -- 2.47.3