From: Paul Eggert Date: Tue, 5 Nov 2002 23:42:10 +0000 (+0000) Subject: Define "lint" if --enable-gcc-warnings. X-Git-Tag: BISON-1_875~344 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/bcb3effb3c88bd9310a2659a15cb05315950ef8f Define "lint" if --enable-gcc-warnings. --- diff --git a/configure.ac b/configure.ac index 70df351f..4e2b8104 100644 --- a/configure.ac +++ b/configure.ac @@ -56,6 +56,7 @@ if test "${enableval}" = yes; then BISON_WARNING(-Wshadow) BISON_WARNING(-Wstrict-prototypes) BISON_WARNING(-Wwrite-strings) + AC_DEFINE([lint], 1, [Define to 1 if the compiler is checking for lint.]) fi # Checks for programs.