[cairo-compmgr] error in configure due conditional HAVE_GLITZ_TFP_BACKEND |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/cairo-compmgr Archives
]
- To: cairo-compmgr@xxxxxxxxxxxxxxxxxxx
- Subject: [cairo-compmgr] error in configure due conditional HAVE_GLITZ_TFP_BACKEND
- From: "Carlos Diógenes" <cerdiogenes@xxxxxxxxx>
- Date: Sun, 13 Jan 2008 20:22:55 -0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=l8heNVLn3wy4Ire1KOTVJ1k3ktuNKN9rwb8mrthV6nc=; b=Uxy9WQtk6Rt7wg+ZIOgr3kPKCLs+npJc1+o9l+neiZqIzeXPTW0SF+tm2Bexfc2/1xmR+x1Kp2BwPvRiFxlqBFHqgkMMao3AyTwriChBW0SciNJ/Q80SkXzWF3sELdvRflqiK1YFcDuSJDCf3/uT+Trx1tXJslZ9j/K7HoJD5I0=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=sEmvVCagf7tJlzSdfCBDlyRVK+RkPCdsDu7kURGxLmbplEwwKUNpCWt57mY856+ywwC6BH7aBp9yGL4QUovs9CJaXrySPxwEbvvbchLT33tF3bjVpO5WU8fW1614aj5YKFYWJjuy8fodEGb7ErALwp+iqlLvhGp8V407DhEZ75M=
Hi,
I don't know much about autotools, but I'm getting this error with the
latest patchs for ccm:
configure: error: conditional "HAVE_GLITZ_TFP_BACKEND" was never defined.
Usually this means the macro was only invoked conditionally.
With the little patch attached solved the problem for me and this
explain the problem:
http://www.delorie.com/gnu/docs/automake/automake_106.html
"if AM_CONDITIONAL is run conditionally (e.g., in a shell if
statement), then the result will confuse automake."
Best regards,
Carlos.
diff --git a/configure.ac b/configure.ac
index ad0210a..f4d6b75 100644
--- a/configure.ac
+++ b/configure.ac
@@ -92,9 +92,10 @@ if [ test x$glitzbackend = xyes ]; then
[glitztfpbackend="no"])
CFLAGS=$cflags_save
LIBS=$libs_save
- AM_CONDITIONAL(HAVE_GLITZ_TFP_BACKEND, [test x$glitztfpbackend = xyes])
fi
+AM_CONDITIONAL(HAVE_GLITZ_TFP_BACKEND, [test x$glitztfpbackend = xyes])
+
AC_CHECK_LIB(m, round, [M_LIBS="-lm"], AC_MSG_ERROR([libm is required to
build cairo-compmgr. This lib comes with GNU C libraries (glibc) and you can
find the lastest version from http://www.gnu.org/software/libc/]))