[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Cvs-cvs] ccvs ChangeLog config.h.in configure configure.in
From: |
Derek Robert Price |
Subject: |
[Cvs-cvs] ccvs ChangeLog config.h.in configure configure.in |
Date: |
Thu, 29 Jun 2006 15:13:10 +0000 |
CVSROOT: /cvsroot/cvs
Module name: ccvs
Changes by: Derek Robert Price <dprice> 06/06/29 15:13:10
Modified files:
. : ChangeLog config.h.in configure configure.in
Log message:
* configure.in: Allow assertions to be disabled at configure time.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/ccvs/ChangeLog?cvsroot=cvs&r1=1.1328&r2=1.1329
http://cvs.savannah.gnu.org/viewcvs/ccvs/config.h.in?cvsroot=cvs&r1=1.207&r2=1.208
http://cvs.savannah.gnu.org/viewcvs/ccvs/configure?cvsroot=cvs&r1=1.465&r2=1.466
http://cvs.savannah.gnu.org/viewcvs/ccvs/configure.in?cvsroot=cvs&r1=1.374&r2=1.375
Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/cvs/ccvs/ChangeLog,v
retrieving revision 1.1328
retrieving revision 1.1329
diff -u -b -r1.1328 -r1.1329
--- ChangeLog 29 Jun 2006 11:50:52 -0000 1.1328
+++ ChangeLog 29 Jun 2006 15:13:10 -0000 1.1329
@@ -2,6 +2,7 @@
* configure.in: Remove support for Interactive Unix (ISC) that
Autoconf 2.60 reports as obsolescent. Try to force C99, then C89.
+ Allow assertions to be disabled at configure time.
2006-06-28 Larry Jones <address@hidden>
Index: config.h.in
===================================================================
RCS file: /cvsroot/cvs/ccvs/config.h.in,v
retrieving revision 1.207
retrieving revision 1.208
diff -u -b -r1.207 -r1.208
--- config.h.in 29 Jun 2006 12:13:49 -0000 1.207
+++ config.h.in 29 Jun 2006 15:13:10 -0000 1.208
@@ -1281,6 +1281,9 @@
things up, but the default setting generally works fine too. */
#undef MY_NDBM
+/* Define to 1 if assertions should be disabled. */
+#undef NDEBUG
+
/* Define to 1 if your C compiler doesn't accept -c and -o together. */
#undef NO_MINUS_C_MINUS_O
Index: configure
===================================================================
RCS file: /cvsroot/cvs/ccvs/configure,v
retrieving revision 1.465
retrieving revision 1.466
diff -u -b -r1.465 -r1.466
--- configure 29 Jun 2006 12:13:49 -0000 1.465
+++ configure 29 Jun 2006 15:13:10 -0000 1.466
@@ -1444,6 +1444,7 @@
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--enable-maintainer-mode enable make rules and dependencies not useful
(and sometimes confusing) to the casual installer
+ --disable-assert turn off assertions
--disable-dependency-tracking speeds up one-time build
--enable-dependency-tracking do not reject slow dependency extractors
--disable-largefile omit support for large files
@@ -2652,6 +2653,24 @@
+ { echo "$as_me:$LINENO: checking whether to enable assertions" >&5
+echo $ECHO_N "checking whether to enable assertions... $ECHO_C" >&6; }
+ # Check whether --enable-assert was given.
+if test "${enable_assert+set}" = set; then
+ enableval=$enable_assert; { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+
+cat >>confdefs.h <<\_ACEOF
+#define NDEBUG 1
+_ACEOF
+
+else
+ { echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6; }
+fi
+
+
+
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a
program name with args.
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
Index: configure.in
===================================================================
RCS file: /cvsroot/cvs/ccvs/configure.in,v
retrieving revision 1.374
retrieving revision 1.375
diff -u -b -r1.374 -r1.375
--- configure.in 29 Jun 2006 11:50:52 -0000 1.374
+++ configure.in 29 Jun 2006 15:13:10 -0000 1.375
@@ -25,6 +25,7 @@
AC_PREFIX_PROGRAM(cvs)
AM_CONFIG_HEADER(config.h)
AM_MAINTAINER_MODE
+AC_HEADER_ASSERT
dnl This needs to be called to enable certain system extensions before calling
dnl a C compiler.