diff --git a/config.h.in b/config.h.in index 6fbf66ec..5fdfd0db 100644 --- a/config.h.in +++ b/config.h.in @@ -60,9 +60,6 @@ the CoreFoundation framework. */ #undef HAVE_CFPREFERENCESCOPYAPPVALUE -/* curses has color_set function */ -#undef HAVE_COLOR_SET - /* Define if the GNU dcgettext() function is already present or preinstalled. */ #undef HAVE_DCGETTEXT @@ -85,9 +82,6 @@ /* Define if the GNU gettext() function is already present or preinstalled. */ #undef HAVE_GETTEXT -/* Define to 1 if you have the `gettimeofday' function. */ -#undef HAVE_GETTIMEOFDAY - /* Define if you have the iconv() function and it works. */ #undef HAVE_ICONV diff --git a/configure b/configure index ab62668d..f6b06a19 100755 --- a/configure +++ b/configure @@ -3549,7 +3549,6 @@ fi - printf "%s\n" "#define __USE_STRING_INLINES 1" >>confdefs.h @@ -20251,12 +20250,6 @@ then : printf "%s\n" "#define HAVE_STRTOL 1" >>confdefs.h fi -ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday" -if test "x$ac_cv_func_gettimeofday" = xyes -then : - printf "%s\n" "#define HAVE_GETTIMEOFDAY 1" >>confdefs.h - -fi # Check for timezone diff --git a/configure.ac b/configure.ac index 77876630..099e4993 100644 --- a/configure.ac +++ b/configure.ac @@ -71,7 +71,6 @@ AH_TEMPLATE([COB_HAS_INLINE], [Can use inline keyword]) AH_TEMPLATE([COB_NO_SELFOPEN], [Can not dlopen self]) AH_TEMPLATE([COB_STRFTIME], [Can use strftime for timezone]) AH_TEMPLATE([COB_LI_IS_LL], [long int is long long]) -AH_TEMPLATE([HAVE_COLOR_SET], [curses has color_set function]) AC_DEFINE(__USE_STRING_INLINES) @@ -179,7 +178,7 @@ fi AC_FUNC_ALLOCA AC_FUNC_VPRINTF AC_CHECK_FUNCS([memmove memset setlocale fcntl strerror \ - strcasecmp strchr strrchr strdup strstr strtol gettimeofday]) + strcasecmp strchr strrchr strdup strstr strtol]) # Check for timezone AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]], [[timezone = 3600;]])],