]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix makefile.g95 for make 3.77
authorMattia Barbon <mbarbon@cpan.org>
Wed, 7 Aug 2002 08:56:08 +0000 (08:56 +0000)
committerMattia Barbon <mbarbon@cpan.org>
Wed, 7 Aug 2002 08:56:08 +0000 (08:56 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/makeg95.env

index 9c1514fdd8fa7ccad979d50bde0cc40242cfaaec..a84cdd4ab3cfedc555ef94b46e011580196475f8 100644 (file)
@@ -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)" ""