[glibmm] Officially deprecate GLIBMM_CHECK_PERL macro
- From: Daniel Elstner <daniel src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [glibmm] Officially deprecate GLIBMM_CHECK_PERL macro
- Date: Mon, 7 Sep 2009 13:33:23 +0000 (UTC)
commit 30444d07e62fc11481a6ccd0b445cbea8164221c
Author: Daniel Elstner <danielk openismus com>
Date: Mon Sep 7 15:26:27 2009 +0200
Officially deprecate GLIBMM_CHECK_PERL macro
* build/glibmm_check_perl.m4 (GLIBMM_CV_PERL_VERSION): Define with
m4_define() so that the macro is only visible internally.
(GLIBMM_CHECK_PERL): Define as deprecated macro using AU_DEFUN().
ChangeLog | 8 ++++++++
build/glibmm_check_perl.m4 | 11 +++++++----
2 files changed, 15 insertions(+), 4 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 4c01817..7909138 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2009-09-07 Daniel Elstner <danielk openismus com>
+
+ Officially deprecate GLIBMM_CHECK_PERL macro
+
+ * build/glibmm_check_perl.m4 (GLIBMM_CV_PERL_VERSION): Define with
+ m4_define() so that the macro is only visible internally.
+ (GLIBMM_CHECK_PERL): Define as deprecated macro using AU_DEFUN().
+
2009-09-03 Daniel Elstner <danielk openismus com>
Sanitize the Glib::Cond usage example
diff --git a/build/glibmm_check_perl.m4 b/build/glibmm_check_perl.m4
index 62519e5..ed6b33e 100644
--- a/build/glibmm_check_perl.m4
+++ b/build/glibmm_check_perl.m4
@@ -8,7 +8,8 @@ dnl
## Helper macro of GLIBMM_CHECK_PERL(). It generates a cache variable
## name that includes the version number, in order to avoid clashes.
##
-AC_DEFUN([GLIBMM_CV_PERL_VERSION],[glibmm_cv_perl_version_[]m4_translit([$1],[.${}],[____])])
+m4_define([GLIBMM_CV_PERL_VERSION],
+ [glibmm_cv_perl_version_[]m4_translit([$1], [.${}], [____])])
## GLIBMM_CHECK_PERL(version)
@@ -17,7 +18,9 @@ AC_DEFUN([GLIBMM_CV_PERL_VERSION],[glibmm_cv_perl_version_[]m4_translit([$1],[.$
## and maintainer-mode is enabled, abort with an error message. If not
## in maintainer-mode, set PERL_PATH=perl on failure.
##
-AC_DEFUN([GLIBMM_CHECK_PERL],
+## Deprecated: Use MM_CHECK_PERL from mm-common or omit entirely.
+##
+AU_DEFUN([GLIBMM_CHECK_PERL],
[
glibmm_perl_result=no
@@ -50,5 +53,5 @@ AC_DEFUN([GLIBMM_CHECK_PERL],
fi
AC_SUBST([PERL_PATH])
-])
-
+],
+[[Use MM_CHECK_PERL from mm-common or omit entirely.]])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]