summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/grc_gr_uhd.m44
1 files changed, 1 insertions, 3 deletions
diff --git a/config/grc_gr_uhd.m4 b/config/grc_gr_uhd.m4
index 870a8abc6..090187c04 100644
--- a/config/grc_gr_uhd.m4
+++ b/config/grc_gr_uhd.m4
@@ -24,9 +24,7 @@ AC_DEFUN([GRC_GR_UHD],[
GRC_CHECK_DEPENDENCY(gr-uhd, gnuradio-core)
if test $passed = yes; then
- #by default, cmake likes to install the uhd.pc file here
- #so lets make life easier for everybody and add this path
- export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig
+ dnl Don't do gr-uhd if the 'uhd' package is not installed
PKG_CHECK_MODULES(
[UHD], [uhd], [],
[passed=no; AC_MSG_RESULT([gr-uhd requires libuhd])]