From f29fb7f0c90f5bd49edc591bca993fff2a822229 Mon Sep 17 00:00:00 2001 From: Peter Breitenlohner Date: Tue, 10 Mar 2015 12:09:57 +0000 Subject: Build system: Drop checks for strcasecmp(), strstr(), and strtol() git-svn-id: svn://tug.org/texlive/trunk@36474 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/libs/mpfr/ChangeLog | 5 +++++ Build/source/libs/mpfr/config.h.in | 9 --------- Build/source/libs/mpfr/configure | 13 ------------- Build/source/libs/mpfr/m4/mpfr-configs.m4 | 8 +------- 4 files changed, 6 insertions(+), 29 deletions(-) (limited to 'Build/source/libs/mpfr') 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 + + * m4/mpfr-configs.m4: Drop useless checks for memmove, memset, + and strtol. + 2015-02-16 Peter Breitenlohner * 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 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 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 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 +# Copyright (C) 2014, 2015 Peter Breitenlohner # 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*-*-*], [ -- cgit v1.2.3