X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=configure.ac;h=e3fd71752e814f76afb92420c80943f2ce11ffc6;hb=a9ed6877f7c5e920a5ba065324be9587f3c1ffaf;hp=6a20c9ec7f7154ec25eb5aa776a79175d7cc8305;hpb=6e772cbe802327ed79cdaae9d366fed1ec6b081c;p=libsigrok.git diff --git a/configure.ac b/configure.ac index 6a20c9ec..e3fd7175 100644 --- a/configure.ac +++ b/configure.ac @@ -209,7 +209,7 @@ PKG_CHECK_MODULES([libzip], [libzip >= 0.8], # libusb-1.0 is only needed for some hardware drivers. Disable the respective # drivers if it is not found. -case "$build" in +case "$host" in *freebsd*) # FreeBSD comes with an "integrated" libusb-1.0-style USB API. # This means libusb-1.0 is always available, no need to check for it, @@ -266,7 +266,7 @@ AM_CONDITIONAL(HAVE_CHECK, test x"$have_check" = "xyes") # The Rigol DS1xx2 driver currently uses the Linux kernel usbtmc module # (though it is planned to rewrite the driver to be portable later). # Thus, it will be disabled for non-Linux builds for now. -case "$build" in +case "$host" in *linux*) # Do nothing. Whether the driver is enabled is determined by the # previous --enable-all-drivers/--disable-all-drivers and/or any @@ -460,6 +460,8 @@ echo echo " - Package version (major.minor.micro): $SR_PACKAGE_VERSION" echo " - Library version (current:revision:age): $SR_LIB_VERSION" echo " - Prefix: $prefix" +echo " - Building on: $build" +echo " - Building for: $host" echo echo "Detected libraries:" echo