diff options
-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) { |