diff options
Diffstat (limited to 'modules/fmaf')
-rw-r--r-- | modules/fmaf | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/modules/fmaf b/modules/fmaf index cbfea61b58..53fe229c10 100644 --- a/modules/fmaf +++ b/modules/fmaf @@ -22,13 +22,17 @@ ldexpf [test $HAVE_FMAF = 0 || test $REPLACE_FMAF = 1] configure.ac: gl_FUNC_FMAF -if test $HAVE_FMAF = 0 || test $REPLACE_FMAF = 1; then - AC_LIBOBJ([fmaf]) +gl_CONDITIONAL([GL_COND_OBJ_FMAF], + [test $HAVE_FMAF = 0 || test $REPLACE_FMAF = 1]) +AM_COND_IF([GL_COND_OBJ_FMAF], [ gl_PREREQ_FMAF -fi +]) gl_MATH_MODULE_INDICATOR([fmaf]) Makefile.am: +if GL_COND_OBJ_FMAF +lib_SOURCES += fmaf.c +endif Include: <math.h> |