getopt and dbus
Havoc Pennington
hp at redhat.com
Thu Dec 28 08:37:42 PST 2006
Axel Liljencrantz wrote:
> Would patches for using getopt be accepted?
>
You can't just use getopt because at least getopt_long is not portable.
The minimum patch would be to include some kind of portable option
parser and fall back to the system copy. I imagine the GNU tools are set
up in the usual "replacement copy of gnu libc stuff" way to do this. For
dbus you'd probably need to arrange to have an additional tiny libtool
convenience library with getopt_long in it.
Havoc
More information about the dbus
mailing list