aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-02-16 11:20:50 +0100
committerChristian Grothoff <christian@grothoff.org>2017-02-16 11:20:50 +0100
commit82d65c48edbccca45bd6851879aa69c629a024b7 (patch)
treec986a99abe827bfcf6c2ca6fbec2e9355241c6ff /configure.ac
parentf154b0ef8894185fd6c01888d10280049bed10c6 (diff)
downloadlibmicrohttpd-82d65c48edbccca45bd6851879aa69c629a024b7.tar.gz
libmicrohttpd-82d65c48edbccca45bd6851879aa69c629a024b7.zip
replace tsearch test with code from gnulib, to hopefully address silviprog's android problems
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac8
1 files changed, 5 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 22a91aaf..5f26a61b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,5 +1,5 @@
1# This file is part of libmicrohttpd. 1# This file is part of libmicrohttpd.
2# (C) 2006-2015 Christian Grothoff (and other contributing authors) 2# (C) 2006-2017 Christian Grothoff (and other contributing authors)
3# 3#
4# libmicrohttpd is free software; you can redistribute it and/or modify 4# libmicrohttpd is free software; you can redistribute it and/or modify
5# it under the terms of the GNU General Public License as published 5# it under the terms of the GNU General Public License as published
@@ -695,12 +695,14 @@ fi
695AC_CHECK_HEADERS([fcntl.h math.h errno.h limits.h stdio.h locale.h sys/stat.h sys/types.h], [], [AC_MSG_ERROR([Compiling libmicrohttpd requires standard UNIX headers files])], [AC_INCLUDES_DEFAULT]) 695AC_CHECK_HEADERS([fcntl.h math.h errno.h limits.h stdio.h locale.h sys/stat.h sys/types.h], [], [AC_MSG_ERROR([Compiling libmicrohttpd requires standard UNIX headers files])], [AC_INCLUDES_DEFAULT])
696 696
697# Check for optional headers 697# Check for optional headers
698AC_CHECK_HEADERS([sys/types.h sys/time.h sys/msg.h time.h sys/mman.h search.h sys/ioctl.h \ 698AC_CHECK_HEADERS([sys/types.h sys/time.h sys/msg.h time.h sys/mman.h sys/ioctl.h \
699 sys/socket.h sys/select.h netdb.h netinet/in.h netinet/ip.h netinet/tcp.h arpa/inet.h \ 699 sys/socket.h sys/select.h netdb.h netinet/in.h netinet/ip.h netinet/tcp.h arpa/inet.h \
700 endian.h machine/endian.h sys/endian.h sys/param.h sys/machine.h sys/byteorder.h machine/param.h sys/isa_defs.h \ 700 endian.h machine/endian.h sys/endian.h sys/param.h sys/machine.h sys/byteorder.h machine/param.h sys/isa_defs.h \
701 inttypes.h stddef.h unistd.h \ 701 inttypes.h stddef.h unistd.h \
702 sockLib.h inetLib.h net/if.h], [], [], [AC_INCLUDES_DEFAULT]) 702 sockLib.h inetLib.h net/if.h], [], [], [AC_INCLUDES_DEFAULT])
703AM_CONDITIONAL([HAVE_TSEARCH], [test "x$ac_cv_header_search_h" = "xyes"]) 703
704gl_FUNC_TSEARCH
705AM_CONDITIONAL([HAVE_TSEARCH], [test "x$HAVE_TSEARCH" = "x1"])
704 706
705# Check for generic functions 707# Check for generic functions
706AC_CHECK_FUNCS([rand random]) 708AC_CHECK_FUNCS([rand random])