# compiler flags
AM_CPPFLAGS = -DMODULE=$(MODULE) \
+ -DHAVE_COMPILEINFO \
$(PACKCXXFLAGS) \
$(foreach i, $(EINCLUDE), \
$(shell echo $(i) | sed -e "/HLT\//!d" -e "s|HLT/|-I$(top_srcdir)/|")) \
@echo '//automatically generated compilation info' > $@
@echo '//!!! DO NOT EDIT THIS FILE !!!' >> $@
@echo '//add changes in Makefile.am' >> $@
- @echo 'extern "C" void CompileInfo( char*& date, char*& time)' >> $@
+ @echo 'extern "C" void CompileInfo(const char*& date, const char*& time)' >> $@
@echo '{date=__DATE__; time=__TIME__; return;}' >> $@