# the strrchr() libc library call. If you don't know what this means,
# leave it alone.
#
-#STRRCHR_DEF = -DNO_STRRCHR
+#NO_STRRCHR = yes
# Uncomment this if you're compiling Unix Frotz on a machine that lacks
# the memmove(3) system call. If you don't know what this means, leave it
export INCLUDEDIR
export LIBDIR
export COLOR
-export STRRCHR_DEF
# Versioning
@echo "Generating $@"
@echo "#ifndef COMMON_DEFINES_H" > $@
@echo "#define COMMON_DEFINES_H" >> $@
+ifdef NO_STRRCHR
+ @echo "#define NO_STRRCHR" >> $@
+endif
ifdef NO_MEMMOVE
@echo "#define NO_MEMMOVE" >> $@
endif