Fossil SCM

Added missing -nocomplain flag to a glob command call to avoid configure dying if it cannot find libsqlite*.

stephan 2021-12-29 03:49 trunk
Commit 5e2dbcc6fe611bf5868b5c88f4eb530b07dfc4cb3152520cb7afa36566285d7b
1 file changed +1 -1
+1 -1
--- auto.def
+++ auto.def
@@ -491,11 +491,11 @@
491491
define SQLITE3_OBJ.2 $sq3path/sqlite3.o
492492
define-append CFLAGS_INCLUDE -I$sq3path
493493
define-append EXTRA_LDFLAGS $sq3path/sqlite3.o -lpthread
494494
# ^^^ additional -lXXX flags are conservative estimates
495495
msg-result "Using sqlite3.o from $sq3path"
496
- } elseif { ([llength [glob -directory $sq3path/lib libsqlite3*]] != 0) \
496
+ } elseif { ([llength [glob -nocomplain -directory $sq3path/lib libsqlite3*]] != 0) \
497497
&& ([file exists $sq3path/include/sqlite3.h]) } {
498498
# e.g. --with-sqlite=/usr/local. Try $sq3path/lib/libsqlite3*
499499
# and $sq3path/include/sqlite3.h
500500
define-append CFLAGS_INCLUDE -I$sq3path/include
501501
define-append EXTRA_LDFLAGS -L$sq3path/lib -lsqlite3 -lpthread
502502
--- auto.def
+++ auto.def
@@ -491,11 +491,11 @@
491 define SQLITE3_OBJ.2 $sq3path/sqlite3.o
492 define-append CFLAGS_INCLUDE -I$sq3path
493 define-append EXTRA_LDFLAGS $sq3path/sqlite3.o -lpthread
494 # ^^^ additional -lXXX flags are conservative estimates
495 msg-result "Using sqlite3.o from $sq3path"
496 } elseif { ([llength [glob -directory $sq3path/lib libsqlite3*]] != 0) \
497 && ([file exists $sq3path/include/sqlite3.h]) } {
498 # e.g. --with-sqlite=/usr/local. Try $sq3path/lib/libsqlite3*
499 # and $sq3path/include/sqlite3.h
500 define-append CFLAGS_INCLUDE -I$sq3path/include
501 define-append EXTRA_LDFLAGS -L$sq3path/lib -lsqlite3 -lpthread
502
--- auto.def
+++ auto.def
@@ -491,11 +491,11 @@
491 define SQLITE3_OBJ.2 $sq3path/sqlite3.o
492 define-append CFLAGS_INCLUDE -I$sq3path
493 define-append EXTRA_LDFLAGS $sq3path/sqlite3.o -lpthread
494 # ^^^ additional -lXXX flags are conservative estimates
495 msg-result "Using sqlite3.o from $sq3path"
496 } elseif { ([llength [glob -nocomplain -directory $sq3path/lib libsqlite3*]] != 0) \
497 && ([file exists $sq3path/include/sqlite3.h]) } {
498 # e.g. --with-sqlite=/usr/local. Try $sq3path/lib/libsqlite3*
499 # and $sq3path/include/sqlite3.h
500 define-append CFLAGS_INCLUDE -I$sq3path/include
501 define-append EXTRA_LDFLAGS -L$sq3path/lib -lsqlite3 -lpthread
502

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button