gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [libmicrohttpd] 02/02: configure: fixed MS Lib utility dete


From: gnunet
Subject: [GNUnet-SVN] [libmicrohttpd] 02/02: configure: fixed MS Lib utility detection after 6ef94cf448e11a51c4b24d7347351047c39e3afe
Date: Wed, 15 May 2019 23:24:22 +0200

This is an automated email from the git hooks/post-receive script.

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit fc629fac503e6fe564d35876767e219666681e5e
Author: Evgeny Grin (Karlson2k) <address@hidden>
AuthorDate: Thu May 16 00:22:57 2019 +0300

    configure: fixed MS Lib utility detection after
    6ef94cf448e11a51c4b24d7347351047c39e3afe
---
 configure.ac | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index eabfb0c8..53d37ca4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -55,6 +55,7 @@ AS_IF([test `uname -s` = "OS/390"],
 
 # Checks for programs.
 AC_PROG_AWK
+AC_PROG_GREP
 AC_PROG_INSTALL
 AC_PROG_LN_S
 AC_PROG_MAKE_SET
@@ -318,7 +319,7 @@ AS_CASE(["$host_os"],
      AC_CHECK_HEADERS([winsock2.h ws2tcpip.h], [], [AC_MSG_ERROR([[Winsock2 
headers are required for W32]])], [AC_INCLUDES_DEFAULT])
      AC_CACHE_CHECK([for MS lib utility], [ac_cv_use_ms_lib_tool],
        [mslibcheck=`lib 2>&1`
-        AS_IF([test $mslibcheck = "Microsoft (R) Library Manager"*],
+        AS_IF([echo "$mslibcheck" | $GREP -e '^Microsoft (R) Library Manager' 
- >/dev/null],
           [ac_cv_use_ms_lib_tool=yes],
           [ac_cv_use_ms_lib_tool=no])
          ])

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]