summaryrefslogtreecommitdiff
path: root/config/grc_usrp2.m4
diff options
context:
space:
mode:
authoreb <eb@221aa14e-8319-0410-a670-987f0aec2ac5>2008-09-08 23:08:46 +0000
committereb <eb@221aa14e-8319-0410-a670-987f0aec2ac5>2008-09-08 23:08:46 +0000
commit202d13adec25b771faa9e20531740c6ff771c444 (patch)
tree3f491b5e7e6ea91f535a624ddc68a3151da481d1 /config/grc_usrp2.m4
parent8282d43f2be31e3dbee12faf48c2bccaccea8323 (diff)
Now passes distcheck with or without microblaze tools on path.
Merged eb/distcheck 9534:9537 into trunk. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9538 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'config/grc_usrp2.m4')
-rw-r--r--config/grc_usrp2.m411
1 files changed, 7 insertions, 4 deletions
diff --git a/config/grc_usrp2.m4 b/config/grc_usrp2.m4
index f842a79a6c..ec88ab3453 100644
--- a/config/grc_usrp2.m4
+++ b/config/grc_usrp2.m4
@@ -25,14 +25,14 @@ AC_DEFUN([GRC_USRP2],[
GRC_CHECK_DEPENDENCY(usrp2, omnithread)
dnl USRP2 host code only works on Linux at the moment
- AC_MSG_CHECKING([whether host_cpu is linux*])
+ AC_MSG_CHECKING([whether host_os is linux*])
case "$host_os" in
linux*)
- AC_MSG_RESULT("yes")
+ AC_MSG_RESULT([yes])
;;
*)
- AC_MSG_RESULT("no")
- echo "USRP2 requires Linux host OS, not found"
+ AC_MSG_RESULT([no])
+ AC_MSG_NOTICE([USRP2 currently requires Linux host OS, not found])
passed="no"
;;
esac
@@ -47,7 +47,10 @@ AC_DEFUN([GRC_USRP2],[
if test $MB_GCC = yes; then
dnl Adds usrp2/firmware to $(subdirs), hierarchical build
AC_CONFIG_SUBDIRS([usrp2/firmware])
+ else
+ AC_MSG_WARN([usrp2/firmware is not being built])
fi
+ AM_CONDITIONAL([BUILDING_USRP2_FIRMWARE],[test $MB_GCC = yes])
dnl Needed for usrp2_socket_opener
AC_CHECK_HEADERS(arpa/inet.h byteswap.h linux/if_packet.h sys/socket.h sys/un.h)