From: Victor Julien Date: Tue, 28 Jan 2020 10:12:19 +0000 (+0100) Subject: configure: fix cygpath check X-Git-Tag: suricata-6.0.0-beta1~830 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ae87e79a28d9e646df2558eba257e7c182a804f;p=thirdparty%2Fsuricata.git configure: fix cygpath check --- diff --git a/configure.ac b/configure.ac index 54a2cc2356..3b9b6f353f 100644 --- a/configure.ac +++ b/configure.ac @@ -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"