(gl_PREREQ_GETLINE): Require AC_HEADER_STDC.
[gnulib.git] / m4 / getline.m4
index d3e1114..b594391 100644 (file)
@@ -1,5 +1,8 @@
-# getline.m4 serial 7
-dnl Copyright (C) 1998-2002 Free Software Foundation, Inc.
+# getline.m4 serial 8
+
+dnl Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 Free Software
+dnl Foundation, Inc.
+
 dnl This file is free software, distributed under the terms of the GNU
 dnl General Public License.  As a special exception to the GNU General
 dnl Public License, this file may be distributed as part of a program
@@ -60,5 +63,6 @@ AC_DEFUN([AM_FUNC_GETLINE],
 # Prerequisites of lib/getline.c.
 AC_DEFUN([gl_PREREQ_GETLINE],
 [
+  AC_REQUIRE([AC_HEADER_STDC])
   AC_CHECK_FUNCS(getdelim)
 ])