[Aptitude-svn-commit] r4323 - branches/aptitude-0.3/aptitude

Daniel Burrows dburrows at costa.debian.org
Wed Sep 28 04:25:56 UTC 2005


Author: dburrows
Date: Wed Sep 28 04:25:54 2005
New Revision: 4323

Modified:
   branches/aptitude-0.3/aptitude/ChangeLog
   branches/aptitude-0.3/aptitude/configure.ac
Log:
Fix the configure code that enables dynamic backtraces.

Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog	(original)
+++ branches/aptitude-0.3/aptitude/ChangeLog	Wed Sep 28 04:25:54 2005
@@ -1,5 +1,9 @@
 2005-09-27  Daniel Burrows  <dburrows at debian.org>
 
+	* configure.ac:
+
+	  Fix the enabling of dynamic backtraces.
+
 	* configure.ac, src/generic/util/exception.cc:
 
 	  Make the dynamic generation of backtraces a configure-time

Modified: branches/aptitude-0.3/aptitude/configure.ac
==============================================================================
--- branches/aptitude-0.3/aptitude/configure.ac	(original)
+++ branches/aptitude-0.3/aptitude/configure.ac	Wed Sep 28 04:25:54 2005
@@ -136,7 +136,7 @@
   AC_CHECK_HEADER(pthread.h,
 	CXXFLAGS="$CXXFLAGS -D_REENTRANT"
 	LIBS="$LIBS -lpthread"
-	[AC_DEFINE(HAVE_LIBPTHREAD,  , [Define if pthread is available])]
+	[AC_DEFINE([HAVE_LIBPTHREAD], [] , [Define if pthread is available])]
 	,
 	[AC_MSG_ERROR([POSIX thread header not installed])])
 fi
@@ -145,11 +145,11 @@
 
 AC_ARG_ENABLE(dynamic-backtrace,
 	AS_HELP_STRING([--enable-dynamic-backtrace], [Modify the executable so that it can generate a backtrace for uncaught exceptions.  Will double the size of the stripped binary.]),
-	if test x$enableval = xyes
+	[if test x$enableval = xyes
 	then
-	  AC_DEFINE(ENABLE_DYNAMIC_BACKTRACE, [], [Define to enable dynamic generation of backtraces if HAVE_EXECINFO_H is defined])
+	  AC_DEFINE([ENABLE_DYNAMIC_BACKTRACE], [], [Define to enable dynamic generation of backtraces if HAVE_EXECINFO_H is defined])
 	  LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
-	fi
+	fi]
 	)
 AC_ARG_ENABLE(werror,
 	AS_HELP_STRING([--disable-werror], [do not compile with -Werror]),



More information about the Aptitude-svn-commit mailing list