On Wed, Jul 1, 2015 at 2:25 PM, Uros Bizjak <ubiz...@gmail.com> wrote:
> Hello!
>
> We have to enable OS extensions (GNU_SOURCE) to use asprintf.
>
> 2015-07-01  Uros Bizjak  <ubiz...@gmail.com>
>
>     * configure.ac: Add AC_USE_SYSTEM_EXTENSIONS.
>     * configure: Regenerate.
>     * config.h.in: Ditto.
>
> Bootstrapped on x86_64-linux-gnu.
>
> OK for mainline?

Ok.

Richard.

> Uros.
>
> Index: configure.ac
> ===================================================================
> --- configure.ac        (revision 225240)
> +++ configure.ac        (working copy)
> @@ -9,6 +9,7 @@
>     [specify the directory where to find libiberty [../libiberty]])],
>   [], with_libiberty=../libiberty)
> AC_SUBST(with_libiberty)
> +AC_USE_SYSTEM_EXTENSIONS
> AC_PROG_CC
> AC_SYS_LARGEFILE
> ACX_PROG_CC_WARNING_OPTS([-Wall], [ac_lto_plugin_warn_cflags])

Reply via email to