View Issue Details

IDProjectCategoryView StatusLast Update
0001440libmicrohttpdbuild systempublic2009-02-08 22:20
Reporteroharboe Assigned ToChristian Grothoff  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product VersionGit master 
Summary0001440: Problems building without curl tests on Cygwin
DescriptionTo make libmicrohttpd compile under Cygwin, I have to disable some of the features I don't need:

configure --disable-https --disable-shared --disable-curl

results in =>

configure: error: conditional "HAVE_CURL" was never defined.
Usually this means the macro was only invoked conditionally.
Additional InformationI don't know what the real fix or problem is, but moving the HAVE_CURL check in configure.ac fixed it on my machine.

$ svn diff configure.ac
Index: configure.ac
===================================================================
--- configure.ac (revision 8007)
+++ configure.ac (working copy)
@@ -182,10 +182,12 @@
   [enable_curl=$enableval],
   [enable_curl="yes"])

+
+AM_CONDITIONAL(HAVE_CURL, test x$curl = x1)
+
 if test "$enable_curl" = "yes"
 then
   LIBCURL_CHECK_CONFIG(,,curl=1,curl=0)
- AM_CONDITIONAL(HAVE_CURL, test x$curl = x1)
 # Lib cURL & cURL - OpenSSL versions
   MHD_REQ_CURL_VERSION=7.16.4
   MHD_REQ_CURL_OPENSSL_VERSION=0.9.8
TagsNo tags attached.

Activities

Christian Grothoff

2009-01-12 13:07

manager   ~0003758

Fixed in SVN 8101.

Issue History

Date Modified Username Field Change
2008-12-22 03:17 oharboe New Issue
2009-01-12 13:07 Christian Grothoff Status new => resolved
2009-01-12 13:07 Christian Grothoff Resolution open => fixed
2009-01-12 13:07 Christian Grothoff Assigned To => Christian Grothoff
2009-01-12 13:07 Christian Grothoff Note Added: 0003758
2009-02-08 22:20 Christian Grothoff Status resolved => closed