From 61ff15fa2196a28769bc636354cc4d9a35a4709d Mon Sep 17 00:00:00 2001 From: Thomas Ries Date: Sat, 28 Feb 2009 22:30:38 +0000 Subject: [PATCH] - properly handle some "--disable-*" configure options --- ChangeLog | 1 + configure.in | 9 ++++++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index f368bcc..91f13ae 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ 0.7.2 ===== 28-Feb-2009: - make install: install docu as well + - properly handle some "--disable-*" configure options 22-Feb-2009: - Reworked handling of plugin mechanism (libltdl "static" inclusion of plugins should work now). Building under Windows (with Cygwin) does work (build with diff --git a/configure.in b/configure.in index 9a243ac..4e38c6e 100644 --- a/configure.in +++ b/configure.in @@ -147,8 +147,8 @@ dnl AC_MSG_CHECKING(link statically against libosip2) AC_ARG_ENABLE(static-libosip2, [ --enable-static-libosip2 link statically against libosip2], - build_static_libosip="yes"; - AC_MSG_RESULT(yes), AC_MSG_RESULT(no)) + build_static_libosip="$enableval"; + AC_MSG_RESULT($enableval), AC_MSG_RESULT(no)) dnl ********************************************** @@ -160,8 +160,11 @@ dnl --enable-dmalloc AC_MSG_CHECKING(building with DMALLOC support) AC_ARG_ENABLE(dmalloc, [ --enable-dmalloc build with DMALLOC support], + dmalloc="$enableval"; + AC_MSG_RESULT($enableval), AC_MSG_RESULT(no)) + if test "x$dmalloc" = "xyes"; then CFLAGS="$CFLAGS -DDMALLOC ";LIBS="-ldmallocth $LIBS"; - AC_MSG_RESULT(yes), AC_MSG_RESULT(no)) + fi dnl