summaryrefslogtreecommitdiff
path: root/modules/fmodl
diff options
context:
space:
mode:
Diffstat (limited to 'modules/fmodl')
-rw-r--r--modules/fmodl8
1 files changed, 5 insertions, 3 deletions
diff --git a/modules/fmodl b/modules/fmodl
index f1ac6f8881..8425394e5f 100644
--- a/modules/fmodl
+++ b/modules/fmodl
@@ -23,12 +23,14 @@ isinf [{ test $HAVE_FMODL = 0 || test $REPLACE_FMODL = 1; } && test $H
configure.ac:
gl_FUNC_FMODL
-if test $HAVE_FMODL = 0 || test $REPLACE_FMODL = 1; then
- AC_LIBOBJ([fmodl])
-fi
+gl_CONDITIONAL([GL_COND_OBJ_FMODL],
+ [test $HAVE_FMODL = 0 || test $REPLACE_FMODL = 1])
gl_MATH_MODULE_INDICATOR([fmodl])
Makefile.am:
+if GL_COND_OBJ_FMODL
+lib_SOURCES += fmodl.c
+endif
Include:
<math.h>