check for lrint and lrintf - a new header in gst/floatcast/floatcast.h will check...
authorSteve Baker <steve@stevebaker.org>
Thu, 25 Apr 2002 19:43:31 +0000 (19:43 +0000)
committerSteve Baker <steve@stevebaker.org>
Thu, 25 Apr 2002 19:43:31 +0000 (19:43 +0000)
Original commit message from CVS:
check for lrint and lrintf - a new header in gst/floatcast/floatcast.h will check for this and provide alternatives if necessary

configure.ac

index 99d8e14..ffd2f7a 100644 (file)
@@ -612,6 +612,10 @@ main() { atomic_t t; atomic_set(&t,0); atomic_inc(&t); atomic_add(1,&t);return 0
   ])
 fi
 
+dnl Check for fast float to int casting as defined in C99
+AC_C99_FUNC_LRINT()
+AC_C99_FUNC_LRINTF()
+
 dnl ######################################################################
 dnl # Check command line parameters, and set shell variables accordingly #
 dnl ######################################################################