diff options
author | Robert James Kaes <rjkaes@users.sourceforge.net> | 2003-06-26 18:23:01 +0000 |
---|---|---|
committer | Robert James Kaes <rjkaes@users.sourceforge.net> | 2003-06-26 18:23:01 +0000 |
commit | a8798e999bb1a5f45835ed5d09867f33fc0c93cc (patch) | |
tree | ca63a4332e72e2a61111d5c21198a425b45e7e89 | |
parent | 1cb032a9340f0b0f8f1256ffa7ee1fc659910c20 (diff) | |
download | tinyproxy-a8798e999bb1a5f45835ed5d09867f33fc0c93cc.tar.gz tinyproxy-a8798e999bb1a5f45835ed5d09867f33fc0c93cc.zip |
# Added debugging flags for the flex scanner.
Diffstat (limited to '')
-rw-r--r-- | configure.ac | 4 | ||||
-rw-r--r-- | src/Makefile.am | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index f5f9575..8c7a427 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -dnl $Id: configure.ac,v 2.57 2003-06-25 18:23:11 rjkaes Exp $ +dnl $Id: configure.ac,v 2.58 2003-06-26 18:23:01 rjkaes Exp $ dnl Devlopers, please strive to achieve this order: dnl @@ -265,6 +265,7 @@ if test x"$debug_enabled" = x"yes" ; then fi CFLAGS="-Wall -g -DYYDEBUG $CFLAGS" YFLAGS="-v -d" + LEX_FLAGS="--warn" else dnl No debugging information, include the optimizations CFLAGS="-O2 -DNDEBUG $CFLAGS" @@ -341,6 +342,7 @@ AC_SUBST(CFLAGS) AC_SUBST(LDFLAGS) AC_SUBST(YFLAGS) AC_SUBST(CPPFLAGS) +AC_SUBST(LEX_FLAGS) AC_SUBST(LIBS) AC_SUBST(ADDITIONAL_OBJECTS) AC_SUBST(TINYPROXY_CONFIG_DIR) diff --git a/src/Makefile.am b/src/Makefile.am index 804a4c0..4a9c42f 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,4 +1,4 @@ -# $Id: Makefile.am,v 1.16 2003-03-13 21:23:01 rjkaes Exp $ +# $Id: Makefile.am,v 1.17 2003-06-26 18:23:01 rjkaes Exp $ # # Copyright (C) 2000 Robert James Kaes (rjkaes@flarenet.com) # @@ -48,7 +48,7 @@ tinyproxy_DEPENDENCIES = @ADDITIONAL_OBJECTS@ tinyproxy_LDADD = @ADDITIONAL_OBJECTS@ scanner.c: scanner.l grammar.h - $(LEX) $(AM_LFLAGS) $(LFLAGS) -i $< && mv $(LEX_OUTPUT_ROOT).c $@ + $(LEX) $(LEX_FLAGS) $(LFLAGS) -i $< && mv $(LEX_OUTPUT_ROOT).c $@ clean: rm -f *.da |