Make the module 'getndelim2' compatible with the module 'getline'.
[gnulib.git] / m4 / getndelim2.m4
1 # getndelim2.m4 serial 1
2 dnl Copyright (C) 2003 Free Software Foundation, Inc.
3 dnl This file is free software, distributed under the terms of the GNU
4 dnl General Public License.  As a special exception to the GNU General
5 dnl Public License, this file may be distributed as part of a program
6 dnl that contains a configuration script generated by Autoconf, under
7 dnl the same distribution terms as the rest of that program.
8
9 AC_DEFUN([gl_GETNDELIM2],
10 [
11   AC_LIBOBJ(getndelim2)
12   gl_PREREQ_GETNDELIM2
13 ])
14
15 # Prerequisites of lib/getndelim2.h and lib/getndelim2.c.
16 AC_DEFUN([gl_PREREQ_GETNDELIM2],
17 [
18   dnl Prerequisites of lib/getndelim2.h.
19   AC_REQUIRE([gt_TYPE_SSIZE_T])
20   dnl Prerequisites of lib/getndelim2.c.
21   AC_REQUIRE([AC_HEADER_STDC])
22 ])