diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2023-03-14 16:53:53 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2023-03-14 21:32:19 +0300 |
commit | 17bc3279f6943b22cef5b21479bd11fc02c8a976 (patch) | |
tree | cb065dc6368c2255a75d76c83fc2b7eaa0833e6a | |
parent | ccf820530b8c4964636718fa5c78f64891e1e4f4 (diff) | |
download | libmicrohttpd-17bc3279f6943b22cef5b21479bd11fc02c8a976.tar.gz libmicrohttpd-17bc3279f6943b22cef5b21479bd11fc02c8a976.zip |
configure: removed check for unused lib and function
-rw-r--r-- | configure.ac | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 6f74f889..7a184cd4 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -983,8 +983,7 @@ AS_CASE(["$host_os"], | |||
983 | [AC_DEFINE([SOLARIS],[1],[This is a Solaris system]) | 983 | [AC_DEFINE([SOLARIS],[1],[This is a Solaris system]) |
984 | AC_DEFINE([_REENTRANT],[1],[Need with solaris or errno does not work]) | 984 | AC_DEFINE([_REENTRANT],[1],[Need with solaris or errno does not work]) |
985 | mhd_host_os='Solaris' | 985 | mhd_host_os='Solaris' |
986 | AC_MSG_RESULT([[$mhd_host_os]]) | 986 | AC_MSG_RESULT([[$mhd_host_os]])], |
987 | AC_SEARCH_LIBS([gethostbyname], [nsl])], | ||
988 | [*linux*], | 987 | [*linux*], |
989 | [AC_DEFINE([LINUX],[1],[This is a Linux kernel]) | 988 | [AC_DEFINE([LINUX],[1],[This is a Linux kernel]) |
990 | mhd_host_os='Linux' | 989 | mhd_host_os='Linux' |
@@ -1585,6 +1584,8 @@ AM_CONDITIONAL([W32_SHARED_LIB_EXP], [test "x$w32_shared_lib_exp" = "xyes"]) | |||
1585 | AM_CONDITIONAL([USE_MS_LIB_TOOL], [test "x$ac_cv_use_ms_lib_tool" = "xyes"]) | 1584 | AM_CONDITIONAL([USE_MS_LIB_TOOL], [test "x$ac_cv_use_ms_lib_tool" = "xyes"]) |
1586 | AM_CONDITIONAL([USE_EXPORT_FILE], [test "x$use_expfile" = "xyes"]) | 1585 | AM_CONDITIONAL([USE_EXPORT_FILE], [test "x$use_expfile" = "xyes"]) |
1587 | 1586 | ||
1587 | dnl gethostbyname() is not really needed | ||
1588 | dnl AC_SEARCH_LIBS([gethostbyname], [nsl]) | ||
1588 | MHD_FIND_LIB([socket], | 1589 | MHD_FIND_LIB([socket], |
1589 | [[ | 1590 | [[ |
1590 | #ifdef HAVE_SYS_TYPES_H | 1591 | #ifdef HAVE_SYS_TYPES_H |