summaryrefslogtreecommitdiff
path: root/modules/modfl
diff options
context:
space:
mode:
Diffstat (limited to 'modules/modfl')
-rw-r--r--modules/modfl8
1 files changed, 5 insertions, 3 deletions
diff --git a/modules/modfl b/modules/modfl
index 20717f4ecd..3f33c87bfb 100644
--- a/modules/modfl
+++ b/modules/modfl
@@ -16,12 +16,14 @@ isinf [{ test $HAVE_MODFL = 0 || test $REPLACE_MODFL = 1; } && test $H
configure.ac:
gl_FUNC_MODFL
-if test $HAVE_MODFL = 0 || test $REPLACE_MODFL = 1; then
- AC_LIBOBJ([modfl])
-fi
+gl_CONDITIONAL([GL_COND_OBJ_MODFL],
+ [test $HAVE_MODFL = 0 || test $REPLACE_MODFL = 1])
gl_MATH_MODULE_INDICATOR([modfl])
Makefile.am:
+if GL_COND_OBJ_MODFL
+lib_SOURCES += modfl.c
+endif
Include:
<math.h>