diff --git a/acinclude.m4 b/acinclude.m4
index 63183c751dbe663c2206a906dacff2b2764d4784..7de65c165e2896a3196256e8f74139938f5e3e7a 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -281,13 +281,13 @@ AC_DEFUN([CURL_FUNC_GETNAMEINFO_ARGTYPES], [
     IFS=$gni_prev_IFS
     shift
     AC_DEFINE_UNQUOTED(GETNAMEINFO_TYPE_ARG1, $[1],
-      [Define to the type of arg 1 for `getnameinfo'.])
+      [Define to the type of arg 1 for getnameinfo.])
     AC_DEFINE_UNQUOTED(GETNAMEINFO_TYPE_ARG2, $[2],
-      [Define to the type of arg 2 for `getnameinfo'.])
+      [Define to the type of arg 2 for getnameinfo.])
     AC_DEFINE_UNQUOTED(GETNAMEINFO_TYPE_ARG46, $[3],
-      [Define to the type of args 4 and 6 for `getnameinfo'.])
+      [Define to the type of args 4 and 6 for getnameinfo.])
     AC_DEFINE_UNQUOTED(GETNAMEINFO_TYPE_ARG7, $[4],
-      [Define to the type of arg 7 for `getnameinfo'.])
+      [Define to the type of arg 7 for getnameinfo.])
   fi
 ])
 
diff --git a/ares/acinclude.m4 b/ares/acinclude.m4
index de7f250796b978f86167e0d738f69ad00712ed30..5072ecd63a2c636c085e25f9e9d7d2f2343f5480 100644
--- a/ares/acinclude.m4
+++ b/ares/acinclude.m4
@@ -281,13 +281,13 @@ AC_DEFUN([CURL_FUNC_GETNAMEINFO_ARGTYPES], [
     IFS=$gni_prev_IFS
     shift
     AC_DEFINE_UNQUOTED(GETNAMEINFO_TYPE_ARG1, $[1],
-      [Define to the type of arg 1 for `getnameinfo'.])
+      [Define to the type of arg 1 for getnameinfo.])
     AC_DEFINE_UNQUOTED(GETNAMEINFO_TYPE_ARG2, $[2],
-      [Define to the type of arg 2 for `getnameinfo'.])
+      [Define to the type of arg 2 for getnameinfo.])
     AC_DEFINE_UNQUOTED(GETNAMEINFO_TYPE_ARG46, $[3],
-      [Define to the type of args 4 and 6 for `getnameinfo'.])
+      [Define to the type of args 4 and 6 for getnameinfo.])
     AC_DEFINE_UNQUOTED(GETNAMEINFO_TYPE_ARG7, $[4],
-      [Define to the type of arg 7 for `getnameinfo'.])
+      [Define to the type of arg 7 for getnameinfo.])
   fi
 ])
 
diff --git a/configure.ac b/configure.ac
index 61d813a47060626b0b0ad31468d6d16f7aa3a19b..96cb01a94c1c1df819b462576abd3b8ca2659eea 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1287,8 +1287,8 @@ AC_HELP_STRING([--enable-thread],[look for thread-safe functions]),
 
 if test X"$OPT_THREAD" = Xoff
 then
-  AC_DEFINE(DISABLED_THREADSAFE, 1, \
-Set to explicitly specify we don't want to use thread-safe functions)
+  AC_DEFINE(DISABLED_THREADSAFE, 1,
+    [Set to explicitly specify we don't want to use thread-safe functions])
 else
   if test "$ipv6" != "yes"; then
     dnl dig around for gethostbyname_r()
@@ -1602,7 +1602,7 @@ if test "$ac_cv_func_select" = "no"; then
       AC_DEFINE_UNQUOTED(HAVE_SELECT, 1,
         [Define to 1 if you have the select function.])
     ],[
-      AC_MSG_ERROR(You can't compile without a select)
+      AC_MSG_ERROR([You can't compile without a select])
   ])
 fi