diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 0a64dee..0e35e36 100644 --- a/configure.ac +++ b/configure.ac @@ -97,8 +97,11 @@ AS_IF([test "x$with_usrp1" = "xyes"], [ ]) AS_IF([test "x$with_usrp1" != "xyes"],[ - PKG_CHECK_MODULES(UHD, uhd >= 003.004.000) - AC_DEFINE(USE_UHD, 1, Define to 1 if using UHD) + PKG_CHECK_MODULES(UHD, uhd >= 003.009, + [AC_DEFINE(USE_UHD_3_9, 1, UHD version 3.9.0 or higher)], + [PKG_CHECK_MODULES(UHD, uhd >= 003.004.000)] + ) + AC_DEFINE(USE_UHD, 1, All UHD versions) ]) AS_IF([test "x$with_singledb" = "xyes"], [ |