~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to m4/pandora_have_libtokyocabinet.m4

pandora-build v0.103 - fix macros for cross-compiling. Fix stack direction check.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
  AS_IF([test "x$ac_enable_libtokyocabinet" = "xyes"],[
23
23
    AC_LIB_HAVE_LINKFLAGS(tokyocabinet,,[
24
24
#include <tcutil.h>
 
25
#include <tcadb.h>
25
26
    ],[
26
27
const char *test= tcversion;
 
28
bool ret= tcadboptimize(NULL, "params");
27
29
    ])
28
30
  ],[
29
31
    ac_cv_libtokyocabinet="no"
31
33
 
32
34
  AS_IF([test "${ac_cv_libtokyocabinet}" = "no" -a "${ac_enable_libtokyocabinet}" = "yes"],[
33
35
 
34
 
    PKG_CHECK_MODULES([LIBTOKYOCABINET], [libtokyocabinet], [
 
36
    PKG_CHECK_MODULES([LIBTOKYOCABINET], [libtokyocabinet >= 1.4.15], [
35
37
      ac_cv_libtokyocabinet=yes
36
38
      LTLIBTOKYOCABINET=${LIBTOKYOCABINET_LIBS}
37
39
      LIBTOKYOCABINET=${LIBTOKYOCABINET_LIBS}
38
 
    ],[])
 
40
    ],[test x = y])
39
41
  ])
40
42
 
41
43
  AM_CONDITIONAL(HAVE_LIBTOKYOCABINET, [test "${ac_cv_libtokyocabinet}" = "yes"])