From def602f4d2042a5153b6c7dd86c961ddc05061dc Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Fri, 26 Sep 2008 15:33:27 +0000 Subject: - 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) --- Makefile.in | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile.in b/Makefile.in index d9f239ff8..d2590882f 100644 --- a/Makefile.in +++ b/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 -- cgit v1.2.3