aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2014-02-18 18:50:04 +0000
committerChristian Grothoff <christian@grothoff.org>2014-02-18 18:50:04 +0000
commitd7f467816d1d347d49a2b7accda0a9150d2c18a1 (patch)
treec1ee2dcfe532e596241ebb2573c41f2683844461
parentcde2986cbf6ff5a687aec46f6c1835073e1c6cfe (diff)
downloadlibmicrohttpd-d7f467816d1d347d49a2b7accda0a9150d2c18a1.tar.gz
libmicrohttpd-d7f467816d1d347d49a2b7accda0a9150d2c18a1.zip
-remove m4 macro to check for plibc
-rw-r--r--acinclude.m443
1 files changed, 0 insertions, 43 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 332157c9..9c94dfc3 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -1,46 +1,3 @@
1AC_DEFUN([CHECK_PLIBC],
2[
3 # On windows machines, check if PlibC is available. First try without -plibc
4 AC_TRY_LINK(
5 [
6 #include <plibc.h>
7 ],[
8 plibc_init("", "");
9 ],[
10 AC_MSG_RESULT(yes)
11 PLIBC_CPPFLAGS=
12 PLIBC_LDFLAGS=
13 PLIBC_LIBS=
14 ],[
15
16 # now with -plibc
17 AC_CHECK_LIB(plibc,plibc_init,
18 [
19 PLIBC_CPPFLAGS=
20 PLIBC_LDFLAGS=
21 PLIBC_LIBS=-lplibc
22 ],[
23 AC_MSG_CHECKING(if PlibC is installed)
24 save_CPPFLAGS="$CPPFLAGS"
25 CPPFLAGS="$CPPFLAGS -lplibc"
26 AC_TRY_LINK(
27 [
28 #include <plibc.h>
29 ],[
30 plibc_init("", "");
31 ],[
32 AC_MSG_RESULT(yes)
33 PLIBC_CPPFLAGS=-lplibc
34 PLIBC_LDFLAGS=-lplibc
35 PLIBC_LIBS=
36 ],[
37 AC_MSG_ERROR([PlibC is not available on your windows machine!])
38 ])
39 ])
40 ])
41 CPPFLAGS="$save_CPPFLAGS"
42])
43
44# See: http://gcc.gnu.org/ml/gcc/2000-05/msg01141.html 1# See: http://gcc.gnu.org/ml/gcc/2000-05/msg01141.html
45AC_DEFUN([CHECK_PTHREAD], 2AC_DEFUN([CHECK_PTHREAD],
46[ 3[