diff options
Diffstat (limited to 'configure.ac')
-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 |