Fix an m4 overquoting triggering a spurious 'AS_TR_CPP' symbol definition
authorYang Tse <yangsita@gmail.com>
Thu, 7 May 2009 14:03:04 +0000 (14:03 +0000)
committerYang Tse <yangsita@gmail.com>
Thu, 7 May 2009 14:03:04 +0000 (14:03 +0000)
attempt in generated config.h

ares/configure.ac
configure.ac

index b779c2f..4b93fb4 100644 (file)
@@ -749,7 +749,7 @@ AC_CHECK_FUNCS([bitncmp \
   ],[
     AC_MSG_RESULT([yes])
     eval "ac_cv_func_$func=yes"
-    AC_DEFINE_UNQUOTED([AS_TR_CPP([HAVE_$func])], [1],
+    AC_DEFINE_UNQUOTED(AS_TR_CPP([HAVE_$func]), [1],
       [Define to 1 if you have the $func function.])
   ],[
     AC_MSG_RESULT([but still no])
index 391d738..8e0928e 100644 (file)
@@ -2105,7 +2105,7 @@ AC_CHECK_FUNCS([basename \
     ],[
       AC_MSG_RESULT([yes])
       eval "ac_cv_func_$func=yes"
-      AC_DEFINE_UNQUOTED([AS_TR_CPP([HAVE_$func])], [1],
+      AC_DEFINE_UNQUOTED(AS_TR_CPP([HAVE_$func]), [1],
         [Define to 1 if you have the $func function.])
     ],[
       AC_MSG_RESULT([but still no])