X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=configure.ac;h=5d76c16f6221d5ebadec6481985dc7f521c515c6;hb=958326f8c685667239127a59ef883e7bceb63ac0;hp=b76110fe5f6d13223deea4ec3af06641ca2a9874;hpb=99af83b7380ef7d8d48e15616b8910062890e7d3;p=libsigrok.git diff --git a/configure.ac b/configure.ac index b76110fe..5d76c16f 100644 --- a/configure.ac +++ b/configure.ac @@ -629,13 +629,16 @@ echo # Note: This only works for libs with pkg-config integration. for lib in "glib-2.0 >= 2.32.0" "libzip >= 0.10" "libserialport >= 0.1.0" "librevisa >= 0.0.20130812" "libusb-1.0 >= 1.0.16" "libftdi >= 0.16" "libudev >= 151" "alsa >= 1.0" "check >= 0.9.4"; do + optional="OPTIONAL" + if test "x$lib" = "xglib-2.0 >= 2.32.0"; then optional="REQUIRED"; fi + if test "x$lib" = "xlibzip >= 0.10"; then optional="REQUIRED"; fi if `$PKG_CONFIG --exists $lib`; then ver=`$PKG_CONFIG --modversion $lib` answer="yes ($ver)" else answer="no" fi - echo " - $lib: $answer" + echo " - ($optional) $lib: $answer" done echo -e "\nEnabled hardware drivers:\n"