Re: [AD] Even better makefile $(SHELL) /bin/sh.exe detection UNIX_TOOLS=1 patch

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> This patch should improve previous patch to work with mingw32-make

Thanks. I've commited the following strictly equivalent version:

--- /cvs/allegro/makefile.mgw Sun Oct  6 10:09:48 2002
+++ allegro/makefile.mgw Tue Oct  8 20:13:56 2002
@@ -25,8 +25,8 @@
    UNIX_TOOLS = 1
 endif
 
-ifeq ($(SHELL), /bin/sh.exe)
-   UNIX_TOOLS=1
+ifneq (,$(findstring /sh.exe,$(SHELL)))
+  UNIX_TOOLS = 1
 endif

--
Eric Botcazou



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/