diff options
author | Daniel Elstner <daniel.kitta@gmail.com> | 2009-08-16 22:30:40 +0200 |
---|---|---|
committer | Daniel Elstner <daniel.kitta@gmail.com> | 2009-08-16 22:30:40 +0200 |
commit | 260003854a1b84b1673a0201831627111ef5ea77 (patch) | |
tree | a3391e70b3b1e7aaffc24ed544768904aa814642 /build | |
parent | f76d4282379b4d6319ec54812f29f6b7162365d8 (diff) | |
download | glibmm-260003854a1b84b1673a0201831627111ef5ea77.tar.gz |
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.
Diffstat (limited to 'build')
-rw-r--r-- | build/cxx.m4 | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/build/cxx.m4 b/build/cxx.m4 index a584f5db..856c5570 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], |