commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] [gnuradio] 37/148: Fixes usrp2 firmware configure with


From: git
Subject: [Commit-gnuradio] [gnuradio] 37/148: Fixes usrp2 firmware configure with mb-gcc on ubuntu 9.10/autoconf 2.64. Disables the regression test for fopen since stdio is non-functional.
Date: Mon, 15 Aug 2016 00:47:22 +0000 (UTC)

This is an automated email from the git hooks/post-receive script.

nwest pushed a commit to annotated tag old_usrp_devel_udp
in repository gnuradio.

commit fbcf3142a72ac4795b2af35e4fb1b6db0885c98d
Author: Josh Blum <address@hidden>
Date:   Sun Nov 8 09:37:20 2009 -0800

    Fixes usrp2 firmware configure with mb-gcc on ubuntu 9.10/autoconf 2.64.
    Disables the regression test for fopen since stdio is non-functional.
---
 usrp2/firmware/config/grc_usrp2_firmware.m4 | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/usrp2/firmware/config/grc_usrp2_firmware.m4 
b/usrp2/firmware/config/grc_usrp2_firmware.m4
index 7f1f9a7..53ff03c 100644
--- a/usrp2/firmware/config/grc_usrp2_firmware.m4
+++ b/usrp2/firmware/config/grc_usrp2_firmware.m4
@@ -17,6 +17,12 @@ dnl along with GNU Radio; see the file COPYING.  If not, 
write to
 dnl the Free Software Foundation, Inc., 51 Franklin Street,
 dnl Boston, MA 02110-1301, USA.
 
+dnl Fix 2.64 cross compile detection for AVR and RTEMS
+dnl by not trying to compile fopen.
+m4_if(m4_defn([m4_PACKAGE_VERSION]), [2.64],
+  [m4_foreach([_GCC_LANG], [C, C++, Fortran, Fortran 77],
+     [m4_define([_AC_LANG_IO_PROGRAM(]_GCC_LANG[)], 
m4_defn([AC_LANG_PROGRAM(]_GCC_LANG[)]))])]) 
+
 AC_DEFUN([GRC_USRP2_FIRMWARE],[
     dnl we use  --enable-usrp2-firmware to enable this
     GRC_ENABLE(usrp2-firmware)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]