diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-05-31 11:44:14 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-05-31 11:44:14 +0000 |
commit | c8eb0dc69ccce1fe6467d7964ebe79d2d9dba46f (patch) | |
tree | 743848d7315d70b71f82176593006b0e075940cc /configure.ac | |
parent | 93fba12ad8159dc6b683f9e7ce9f0528a11047f5 (diff) |
support MHD when cross-compiling, just assume version is OK (fixes #3805)
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 27 |
1 files changed, 18 insertions, 9 deletions
diff --git a/configure.ac b/configure.ac index ebbb694652..fc82456e9e 100644 --- a/configure.ac +++ b/configure.ac @@ -859,9 +859,12 @@ AC_ARG_WITH(microhttpd, #include "$native_srcdir/src/include/platform.h" #include <microhttpd.h> int main () { return MHD_VERSION >= 0x0093200 ? 0 : 1; } - ])], [ - AC_MSG_RESULT(ok) - lmhd=1],[AC_MSG_RESULT(failed)],lmhd=0)]), + ])], + [AC_MSG_RESULT(ok) + lmhd=1], + [AC_MSG_RESULT(failed)], + [AC_MSG_RESULT(cross-compiling, assuming OK) + lmhd=1])]), [],[#include "$native_srcdir/src/include/platform.h" #include <microhttpd.h>]),, [#include "$native_srcdir/src/include/platform.h"]) @@ -878,9 +881,12 @@ AC_ARG_WITH(microhttpd, #include "$native_srcdir/src/include/platform.h" #include <microhttpd.h> int main () { return MHD_VERSION >= 0x0093200 ? 0 : 1; } - ])], [ - AC_MSG_RESULT(ok) - lmhd=1],[AC_MSG_RESULT(failed)],lmhd=0)]), + ])], + [AC_MSG_RESULT(ok) + lmhd=1], + [AC_MSG_RESULT(failed)], + [AC_MSG_RESULT(cross-compiling, assuming OK) + lmhd=1])]), [],[#include "$native_srcdir/src/include/platform.h" #include <microhttpd.h>]),, [#include "$native_srcdir/src/include/platform.h"]) @@ -896,9 +902,12 @@ AC_ARG_WITH(microhttpd, #include "$native_srcdir/src/include/platform.h" #include <microhttpd.h> int main () { return MHD_VERSION >= 0x0093200 ? 0 : 1; } - ])], [ - AC_MSG_RESULT(ok) - lmhd=1],[AC_MSG_RESULT(failed)],lmhd=0)]), + ])], + [AC_MSG_RESULT(ok) + lmhd=1], + [AC_MSG_RESULT(failed)], + [AC_MSG_RESULT(cross-compiling, assuming OK) + lmhd=1])]), [],[#include "$native_srcdir/src/include/platform.h" #include <microhttpd.h>]),, [#include "$native_srcdir/src/include/platform.h"])]) |