Procházet zdrojové kódy

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

Stephen Sinclair před 11 roky
rodič
revize
e72c17e8be
1 změnil soubory, kde provedl 3 přidání a 3 odebrání
  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"