Enhance ./configure to issue an unambiguious error if the pathname to either

the source tree or the build directory contains any space characters.

FossilOrigin-Name: 614ae5c74f3b534f50432c875681d7a1e6135be883508939c9c57822cc1e9361
This commit is contained in:
drh
2025-01-27 17:48:51 +00:00
parent 7c727bb61b
commit 5dcf5890ae
3 changed files with 17 additions and 7 deletions
+10
View File
@@ -14,6 +14,16 @@
#
use sqlite-config
if {[string first " " $autosetup(srcdir)] != -1} {
user-error "The pathname of the source tree\
may not contain space characters"
}
if {[string first " " $autosetup(builddir)] != -1} {
user-error "The pathname of the build directory\
may not contain space characters"
}
########################################################################
# Regarding flag compatibility with the historical autotool configure
# script: