summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorNeil Roberts <neil@linux.intel.com>2011-05-06 17:21:30 +0100
committerNeil Roberts <neil@linux.intel.com>2011-05-06 17:48:24 +0100
commit3919f3e97eca078e6bdbbeb1e45886de161d839e (patch)
tree0f90ac9b7c3cafd1400929064266e9fca52d69b6 /configure.ac
parent0d5b38c8bfdd80f72a251ddfc9ffdf8899eb8c57 (diff)
downloadcogl-3919f3e97eca078e6bdbbeb1e45886de161d839e.tar.gz
configure.ac: Add the check for the ffs function
When Cogl was sharing Clutter's configure script, it had a check for the ffs function of libc so that it can provide a fallback if it is not available. This fallback was missed in the split out so Cogl would end up always using the fallback.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 5c424e44..d6bb438e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -688,6 +688,9 @@ dnl ================================================================
dnl Checks for library functions.
dnl ================================================================
+dnl The 'ffs' function is part of C99 so it isn't always
+dnl available. Cogl has a fallback if needed.
+AC_CHECK_FUNCS([ffs])
dnl ================================================================
dnl What needs to be substituted in other files