alloca cleanup: always include <alloca.h>.
[gnulib.git] / m4 / getdate.m4
1 # getdate.m4 serial 4
2 dnl Copyright (C) 2002, 2003, 2004 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_GETDATE],
10 [
11   dnl Prerequisites of lib/getdate.h.
12   AC_REQUIRE([AM_STDBOOL_H])
13   AC_REQUIRE([gl_TIMESPEC])
14
15   dnl Prerequisites of lib/getdate.y.
16   AC_REQUIRE([gl_BISON])
17   AC_REQUIRE([AC_FUNC_ALLOCA])
18   AC_REQUIRE([AC_HEADER_STDC])
19   AC_CHECK_FUNCS_ONCE(isascii)
20   AC_STRUCT_TIMEZONE
21   AC_REQUIRE([gl_CLOCK_TIME])
22   AC_REQUIRE([gl_TM_GMTOFF])
23 ])