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/chktex/ChangeLog | 4 ++++ Build/source/texk/chktex/config.h.in | 6 ------ Build/source/texk/chktex/configure | 11 +++++------ Build/source/texk/chktex/configure.ac | 2 +- 4 files changed, 10 insertions(+), 13 deletions(-) (limited to 'Build/source/texk/chktex') diff --git a/Build/source/texk/chktex/ChangeLog b/Build/source/texk/chktex/ChangeLog index 6670e780339..2008d557d80 100644 --- a/Build/source/texk/chktex/ChangeLog +++ b/Build/source/texk/chktex/ChangeLog @@ -1,3 +1,7 @@ +2015-03-10 Peter Breitenlohner + + * configure.ac: Drop check for strtol. + 2015-02-16 Peter Breitenlohner * Makefile.am: Use the fragment ../../am/dist_hook.am. diff --git a/Build/source/texk/chktex/config.h.in b/Build/source/texk/chktex/config.h.in index a58618b653c..94e6d1770e6 100644 --- a/Build/source/texk/chktex/config.h.in +++ b/Build/source/texk/chktex/config.h.in @@ -122,12 +122,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/chktex/configure b/Build/source/texk/chktex/configure index 11bc6811438..c1f033de9c5 100755 --- a/Build/source/texk/chktex/configure +++ b/Build/source/texk/chktex/configure @@ -13263,13 +13263,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 @@ -13498,7 +13497,7 @@ fi done -for ac_func in access closedir fileno isatty opendir readdir stat strcasecmp strdup strlwr strtol +for ac_func in access closedir fileno isatty opendir readdir stat strcasecmp strdup strlwr 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" diff --git a/Build/source/texk/chktex/configure.ac b/Build/source/texk/chktex/configure.ac index 3a451513d40..85134e8eb36 100644 --- a/Build/source/texk/chktex/configure.ac +++ b/Build/source/texk/chktex/configure.ac @@ -29,7 +29,7 @@ AC_CHECK_HEADERS([stat.h stdarg.h sys/stat.h]) dnl Checks for library functions. AC_FUNC_VPRINTF -AC_CHECK_FUNCS([access closedir fileno isatty opendir readdir stat strcasecmp strdup strlwr strtol]) +AC_CHECK_FUNCS([access closedir fileno isatty opendir readdir stat strcasecmp strdup strlwr]) dnl Checks for declarations. AC_CHECK_DECLS([stpcpy]) -- cgit v1.2.3