fix bug 349

git-svn-id: file:///svn/unbound/trunk@2381 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2011-01-19 06:59:24 +00:00
parent 5a154aeb78
commit 5e2a137562
3 changed files with 7 additions and 4 deletions

4
configure vendored
View file

@ -16490,9 +16490,9 @@ use_ldns_builtin="no"
if test "${with_ldns+set}" = set; then : if test "${with_ldns+set}" = set; then :
withval=$with_ldns; specialldnsdir="$withval" withval=$with_ldns; specialldnsdir="$withval"
if test "$withval" != "yes"; then if test "$withval" != "yes"; then
if test "$withval" != ""; then if test "$withval" != "/usr" -a "$withval" != ""; then
CPPFLAGS="-I$withval/include $CPPFLAGS" CPPFLAGS="-I$withval/include $CPPFLAGS"
LDFLAGS="-L$withval -L$withval/lib $LDFLAGS" LDFLAGS="-L$withval/lib $LDFLAGS"
if test "x$enable_rpath" = xyes; then if test "x$enable_rpath" = xyes; then
if echo "$withval/lib" | grep "^/" >/dev/null; then if echo "$withval/lib" | grep "^/" >/dev/null; then

View file

@ -700,9 +700,9 @@ AC_ARG_WITH(ldns, AC_HELP_STRING([--with-ldns=PATH],
[specify prefix of path of ldns library to use]), [specify prefix of path of ldns library to use]),
[ specialldnsdir="$withval" [ specialldnsdir="$withval"
if test "$withval" != "yes"; then if test "$withval" != "yes"; then
if test "$withval" != ""; then if test "$withval" != "/usr" -a "$withval" != ""; then
CPPFLAGS="-I$withval/include $CPPFLAGS" CPPFLAGS="-I$withval/include $CPPFLAGS"
LDFLAGS="-L$withval -L$withval/lib $LDFLAGS" LDFLAGS="-L$withval/lib $LDFLAGS"
ACX_RUNTIME_PATH_ADD([$withval/lib]) ACX_RUNTIME_PATH_ADD([$withval/lib])
fi fi
ldnsdir="$withval" ldnsdir="$withval"

View file

@ -1,3 +1,6 @@
19 January 2011: Wouter
- fix bug#349: no -L/usr for ldns.
18 January 2011: Wouter 18 January 2011: Wouter
- ldns 1.6.8 tarball included. - ldns 1.6.8 tarball included.