From d48c131bca7a6af52cf13bd0ceb99ad8dfed512f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jonathan=20Neusch=C3=A4fer?= Date: Wed, 2 May 2012 19:27:53 +0200 Subject: [PATCH] configure.ac: set HAVE_WINDOWS=0 to avoid a "test" warning The warning would be: ./configure: line 5033: test: -eq: unary operator expected --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure.ac b/configure.ac index c50445e..1f99b21 100644 --- a/configure.ac +++ b/configure.ac @@ -76,6 +76,8 @@ mingw32* | windows*) [AC_CHECK_LIB([nsl],[gethostbyname],[LIBS="$LIBS -lnsl"], [AC_MSG_ERROR(No UNIX gethostbyname API found)]) ]) + + HAVE_WINDOWS=0 esac AM_CONDITIONAL([HAVE_WINDOWS], [test $HAVE_WINDOWS -eq 1]) -- 2.30.2