From: Uwe Hermann Date: Tue, 3 Jan 2012 23:49:21 +0000 (+0100) Subject: sr: configure.ac: Print more summary info. X-Git-Tag: libsigrok-0.1.0~192 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=45aed0721c687a29bb394bff10cc129dab0f11c2;p=libsigrok.git sr: configure.ac: Print more summary info. - Package version (major.minor.micro) - Library version (current:revision:age) - Installation prefix (usually /usr/local) - Detected libraries and their versions (only for pkg-config libs) --- diff --git a/configure.ac b/configure.ac index 7c1ee441..053b93d2 100644 --- a/configure.ac +++ b/configure.ac @@ -282,13 +282,37 @@ AC_CONFIG_FILES([Makefile AC_OUTPUT echo -echo "Building drivers:" +echo "libsigrok configuration summary:" echo -echo "ASIX SIGMA...................... " $LA_ASIX_SIGMA -echo "ChronoVu LA8.................... " $LA_CHRONOVU_LA8 -echo "Link MSO-19..................... " $LA_LINK_MSO19 -echo "Openbench Logic Sniffer......... " $LA_OLS -echo "Saleae Logic.................... " $LA_SALEAE_LOGIC -echo "Zeroplus Logic Cube............. " $LA_ZEROPLUS_LOGIC_CUBE +echo "Generic info:" +echo +echo " - Package version (major.minor.micro): $LIBSIGROK_VERSION" +echo " - Library version (current:revision:age): $LIBSIGROK_LT_VERSION" +echo " - Prefix: $prefix" +echo +echo "Detected libraries:" +echo + +# Note: This only works for libs with pkg-config integration. +for lib in "glib-2.0" "gthread-2.0" "libusb-1.0" "libzip" "zlib" "libftdi" "libudev" "alsa"; do + if `$PKG_CONFIG --exists $lib`; then + ver=`$PKG_CONFIG --modversion $lib` + answer="yes ($ver)" + else + answer="no" + fi + echo " - $lib: $answer" +done + +echo +echo "Enabled hardware drivers:" +echo +echo " - ASIX SIGMA...................... $LA_ASIX_SIGMA" +echo " - ChronoVu LA8.................... $LA_CHRONOVU_LA8" +echo " - Demo driver..................... $LA_DEMO" +echo " - Link MSO-19..................... $LA_LINK_MSO19" +echo " - Openbench Logic Sniffer......... $LA_OLS" +echo " - Saleae Logic.................... $LA_SALEAE_LOGIC" +echo " - Zeroplus Logic Cube............. $LA_ZEROPLUS_LOGIC_CUBE" echo