quoting, since test breaks (under emscripten) when variable is empty string
authorFlorian Dold <florian.dold@gmail.com>
Thu, 13 Oct 2016 01:55:08 +0000 (01:55 +0000)
committerFlorian Dold <florian.dold@gmail.com>
Thu, 13 Oct 2016 01:55:08 +0000 (01:55 +0000)
configure.ac

index 50bc45594b92e319b426d0ecc22afbe678222365..ef98654568b85021a364b0c80f8767e2ac471318 100644 (file)
@@ -724,7 +724,7 @@ gl_LIBUNISTRING
 if test $HAVE_LIBUNISTRING != yes; then
  AC_MSG_ERROR([GNUnet requires libunistring])
 fi
-if test $gl_libunistring_hexversion -le 2305; then
+if test "$gl_libunistring_hexversion" -le 2305; then
  AC_MSG_ERROR([GNUnet requires libunistring >= 0.9.1.1])
 fi
 AC_CHECK_HEADERS([unistr.h],,AC_MSG_ERROR([Compiling GNUnet requires unistr.h (from libunistring) to be installed]))