warnings.m4: provide a means to specify the program to compile.
authorAkim Demaille <akim@lrde.epita.fr>
Mon, 9 Apr 2012 07:33:24 +0000 (09:33 +0200)
committerJim Meyering <meyering@redhat.com>
Tue, 8 May 2012 18:27:23 +0000 (20:27 +0200)
* 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.


No differences found