[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
guile/guile-core configure.in
From: |
Marius Vollmer |
Subject: |
guile/guile-core configure.in |
Date: |
Tue, 01 May 2001 17:54:58 -0700 |
CVSROOT: /cvs
Module name: guile
Changes by: Marius Vollmer <address@hidden> 01/05/01 17:54:58
Modified files:
guile-core : configure.in
Log message:
* configure.in: Added handling of `--enable-deprecated'.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/guile/guile-core/configure.in.diff?cvsroot=OldCVS&tr1=1.137&tr2=1.138&r1=text&r2=text
Patches:
Index: guile/guile-core/configure.in
diff -u guile/guile-core/configure.in:1.137 guile/guile-core/configure.in:1.138
--- guile/guile-core/configure.in:1.137 Sun Apr 29 18:44:25 2001
+++ guile/guile-core/configure.in Tue May 1 17:54:58 2001
@@ -41,13 +41,13 @@
#--------------------------------------------------------------------
AC_ARG_ENABLE(debug-freelist,
- [ --enable-debug-freelist include garbage collector freelist debugging
code],
+ [ --enable-debug-freelist include garbage collector freelist debugging
code],
if test "$enable_debug_freelist" = y || test "$enable_debug_freelist" = yes;
then
AC_DEFINE(GUILE_DEBUG_FREELIST)
fi)
AC_ARG_ENABLE(debug-malloc,
- [ --enable-debug-malloc include malloc debugging code],
+ [ --enable-debug-malloc include malloc debugging code],
if test "$enable_debug_malloc" = y || test "$enable_debug_malloc" = yes; then
AC_DEFINE(GUILE_DEBUG_MALLOC)
fi)
@@ -95,6 +95,18 @@
fi])
AM_CONDITIONAL(HTMLDOC, test x$htmldoc_enabled = xyes)
+
+AC_ARG_ENABLE(deprecated,
+ [ --disable-deprecated omit deprecated features [no]])
+
+if test "$enable_deprecated" = no; then
+ AC_DEFINE(SCM_DEBUG_DEPRECATED)
+else
+ if test "$enable_deprecated" = yes || test "$enable_deprecated" = ""; then
+ enable_deprecated=summary
+ fi
+ AC_DEFINE_UNQUOTED(GUILE_WARN_DEPRECATED_DEFAULT, "$enable_deprecated")
+fi
dnl The --disable-debug used to control these two. But now they are
dnl a required part of the distribution.
- guile/guile-core configure.in,
Marius Vollmer <=