add configure option to use system getopt_long() #49

Closed
opened 2013-07-19 13:15:02 +00:00 by fabled · 3 comments
fabled commented 2013-07-19 13:15:02 +00:00 (Migrated from github.com)

Instead of always using the in-tree copy of it.

Instead of always using the in-tree copy of it.

We ship our own getopt_long because dalias refuses to add permutation support in musl. You can force it to use the system getopt_long by using --enable-strict. That will disable all compatibility code.

We ship our own getopt_long because dalias refuses to add permutation support in musl. You can force it to use the system getopt_long by using `--enable-strict`. That will disable all compatibility code.
fabled commented 2013-07-22 05:47:02 +00:00 (Migrated from github.com)

That seems to just disable the GNU behavior of the shipped getopt_long.c. I would prefer to not use at all the shipped getopt_long.c, but have it use system libc provided getopt_long(). This is not currently possible.

That seems to just disable the GNU behavior of the shipped getopt_long.c. I would prefer to not use at all the shipped getopt_long.c, but have it use system libc provided getopt_long(). This is not currently possible.

It's actually not possible at all, we modified the getopt_long() to logical OR all values on the option.flag structure member.

It's actually not possible at all, we modified the getopt_long() to logical OR all values on the option.flag structure member.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: ariadne/pkgconf#49
There is no content yet.