diff --git a/configure.ac b/configure.ac index 6b87ee6e3e..2456589b61 100644 --- a/configure.ac +++ b/configure.ac @@ -1277,7 +1277,7 @@ if test "$HAVE_GETHOSTBYNAME" != "1"; then ) fi -if test "$HAVE_GETHOSTBYNAME" != "1"; then +if test "$HAVE_GETHOSTBYNAME" != "1" && test -n "$WATT_ROOT"; then dnl gethostbyname in the watt lib? clean_CPPFLAGS=$CPPFLAGS clean_LDFLAGS=$LDFLAGS