libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit 17bc3279f6943b22cef5b21479bd11fc02c8a976
parent ccf820530b8c4964636718fa5c78f64891e1e4f4
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date:   Tue, 14 Mar 2023 16:53:53 +0300

configure: removed check for unused lib and function

Diffstat:
Mconfigure.ac | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac @@ -983,8 +983,7 @@ AS_CASE(["$host_os"], [AC_DEFINE([SOLARIS],[1],[This is a Solaris system]) AC_DEFINE([_REENTRANT],[1],[Need with solaris or errno does not work]) mhd_host_os='Solaris' - AC_MSG_RESULT([[$mhd_host_os]]) - AC_SEARCH_LIBS([gethostbyname], [nsl])], + AC_MSG_RESULT([[$mhd_host_os]])], [*linux*], [AC_DEFINE([LINUX],[1],[This is a Linux kernel]) mhd_host_os='Linux' @@ -1585,6 +1584,8 @@ AM_CONDITIONAL([W32_SHARED_LIB_EXP], [test "x$w32_shared_lib_exp" = "xyes"]) AM_CONDITIONAL([USE_MS_LIB_TOOL], [test "x$ac_cv_use_ms_lib_tool" = "xyes"]) AM_CONDITIONAL([USE_EXPORT_FILE], [test "x$use_expfile" = "xyes"]) +dnl gethostbyname() is not really needed +dnl AC_SEARCH_LIBS([gethostbyname], [nsl]) MHD_FIND_LIB([socket], [[ #ifdef HAVE_SYS_TYPES_H