Improve GCC warning and error triggers and also improve check of GCC version.

Configure snippets shamelessly stolen from http://www.libusb.org/browser/configure.ac
This commit is contained in:
Joachim Nilsson
2010-07-18 02:51:25 +02:00
parent ca56b74763
commit 2d2ec7db98
8 changed files with 125 additions and 15 deletions

View File

@@ -1,5 +1,8 @@
/* config.h.in. Generated from configure.ac by autoheader. */
/* Default visibility */
#undef API_EXPORTED
/* Define to 1 if the `closedir' function returns void instead of `int'. */
#undef CLOSEDIR_VOID