From: Yang Tse <yangsita@gmail.com>
Date: Tue, 29 Jul 2008 16:29:34 +0000 (+0000)
Subject: Replace some '@%:@' quadigraphs by its actual representation '#'.
X-Git-Tag: cares-1_5_3~285
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f18700ef64d4f4421faef118a504622cf695bc58;p=curl

Replace some '@%:@' quadigraphs by its actual representation '#'.

This quadigraph used before a C preprocessor 'define' directive could
be fooling M4, when processing this file, and make it think that the
line contains a pure M4 'define' macro.
---

diff --git a/ares/m4/reentrant.m4 b/ares/m4/reentrant.m4
index 62938d837..bfe68cb40 100644
--- a/ares/m4/reentrant.m4
+++ b/ares/m4/reentrant.m4
@@ -354,9 +354,9 @@ AC_DEFUN([CARES_CONFIGURE_FROM_NOW_ON_WITH_REENTRANT], [
 AC_DEFINE(NEED_REENTRANT, 1,
   [Define to 1 if _REENTRANT preprocessor symbol must be defined.])
 cat >>confdefs.h <<_ACEOF
-[@%:@ifndef _REENTRANT
-@%:@ define _REENTRANT
-@%:@endif]
+[#ifndef _REENTRANT
+# define _REENTRANT
+#endif]
 _ACEOF
 ])
 
diff --git a/m4/reentrant.m4 b/m4/reentrant.m4
index 8435e281e..e5af41e97 100644
--- a/m4/reentrant.m4
+++ b/m4/reentrant.m4
@@ -376,9 +376,9 @@ AC_DEFUN([CURL_CONFIGURE_FROM_NOW_ON_WITH_REENTRANT], [
 AC_DEFINE(NEED_REENTRANT, 1,
   [Define to 1 if _REENTRANT preprocessor symbol must be defined.])
 cat >>confdefs.h <<_ACEOF
-[@%:@ifndef _REENTRANT
-@%:@ define _REENTRANT
-@%:@endif]
+[#ifndef _REENTRANT
+# define _REENTRANT
+#endif]
 _ACEOF
 ])