commit-gnuradio
[Top][All Lists]
Advanced

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

[Commit-gnuradio] r4425 - gnuradio/trunk/gr-howto-write-a-block/config


From: jcorgan
Subject: [Commit-gnuradio] r4425 - gnuradio/trunk/gr-howto-write-a-block/config
Date: Wed, 7 Feb 2007 14:10:37 -0700 (MST)

Author: jcorgan
Date: 2007-02-07 14:10:37 -0700 (Wed, 07 Feb 2007)
New Revision: 4425

Modified:
   gnuradio/trunk/gr-howto-write-a-block/config/lf_cxx.m4
Log:
Implemented fix for ticket:117 for gr-howto-write-a-block.

Modified: gnuradio/trunk/gr-howto-write-a-block/config/lf_cxx.m4
===================================================================
--- gnuradio/trunk/gr-howto-write-a-block/config/lf_cxx.m4      2007-02-07 
21:04:35 UTC (rev 4424)
+++ gnuradio/trunk/gr-howto-write-a-block/config/lf_cxx.m4      2007-02-07 
21:10:37 UTC (rev 4425)
@@ -85,7 +85,7 @@
 
   dnl Test whether C++ has std::isnan
   AC_MSG_CHECKING(whether C++ has std::isnan)
-  AC_TRY_COMPILE([#include <math.h>], [
+  AC_TRY_COMPILE([#include <cmath>], [
    std::isnan(0);
 ], [ AC_MSG_RESULT(yes)
        AC_DEFINE(CXX_HAS_STD_ISNAN,[],[Define if has std::isnan]) ],





reply via email to

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