2023-10-05 Paul Eggert <eggert@cs.ucla.edu>
+ isnan: slightly simplify configuration
+ * m4/isnand.m4 (gl_FUNC_ISNAND):
+ * m4/isnanf.m4 (gl_FUNC_ISNANF):
+ * m4/isnanl.m4 (gl_FUNC_ISNANL):
+ Slightly simplify shell ‘if’. This should simplify future changes.
+
totalorder: speed up configuration
* m4/totalorder.m4 (gl_FUNC_TOTALORDERF, gl_FUNC_TOTALORDER)
(gl_FUNC_TOTALORDERL): Avoid unnecessary call to AC_SEARCH_LIBS,
-# isnand.m4 serial 12
+# isnand.m4 serial 13
dnl Copyright (C) 2007-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
fi
fi
dnl The variable gl_func_isnand set here is used by isnan.m4.
- if test $gl_cv_func_isnand_no_libm = yes \
- || test $gl_cv_func_isnand_in_libm = yes; then
+ if test $gl_cv_func_isnand_no_libm = yes || test "$ISNAND_LIBM"; then
gl_func_isnand=yes
else
gl_func_isnand=no
-# isnanf.m4 serial 19
+# isnanf.m4 serial 20
dnl Copyright (C) 2007-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
fi
fi
dnl The variable gl_func_isnanf set here is used by isnan.m4.
- if test $gl_cv_func_isnanf_no_libm = yes \
- || test $gl_cv_func_isnanf_in_libm = yes; then
+ if test $gl_cv_func_isnanf_no_libm = yes || test "$ISNANF_LIBM"; then
save_LIBS="$LIBS"
LIBS="$LIBS $ISNANF_LIBM"
gl_ISNANF_WORKS
-# isnanl.m4 serial 23
+# isnanl.m4 serial 24
dnl Copyright (C) 2007-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
fi
fi
dnl The variable gl_func_isnanl set here is used by isnan.m4.
- if test $gl_cv_func_isnanl_no_libm = yes \
- || test $gl_cv_func_isnanl_in_libm = yes; then
+ if test $gl_cv_func_isnanl_no_libm = yes || test "$ISNANL_LIBM"; then
save_LIBS="$LIBS"
LIBS="$LIBS $ISNANL_LIBM"
gl_FUNC_ISNANL_WORKS