warnings.m4: check the compiler, not the preprocessor
authorAkim Demaille <akim@lrde.epita.fr>
Thu, 29 Mar 2012 13:29:37 +0000 (15:29 +0200)
committerEric Blake <eblake@redhat.com>
Thu, 29 Mar 2012 22:07:48 +0000 (16:07 -0600)
commit4f044de87e05bee61005c48bb93f3bb9a4b76461
tree71f6649464d11f3d0ca22dfb94265e723e2ecd33
parent7ce7d6bc711a382eac94fad6209e5e8905745530
warnings.m4: check the compiler, not the preprocessor

* m4/warnings.m4 (gl_WARN_ADD): Use the compiler, not the
preprocessor.
Depend on the current AC_LANG for the cache variables.
m4/warnings.m4