-isnand [test $HAVE_EXPM1 = 0]
-exp [test $HAVE_EXPM1 = 0]
-round [test $HAVE_EXPM1 = 0]
-ldexp [test $HAVE_EXPM1 = 0]
+isnand [test $HAVE_EXPM1 = 0 || test $REPLACE_EXPM1 = 1]
+exp [test $HAVE_EXPM1 = 0 || test $REPLACE_EXPM1 = 1]
+round [test $HAVE_EXPM1 = 0 || test $REPLACE_EXPM1 = 1]
+ldexp [test $HAVE_EXPM1 = 0 || test $REPLACE_EXPM1 = 1]