# _GCC295 means GCC is GCC 2.95
# _GCC3 mans GCC is 3.x or better (can actually just be 3.1 or better
# for Cygwin/MinGW)
-_GCC295=$(if $(findstring 2.95, $(MINGW32VERSION)), 1,)
-_GCC3=$(if $(findstring 3., $(MINGW32VERSION)), 1,)
+ifneq (,$(findstring 2.95, $(MINGW32VERSION)))
+ _GCC295=1
+endif
+ifneq (,$(findstring 3., $(MINGW32VERSION)))
+ _GCC3=1
+endif
ifeq ($(MINGW32),1)
ifneq "$(_GCC295)$(_GCC3)" ""