diff options
author | Darren Tucker <dtucker@zip.com.au> | 2017-12-11 13:42:51 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2017-12-11 13:42:51 +1100 |
commit | f001de8fbf7f3faddddd8efd03df18e57601f7eb (patch) | |
tree | 7ef841eebdaa502705f52a01b38cfbc2bb159f80 | |
parent | c5bfe83f67cb64e71cf2fe0d1500f6904b0099ee (diff) |
Fix pasto in ldns handling.
When ldns-config is not found, configure would check the wrong variable.
ok djm@
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 3e8a232d9..d49660516 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1499,7 +1499,7 @@ AC_ARG_WITH(ldns, | |||
1499 | ldns="" | 1499 | ldns="" |
1500 | if test "x$withval" = "xyes" ; then | 1500 | if test "x$withval" = "xyes" ; then |
1501 | AC_PATH_TOOL([LDNSCONFIG], [ldns-config], [no]) | 1501 | AC_PATH_TOOL([LDNSCONFIG], [ldns-config], [no]) |
1502 | if test "x$PKGCONFIG" = "xno"; then | 1502 | if test "x$LDNSCONFIG" = "xno"; then |
1503 | CPPFLAGS="$CPPFLAGS -I${withval}/include" | 1503 | CPPFLAGS="$CPPFLAGS -I${withval}/include" |
1504 | LDFLAGS="$LDFLAGS -L${withval}/lib" | 1504 | LDFLAGS="$LDFLAGS -L${withval}/lib" |
1505 | LIBS="-lldns $LIBS" | 1505 | LIBS="-lldns $LIBS" |