diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2019-05-16 00:22:57 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2019-05-16 00:22:57 +0300 |
commit | fc629fac503e6fe564d35876767e219666681e5e (patch) | |
tree | 316a1f95276eaefb83e5723216efa0acb2af2335 | |
parent | 11350cbeafffca63ec71a93ebfa3e8a67451218d (diff) | |
download | libmicrohttpd-fc629fac503e6fe564d35876767e219666681e5e.tar.gz libmicrohttpd-fc629fac503e6fe564d35876767e219666681e5e.zip |
configure: fixed MS Lib utility detection after
6ef94cf448e11a51c4b24d7347351047c39e3afe
-rw-r--r-- | configure.ac | 3 |
1 files changed, 2 insertions, 1 deletions
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"], | |||
55 | 55 | ||
56 | # Checks for programs. | 56 | # Checks for programs. |
57 | AC_PROG_AWK | 57 | AC_PROG_AWK |
58 | AC_PROG_GREP | ||
58 | AC_PROG_INSTALL | 59 | AC_PROG_INSTALL |
59 | AC_PROG_LN_S | 60 | AC_PROG_LN_S |
60 | AC_PROG_MAKE_SET | 61 | AC_PROG_MAKE_SET |
@@ -318,7 +319,7 @@ AS_CASE(["$host_os"], | |||
318 | AC_CHECK_HEADERS([winsock2.h ws2tcpip.h], [], [AC_MSG_ERROR([[Winsock2 headers are required for W32]])], [AC_INCLUDES_DEFAULT]) | 319 | AC_CHECK_HEADERS([winsock2.h ws2tcpip.h], [], [AC_MSG_ERROR([[Winsock2 headers are required for W32]])], [AC_INCLUDES_DEFAULT]) |
319 | AC_CACHE_CHECK([for MS lib utility], [ac_cv_use_ms_lib_tool], | 320 | AC_CACHE_CHECK([for MS lib utility], [ac_cv_use_ms_lib_tool], |
320 | [mslibcheck=`lib 2>&1` | 321 | [mslibcheck=`lib 2>&1` |
321 | AS_IF([test $mslibcheck = "Microsoft (R) Library Manager"*], | 322 | AS_IF([echo "$mslibcheck" | $GREP -e '^Microsoft (R) Library Manager' - >/dev/null], |
322 | [ac_cv_use_ms_lib_tool=yes], | 323 | [ac_cv_use_ms_lib_tool=yes], |
323 | [ac_cv_use_ms_lib_tool=no]) | 324 | [ac_cv_use_ms_lib_tool=no]) |
324 | ]) | 325 | ]) |