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.
This commit is contained in:
Alexander Barton 2016-07-22 19:01:04 +02:00
parent 86a64ce6aa
commit 722afc1b81
1 changed files with 4 additions and 0 deletions

View File

@ -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- */