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/texk/afm2pl/c-auto.in | 9 --------- Build/source/texk/afm2pl/configure | 9 ++++----- 2 files changed, 4 insertions(+), 14 deletions(-) (limited to 'Build/source/texk/afm2pl') diff --git a/Build/source/texk/afm2pl/c-auto.in b/Build/source/texk/afm2pl/c-auto.in index 0d82468093d..10ccac6b77f 100644 --- a/Build/source/texk/afm2pl/c-auto.in +++ b/Build/source/texk/afm2pl/c-auto.in @@ -61,9 +61,6 @@ /* Define to 1 if you have the header file. */ #undef HAVE_STDLIB_H -/* Define to 1 if you have the `strcasecmp' function. */ -#undef HAVE_STRCASECMP - /* Define to 1 if you have the `strchr' function. */ #undef HAVE_STRCHR @@ -76,12 +73,6 @@ /* Define to 1 if you have the `strrchr' function. */ #undef HAVE_STRRCHR -/* Define to 1 if you have the `strstr' function. */ -#undef HAVE_STRSTR - -/* Define to 1 if you have the `strtol' function. */ -#undef HAVE_STRTOL - /* Define to 1 if `st_mtim' is a member of `struct stat'. */ #undef HAVE_STRUCT_STAT_ST_MTIM diff --git a/Build/source/texk/afm2pl/configure b/Build/source/texk/afm2pl/configure index e91da09b62f..df644e834ea 100755 --- a/Build/source/texk/afm2pl/configure +++ b/Build/source/texk/afm2pl/configure @@ -13208,13 +13208,12 @@ fi done -for ac_func in putenv strcasecmp strtol strstr +for ac_func in putenv 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 : + ac_fn_c_check_func "$LINENO" "putenv" "ac_cv_func_putenv" +if test "x$ac_cv_func_putenv" = xyes; then : cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +#define HAVE_PUTENV 1 _ACEOF fi -- cgit v1.2.3