mirror of
https://github.com/MidnightCommander/mc
synced 2025-02-25 19:54:13 +03:00
Ticket #2740: code cleanup before 4.8.2 release.
Removes references to AC_HEADER_STDC macro, marked as obsolescent in the Autoconf 2.60 release. Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
903e184fff
commit
e2b67a33ba
@ -150,7 +150,6 @@ AC_CHECK_HEADERS([unistd.h string.h memory.h limits.h malloc.h \
|
||||
|
||||
AC_HEADER_TIME
|
||||
AC_HEADER_DIRENT
|
||||
AC_HEADER_STDC
|
||||
|
||||
dnl Missing structure components
|
||||
AC_CHECK_MEMBERS([struct stat.st_blksize, struct stat.st_rdev])
|
||||
|
@ -7,14 +7,12 @@
|
||||
#ifndef MC_GLOBAL_H
|
||||
#define MC_GLOBAL_H
|
||||
|
||||
#if defined(STDC_HEADERS) || defined(HAVE_STRING_H)
|
||||
#if defined(HAVE_STRING_H)
|
||||
#include <string.h>
|
||||
/* An ANSI string.h and pre-ANSI memory.h might conflict */
|
||||
#if !defined(STDC_HEADERS) && defined(HAVE_MEMORY_H)
|
||||
#elif defined(HAVE_MEMORY_H)
|
||||
#include <memory.h>
|
||||
#endif /* !STDC_HEADERS & HAVE_MEMORY_H */
|
||||
|
||||
#else /* !STDC_HEADERS & !HAVE_STRING_H */
|
||||
#else
|
||||
#include <strings.h>
|
||||
/* memory and strings.h conflict on other systems */
|
||||
#endif /* !STDC_HEADERS & !HAVE_STRING_H */
|
||||
|
@ -38,7 +38,6 @@ AC_VALIDATE_CACHE_SYSTEM_TYPE
|
||||
SAMBA_MAINTAINER_MODE
|
||||
|
||||
AC_INLINE
|
||||
AC_HEADER_STDC
|
||||
AC_HEADER_DIRENT
|
||||
AC_HEADER_TIME
|
||||
AC_CHECK_HEADERS(arpa/inet.h sys/fcntl.h sys/select.h fcntl.h sys/time.h sys/unistd.h)
|
||||
|
Loading…
x
Reference in New Issue
Block a user