OSDN Git Service

Correct invalid makefile shell command syntax.
authorKeith Marshall <keithmarshall@users.sourceforge.net>
Fri, 20 Dec 2013 22:32:39 +0000 (22:32 +0000)
committerKeith Marshall <keithmarshall@users.sourceforge.net>
Fri, 20 Dec 2013 22:32:39 +0000 (22:32 +0000)
ChangeLog
Makefile.in

index e93dbaf..e31275c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2013-12-20  Keith Marshall  <keithmarshall@users.sourceforge.net>
+
+       Correct invalid makefile shell command syntax.
+
+       * Makefile.in (msvcrt_DEF, moldname_DEF): '==' is not a valid operator
+       in 'test' command -- should be '='; fix it.
+
 2013-09-18  Earnie Boyd  <earnie@users.sourceforge.net>
 
        Ticket [#2050] Missing definition of FILE_FLAG_FIRST_PIPE_INSTANCE.
index fa5d626..5e9fe8c 100644 (file)
@@ -658,7 +658,7 @@ all: $(extra_OBJECTS) $(msvcrt_DEF) $(moldname_DEF) $(lib_LIBRARIES) $(bin_LIBRA
 
 $(msvcrt_DEF): lib/lib32/msvcrt.def.in
        N=`echo $@ | sed -e 's|\([a-z]*\)\([0-9]*\).*|\1|'`; \
-       test "$$N" == "msvcr" && N="msvcrt"; \
+       test "$$N" = "msvcr" && N="msvcrt"; \
        V=`echo $@ | sed -e 's|\([a-z]*\)\([0-9]*\).*|\2|'`; \
        test -z "$$V" && V=60; \
        test "$$V" != "100" && V="0$${V}"; \
@@ -671,7 +671,7 @@ $(msvcrt_DEF): lib/lib32/msvcrt.def.in
 
 $(moldname_DEF): lib/lib32/moldname.def.in
        N=`echo $@ | sed -e 's|\([a-z]*\)\([0-9]*\).*|\1|'`; \
-       test "$$N" == "msvcr" && N="msvcrt"; \
+       test "$$N" = "msvcr" && N="msvcrt"; \
        V=`echo $@ | sed -e 's|\([a-z]*\)\([0-9]*\).*|\2|'`; \
        test -z "$$V" && V=60; \
        F="$@"; \