From 35a04c8ed90f82fd0b6ec28c1f9413c7273361c6 Mon Sep 17 00:00:00 2001 From: fche Date: Mon, 2 Jul 2007 19:40:50 +0000 Subject: 2007-07-02 Frank Ch. Eigler * staplog.c: New file from Satoru MORIYA , prototype crash(8) extension module. * configure.ac: Look for crash/defs.h. * Makefile.am: Build/install staplog.so shared library if found. * configure, Makefile, config.in, runtime/lket/b2a/Makefile.in: Regenerated. --- configure.ac | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 2fd7f311..a94274d5 100644 --- a/configure.ac +++ b/configure.ac @@ -16,7 +16,6 @@ AC_PROG_CPP AM_PROG_CC_STDC AM_PROG_CC_C_O AM_C_PROTOTYPES -AC_LANG_CPLUSPLUS AC_PROG_RANLIB AC_OBJEXT AC_EXEEXT @@ -98,6 +97,14 @@ AC_SUBST(elfutils_abs_srcdir, `AS_IF([test $build_elfutils = yes], AM_CONDITIONAL(BUILD_LKET_B2A, pkg-config --atleast-version 2.0.0 glib-2.0) + +AC_CHECK_HEADERS(crash/defs.h, + build_crashmod=yes,build_crashmod=no, + [ +#define NR_CPUS 256 +]) +AM_CONDITIONAL(BUILD_CRASHMOD, test $build_crashmod = yes) + mysql=false SAVE_LDFLAGS=$LDFLAGS -- cgit