summaryrefslogtreecommitdiff
path: root/modules/warnings
diff options
context:
space:
mode:
authorAkim Demaille <akim@lrde.epita.fr>2012-04-09 09:33:24 +0200
committerJim Meyering <meyering@redhat.com>2012-05-08 20:27:23 +0200
commit2c19fe9c2316d113610aa895d5203a9252cb692d (patch)
tree39894ef99dddd7da7dc2c1cdb7e35304cbc3ba4b /modules/warnings
parentadae0138d43ccc0e5a302ca10fa1676359e92be8 (diff)
downloadgnulib-2c19fe9c2316d113610aa895d5203a9252cb692d.tar.gz
warnings.m4: provide a means to specify the program to compile.
* m4/warnings.m4 (gl_COMPILER_OPTION_IF): New, extracted from (gl_WARN_ADD): here. Use gl_AS_VAR_APPEND. Support an argument to specify the program to compile. (gl_WARN_ADD): Accept an argument to specify the program to compile. AC_SUBST the WARN_CFLAGS when they are used. * modules/warnings (configure.ac): Don't AC_SUBST WARN_CFLAGS, leave this to gl_WARN_ADD.
Diffstat (limited to 'modules/warnings')
-rw-r--r--modules/warnings1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/warnings b/modules/warnings
index 0eb724e60e..f1baa6c803 100644
--- a/modules/warnings
+++ b/modules/warnings
@@ -7,7 +7,6 @@ m4/warnings.m4
Depends-on:
configure.ac:
-AC_SUBST([WARN_CFLAGS])
License:
unlimited