summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-02-03 11:29:35 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2011-02-03 11:29:35 -0800
commit67342916c9fd6fffe142539a3aba4601d005e839 (patch)
treea12c72452490d3f1763f4033bccdff3aa857f7e0 /m4
parent90b750f4e227844e0eb2368193f13631876d0664 (diff)
downloademacs-67342916c9fd6fffe142539a3aba4601d005e839.tar.gz
allow C code to suppress warnings about ignored return values
Diffstat (limited to 'm4')
-rw-r--r--m4/gl-comp.m44
1 files changed, 4 insertions, 0 deletions
diff --git a/m4/gl-comp.m4 b/m4/gl-comp.m4
index e5121918903..4bd213cdbd5 100644
--- a/m4/gl-comp.m4
+++ b/m4/gl-comp.m4
@@ -34,6 +34,7 @@ AC_DEFUN([gl_EARLY],
# Code from module getopt-gnu:
# Code from module getopt-posix:
# Code from module gettext-h:
+ # Code from module ignore-value:
# Code from module include_next:
# Code from module intprops:
# Code from module mktime:
@@ -76,6 +77,8 @@ AC_DEFUN([gl_INIT],
# Code from module gettext-h:
AC_SUBST([LIBINTL])
AC_SUBST([LTLIBINTL])
+ # Code from module ignore-value:
+ AC_REQUIRE([AC_C_INLINE])
# Code from module include_next:
# Code from module intprops:
# Code from module mktime:
@@ -248,6 +251,7 @@ AC_DEFUN([gl_FILE_LIST], [
lib/getopt1.c
lib/getopt_int.h
lib/gettext.h
+ lib/ignore-value.h
lib/intprops.h
lib/mktime-internal.h
lib/mktime.c