changeset 7914:5061533382be HEAD

Uppercased PACKAGE_NAME macro and started using it in some places.
author Timo Sirainen <tss@iki.fi>
date Sat, 21 Jun 2008 08:51:51 +0300
parents e04513064165
children 1789ac4637b0
files configure.in src/master/main.c src/master/master-settings.c
diffstat 3 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/configure.in	Sat Jun 21 07:43:54 2008 +0300
+++ b/configure.in	Sat Jun 21 08:51:51 2008 +0300
@@ -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_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)
 
--- a/src/master/main.c	Sat Jun 21 07:43:54 2008 +0300
+++ b/src/master/main.c	Sat Jun 21 08:51:51 2008 +0300
@@ -255,7 +255,7 @@
 		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);
--- a/src/master/master-settings.c	Sat Jun 21 07:43:54 2008 +0300
+++ b/src/master/master-settings.c	Sat Jun 21 08:51:51 2008 +0300
@@ -201,7 +201,7 @@
 	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",