summaryrefslogtreecommitdiff
path: root/Build/source/libs/mpfr
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2015-03-10 12:09:57 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2015-03-10 12:09:57 +0000
commitf29fb7f0c90f5bd49edc591bca993fff2a822229 (patch)
tree8a5bf65befab636f3362ead9afebac3096411962 /Build/source/libs/mpfr
parent970d1dcb0d73b9f189a2819d45e30920b96a21d6 (diff)
Build system: Drop checks for strcasecmp(), strstr(), and strtol()
git-svn-id: svn://tug.org/texlive/trunk@36474 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/mpfr')
-rw-r--r--Build/source/libs/mpfr/ChangeLog5
-rw-r--r--Build/source/libs/mpfr/config.h.in9
-rwxr-xr-xBuild/source/libs/mpfr/configure13
-rw-r--r--Build/source/libs/mpfr/m4/mpfr-configs.m48
4 files changed, 6 insertions, 29 deletions
diff --git a/Build/source/libs/mpfr/ChangeLog b/Build/source/libs/mpfr/ChangeLog
index deb9dbeccbb..2cc42249082 100644
--- a/Build/source/libs/mpfr/ChangeLog
+++ b/Build/source/libs/mpfr/ChangeLog
@@ -1,3 +1,8 @@
+2015-03-10 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * m4/mpfr-configs.m4: Drop useless checks for memmove, memset,
+ and strtol.
+
2015-02-16 Peter Breitenlohner <peb@mppmu.mpg.de>
* Makefile.am: Use the fragment ../../am/dist_hook.am.
diff --git a/Build/source/libs/mpfr/config.h.in b/Build/source/libs/mpfr/config.h.in
index 6cb4b246591..71f81eceba8 100644
--- a/Build/source/libs/mpfr/config.h.in
+++ b/Build/source/libs/mpfr/config.h.in
@@ -37,15 +37,9 @@
/* Define if compiler supports long long */
#undef HAVE_LONG_LONG
-/* Define to 1 if you have the `memmove' function. */
-#undef HAVE_MEMMOVE
-
/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H
-/* Define to 1 if you have the `memset' function. */
-#undef HAVE_MEMSET
-
/* Define if stdarg */
#undef HAVE_STDARG
@@ -61,9 +55,6 @@
/* Define to 1 if you have the <string.h> header file. */
#undef HAVE_STRING_H
-/* Define to 1 if you have the `strtol' function. */
-#undef HAVE_STRTOL
-
/* Define to 1 if you have the <sys/stat.h> header file. */
#undef HAVE_SYS_STAT_H
diff --git a/Build/source/libs/mpfr/configure b/Build/source/libs/mpfr/configure
index 45a9bb5c850..57483f9956c 100755
--- a/Build/source/libs/mpfr/configure
+++ b/Build/source/libs/mpfr/configure
@@ -5754,19 +5754,6 @@ fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
-for ac_func in memmove memset strtol
-do :
- as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
- cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
-_ACEOF
-
-fi
-done
-
-
case $host in #(
alpha*-*-*) :
diff --git a/Build/source/libs/mpfr/m4/mpfr-configs.m4 b/Build/source/libs/mpfr/m4/mpfr-configs.m4
index 680cf953c4f..d4c8373a05e 100644
--- a/Build/source/libs/mpfr/m4/mpfr-configs.m4
+++ b/Build/source/libs/mpfr/m4/mpfr-configs.m4
@@ -2,7 +2,7 @@
# Copyright (C) 2000-2013 Free Software Foundation, Inc.
# Contributed by the AriC and Caramel projects, INRIA.
#
-# Copyright (C) 2014 Peter Breitenlohner <tex-live@tug.org>
+# Copyright (C) 2014, 2015 Peter Breitenlohner <tex-live@tug.org>
# Extracted from mpfr-3.1.2/acinclude.m4 and adapted for TeX Live.
#
# This file is free software; the copyright holders
@@ -53,12 +53,6 @@ AC_LINK_IFELSE([AC_LANG_PROGRAM([[
AC_MSG_RESULT([__va_copy])],
[AC_MSG_RESULT([memcpy])])])
-dnl FIXME: The functions memmove, memset and strtol are really needed by
-dnl MPFR, but if they are implemented as macros, this is also OK (in our
-dnl case). So, we do not return an error, but their tests are currently
-dnl useless.
-AC_CHECK_FUNCS([memmove memset strtol])
-
dnl Check for IEEE-754 switches on Alpha
AS_CASE([$host],
[alpha*-*-*], [