if test "${with_ldns+set}" = set; then :
withval=$with_ldns; specialldnsdir="$withval"
if test "$withval" != "yes"; then
- if test "$withval" != ""; then
+ if test "$withval" != "/usr" -a "$withval" != ""; then
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 echo "$withval/lib" | grep "^/" >/dev/null; then
[specify prefix of path of ldns library to use]),
[ specialldnsdir="$withval"
if test "$withval" != "yes"; then
- if test "$withval" != ""; then
+ if test "$withval" != "/usr" -a "$withval" != ""; then
CPPFLAGS="-I$withval/include $CPPFLAGS"
- LDFLAGS="-L$withval -L$withval/lib $LDFLAGS"
+ LDFLAGS="-L$withval/lib $LDFLAGS"
ACX_RUNTIME_PATH_ADD([$withval/lib])
fi
ldnsdir="$withval"
+19 January 2011: Wouter
+ - fix bug#349: no -L/usr for ldns.
+
18 January 2011: Wouter
- ldns 1.6.8 tarball included.