Bläddra i källkod

- 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 18 år sedan
förälder
incheckning
def602f4d2
1 ändrade filer med 6 tillägg och 0 borttagningar
  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