From: Todd C. Miller Date: Thu, 5 Feb 2015 18:17:22 +0000 (-0700) Subject: Remove configure checks for strrchr() and strtoll() for which the X-Git-Tag: SUDO_1_8_12^2~14 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=88f79588e009bda5614576697ce90ac31234a04e;p=sudo Remove configure checks for strrchr() and strtoll() for which the HAVE_* defines are no longer used. --- diff --git a/config.h.in b/config.h.in index 1a2bceb3d..371c07a4a 100644 --- a/config.h.in +++ b/config.h.in @@ -660,15 +660,9 @@ /* Define to 1 if you have the `strlcpy' function. */ #undef HAVE_STRLCPY -/* Define to 1 if you have the `strrchr' function. */ -#undef HAVE_STRRCHR - /* Define to 1 if you have the `strsignal' function. */ #undef HAVE_STRSIGNAL -/* Define to 1 if you have the `strtoll' function. */ -#undef HAVE_STRTOLL - /* Define to 1 if you have the `strtonum' function. */ #undef HAVE_STRTONUM diff --git a/configure b/configure index 944029fee..5ac327f81 100755 --- a/configure +++ b/configure @@ -2829,8 +2829,6 @@ as_fn_append ac_header_list " sys/sysmacros.h" as_fn_append ac_func_list " killpg" as_fn_append ac_func_list " nl_langinfo" as_fn_append ac_func_list " strftime" -as_fn_append ac_func_list " strrchr" -as_fn_append ac_func_list " strtoll" as_fn_append ac_func_list " sysconf" as_fn_append ac_func_list " tzset" as_fn_append ac_func_list " seteuid" @@ -18047,10 +18045,6 @@ done - - - - for ac_func in getgrouplist do : ac_fn_c_check_func "$LINENO" "getgrouplist" "ac_cv_func_getgrouplist" diff --git a/configure.ac b/configure.ac index 979cab51d..6dd791564 100644 --- a/configure.ac +++ b/configure.ac @@ -2339,7 +2339,7 @@ dnl dnl Function checks dnl AC_FUNC_GETGROUPS -AC_CHECK_FUNCS_ONCE([killpg nl_langinfo strftime strrchr strtoll sysconf tzset]) +AC_CHECK_FUNCS_ONCE([killpg nl_langinfo strftime sysconf tzset]) AC_CHECK_FUNCS([getgrouplist], [], [ case "$host_os" in aix*)