libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit 5dd538547872e461a174b6ca89615178c4e1b854
parent 17461f1978058cc58f1824d78f18ace4365a77f7
Author: Christian Grothoff <christian@grothoff.org>
Date:   Tue, 29 Mar 2011 13:16:20 +0000

[libmicrohttpd] Cygwin PlibC dependency
From: 
Thomas Stalder <thomas@netsolux.ch>
  To: 
libmicrohttpd@gnu.org
  Date: 
Today 12:55:56
  Attachments: 
 cygwin_plibc.patch
   
  Spam Status: Spamassassin 0% probability of being spam.

Full report:
Probability=No, score=-2.6 required=7.0 tests=BAYES_00 autolearn=ham version=3.2.5-tuminfo_1  
Hello,

Cygwin provides POSIX emulation.

I think libmicrohttpd don't need PLIBC under cygwin.

I have removed the PLIBC dependency under cygwin with the attached patch.

I have made some tests and all seem to work fine.



Diffstat:
Mconfigure.ac | 6------
1 file changed, 0 insertions(+), 6 deletions(-)

diff --git a/configure.ac b/configure.ac @@ -117,12 +117,6 @@ netbsd*) AC_DEFINE_UNQUOTED(CYGWIN,1,[This is a Cygwin system]) AM_CONDITIONAL(HAVE_GNU_LD, false) LDFLAGS="$LDFLAGS -no-undefined" - # check if PlibC is available - CHECK_PLIBC - LIBS="$PLIBC_LIBS $LIBS" - AC_SUBST(PLIBC_LIBS) - AC_SUBST(PLIBC_LDFLAGS) - AC_SUBST(PLIBC_CPPFLAGS) ;; *mingw*) AC_DEFINE_UNQUOTED(MINGW,1,[This is a MinGW system])