diff --git a/src/aclocal.m4 b/src/aclocal.m4
index e4b436c37d723ccffae308eedeb96bcadb3db010..bb5ac001d66d92a096047e3df72ef655e4f89c3c 100644
--- a/src/aclocal.m4
+++ b/src/aclocal.m4
@@ -25,7 +25,7 @@ define([if_autoconf],
    translit(substr(AC_ACVERSION, 0, index(AC_ACVERSION,.)),[A-Za-z])-0 > $1 ||
    translit(substr(AC_ACVERSION, index(+AC_ACVERSION,.)),[A-Za-z])-0 >= $2
   )
-)]),1,$3,$4)])
+)]),1,[$3],[$4])])
 
 dnl Autoconf 2.60 is the first version that supports C99.
 dnl C99-compilers complain about implicit declarations.
@@ -35,10 +35,11 @@ if_autoconf(2,60,,[
   m4_copy([AC_LANG_SOURCE(C)], [ORIG_AC_LANG_SOURCE_C])
   m4_define([AC_LANG_SOURCE(C)], [
     ORIG_AC_LANG_SOURCE_C([
+/* Kludge for C99 */
 #ifdef HAVE_STDLIB_H
 #include <stdlib.h>
 #endif
-]$1)
+$1])
   ])
 ])