Skip to content

Commit e23a91b

Browse files
peffgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 144e4cf commit e23a91b

File tree

3 files changed

+0
-15
lines changed

3 files changed

+0
-15
lines changed

Makefile

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,6 @@ all::
7474
# Define HAVE_PATHS_H if you have paths.h and want to use the default PATH
7575
# it specifies.
7676
#
77-
# Define NO_D_INO_IN_DIRENT if you don't have d_ino in your struct dirent.
78-
#
7977
# Define NO_D_TYPE_IN_DIRENT if your platform defines DT_UNKNOWN but lacks
8078
# d_type in struct dirent (Cygwin 1.5, fixed in Cygwin 1.7).
8179
#
@@ -1160,9 +1158,6 @@ endif
11601158
ifdef NO_D_TYPE_IN_DIRENT
11611159
BASIC_CFLAGS += -DNO_D_TYPE_IN_DIRENT
11621160
endif
1163-
ifdef NO_D_INO_IN_DIRENT
1164-
BASIC_CFLAGS += -DNO_D_INO_IN_DIRENT
1165-
endif
11661161
ifdef NO_GECOS_IN_PWENT
11671162
BASIC_CFLAGS += -DNO_GECOS_IN_PWENT
11681163
endif

config.mak.uname

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,6 @@ endif
166166
ifeq ($(uname_O),Cygwin)
167167
ifeq ($(shell expr "$(uname_R)" : '1\.[1-6]\.'),4)
168168
NO_D_TYPE_IN_DIRENT = YesPlease
169-
NO_D_INO_IN_DIRENT = YesPlease
170169
NO_STRCASESTR = YesPlease
171170
NO_MEMMEM = YesPlease
172171
NO_MKSTEMPS = YesPlease
@@ -370,7 +369,6 @@ ifeq ($(uname_S),Windows)
370369
NO_POSIX_GOODIES = UnfortunatelyYes
371370
NATIVE_CRLF = YesPlease
372371
DEFAULT_HELP_FORMAT = html
373-
NO_D_INO_IN_DIRENT = YesPlease
374372

375373
CC = compat/vcbuild/scripts/clink.pl
376374
AR = compat/vcbuild/scripts/lib.pl
@@ -520,7 +518,6 @@ ifneq (,$(findstring MINGW,$(uname_S)))
520518
NO_INET_NTOP = YesPlease
521519
NO_POSIX_GOODIES = UnfortunatelyYes
522520
DEFAULT_HELP_FORMAT = html
523-
NO_D_INO_IN_DIRENT = YesPlease
524521
COMPAT_CFLAGS += -D__USE_MINGW_ACCESS -D_USE_32BIT_TIME_T -DNOGDI -Icompat -Icompat/win32
525522
COMPAT_CFLAGS += -DSTRIP_EXTENSION=\".exe\"
526523
COMPAT_OBJS += compat/mingw.o compat/winansi.o \

configure.ac

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -767,13 +767,6 @@ elif test x$ac_cv_member_struct_stat_st_mtim_tv_nsec != xyes; then
767767
GIT_CONF_SUBST([NO_NSEC])
768768
fi
769769
#
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-
#
777770
# Define NO_D_TYPE_IN_DIRENT if your platform defines DT_UNKNOWN but lacks
778771
# d_type in struct dirent (latest Cygwin -- will be fixed soonish).
779772
AC_CHECK_MEMBER(struct dirent.d_type,

0 commit comments

Comments
 (0)