[PATCH 2/2] libXft: remove AC_PROG_CC as it overrides AC_PROG_C_C99

Thomas Dickey dickey at his.com
Wed Jan 19 13:56:56 PST 2011


On Wed, 19 Jan 2011, Dan Nicholson wrote:

> We want to try to ensure that we get C99 if XORG_STRICT_OPTION is
> used. So, if we AC_REQUIRE([AC_PROG_CC]) before
> AC_REQUIRE([AC_PROG_CC_C99]) in XORG_STRICT_OPTION, then it should
> ensure the ordering, right? Or can you just keep calling them and the
> last one wins? I haven't checked.

AC_REQUIRE doesn't ensure any specific ordering, and has the additional
drawback that the requisitioned macros may be substituted in a 
non-intuitive location relative to the call.

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net


More information about the xorg-devel mailing list