From 5e2f9b0ed4dd010c0398e33d6f5b488596ffe239 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Thu, 3 Feb 2011 12:05:24 +0100 Subject: [PATCH] Tweak rebuild configure --- bacula/configure | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/bacula/configure b/bacula/configure index 1d3f5d2c67..5a581c542b 100755 --- a/bacula/configure +++ b/bacula/configure @@ -27511,6 +27511,20 @@ fi done +for ac_func in malloc_trim +do : + ac_fn_c_check_func "$LINENO" "malloc_trim" "ac_cv_func_malloc_trim" +if test "x$ac_cv_func_malloc_trim" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_MALLOC_TRIM 1 +_ACEOF + +$as_echo "#define HAVE_MALLOC_TRIM 1" >>confdefs.h + +fi +done + + for ac_func in fchdir do : ac_fn_c_check_func "$LINENO" "fchdir" "ac_cv_func_fchdir" -- 2.39.5