summaryrefslogtreecommitdiff
path: root/modules/tanf
diff options
context:
space:
mode:
Diffstat (limited to 'modules/tanf')
-rw-r--r--modules/tanf7
1 files changed, 4 insertions, 3 deletions
diff --git a/modules/tanf b/modules/tanf
index b2724957d4..64b4cbcc72 100644
--- a/modules/tanf
+++ b/modules/tanf
@@ -12,12 +12,13 @@ tan [test $HAVE_TANF = 0]
configure.ac:
gl_FUNC_TANF
-if test $HAVE_TANF = 0; then
- AC_LIBOBJ([tanf])
-fi
+gl_CONDITIONAL([GL_COND_OBJ_TANF], [test $HAVE_TANF = 0])
gl_MATH_MODULE_INDICATOR([tanf])
Makefile.am:
+if GL_COND_OBJ_TANF
+lib_SOURCES += tanf.c
+endif
Include:
<math.h>