More info about Cygwin.
[gnulib.git] / m4 / include_next.m4
1 # include_next.m4 serial 1
2 dnl Copyright (C) 2006 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.
6
7 dnl From Derek Price.
8
9 AC_DEFUN([gl_INCLUDE_NEXT],
10 [AC_CACHE_CHECK([whether the preprocessor supports include_next],
11 [gl_cv_have_include_next],
12 [AC_PREPROC_IFELSE([#include_next <stddef.h>],
13                    [gl_cv_have_include_next=yes],
14                    [gl_cv_have_include_next=no])])
15 if test $gl_cv_have_include_next = yes; then
16   AC_DEFINE([HAVE_INCLUDE_NEXT], 1,
17             [Define if your compiler supports the #include_next directive.])
18 fi
19 ])