-sys_socket [test "$ac_cv_search_inet_ntop" = no && test $ac_cv_func_inet_ntop = no]
-errno [test "$ac_cv_search_inet_ntop" = no && test $ac_cv_func_inet_ntop = no]
-netinet_in [test "$ac_cv_search_inet_ntop" = no && test $ac_cv_func_inet_ntop = no]
+sys_socket [test $HAVE_INET_NTOP = 0]
+errno [test $HAVE_INET_NTOP = 0]
+netinet_in [test $HAVE_INET_NTOP = 0]