diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2015-03-10 12:09:57 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2015-03-10 12:09:57 +0000 |
commit | f29fb7f0c90f5bd49edc591bca993fff2a822229 (patch) | |
tree | 8a5bf65befab636f3362ead9afebac3096411962 /Build/source/texk/dvipng | |
parent | 970d1dcb0d73b9f189a2819d45e30920b96a21d6 (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/texk/dvipng')
-rw-r--r-- | Build/source/texk/dvipng/ChangeLog | 4 | ||||
-rw-r--r-- | Build/source/texk/dvipng/config.h.in | 9 | ||||
-rwxr-xr-x | Build/source/texk/dvipng/configure | 11 | ||||
-rw-r--r-- | Build/source/texk/dvipng/configure.ac | 2 |
4 files changed, 10 insertions, 16 deletions
diff --git a/Build/source/texk/dvipng/ChangeLog b/Build/source/texk/dvipng/ChangeLog index d62115ec589..47458732142 100644 --- a/Build/source/texk/dvipng/ChangeLog +++ b/Build/source/texk/dvipng/ChangeLog @@ -1,3 +1,7 @@ +2015-03-10 Peter Breitenlohner <peb@mppmu.mpg.de> + + * configure.ac: Drop checks for strstr and strtol. + 2015-03-07 Peter Breitenlohner <peb@mppmu.mpg.de> * configure.ac: Check for texlive_gs_init(), if Windows. diff --git a/Build/source/texk/dvipng/config.h.in b/Build/source/texk/dvipng/config.h.in index dc860749206..8fe23dbaff4 100644 --- a/Build/source/texk/dvipng/config.h.in +++ b/Build/source/texk/dvipng/config.h.in @@ -148,9 +148,6 @@ /* Define to 1 if you have the <stdlib.h> 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 @@ -163,12 +160,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/dvipng/configure b/Build/source/texk/dvipng/configure index b7f3e7dc63a..e5250169e87 100755 --- a/Build/source/texk/dvipng/configure +++ b/Build/source/texk/dvipng/configure @@ -13271,13 +13271,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 @@ -14483,7 +14482,7 @@ fi done -for ac_func in dup2 memset munmap pow putenv strchr strrchr strtol strstr +for ac_func in dup2 memset munmap pow putenv strchr strrchr 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/dvipng/configure.ac b/Build/source/texk/dvipng/configure.ac index a951c47be47..fc52f4f8dd3 100644 --- a/Build/source/texk/dvipng/configure.ac +++ b/Build/source/texk/dvipng/configure.ac @@ -70,7 +70,7 @@ AC_TYPE_PID_T AC_FUNC_MMAP AC_FUNC_STRTOD AC_FUNC_VPRINTF -AC_CHECK_FUNCS([dup2 memset munmap pow putenv strchr strrchr strtol strstr]) +AC_CHECK_FUNCS([dup2 memset munmap pow putenv strchr strrchr]) if test "x$enable_timing" = xyes; then AC_CHECK_FUNCS([ftime gettimeofday]) |