[PATCH v2 app-xfd] Use the Automake recommended alternative to AX_DEFINE_DIR
alan.coopersmith at oracle.com
Fri Dec 9 20:20:56 PST 2011
On 12/08/11 05:35, Gaetan Nadon wrote:
> DATADIR, like any installation variable, is not known at configure time.
> This is by design to allow setting the variable at make time.
> The AX_DEFINE_DIR macro worked around this design and consequently
> cancelled an Automake feature.
> The alternative method suggested by Automake ends up being simpler
> while providing the same result as AX_DEFINE_DIR but without cancelling
> any feature. It is used in the xserver for the parser and in xquartz.
> The AX_DEFINE_DIR macro has been removed from the Autoconf Archive.
> There are no official providers for this macro anymore.
> Separate pre-processor from compiler flags.
> XFD_CFLAGS and CWARNFLAGS may contain compiler flags.
> Signed-off-by: Gaetan Nadon<memsize at videotron.ca>
Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>
-Alan Coopersmith- alan.coopersmith at oracle.com
Oracle Solaris Platform Engineering: X Window System
More information about the xorg-devel