]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
configure: fix cygpath check
authorVictor Julien <victor@inliniac.net>
Tue, 28 Jan 2020 10:12:19 +0000 (11:12 +0100)
committerVictor Julien <victor@inliniac.net>
Tue, 28 Jan 2020 10:12:19 +0000 (11:12 +0100)
configure.ac

index 54a2cc2356453d99f52ddbf4fce92ee6b1756006..3b9b6f353f73399220081d017db9aaa608844f7b 100644 (file)
@@ -2404,7 +2404,7 @@ fi
     AC_SUBST(RUST_SURICATA_LIB)
     AC_SUBST(RUST_LDADD)
     if test "x$CARGO_HOME" = "x"; then
-        if test "x$HAVE_CYGPATH" != "no"; then
+        if test "x$HAVE_CYGPATH" != "xno"; then
           CYGPATH_CARGO_HOME=$(cygpath -a -t mixed ~/.cargo)
           AC_SUBST([CARGO_HOME], [$CYGPATH_CARGO_HOME])
         else
@@ -2565,7 +2565,7 @@ if test "$WINDOWS_PATH" = "yes"; then
     e_logfilesdir="$e_logdir\\\\files"
     e_logcertsdir="$e_logdir\\\\certs"
     e_datarulesdir="$e_winbase\\\\rules\\\\"
-    if test "$HAVE_CYGPATH" != "no"; then
+    if test "x$HAVE_CYGPATH" != "xno"; then
         # turn srcdir into abs path and convert to the
         # mixed output (/c/Users/dev into  c:/Users/dev)
         e_rustdir="$(cygpath -a -t mixed ${srcdir})/rust"