Best way to enable _GNU_SOURCE

Ray Van Dolson rayvd at bludgeon.org
Sun Jun 1 16:47:04 UTC 2008


>   - Modify configure.ac (or other) to generage a configure.in that
>     tacks it onto DEFS which shows up then as DEFS in configure and
>     populates DEFS in the resultant Makefile so we have -D_GNU_SOURCE
>     passed to the compiler

Well, the end solution was to modify configure.ac to include the
following:

  AC_GNU_SOURCE

Pretty straightforward.

Ray




More information about the fedora-devel-list mailing list