瀏覽代碼

Fix rtmidi-config.in (test uses = for string comparison, not ==)

Stephen Sinclair 11 年之前
父節點
當前提交
e72c17e8be
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      rtmidi-config.in

+ 3 - 3
rtmidi-config.in

@@ -8,11 +8,11 @@ LIBRARY="@LIBS@"
 CXXFLAGS="@CXXFLAGS@"
 CPPFLAGS="@CPPFLAGS@"
 
-if (test "x$1" == "x--libs") ; then
+if (test "x$1" = "x--libs") ; then
   echo "$LIBRARY"
-elif (test "x$1" == "x--cxxflags") ; then
+elif (test "x$1" = "x--cxxflags") ; then
   echo "$CXXFLAGS"
-elif (test "x$1" == "x--cppflags") ; then
+elif (test "x$1" = "x--cppflags") ; then
   echo "$CPPFLAGS"
 else
   echo "Unknown option: $1"