]> arthur.barton.de Git - ngircd-alex.git/commitdiff
Make sure that SYSCONFDIR is always set
authorAlexander Barton <alex@barton.de>
Fri, 22 Jul 2016 17:01:04 +0000 (19:01 +0200)
committerAlexander Barton <alex@barton.de>
Fri, 22 Jul 2016 17:01:04 +0000 (19:01 +0200)
This is useful when ./configure hasn't been run but some source code
linters are run in an editor, for example.

src/portab/portab.h

index 78b6f7e126e66b870b7d9016e6b2a9d0575dd824..70d5ed3ed26327fb14722df062b2a6b834bb6d93 100644 (file)
@@ -175,6 +175,10 @@ extern int vsnprintf PARAMS(( char *str, size_t count, const char *fmt, va_list
 # define PACKAGE_VERSION VERSION
 #endif
 
 # define PACKAGE_VERSION VERSION
 #endif
 
+#ifndef SYSCONFDIR
+# define SYSCONFDIR "/etc"
+#endif
+
 #endif
 
 /* -eof- */
 #endif
 
 /* -eof- */