Imported Upstream version 3.0.4
[debian/gnuradio] / config / lf_cxx.m4
index c2b3cd5399ccf31056e402a3860240ede81aa545..c581c9b0be908dc8a17d2e6a7dd6ddb4fc03efc7 100644 (file)
@@ -3,7 +3,7 @@ dnl Copyright (C) 1988 Eleftherios Gkioulekas <lf@amath.washington.edu>
 dnl  
 dnl This program is free software; you can redistribute it and/or modify
 dnl it under the terms of the GNU General Public License as published by
-dnl the Free Software Foundation; either version 2 of the License, or
+dnl the Free Software Foundation; either version 3 of the License, or
 dnl (at your option) any later version.
 dnl 
 dnl This program is distributed in the hope that it will be useful,
@@ -85,7 +85,7 @@ AC_DEFUN([LF_CXX_PORTABILITY],[
 
   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]) ],