--- bind-9.18.48/configure.ac.orig +++ bind-9.18.48/configure.ac @@ -1033,6 +1033,7 @@ # # Check for if_nametoindex() for IPv6 scoped addresses support # +AC_SEARCH_LIBS([if_nametoindex], [socket]) AC_CHECK_FUNCS([if_nametoindex]) ISC_ATOMIC_LIBS=""