Fossil SCM

Slight syntax tweak for 'ifeq' statement, this may work on more make variants.

mistachkin 2011-11-05 23:12 UTC auto-mingw-makefile
Commit f382b9a559250f1d44ba566c374cb183a04dd103
1 file changed +1 -1
--- Makefile.classic
+++ Makefile.classic
@@ -105,11 +105,11 @@
105105
# Automatic platform-specific options.
106106
HOST_OS_CMD = uname -s
107107
HOST_OS = $(HOST_OS_CMD:sh)
108108
109109
# On MinGW, slightly different detection magic is required.
110
-ifeq '$(HOST_OS)' ''
110
+ifeq ($(HOST_OS),)
111111
HOST_OS = $(shell $(HOST_OS_CMD))
112112
endif
113113
114114
LIB.SunOS= -lsocket -lnsl
115115
LIB += $(LIB.$(HOST_OS))
116116
--- Makefile.classic
+++ Makefile.classic
@@ -105,11 +105,11 @@
105 # Automatic platform-specific options.
106 HOST_OS_CMD = uname -s
107 HOST_OS = $(HOST_OS_CMD:sh)
108
109 # On MinGW, slightly different detection magic is required.
110 ifeq '$(HOST_OS)' ''
111 HOST_OS = $(shell $(HOST_OS_CMD))
112 endif
113
114 LIB.SunOS= -lsocket -lnsl
115 LIB += $(LIB.$(HOST_OS))
116
--- Makefile.classic
+++ Makefile.classic
@@ -105,11 +105,11 @@
105 # Automatic platform-specific options.
106 HOST_OS_CMD = uname -s
107 HOST_OS = $(HOST_OS_CMD:sh)
108
109 # On MinGW, slightly different detection magic is required.
110 ifeq ($(HOST_OS),)
111 HOST_OS = $(shell $(HOST_OS_CMD))
112 endif
113
114 LIB.SunOS= -lsocket -lnsl
115 LIB += $(LIB.$(HOST_OS))
116

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button