Get --enable-gcc-warnings working again.
commit2bafb7c4a30408ad115a59a64aaee2398a2092a8
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 3 May 2014 08:12:06 +0000 (3 01:12 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 3 May 2014 08:12:06 +0000 (3 01:12 -0700)
tree9c9daaa2cd52bee1a17c591274d64a834967082a
parentaf3e4d067ace861eb50f5e78ffb8e63e6756881a
Get --enable-gcc-warnings working again.

The recent changes to configure.ac removed the transliteration of
-I to -isystem in CFLAGS, which is needed for --enable-gcc-warnings.
Bring this back while keeping the spirit of the recent changes.
* configure.ac (edit_cflags): Restore this shell var, and put it
at the top level, where it'll be useful when emacs-24 is next merged.
(EMACS_CHECK_MODULES): New macro.  All uses of PKG_CHECK_MODULES
changed to use it.
ChangeLog
configure.ac