[glibmm] Correct nesting mistakes in Autoconf macros
- From: Daniel Elstner <daniel src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [glibmm] Correct nesting mistakes in Autoconf macros
- Date: Sun, 16 Aug 2009 20:33:15 +0000 (UTC)
commit 260003854a1b84b1673a0201831627111ef5ea77
Author: Daniel Elstner <daniel kitta gmail com>
Date: Sun Aug 16 22:30:40 2009 +0200
Correct nesting mistakes in Autoconf macros
* build/cxx.m4: Fix the incorrect nesting of parentheses with
about every other AC_COMPILE_IFELSE/AC_LANG_PROGRAM construct.
My fault, ooops.
ChangeLog | 8 ++++++++
build/cxx.m4 | 20 ++++++++++----------
2 files changed, 18 insertions(+), 10 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index ee7a6ee..379ed7d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
2009-08-16 Daniel Elstner <daniel kitta gmail com>
+ Correct nesting mistakes in Autoconf macros
+
+ * build/cxx.m4: Fix the incorrect nesting of parentheses with
+ about every other AC_COMPILE_IFELSE/AC_LANG_PROGRAM construct.
+ My fault, ooops.
+
+2009-08-16 Daniel Elstner <daniel kitta gmail com>
+
Clean up g{lib,io}mmconfig.h.in templates
* glib/glibmmconfig.h.in: Rewrite, copying large chunks from
diff --git a/build/cxx.m4 b/build/cxx.m4
index a584f5d..856c557 100644
--- a/build/cxx.m4
+++ b/build/cxx.m4
@@ -62,9 +62,9 @@ void foo::thebug()
void (foo::*func)();
func = &foo::doit<int>;
(void)func;
-]],
+]])],
[glibmm_cv_cxx_member_functions_member_templates=yes],
- [glibmm_cv_cxx_member_functions_member_templates=no])])])
+ [glibmm_cv_cxx_member_functions_member_templates=no])])
AS_IF([test "x$glibmm_cv_cxx_member_functions_member_templates" = xyes],
[AC_DEFINE([GLIBMM_MEMBER_FUNCTIONS_MEMBER_TEMPLATES], [1],
@@ -111,9 +111,9 @@ Traits< Foo<const int> > cfit;
(void) it.whoami();
(void) fit.whoami();
(void) cfit.whoami();
-]],
+]])],
[glibmm_cv_cxx_can_disambiguate_const_template_specializations=yes],
- [glibmm_cv_cxx_can_disambiguate_const_template_specializations=no])])])
+ [glibmm_cv_cxx_can_disambiguate_const_template_specializations=no])])
AS_IF([test "x$glibmm_cv_cxx_can_disambiguate_const_template_specializations" = xyes],
[AC_DEFINE([GLIBMM_HAVE_DISAMBIGUOUS_CONST_TEMPLATE_SPECIALIZATIONS], [1],
@@ -148,9 +148,9 @@ class SomeTemplate
return (dynamic_cast<T*>(some_function()) != 0);
}
};
-]],,
+]], [])],
[glibmm_cv_cxx_can_use_dynamic_cast_in_unused_template_without_definition=yes],
- [glibmm_cv_cxx_can_use_dynamic_cast_in_unused_template_without_definition=no])])])
+ [glibmm_cv_cxx_can_use_dynamic_cast_in_unused_template_without_definition=no])])
AS_IF([test "x$glibmm_cv_cxx_can_use_dynamic_cast_in_unused_template_without_definition" = xyes],
[AC_DEFINE([GLIBMM_CAN_USE_DYNAMIC_CAST_IN_UNUSED_TEMPLATE_WITHOUT_DEFINITION], [1],
@@ -182,9 +182,9 @@ void somefunction(int) {}
]], [[
somestruct something;
something.callback = &somefunction;
-]],
+]])],
[glibmm_cv_cxx_can_assign_non_extern_c_functions_to_extern_c_callbacks=yes],
- [glibmm_cv_cxx_can_assign_non_extern_c_functions_to_extern_c_callbacks=no])])])
+ [glibmm_cv_cxx_can_assign_non_extern_c_functions_to_extern_c_callbacks=no])])
AS_IF([test "x$glibmm_cv_cxx_can_assign_non_extern_c_functions_to_extern_c_callbacks" = xyes],
[AC_DEFINE([GLIBMM_CAN_ASSIGN_NON_EXTERN_C_FUNCTIONS_TO_EXTERN_C_CALLBACKS], [1],
@@ -228,9 +228,9 @@ void do_something()
}
} // namespace test
-]],,
+]], [])],
[glibmm_cv_cxx_can_use_namespaces_inside_externc=yes],
- [glibmm_cv_cxx_can_use_namespaces_inside_externc=no])])])
+ [glibmm_cv_cxx_can_use_namespaces_inside_externc=no])])
AS_IF([test "x$glibmm_cv_cxx_can_use_namespaces_inside_externc" = xyes],
[AC_DEFINE([GLIBMM_CAN_USE_NAMESPACES_INSIDE_EXTERNC], [1],
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]