Hi All,Thanks for your replies on AC_DEFINE for a macro with arguments. I used an increment function as a simple example but I don't really have a problem with an increment function. My real problem was with the "floorf()" math function, a float version of the double "floor()" function in math.h. This works for me:
[AC_CHECK_DECL(floorf, , AH_TEMPLATE([floorf], [Math function 'floor' for floats]) AC_DEFINE([floorf(x)], [((float) floor((double) (x)))]), [#include <math.h>])] Thanks. --Fred