From 3919f3e97eca078e6bdbbeb1e45886de161d839e Mon Sep 17 00:00:00 2001 From: Neil Roberts Date: Fri, 6 May 2011 17:21:30 +0100 Subject: [PATCH] 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. --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 5c424e440..d6bb438ee 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