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:
parent
477059f33d
commit
80c6bc17f0
2 changed files with 14 additions and 0 deletions
11
configure
vendored
11
configure
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue