1# obstack.m4 serial 4 2dnl Copyright (C) 2002, 2003, 2004 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_OBSTACK], 8[ 9 AC_FUNC_OBSTACK 10 dnl Note: AC_FUNC_OBSTACK does AC_LIBSOURCES([obstack.h, obstack.c]). 11 if test $ac_cv_func_obstack = no; then 12 gl_PREREQ_OBSTACK 13 fi 14]) 15 16# Prerequisites of lib/obstack.c. 17AC_DEFUN([gl_PREREQ_OBSTACK], 18[ 19 AC_REQUIRE([gl_AC_HEADER_INTTYPES_H]) 20 AC_REQUIRE([gl_AC_HEADER_STDINT_H]) 21 AC_REQUIRE([gl_AC_TYPE_UINTMAX_T]) 22 : 23]) 24