summaryrefslogtreecommitdiff
path: root/m4
AgeCommit message (Collapse)Author
2011-12-10Use the Automake recommended alternative to AX_DEFINE_DIRGaetan Nadon
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. Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-03-31config: update and relocate AX_DEFINE_DIR macroGaetan Nadon
Remove deprecated acinclude.m4 macro container file Use separate macro files as per autoconf recommendation Use the latest macro from GNU Signed-off-by: Gaetan Nadon <memsize@videotron.ca>