View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001440 | libmicrohttpd | build system | public | 2008-12-22 03:17 | 2009-02-08 22:20 |
| Reporter | oharboe | Assigned To | Christian Grothoff | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Product Version | Git master | ||||
| Summary | 0001440: Problems building without curl tests on Cygwin | ||||
| Description | To 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 Information | I 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 | ||||
| Tags | No tags attached. | ||||
| 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 |