[Bug 3775] New: !ENABLE_FEATURE_GETOPT_LONG should not include getopt.h

bugzilla at busybox.net bugzilla at busybox.net
Tue May 24 20:55:53 UTC 2011


           Summary: !ENABLE_FEATURE_GETOPT_LONG should not include
           Product: Busybox
           Version: 1.18.x
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P5
         Component: Other
        AssignedTo: unassigned at busybox.net
        ReportedBy: alex at digriz.org.uk
                CC: busybox-cvs at busybox.net
   Estimated Hours: 0.0

Created attachment 3313
  --> https://bugs.busybox.net/attachment.cgi?id=3313

When compiling with !ENABLE_FEATURE_GETOPT_LONG, busybox still tries to include
getopt.h which is not available; for example with uClibc when
!UCLIBC_HAS_GETOPT_LONG.  getopt.h is only required for the _long set of
functions according to my 'man 3 getopt' at least.

The attached patch fixes up what seemsto me the remaining two broken spots.

Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the busybox-cvs mailing list