fix: Build breaks when using --without-restconfig

When using "./configure --without-restconfig" the variables "WWWUSER" and "WWWDIR" are not defined, leading to a build failure.
This change simply sets those variables to an empty string.
This commit is contained in:
Simon Bauer 2021-03-28 20:21:50 +02:00
parent 477059f33d
commit 80c6bc17f0
2 changed files with 14 additions and 0 deletions

11
configure vendored
View file

@ -5402,6 +5402,17 @@ cat >>confdefs.h <<_ACEOF
#define WWWDIR "$wwwdir"
_ACEOF
else
cat >>confdefs.h <<_ACEOF
#define WWWUSER ""
_ACEOF
cat >>confdefs.h <<_ACEOF
#define WWWDIR ""
_ACEOF
fi
# Set default config file location