mirror of
https://github.com/avrdudes/avrdude.git
synced 2026-09-22 17:16:24 +03:00
Remove unused TIME_WITH_SYS_TIME macro definition
The TIME_WITH_SYS_TIME C preprocessor macro is not found anywhere in the source tree, so we do not need to define it after all and can get rid of the obsoletion warning.
This commit is contained in:
@@ -282,19 +282,6 @@ AC_CHECK_HEADERS([ddk/hidsdi.h],,,[#include <windows.h>
|
||||
|
||||
# Checks for typedefs, structures, and compiler characteristics.
|
||||
AC_C_CONST
|
||||
m4_warn([obsolete],
|
||||
[Update your code to rely only on HAVE_SYS_TIME_H,
|
||||
then remove this warning and the obsolete code below it.
|
||||
All current systems provide time.h; it need not be checked for.
|
||||
Not all systems provide sys/time.h, but those that do, all allow
|
||||
you to include it and time.h simultaneously.])dnl
|
||||
AC_CHECK_HEADERS_ONCE([sys/time.h])
|
||||
# Obsolete code to be removed.
|
||||
if test "x$ac_cv_header_sys_time_h" = xyes; then
|
||||
AC_DEFINE([TIME_WITH_SYS_TIME],[1],[Define to 1 if you can safely include both <sys/time.h>
|
||||
and <time.h>. This macro is obsolete.])
|
||||
fi
|
||||
# End of obsolete code.
|
||||
|
||||
|
||||
AC_CHECK_HEADERS([netinet/in.h])
|
||||
|
||||
Reference in New Issue
Block a user