X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=webcit%2Fconfigure.ac;fp=webcit%2Fconfigure.ac;h=9b33da91bdf5d13b154d182351bab81f2b543231;hp=5fc9194cee7d0ec157dd827de91ab55382970b93;hb=b2341111a6a40427f8c7991c34d99af8b25ac6e1;hpb=38d1198ddb58242b90bd84ee152742e8b3426cd2 diff --git a/webcit/configure.ac b/webcit/configure.ac index 5fc9194ce..9b33da91b 100644 --- a/webcit/configure.ac +++ b/webcit/configure.ac @@ -252,6 +252,35 @@ AC_CHECK_HEADER(libcitadel.h, ] ) +AC_MSG_CHECKING([whether your system likes memcpy + HKEY]) +AC_TRY_COMPILE([ +#define _GNU_SOURCE +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include "lib/libcitadel.h" +], +[ + char foo[22]; + memcpy(foo, HKEY("foo")); + +], + [ + + AC_MSG_RESULT([yes]) + ], + [ + AC_DEFINE(UNDEF_MEMCPY, [], [whether we need to undefine memcpy]) + AC_MSG_RESULT([no]) + ] +) dnl Checks for the Expat XML parser. AC_CHECK_HEADER(expat.h,