]> git.saurik.com Git - bison.git/commitdiff
Define "lint" if --enable-gcc-warnings.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 5 Nov 2002 23:42:10 +0000 (23:42 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 5 Nov 2002 23:42:10 +0000 (23:42 +0000)
configure.ac

index 70df351f2397e73ef9fe182f022783e59f70c60b..4e2b8104f13d7d5993ea96ae14f4ffb674ad7ae3 100644 (file)
@@ -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.