From 2ffda181c548276d8c1af2d6b635dd95a873d3c0 Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Wed, 12 Nov 2008 16:08:54 +0100 Subject: Use gnulib warnings module. --- gl/m4/gnulib-comp.m4 | 2 +- gl/m4/warnings.m4 | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) (limited to 'gl') 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. -- cgit v1.2.1