diff options
Diffstat (limited to 'modules/roundl')
-rw-r--r-- | modules/roundl | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/modules/roundl b/modules/roundl index 22486ab779..87cd4ff34d 100644 --- a/modules/roundl +++ b/modules/roundl @@ -17,12 +17,14 @@ float [{ test $HAVE_ROUNDL = 0 || test $REPLACE_ROUNDL = 1; } && test configure.ac: gl_FUNC_ROUNDL -if test $HAVE_ROUNDL = 0 || test $REPLACE_ROUNDL = 1; then - AC_LIBOBJ([roundl]) -fi +gl_CONDITIONAL([GL_COND_OBJ_ROUNDL], + [test $HAVE_ROUNDL = 0 || test $REPLACE_ROUNDL = 1]) gl_MATH_MODULE_INDICATOR([roundl]) Makefile.am: +if GL_COND_OBJ_ROUNDL +lib_SOURCES += roundl.c +endif Include: <math.h> |