[Olsr-cvs] olsrd-current Makefile.inc,1.36,1.37

Bernd Petrovitsch (spam-protected)
Sat Oct 20 22:23:15 CEST 2007


Update of /cvsroot/olsrd/olsrd-current
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv11084

Modified Files:
	Makefile.inc 
Log Message:
Ooops, I overlooked that NODEBUG is also used in defs.h (and not only the
txtinfo plugin):
* added a 4th high level variable: NO_DEBUG_MESSAGES to compile the debug
  OLSR_PRINTF completely out.


Index: Makefile.inc
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/Makefile.inc,v
retrieving revision 1.36
retrieving revision 1.37
diff -C2 -d -r1.36 -r1.37
*** Makefile.inc	20 Oct 2007 19:27:33 -0000	1.36
--- Makefile.inc	20 Oct 2007 20:23:12 -0000	1.37
***************
*** 9,12 ****
--- 9,15 ----
  DEBUG ?= 0
  
+ # compile OLSR_PRINTF out
+ NO_DEBUG_MESSAGES ?= 0
+ 
  # the optimize option to be set for gcc
  OPTIMIZE ?= -O2
***************
*** 149,152 ****
--- 152,157 ----
  else
  CPPFLAGS +=	-DNDEBUG
+ endif
+ ifeq ($(NO_DEBUG_MESSAGES),1)
  CPPFLAGS +=	-DNODEBUG
  endif





More information about the Olsr-cvs mailing list