From: Uwe Hermann Date: Wed, 16 Jan 2013 00:31:46 +0000 (+0100) Subject: configure.ac: Drop gthread check, no longer used. X-Git-Tag: dsupstream~349 X-Git-Url: https://sigrok.org/gitweb/?p=libsigrok.git;a=commitdiff_plain;h=262dd3e47da1af2233ffd659cda81769f53b4012 configure.ac: Drop gthread check, no longer used. We no longer use gthread (its only user was the 'demo' driver), so drop the 'configure' check for it. The libsigrok.pc pkg-config file is still correct, since the 'configure' result propagates there automatically. --- diff --git a/configure.ac b/configure.ac index 7eca9cf7..356debf4 100644 --- a/configure.ac +++ b/configure.ac @@ -266,11 +266,6 @@ SR_PKGLIBS="" AM_PATH_GLIB_2_0([2.28.0], [CFLAGS="$CFLAGS $GLIB_CFLAGS"; LIBS="$LIBS $GLIB_LIBS"]) -# libgthread-2.0 is always needed (e.g. for the demo hardware driver). -PKG_CHECK_MODULES([gthread], [gthread-2.0 >= 2.22.0], - [CFLAGS="$CFLAGS $gthread_CFLAGS"; LIBS="$LIBS $gthread_LIBS"; - SR_PKGLIBS="$SR_PKGLIBS gthread-2.0"]) - # libusb-1.0 is only needed for some hardware drivers. if test "x$LA_ASIX_SIGMA" != xno \ -o "x$LA_CHRONOVU_LA8" != xno \ @@ -419,7 +414,7 @@ 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" "libftdi" "libudev" "alsa"; do +for lib in "glib-2.0" "libusb-1.0" "libzip" "libftdi" "libudev" "alsa"; do if `$PKG_CONFIG --exists $lib`; then ver=`$PKG_CONFIG --modversion $lib` answer="yes ($ver)"