@sinclude@ @includel@$(INCPATH)settings.mk@includel@
@ifeq@${HOOKS_NEW}@ifeqsep@1@ifeqend@
-HOOK_ENGINE=old
-@else@
HOOK_ENGINE=new
+@else@
+HOOK_ENGINE=old
@endif@
# if USE_VALGRIND == 1
@endif@ ## SSTRING_NEW == 1
@endif@ # USE_VALGRIND == 1
-@ifeq@${SSTRING_NEW}@ifeqsep@1@ifeqend@
-HOOK_ENGINE=old
-@else@
-HOOK_ENGINE=new
-@endif@
-
@ifdef@ IMPOSSIBLE
@error@ impossible combination of settings: ${IMPOSSIBLE}@errorend@
@endif@
@ifndef@ BUILDID
-BUILDID @shell@ (hg id || echo "unknown") | sed -e "s/+ /-/;s/ /-/" @shellend@
+BUILDID @shell@ (hg id || echo "unknown") | sed -e "s/[()]//g;s/+ /+/g;s/ /-/g" @shellend@
@endif@
MFLAGS+=BUILDID=$(BUILDID)
@endif@
MFLAGS+=CHECKEDSETTINGS=1
-CFLAGS+=-Wall -g -finline-functions -funroll-loops
+CFLAGS+=-Wall -g -finline-functions -funroll-loops -Werror=format-security
@ifndef@ NOC99
CFLAGS+=-std=c99
@endif@