[PATCH] Check for existence of asprintf and vasprintf
Ulf Hermann
ulf.hermann@qt.io
Wed Feb 22 17:43:00 GMT 2017
> sorry, but i don't know what you're talking about. you don't read the
> gnulib code/modules directly, you just run gnulib-tool and tell it which
> modules to import. it does all the rest for you.
>
> you want asprintf ? then add it to the list.
> modules=(
> asprintf
> glob
> vasprintf
> ...whatever else you want...
> )
> gnulib-tool --import "${modules[@]}"
I see. Some of the functions are not available from gnulib, though. In particular, GNU-style basename abd GNU-style strerror_r. There might be more.
Ulf
More information about the Elfutils-devel
mailing list