Bug 676087-configure.ac: isnan() and isinf() are macros, not functions
The isnan() and isinf() are C99 macros not functions so use AC_CHECK_DECL instead of AC_CHECK_FUNCS for those.
This commit is contained in:
		 Natanael Copa
					Natanael Copa
				
			
				
					committed by
					
						 Matthias Clasen
						Matthias Clasen
					
				
			
			
				
	
			
			
			 Matthias Clasen
						Matthias Clasen
					
				
			
						parent
						
							276dae8ae6
						
					
				
				
					commit
					d6aee922bb
				
			| @ -19,7 +19,7 @@ | ||||
|  | ||||
| #include <float.h> | ||||
|  | ||||
| #ifndef HAVE_ISNAN | ||||
| #ifndef HAVE_DECL_ISNAN | ||||
| /* it seems of the supported compilers only | ||||
|  * MSVC does not have isnan(), but it does | ||||
|  * have _isnan() which does the same as isnan() | ||||
| @ -31,7 +31,7 @@ isnan (double x) | ||||
| } | ||||
| #endif | ||||
|  | ||||
| #ifndef HAVE_ISINF | ||||
| #ifndef HAVE_DECL_ISINF | ||||
| /* Unfortunately MSVC does not have finite() | ||||
|  * but it does have _finite() which is the same | ||||
|  * as finite() except when x is a NaN | ||||
|  | ||||
		Reference in New Issue
	
	Block a user