makedist fixup.

git-svn-id: file:///svn/unbound/trunk@865 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2008-01-15 15:47:16 +00:00
parent 6ce08cf242
commit 82cab3f855
2 changed files with 4 additions and 1 deletions

View file

@ -4,6 +4,7 @@
- removed debug prints.
- porting experience, define for Solaris, test refined for BSD
compatibility. The feature probably will not work on OpenBSD.
- makedist fixup for ldns-src in build-dir.
14 January 2008: Wouter
- in no debug sets NDEBUG to remove asserts.

View file

@ -146,7 +146,9 @@ if test -z "$LDNSDIR"; then
# try to autodetect from Makefile (if present)
if test -f Makefile; then
eval `grep 'ldnsdir=' Makefile`
LDNSDIR="$ldnsdir"
if echo "$ldnsdir" | grep -v ldns-src/ >/dev/null 2>&1; then
LDNSDIR="$ldnsdir"
fi
fi
fi