1 |
# -*- Autoconf -*- |
# -*- Autoconf -*- |
2 |
# gnu-obstack.m4 -- the libc supplied version of obstacks if available. |
# gnu-obstack.m4 -- the libc supplied version of obstacks if available. |
3 |
# |
# |
4 |
# Copyright 2000, 2001 Gary V. Vaughan <gary@gnu.org> |
# Copyright 2000, 2001, 2003 Gary V. Vaughan <gary@gnu.org> |
5 |
# |
# |
6 |
# This program is free software; you can redistribute it and/or modify |
# This program is free software; you can redistribute it and/or modify |
7 |
# it under the terms of the GNU General Public License as published by |
# it under the terms of the GNU General Public License as published by |
20 |
|
|
21 |
# serial 6 |
# serial 6 |
22 |
|
|
|
AC_PREREQ(2.52) |
|
|
|
|
23 |
# M4_AC_FUNC_OBSTACK |
# M4_AC_FUNC_OBSTACK |
24 |
# ------------------ |
# ------------------ |
25 |
# Use the libc supplied version of obstacks if available. |
# Use the libc supplied version of obstacks if available. |
26 |
AC_DEFUN([M4_AC_FUNC_OBSTACK], |
AC_DEFUN([M4_AC_FUNC_OBSTACK], |
27 |
[AC_CHECK_HEADER(obstack.h) |
[AC_PREREQ(2.56)dnl We use the new compiler based header checking in 2.56 |
28 |
|
AC_CHECK_HEADER(obstack.h, [], [], $ac_default_headers) |
29 |
m4_pattern_allow([^m4_cv_func_obstack$])dnl |
m4_pattern_allow([^m4_cv_func_obstack$])dnl |
30 |
m4_pattern_allow([^m4_obstack_h$])dnl |
m4_pattern_allow([^m4_obstack_h$])dnl |
31 |
|
|