Revision 202d13ad config/grc_usrp2.m4
| b/config/grc_usrp2.m4 | ||
|---|---|---|
| 25 | 25 |
GRC_CHECK_DEPENDENCY(usrp2, omnithread) |
| 26 | 26 |
|
| 27 | 27 |
dnl USRP2 host code only works on Linux at the moment |
| 28 |
AC_MSG_CHECKING([whether host_cpu is linux*])
|
|
| 28 |
AC_MSG_CHECKING([whether host_os is linux*])
|
|
| 29 | 29 |
case "$host_os" in |
| 30 | 30 |
linux*) |
| 31 |
AC_MSG_RESULT("yes")
|
|
| 31 |
AC_MSG_RESULT([yes])
|
|
| 32 | 32 |
;; |
| 33 | 33 |
*) |
| 34 |
AC_MSG_RESULT("no")
|
|
| 35 |
echo "USRP2 requires Linux host OS, not found"
|
|
| 34 |
AC_MSG_RESULT([no])
|
|
| 35 |
AC_MSG_NOTICE([USRP2 currently requires Linux host OS, not found])
|
|
| 36 | 36 |
passed="no" |
| 37 | 37 |
;; |
| 38 | 38 |
esac |
| ... | ... | |
| 47 | 47 |
if test $MB_GCC = yes; then |
| 48 | 48 |
dnl Adds usrp2/firmware to $(subdirs), hierarchical build |
| 49 | 49 |
AC_CONFIG_SUBDIRS([usrp2/firmware]) |
| 50 |
else |
|
| 51 |
AC_MSG_WARN([usrp2/firmware is not being built]) |
|
| 50 | 52 |
fi |
| 53 |
AM_CONDITIONAL([BUILDING_USRP2_FIRMWARE],[test $MB_GCC = yes]) |
|
| 51 | 54 |
|
| 52 | 55 |
dnl Needed for usrp2_socket_opener |
| 53 | 56 |
AC_CHECK_HEADERS(arpa/inet.h byteswap.h linux/if_packet.h sys/socket.h sys/un.h) |
Also available in: Unified diff