[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Patch-gnuradio] [PATCH] Add --disable-usrp2-build option to configure.
From: |
philip |
Subject: |
[Patch-gnuradio] [PATCH] Add --disable-usrp2-build option to configure. |
Date: |
Wed, 16 Sep 2009 15:22:17 -0400 |
From: Philip Balister <address@hidden>
---
configure.ac | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index 2bb3793..a0db719 100644
--- a/configure.ac
+++ b/configure.ac
@@ -322,6 +322,10 @@ dnl For each --enable-foo component, if that flag is not
specified on
dnl the command line, the related variable $enable_foo will be set to
dnl $enable_all_components .
+AC_ARG_ENABLE([usrp2-build],
+ [AS_HELP_STRING([--enable-usrp2-build],
+ [Do not try to run usrp2 autoconf])])
+
AC_ARG_ENABLE(
[all-components],
[ --enable-all-components Build all configurable components (default), or
stop on failed dependencies]
@@ -334,10 +338,10 @@ GRC_GCELL
GRC_GNURADIO_CORE
GRC_MBLOCK dnl this must come after GRC_GRUEL
GRC_USRP
-GRC_USRP2
+AS_IF([test "x$enable_usrp2_build" != "xno"], [GRC_USRP2])
GRC_VRT
GRC_GR_USRP dnl this must come after GRC_USRP
-GRC_GR_USRP2
+AS_IF([test "x$enable_usrp2_build" != "xno"], [GRC_GR_USRP2])
GRC_GR_VRT
GRC_GR_GCELL dnl this must come after GRC_GCELL and
GRC_GNURADIO_CORE
GRC_GR_MSDD6000
--
1.6.2.5