diff options
author | Simon Josefsson <simon@josefsson.org> | 2010-12-06 16:20:45 +0100 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2010-12-06 16:20:45 +0100 |
commit | 705bd41bc85effe81660de90acf10f65bb23977c (patch) | |
tree | 9f41b7bbe9b1f9416f94a46cfd995eb0db5c8774 /libextra/gl | |
parent | 3ec531a07ddfaddacdef08af6d49abc0eb8d8edd (diff) | |
download | gnutls-705bd41bc85effe81660de90acf10f65bb23977c.tar.gz |
Update gnulib files.
Diffstat (limited to 'libextra/gl')
-rw-r--r-- | libextra/gl/m4/gnulib-common.m4 | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/libextra/gl/m4/gnulib-common.m4 b/libextra/gl/m4/gnulib-common.m4 index 4c7ac30d0f..d0c8b66287 100644 --- a/libextra/gl/m4/gnulib-common.m4 +++ b/libextra/gl/m4/gnulib-common.m4 @@ -1,4 +1,4 @@ -# gnulib-common.m4 serial 20 +# gnulib-common.m4 serial 21 dnl Copyright (C) 2007-2010 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -102,6 +102,19 @@ AC_DEFUN([gl_MODULE_INDICATOR_FOR_TESTS], [Define to 1 when the gnulib module $1 should be tested.]) ]) +# Test whether <features.h> exists. +# Set HAVE_FEATURES_H. +AC_DEFUN([gl_FEATURES_H], +[ + AC_CHECK_HEADERS_ONCE([features.h]) + if test $ac_cv_header_features_h = yes; then + HAVE_FEATURES_H=1 + else + HAVE_FEATURES_H=0 + fi + AC_SUBST([HAVE_FEATURES_H]) +]) + # m4_foreach_w # is a backport of autoconf-2.59c's m4_foreach_w. # Remove this macro when we can assume autoconf >= 2.60. |