repo: ngircd
action: commit
revision: 
path_from: 
revision_from: 722afc1b810cef74dbd2738d71866176fd974ec2:
path_to: 
revision_to: 
git.thebackupbox.net
ngircd
git clone git://git.thebackupbox.net/ngircd
commit 722afc1b810cef74dbd2738d71866176fd974ec2
Author: Alexander Barton 
Date:   Fri Jul 22 19:01:04 2016 +0200

    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 78b6f7e126e66b870b7d9016e6b2a9d0575dd824..
index ..70d5ed3ed26327fb14722df062b2a6b834bb6d93 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- */

-----END OF PAGE-----