From: Mattia Barbon Date: Wed, 7 Aug 2002 08:56:08 +0000 (+0000) Subject: Fix makefile.g95 for make 3.77 X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/5991550a136acd1daa22f73d1e2de547db6a7efc Fix makefile.g95 for make 3.77 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/makeg95.env b/src/makeg95.env index 9c1514fdd8..a84cdd4ab3 100644 --- a/src/makeg95.env +++ b/src/makeg95.env @@ -57,8 +57,12 @@ COPY=cp # _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)" ""