mirror of
https://github.com/znc/znc.git
synced 2026-08-10 10:52:59 +02:00
Fix: Don't try to include zncconfig.h when it doesn't exist yet
This commit is contained in:
+3
-1
@@ -70,7 +70,6 @@ appendLD () {
|
||||
}
|
||||
|
||||
appendCXX "-D_FORTIFY_SOURCE=2"
|
||||
appendCXX "-include znc/zncconfig.h"
|
||||
|
||||
case "${host_os}" in
|
||||
freebsd*)
|
||||
@@ -554,6 +553,9 @@ AC_CACHE_CHECK([for GNU make], [ac_cv_path_GNUMAKE], [
|
||||
GNUMAKE_DIRNAME=`AS_DIRNAME(["$ac_cv_path_GNUMAKE"])`
|
||||
GNUMAKE=`echo $ac_cv_path_GNUMAKE | $SED "s%$GNUMAKE_DIRNAME/%%"`
|
||||
|
||||
# this is in the end, for not trying to include it when it doesn't exist yet
|
||||
appendCXX "-include znc/zncconfig.h"
|
||||
|
||||
AC_SUBST([CXXFLAGS])
|
||||
AC_SUBST([CPPFLAGS])
|
||||
AC_SUBST([MODFLAGS])
|
||||
|
||||
Reference in New Issue
Block a user