]> sigrok.org Git - libsigrokdecode.git/blobdiff - configure.ac
build: Do not hard-code decoders location on Windows
[libsigrokdecode.git] / configure.ac
index 53e8bc1abb660f57e1d7bb1dce9d253023a9fe18..09bfd56802356600c495fd1b456ace7b844fa0ba 100644 (file)
@@ -64,6 +64,8 @@ SR_PKG_VERSION_SET([SRD_PACKAGE_VERSION], [AC_PACKAGE_VERSION])
 # http://www.gnu.org/software/libtool/manual/libtool.html#Updating-version-info
 SR_LIB_VERSION_SET([SRD_LIB_VERSION], [2:0:0])
 
+AM_CONDITIONAL([WIN32], [test -z "${host_os##mingw*}" || test -z "${host_os##cygwin*}"])
+
 ############################
 ##  Package dependencies  ##
 ############################