Makefile: drop D_INO_IN_DIRENT build knob
Now that fsck has dropped its inode-sorting, there are no longer any users of this knob, and it can go away. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Jeff King committed
Sep 24, 2015 at 17:08 UTC
e23a91b04702fb3d7a85195ef52bdeacd3ee9433
3 files changed
-15
Makefile
-5
@@ -74,8 +74,6 @@ all::
74
# Define HAVE_PATHS_H if you have paths.h and want to use the default PATH
75
# it specifies.
76
#
77
-# Define NO_D_INO_IN_DIRENT if you don't have d_ino in your struct dirent.
78
-#
77
# Define NO_D_TYPE_IN_DIRENT if your platform defines DT_UNKNOWN but lacks
78
# d_type in struct dirent (Cygwin 1.5, fixed in Cygwin 1.7).
79
#
@@ -1160,9 +1158,6 @@ endif
1158
ifdef NO_D_TYPE_IN_DIRENT
1159
BASIC_CFLAGS += -DNO_D_TYPE_IN_DIRENT
1160
endif
1163
-ifdef NO_D_INO_IN_DIRENT
1164
- BASIC_CFLAGS += -DNO_D_INO_IN_DIRENT
1165
-endif
1161
ifdef NO_GECOS_IN_PWENT
1162
BASIC_CFLAGS += -DNO_GECOS_IN_PWENT
1163
endif
config.mak.uname
-3
@@ -166,7 +166,6 @@ endif
166
ifeq ($(uname_O),Cygwin)
167
ifeq ($(shell expr "$(uname_R)" : '1\.[1-6]\.'),4)
168
NO_D_TYPE_IN_DIRENT = YesPlease
169
- NO_D_INO_IN_DIRENT = YesPlease
169
NO_STRCASESTR = YesPlease
170
NO_MEMMEM = YesPlease
171
NO_MKSTEMPS = YesPlease
@@ -370,7 +369,6 @@ ifeq ($(uname_S),Windows)
369
NO_POSIX_GOODIES = UnfortunatelyYes
370
NATIVE_CRLF = YesPlease
371
DEFAULT_HELP_FORMAT = html
373
- NO_D_INO_IN_DIRENT = YesPlease
372
373
CC = compat/vcbuild/scripts/clink.pl
374
AR = compat/vcbuild/scripts/lib.pl
@@ -520,7 +518,6 @@ ifneq (,$(findstring MINGW,$(uname_S)))
518
NO_INET_NTOP = YesPlease
519
NO_POSIX_GOODIES = UnfortunatelyYes
520
DEFAULT_HELP_FORMAT = html
523
- NO_D_INO_IN_DIRENT = YesPlease
521
COMPAT_CFLAGS += -D__USE_MINGW_ACCESS -D_USE_32BIT_TIME_T -DNOGDI -Icompat -Icompat/win32
522
COMPAT_CFLAGS += -DSTRIP_EXTENSION=\".exe\"
523
COMPAT_OBJS += compat/mingw.o compat/winansi.o \
configure.ac
-7
@@ -767,13 +767,6 @@ elif test x$ac_cv_member_struct_stat_st_mtim_tv_nsec != xyes; then
767
GIT_CONF_SUBST([NO_NSEC])
768
fi
769
#
770
-# Define NO_D_INO_IN_DIRENT if you don't have d_ino in your struct dirent.
771
-AC_CHECK_MEMBER(struct dirent.d_ino,
772
-[NO_D_INO_IN_DIRENT=],
773
-[NO_D_INO_IN_DIRENT=YesPlease],
774
-[#include <dirent.h>])
775
-GIT_CONF_SUBST([NO_D_INO_IN_DIRENT])
776
-#
770
# Define NO_D_TYPE_IN_DIRENT if your platform defines DT_UNKNOWN but lacks
771
# d_type in struct dirent (latest Cygwin -- will be fixed soonish).
772
AC_CHECK_MEMBER(struct dirent.d_type,