From a2eee970b908ab3f898b20a546c6bc0517bd2d17 Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Mon, 26 Nov 2018 18:08:51 +0100 Subject: fix configure error for OpenWrt also (see c1cecbab40ef2d70446308aabdef10d9c8e21be1) Signed-off-by: Toni Uhlig --- configure.ac | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 6585093..4d34483 100644 --- a/configure.ac +++ b/configure.ac @@ -38,9 +38,7 @@ dnl Check for std includes. AC_CHECK_HEADERS([stdarg.h stdio.h unistd.h stdlib.h string.h stdint.h time.h signal.h assert.h],, [AC_MSG_ERROR([Missing essential std headers.])]) if test x"${use_msw}" != x"yes"; then - if test x"${use_android}" != x"yes"; then - AC_CHECK_HEADERS([sys/unistd.h],,[AC_MSG_ERROR([Missing essential non-Windows/Android std headers.])]) - fi + AC_CHECK_HEADERS([sys/unistd.h],,) AC_CHECK_HEADERS([sys/types.h sys/socket.h netinet/in.h arpa/inet.h netdb.h pthread.h errno.h net/ethernet.h syslog.h pwd.h grp.h],, [AC_MSG_ERROR([Missing essential non-Windows std headers.])]) AC_SEARCH_LIBS([pthread_create], [pthread],, -- cgit v1.2.3