2 dnl Copyright (C) 2003-2005 Free Software Foundation, Inc.
3 dnl This file is free software; the Free Software Foundation
4 dnl gives unlimited permission to copy and/or distribute it,
5 dnl with or without modifications, as long as this notice is preserved.
9 AC_REQUIRE([AC_C_INLINE])
10 AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
11 AC_REQUIRE([gl_GETOPT_SUBSTITUTE])
12 AC_CHECK_DECLS([program_invocation_name, program_invocation_short_name],,,
15 [clearerr_unlocked feof_unlocked ferror_unlocked
16 fflush_unlocked fgets_unlocked fputc_unlocked fputs_unlocked
17 fread_unlocked fwrite_unlocked getc_unlocked
18 getchar_unlocked putc_unlocked putchar_unlocked])
19 AC_CHECK_FUNCS_ONCE([flockfile funlockfile])
20 AC_CHECK_HEADERS_ONCE([features.h linewrap.h])