1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-11-02 10:53:16 +03:00

autotools: delete unused conditional HAVE_SYS_UN_H

No longer necessary after moving the disabling/enabling logic from
build tool to `example/x11.c`.

Reverts 4774d500e7
Follow-up to d245c66cc0
This commit is contained in:
Viktor Szakats
2023-04-02 01:21:00 +00:00
committed by Viktor Szakats
parent cffcae4e0d
commit a7a2fcdab6

View File

@@ -281,8 +281,7 @@ AM_CONDITIONAL([USE_OSSFUZZ_STATIC], [test -f "$LIB_FUZZING_ENGINE"])
AC_CHECK_HEADERS([errno.h fcntl.h stdio.h unistd.h sys/param.h sys/uio.h])
AC_CHECK_HEADERS([sys/select.h sys/socket.h sys/ioctl.h sys/time.h])
AC_CHECK_HEADERS([arpa/inet.h netinet/in.h])
AC_CHECK_HEADERS([sys/un.h], [have_sys_un_h=yes], [have_sys_un_h=no])
AM_CONDITIONAL([HAVE_SYS_UN_H], test "x$have_sys_un_h" = xyes)
AC_CHECK_HEADERS([sys/un.h])
case $host in
*-*-cygwin* | *-*-cegcc*)