git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Sqlite: fix segfault on bad/missing sqlite_dbfile. Bug 2606
[exim.git]
/
src
/
scripts
/
lookups-Makefile
diff --git
a/src/scripts/lookups-Makefile
b/src/scripts/lookups-Makefile
index 61493c632d2c09e2d0986978879ab4aab78486a1..63f3eb86e6d71899badb99577ce6c6ca7afb7681 100755
(executable)
--- a/
src/scripts/lookups-Makefile
+++ b/
src/scripts/lookups-Makefile
@@
-160,8
+160,8
@@
exec > "$target"
sed -n "1,/$tag_marker/p" < "$input"
for name_mod in \
sed -n "1,/$tag_marker/p" < "$input"
for name_mod in \
- CDB DBM:dbmdb DNSDB DSEARCH IBASE LSEARCH MYSQL NIS NISPLUS ORACLE \
- PASSWD PGSQL SQLITE TESTDB WHOSON
+ CDB DBM:dbmdb DNSDB DSEARCH IBASE
JSON
LSEARCH MYSQL NIS NISPLUS ORACLE \
+ PASSWD PGSQL
REDIS
SQLITE TESTDB WHOSON
do
emit_module_rule $name_mod
done
do
emit_module_rule $name_mod
done
@@
-177,14
+177,14
@@
fi
OBJ="${OBJ} spf.o"
OBJ="${OBJ} spf.o"
-# Because the variable is EXPERIMENTAL_REDIS and not LOOKUP_REDIS we
-# use a different function to check for EXPERIMENTAL_* features
-# requested. Don't use the SPF method with dummy functions above.
-if want_experimental REDIS
+if want_experimental LMDB
then
then
- OBJ="${OBJ}
redis
.o"
+ OBJ="${OBJ}
lmdb
.o"
fi
fi
+# readsock is always wanted as it implements the ${readsock } expansion
+OBJ="${OBJ} readsock.o"
+
echo "MODS = $MODS"
echo "OBJ = $OBJ"
echo "MODS = $MODS"
echo "OBJ = $OBJ"