1# getdate.m4 serial 7 2dnl Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3dnl This file is free software; the Free Software Foundation 4dnl gives unlimited permission to copy and/or distribute it, 5dnl with or without modifications, as long as this notice is preserved. 6 7AC_DEFUN([gl_GETDATE], 8[ 9 AC_LIBSOURCES([getdate.h, getdate.y]) 10 AC_LIBOBJ([getdate]) 11 12 dnl Prerequisites of lib/getdate.h. 13 AC_REQUIRE([AM_STDBOOL_H]) 14 AC_REQUIRE([gl_TIMESPEC]) 15 16 dnl Prerequisites of lib/getdate.y. 17 AC_REQUIRE([gl_BISON]) 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]) 24