From: Jonathan Neuschäfer Date: Wed, 2 May 2012 17:27:53 +0000 (+0200) Subject: configure.ac: set HAVE_WINDOWS=0 to avoid a "test" warning X-Git-Tag: release-0.21~26 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d48c131bca7a6af52cf13bd0ceb99ad8dfed512f;p=ncmpc.git configure.ac: set HAVE_WINDOWS=0 to avoid a "test" warning The warning would be: ./configure: line 5033: test: -eq: unary operator expected --- 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])