(jm_CHECK_DECLS): Use []-quoted list in AC_CHECK_DECLS,
authorJim Meyering <jim@meyering.net>
Wed, 24 May 2000 07:46:55 +0000 (07:46 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 24 May 2000 07:46:55 +0000 (07:46 +0000)
now that autoconf requires that.

m4/check-decl.m4

index e301e44f1a950a1d65209c07cf1f8376a73d64e6..e7035a10e66eea3e36826fcf3af7dfca9315903f 100644 (file)
@@ -1,4 +1,4 @@
-#serial 11
+#serial 12
 
 dnl This is just a wrapper function to encapsulate this kludge.
 dnl Putting it in a separate file like this helps share it between
@@ -43,7 +43,7 @@ AC_DEFUN(jm_CHECK_DECLS,
 #endif
 '
 
-  AC_CHECK_DECLS((
+  AC_CHECK_DECLS([
     free,
     getenv,
     geteuid,
@@ -59,7 +59,7 @@ AC_DEFUN(jm_CHECK_DECLS,
     strstr,
     strtoul,
     strtoull,
-    ttyname), , , $headers)
+    ttyname], , , $headers)
 ])
 
 dnl FIXME: when autoconf has support for it.