Commit 85252ec2 85252ec2a54dfa20a91895fa8e1c4edc483a142c by Jeff Bailey

Remove hardcoded /etc from APOP database file

1 parent 4c4d9851
2001-11-10 Jeff Bailey <jbailey@outpost.dnsalias.org>
* pop3d/pop3d.h: Use SYSCONFDIR, not hardcoded /etc
* doc/man/.cvsignore: New File
* doc/Makefile.am: Add man to SUBDIRS
* configure.in: Build doc/man/Makefile
Provide -DSYSCONFDIR in CPPFLAGS
* doc/man/pop3d.1: New File
......
......@@ -227,6 +227,9 @@ if test x"${usedb2}" = x"yes"; then
LIBS="$LIBS -ldb"])
fi
dnl Make sysconfdir available to the application
CPPFLAGS="$CPPFLAGS -DSYSCONFDIR=\\\"\$(sysconfdir)\\\""
dnl Check for Guile
AC_SUBST(GUILE_INCLUDES)
AC_SUBST(GUILE_LIBS)
......
......@@ -58,7 +58,7 @@
/* APOP password file, without .db or .passwd, which are added based on file
type automatically */
#define APOP_PASSFILE "/etc/apop"
#define APOP_PASSFILE SYSCONFDIR"/apop"
/* Size of the MD5 digest for APOP */
#define APOP_DIGEST 70
......