diff --git a/configure b/configure index 9767ca58d..50e90b482 100755 --- a/configure +++ b/configure @@ -16674,7 +16674,7 @@ esac # Check whether --with-ldns was given. if test "${with_ldns+set}" = set; then : - withval=$with_ldns; specialldnsdir="$withval" + withval=$with_ldns; if test "$withval" != "yes"; then if test "$withval" != "/usr" -a "$withval" != ""; then CPPFLAGS="-I$withval/include $CPPFLAGS" diff --git a/configure.ac b/configure.ac index 5f3ac7a6c..a878e925a 100644 --- a/configure.ac +++ b/configure.ac @@ -713,7 +713,7 @@ AC_SUBST(EXPORT_ALL_SYMBOLS) # may break checks after this. AC_ARG_WITH(ldns, AC_HELP_STRING([--with-ldns=PATH], [specify prefix of path of ldns library to use]), - [ specialldnsdir="$withval" + [ if test "$withval" != "yes"; then if test "$withval" != "/usr" -a "$withval" != ""; then CPPFLAGS="-I$withval/include $CPPFLAGS"