memcpy: Move AC_LIBOBJ invocations to module description.
[pspp] / modules / frexp-nolibm
index 6a909e972f055bd33ed42627f5819242108436bc..6791fe1c4923e6866bf32bb8f3fda69a4caeb67c 100644 (file)
@@ -7,10 +7,13 @@ m4/frexp.m4
 
 Depends-on:
 math
-isnand-nolibm
+isnand-nolibm   [test $gl_func_frexp_no_libm != yes]
 
 configure.ac:
 gl_FUNC_FREXP_NO_LIBM
+if test $gl_func_frexp_no_libm != yes; then
+  AC_LIBOBJ([frexp])
+fi
 gl_MATH_MODULE_INDICATOR([frexp])
 
 Makefile.am: