diff options
author | José Fonseca <jrfonseca@users.sourceforge.net> | 2005-01-11 01:08:34 +0000 |
---|---|---|
committer | José Fonseca <jrfonseca@users.sourceforge.net> | 2005-01-11 01:08:34 +0000 |
commit | ce573ce2d8617929e00ec84d4d7e6d951617f759 (patch) | |
tree | 9db41879400b7ad4d13e98c5c984498072be7fc6 | |
parent | 887dcd4d51c1f475dd3c52ca1ee5670bae5a4c2b (diff) |
Fix place of esmtprc config file: esmtprc should put in $sysconfdir, but it's always put in /etc (Sasajima).
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | parser.y | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 09ebee6..5745d8d 100644 --- a/configure.ac +++ b/configure.ac @@ -30,6 +30,8 @@ else AC_MSG_ERROR(libESMTP library not found) fi +AC_SUBST( sysconfdir ) + adl_FUNC_GETOPT_LONG AC_CONFIG_FILES([Makefile]) @@ -127,7 +127,7 @@ void yyerror (const char *s) #define RCFILE "esmtprc" #define DOT_RCFILE "." RCFILE -#define ETC_RCFILE "/etc/" RCFILE +#define ETC_RCFILE SYSCONFDIR "/" RCFILE void rcfile_parse(const char *_rcfile) { |