git://git.exim.org
/
users
/
heiko
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Check ARGV before subscripting it
[users/heiko/exim.git]
/
src
/
scripts
/
lookups-Makefile
diff --git
a/src/scripts/lookups-Makefile
b/src/scripts/lookups-Makefile
index 61493c632d2c09e2d0986978879ab4aab78486a1..db2d184a731a6995e89ee0c281893a41f5c8da6f 100755
(executable)
--- a/
src/scripts/lookups-Makefile
+++ b/
src/scripts/lookups-Makefile
@@
-161,7
+161,7
@@
sed -n "1,/$tag_marker/p" < "$input"
for name_mod in \
CDB DBM:dbmdb DNSDB DSEARCH IBASE LSEARCH MYSQL NIS NISPLUS ORACLE \
for name_mod in \
CDB DBM:dbmdb DNSDB DSEARCH IBASE LSEARCH MYSQL NIS NISPLUS ORACLE \
- PASSWD PGSQL SQLITE TESTDB WHOSON
+ PASSWD PGSQL
REDIS
SQLITE TESTDB WHOSON
do
emit_module_rule $name_mod
done
do
emit_module_rule $name_mod
done
@@
-177,12
+177,9
@@
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
echo "MODS = $MODS"
fi
echo "MODS = $MODS"