Просмотр исходного кода

- revert r23469. If gnu getopt is disabled, then there is no getopt.h.
In these cases the getopt stuff comes from unistd.h (which includes bits/getopt.h for us)

Bernhard Reutner-Fischer 17 лет назад
Родитель
Сommit
def602f4d2
1 измененных файлов с 6 добавлено и 0 удалено
  1. 6 0
      Makefile.in

+ 6 - 0
Makefile.in

@@ -254,6 +254,12 @@ ifneq ($(UCLIBC_HAS_GLOB),y)
 	# Remove glob header since glob support is disabled.
 	$(RM) $(PREFIX)$(DEVEL_PREFIX)include/glob.h
 endif
+ifneq ($(UCLIBC_HAS_GNU_GETOPT),y)
+ifneq ($(UCLIBC_HAS_GETOPT_LONG),y)
+	# Remove getopt header since gnu getopt support is disabled.
+	$(RM) $(PREFIX)$(DEVEL_PREFIX)include/getopt.h
+endif
+endif
 ifneq ($(UCLIBC_HAS_SHADOW),y)
 	# Remove shadow header since shadow password support is disabled.
 	$(RM) $(PREFIX)$(DEVEL_PREFIX)include/shadow.h