[PATCH xorg-fonts] configure.ac: remove C compiler dependency

Richard Tollerton rich.tollerton at ni.com
Fri Dec 12 09:43:53 PST 2014


Font compilation does not require a C compiler, but configure will fail
anyway if one isn't found, because of the inclusion of
XORG_DEFAULT_OPTIONS. Fix this by including only those macros normally
in XORG_DEFAULT_OPTIONS that don't ultimately bring in AC_PROG_CC.

Signed-off-by: Richard Tollerton <rich.tollerton at ni.com>
---
 configure.ac | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 5b5b3aa..1d6874a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -31,7 +31,9 @@ AM_INIT_AUTOMAKE([foreign dist-bzip2])
 m4_ifndef([XORG_MACROS_VERSION],
 	  [m4_fatal([must install xorg-macros 1.3 or later before running autoconf/autogen])])
 XORG_MACROS_VERSION(1.3)
-XORG_DEFAULT_OPTIONS
+XORG_RELEASE_VERSION
+XORG_CHANGELOG
+XORG_MANPAGE_SECTIONS
 
 AC_PROG_INSTALL
 
-- 
2.1.3



More information about the xorg-devel mailing list