From: Alexander Barton Date: Fri, 22 Jul 2016 17:01:04 +0000 (+0200) Subject: Make sure that SYSCONFDIR is always set X-Git-Tag: rel-24-rc1~28 X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=commitdiff_plain;h=722afc1b810cef74dbd2738d71866176fd974ec2 Make sure that SYSCONFDIR is always set This is useful when ./configure hasn't been run but some source code linters are run in an editor, for example. --- diff --git a/src/portab/portab.h b/src/portab/portab.h index 78b6f7e1..70d5ed3e 100644 --- a/src/portab/portab.h +++ b/src/portab/portab.h @@ -175,6 +175,10 @@ extern int vsnprintf PARAMS(( char *str, size_t count, const char *fmt, va_list # define PACKAGE_VERSION VERSION #endif +#ifndef SYSCONFDIR +# define SYSCONFDIR "/etc" +#endif + #endif /* -eof- */