diff options
Diffstat (limited to 'm4/limits-h.m4')
-rw-r--r-- | m4/limits-h.m4 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/m4/limits-h.m4 b/m4/limits-h.m4 index 511dcef5e04..83886634396 100644 --- a/m4/limits-h.m4 +++ b/m4/limits-h.m4 @@ -29,3 +29,11 @@ AC_DEFUN_ONCE([gl_LIMITS_H], AC_SUBST([LIMITS_H]) AM_CONDITIONAL([GL_GENERATE_LIMITS_H], [test -n "$LIMITS_H"]) ]) + +dnl Unconditionally enables the replacement of <limits.h>. +AC_DEFUN([gl_REPLACE_LIMITS_H], +[ + AC_REQUIRE([gl_LIMITS_H]) + LIMITS_H='limits.h' + AM_CONDITIONAL([GL_GENERATE_LIMITS_H], [test -n "$LIMITS_H"]) +]) |