[Buildroot] [PATCH 1/1] quagga: fix static build with musl

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sat Dec 1 22:19:05 UTC 2018


On Sat,  1 Dec 2018 22:59:53 +0100, Fabrice Fontaine wrote:

> ++AC_ARG_ENABLE(embedded-getopt,
> ++    AS_HELP_STRING([--disable-embedded-getopt], [disable embedded getopt functions]))

Instead of another --enable option, what about auto-detecting if the C
library provides getopt() ?

Isn't AC_CHECK_FUNC([getopt]) sufficient ?

Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering

More information about the buildroot mailing list