diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2021-12-13 21:26:15 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2021-12-13 21:26:15 +0300 |
commit | 21be8eccb987b6d5fe05d3827ff97c23b8e630cc (patch) | |
tree | dc737eef531de952505c757b97720e7f0f96ef35 | |
parent | 5eae5d9ba24556d1aafb296b753d0f6edb652fd6 (diff) | |
download | libmicrohttpd-21be8eccb987b6d5fe05d3827ff97c23b8e630cc.tar.gz libmicrohttpd-21be8eccb987b6d5fe05d3827ff97c23b8e630cc.zip |
configure: replaced more shell constructs with AS_* macros
-rw-r--r-- | configure.ac | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/configure.ac b/configure.ac index 53657d89..998cc385 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1021,14 +1021,17 @@ AS_IF([[test "x$enable_thread_names" = "xno"]], | |||
1021 | 1021 | ||
1022 | AM_CONDITIONAL(HAVE_W32, [test "x$os_is_native_w32" = "xyes"]) | 1022 | AM_CONDITIONAL(HAVE_W32, [test "x$os_is_native_w32" = "xyes"]) |
1023 | w32_shared_lib_exp=no | 1023 | w32_shared_lib_exp=no |
1024 | if test "x$enable_shared" = "xyes" && test "x$os_is_native_w32" = "xyes"; then | 1024 | AS_IF([test "x$enable_shared" = "xyes" && test "x$os_is_native_w32" = "xyes"], |
1025 | if test "x$ac_cv_use_ms_lib_tool" = "xyes" || test -n "$DLLTOOL"; then | 1025 | [ |
1026 | w32_shared_lib_exp=yes | 1026 | AS_IF([test "x$ac_cv_use_ms_lib_tool" = "xyes" || test -n "$DLLTOOL"], |
1027 | else | 1027 | [w32_shared_lib_exp=yes], |
1028 | AC_MSG_WARN([[GNU dlltool or MS lib.exe is required for creating shared library export on W32]]) | 1028 | [ |
1029 | AC_MSG_WARN([[Export library libmicrohttpd.lib will not be created]]) | 1029 | AC_MSG_WARN([[GNU dlltool or MS lib.exe is required for creating shared library export on W32]]) |
1030 | fi | 1030 | AC_MSG_WARN([[Export library libmicrohttpd.lib will not be created]]) |
1031 | fi | 1031 | ] |
1032 | ) | ||
1033 | ] | ||
1034 | ) | ||
1032 | AM_CONDITIONAL(W32_SHARED_LIB_EXP, [test "x$w32_shared_lib_exp" = "xyes"]) | 1035 | AM_CONDITIONAL(W32_SHARED_LIB_EXP, [test "x$w32_shared_lib_exp" = "xyes"]) |
1033 | AM_CONDITIONAL(USE_MS_LIB_TOOL, [test "x$ac_cv_use_ms_lib_tool" = "xyes"]) | 1036 | AM_CONDITIONAL(USE_MS_LIB_TOOL, [test "x$ac_cv_use_ms_lib_tool" = "xyes"]) |
1034 | 1037 | ||