build: don't use automake's obsolete AM_C_PROTOTYPES macro
authorJim Meyering <meyering@redhat.com>
Mon, 3 Oct 2011 09:01:44 +0000 (11:01 +0200)
committerJim Meyering <meyering@redhat.com>
Mon, 3 Oct 2011 09:01:44 +0000 (11:01 +0200)
* m4/jm-macros.m4 (gl_CHECK_ALL_TYPES): Remove use of AM_C_PROTOTYPES,
now that automake rejects it.

m4/jm-macros.m4

index affd37d..20463b7 100644 (file)
@@ -203,11 +203,6 @@ AC_DEFUN([gl_CHECK_ALL_HEADERS],
 # This macro must be invoked before any tests that run the compiler.
 AC_DEFUN([gl_CHECK_ALL_TYPES],
 [
-  dnl This test must precede tests of compiler characteristics like
-  dnl that for the inline keyword, since it may change the degree to
-  dnl which the compiler supports such features.
-  AC_REQUIRE([AM_C_PROTOTYPES])
-
   dnl Checks for typedefs, structures, and compiler characteristics.
   AC_REQUIRE([gl_BIGENDIAN])
   AC_REQUIRE([AC_C_VOLATILE])