+2020-07-26 Paul Eggert <eggert@cs.ucla.edu>
+
+ libgmp: remove HAVE_GMP, LIB_GMP
+ * m4/libgmp.m4 (gl_LIBGMP): Do not define HAVE_GMP and LIB_GMP, as
+ they’re redundant. I’ll adjust GNU Coreutils accordingly.
+
2020-07-26 Bruno Haible <bruno@clisp.org>
inttypes: Remove support for AIX 4.
-# libgmp.m4 serial 2
+# libgmp.m4 serial 3
# Configure the GMP library or a replacement.
dnl Copyright 2020 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gl_LIBGMP
dnl Searches for an installed libgmp.
dnl If found, it sets and AC_SUBSTs HAVE_LIBGMP=yes and the LIBGMP and LTLIBGMP
-dnl variables, and augments the CPPFLAGS variable, and #defines HAVE_LIBGMP
-dnl and HAVE_GMP to 1.
+dnl variables, and augments the CPPFLAGS variable, and #defines HAVE_LIBGMP.
dnl Otherwise, it sets and AC_SUBSTs HAVE_LIBGMP=no and LIBGMP and LTLIBGMP to
dnl empty.
esac
if test $HAVE_LIBGMP = yes; then
GMP_H=
- dnl This is redundant, as HAVE_LIBGMP is also defined to 1.
- AC_DEFINE([HAVE_GMP], [1],
- [Define to 1 if you have the GMP library instead of just the
- mini-gmp replacement.])
else
GMP_H=gmp.h
fi
AC_SUBST([GMP_H])
AM_CONDITIONAL([GL_GENERATE_GMP_H], [test -n "$GMP_H"])
-
- dnl For backward compatibility.
- LIB_GMP="$LIBGMP"
- AC_SUBST([LIB_GMP])
])