diff liboctave/numeric/lo-specfun.cc @ 15852:cd115ec92248

build: Check that system has math defines such as M_PI. * configure.ac: Check for math defines such as M_PI. Fail to build if no defines can be found. * liboctave/numeric/lo-specfun.cc: Use M_PI from math.h now that build system has verified that it is present.
author Rik <rik@octave.org>
date Wed, 26 Dec 2012 12:56:38 -0800
parents 2fac72a256ce
children 578805a293e5
line wrap: on
line diff
--- a/liboctave/numeric/lo-specfun.cc	Wed Dec 26 11:25:12 2012 -0800
+++ b/liboctave/numeric/lo-specfun.cc	Wed Dec 26 12:56:38 2012 -0800
@@ -46,10 +46,6 @@
 #include "mx-inlines.cc"
 #include "lo-mappers.h"
 
-#ifndef M_PI
-#define M_PI 3.14159265358979323846
-#endif
-
 #include "Faddeeva.hh"
 
 extern "C"