diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-04-19 07:53:08 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-04-19 07:53:08 +0000 |
commit | 9f5e478feec24e9ff987c00e42c39da9f122c300 (patch) | |
tree | c239b8f6726005d257361d4c9719f46f397de141 /configure.ac | |
parent | 292261f70ac67f057d7384b3621fd284558a1d18 (diff) |
-improving configure test for MHD based on suggestions from cy1 on IRC
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac index 93559e4363..27fa591047 100644 --- a/configure.ac +++ b/configure.ac @@ -568,9 +568,9 @@ AC_ARG_WITH(microhttpd, AC_CHECK_DECL(MHD_OPTION_PER_IP_CONNECTION_LIMIT, AC_CHECK_LIB([microhttpd], [MHD_start_daemon], lmhd=1), - [],[#include "src/include/platform.h" + [],[#include "$srcdir/src/include/platform.h" #include <microhttpd.h>]),, - [#include "src/include/platform.h"]) + [#include "$srcdir/src/include/platform.h"]) ;; *) LDFLAGS="-L$with_microhttpd/lib $LDFLAGS" @@ -580,9 +580,9 @@ AC_ARG_WITH(microhttpd, AC_CHECK_LIB([microhttpd], [MHD_start_daemon], EXT_LIB_PATH="-L$with_microhttpd/lib $EXT_LIB_PATH" lmhd=1), - [],[#include "src/include/platform.h" + [],[#include "$srcdir/src/include/platform.h" #include <microhttpd.h>]),, - [#include "src/include/platform.h"]) + [#include "$srcdir/src/include/platform.h"]) ;; esac ], @@ -591,9 +591,9 @@ AC_ARG_WITH(microhttpd, AC_CHECK_DECL(MHD_OPTION_PER_IP_CONNECTION_LIMIT, AC_CHECK_LIB([microhttpd], [MHD_start_daemon], lmhd=1), - [],[#include "src/include/platform.h" + [],[#include "$srcdir/src/include/platform.h" #include <microhttpd.h>]),, - [#include "src/include/platform.h"])]) + [#include "$srcdir/src/include/platform.h"])]) AM_CONDITIONAL(HAVE_MHD, test x$lmhd = x1) AC_DEFINE_UNQUOTED([HAVE_MHD], $lmhd, [We have libmicrohttpd]) |