Jump to content

[fix][8632] new auto tools syntax restriction fix


Guest Pablo
 Share

Recommended Posts

Fixes the problem with new auto tools. Without these changes the generated configure files for ACE_wrappers contains errors. New auto tools are much more restrictive in syntax checking, so those changes are required for them to work properly. I used Mangos revision [8585].

PS. My first post ;-)

diff --git a/dep/ACE_wrappers/configure.ac b/dep/ACE_wrappers/configure.ac
index 6739973..342402d 100644
--- a/dep/ACE_wrappers/configure.ac
+++ b/dep/ACE_wrappers/configure.ac
@@ -4660,7 +4660,7 @@ if test "$ace_user_enable_reentrant_funcs" = yes; then
                  fi
                 ],
                 [
-                  dnl Nothing to do!
+                  echo "Nothing to do";
                 ])
                ],
                [AC_DEFINE([ACE_LACKS_PWD_REENTRANT_FUNCTIONS])])
diff --git a/dep/ACE_wrappers/m4/ace_defines.m4 b/dep/ACE_wrappers/m4/ace_defines.m4
index 08a1640..c8b37af 100644
--- a/dep/ACE_wrappers/m4/ace_defines.m4
+++ b/dep/ACE_wrappers/m4/ace_defines.m4
@@ -27,7 +27,7 @@ do
ACE_CHECK_DEFINE($ace_def,
                 [AC_DEFINE_UNQUOTED(AS_TR_CPP([ACE_HAS_$ace_def])) $2],
                 [$3],
-                 [$4])dnl
+                 [$4])
done
])

@@ -43,6 +43,6 @@ do
ACE_CHECK_DEFINE($ace_def,
                 [$2],
                 [AC_DEFINE_UNQUOTED(AS_TR_CPP([ACE_LACKS_$ace_def])) $3],
-                 [$4])dnl
+                 [$4])
done
])

Link to comment
Share on other sites

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use