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 70df351..4e2b810 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.