maint.mk: restore functionality removed by recent change
[gnulib.git] / modules / copysignl
index 048a815..4691cdb 100644 (file)
@@ -8,7 +8,9 @@ m4/mathfunc.m4
 
 Depends-on:
 math
-signbit         [test $HAVE_COPYSIGNL = 0]
+extensions
+copysign        [test $HAVE_COPYSIGNL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1]
+signbit         [test $HAVE_COPYSIGNL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
 
 configure.ac:
 gl_FUNC_COPYSIGNL