diff configure.ac @ 734:ff62f5530a36 trunk

[svn] - freebsd portability fixes from "The_Paya". Closes #814.
author nenolod
date Tue, 27 Feb 2007 01:27:06 -0800
parents 1959cac04fb8
children f7a3d66d9911
line wrap: on
line diff
--- a/configure.ac	Mon Feb 26 05:14:22 2007 -0800
+++ b/configure.ac	Tue Feb 27 01:27:06 2007 -0800
@@ -876,7 +876,9 @@
 AC_CHECK_HEADERS(wchar.h)
 AC_CHECK_HEADERS(fts.h)
 
-AC_CHECK_FUNCS([mkdtemp getmntinfo statvfs strtoul lrintf])
+AC_CHECK_DECL([lrintf],[AC_DEFINE(HAVE_LRINTF,1,[Define this if the 'lrintf' function is declared in math.h])],[
+    AC_CHECK_FUNCS([lrintf])])
+AC_CHECK_FUNCS([mkdtemp getmntinfo statvfs strtoul])
 
 
 if test "${ac_cv_header_linux_cdrom_h}" = "yes" || test "${ac_cv_header_sys_cdio_h}" = "yes"