summaryrefslogtreecommitdiff
path: root/modules/logl
diff options
context:
space:
mode:
Diffstat (limited to 'modules/logl')
-rw-r--r--modules/logl8
1 files changed, 5 insertions, 3 deletions
diff --git a/modules/logl b/modules/logl
index 450b039ed8..2933c4e455 100644
--- a/modules/logl
+++ b/modules/logl
@@ -15,12 +15,14 @@ floorl [{ test $HAVE_LOGL = 0 || test $REPLACE_LOGL = 1; } && test $HAV
configure.ac:
gl_FUNC_LOGL
-if test $HAVE_LOGL = 0 || test $REPLACE_LOGL = 1; then
- AC_LIBOBJ([logl])
-fi
+gl_CONDITIONAL([GL_COND_OBJ_LOGL],
+ [test $HAVE_LOGL = 0 || test $REPLACE_LOGL = 1])
gl_MATH_MODULE_INDICATOR([logl])
Makefile.am:
+if GL_COND_OBJ_LOGL
+lib_SOURCES += logl.c
+endif
Include:
<math.h>