summaryrefslogtreecommitdiff
path: root/gl
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2008-11-12 16:08:54 +0100
committerSimon Josefsson <simon@josefsson.org>2008-11-12 16:08:54 +0100
commit2ffda181c548276d8c1af2d6b635dd95a873d3c0 (patch)
treeb157c74ef1f0a525a4e53d9044988e899b571bfc /gl
parent13cca9a3748295fc72252d41deecd8fa5ff59dff (diff)
downloadgnutls-2ffda181c548276d8c1af2d6b635dd95a873d3c0.tar.gz
Use gnulib warnings module.
Diffstat (limited to 'gl')
-rw-r--r--gl/m4/gnulib-comp.m42
-rw-r--r--gl/m4/warnings.m47
2 files changed, 1 insertions, 8 deletions
diff --git a/gl/m4/gnulib-comp.m4 b/gl/m4/gnulib-comp.m4
index ddf311cbd0..4dc6125c14 100644
--- a/gl/m4/gnulib-comp.m4
+++ b/gl/m4/gnulib-comp.m4
@@ -177,7 +177,7 @@ AC_SUBST([LTALLOCA])
AC_PROG_MKDIR_P
gl_UNISTD_H
gl_FUNC_VASNPRINTF
- gl_WARN_INIT
+ AC_SUBST([WARN_CFLAGS])
gl_WCHAR_H
gl_XSIZE
m4_ifval(gl_LIBSOURCES_LIST, [
diff --git a/gl/m4/warnings.m4 b/gl/m4/warnings.m4
index 71a8e56d9d..d2854d9543 100644
--- a/gl/m4/warnings.m4
+++ b/gl/m4/warnings.m4
@@ -6,13 +6,6 @@ dnl with or without modifications, as long as this notice is preserved.
dnl From Simon Josefsson
-# gl_WARN_INIT
-# Initializes WARN_CFLAGS variable.
-AC_DEFUN([gl_WARN_INIT],
-[AC_SUBST([WARN_CFLAGS])dnl
-AC_ARG_VAR([WARN_CFLAGS], [C compiler warning flags])
-])
-
# gl_AS_VAR_IF(VAR, VALUE, [IF-MATCH], [IF-NOT-MATCH])
# ----------------------------------------------------
# Provide the functionality of AS_VAR_IF if Autoconf does not have it.