[cairo-compmgr] user set CFLAGS and configure script |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/cairo-compmgr Archives
]
- To: cairo-compmgr@xxxxxxxxxxxxxxxxxxx
- Subject: [cairo-compmgr] user set CFLAGS and configure script
- From: "Carlos Diógenes" <cerdiogenes@xxxxxxxxx>
- Date: Fri, 18 Jan 2008 11:08:00 -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=8m9bGfgmk2scEYb1Joos0m4Xs+PXqPDOGe599qB2rK0=; b=UyYFYMg0/BOIlybewwUFrvmIHXwuvy2myAKxqPXUVTF+7SwtaXMjF4Uz8jzEoYL2R5tqdfUYMIC+naukgaVYBm8aYhFiyJSpfN3Z/HuPSivvG/7KsZjiQr/kceadCFN4oeHTjlplqGgyJtHkhSmCTaCsLNHjm9UhLFvCo9K/y34=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=WBU3J9QyzwIvzRjsHgYrD64z+2B9lKUJphptnD/937pIC13Jx5n0qcjlxU+QPaWiVYHCotbj/gHINpSdWDZoyKhLFi/X18kXJwC3MK/0w4HxdB/mHfWomNtbBNgeO14AYBkwW8wbtQy5eciSD/IoWgoKm52SYUEsV+mXKdNFFrU=
Hi,
Normally I'd set CFLAGS to what I want to use and call the configure
script to compile the application with these CFLAGS.
This isn't possible with ccm. The patch atttached add this possibility.
Best regards,
Carlos.
diff --git a/AUTHORS b/AUTHORS
diff --git a/COPYING b/COPYING
diff --git a/ChangeLog b/ChangeLog
diff --git a/INSTALL b/INSTALL
diff --git a/Makefile.am b/Makefile.am
diff --git a/NEWS b/NEWS
diff --git a/README b/README
diff --git a/autogen.sh b/autogen.sh
diff --git a/cairo-compmgr.anjuta b/cairo-compmgr.anjuta
diff --git a/configure.ac b/configure.ac
index 04d3734..750513b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -12,7 +12,9 @@ IT_PROG_INTLTOOL
AC_ISC_POSIX
AC_PROG_CC
if test "x$GCC" = "xyes" ; then
- if test "x$use_debug" = "xno"; then
+ if test "x$CFLAGS" != "x" ; then
+ CFLAGS=$CFLAGS
+ elif test "x$use_debug" = "xno"; then
CFLAGS="-O2 -Wall -fPIC -fomit-frame-pointer -ffast-math -fno-strict-aliasing"
else
CFLAGS="-g -O2 -Wall -fPIC"
diff --git a/data/Makefile.am b/data/Makefile.am
diff --git a/data/cairo-compmgr-off-24.png b/data/cairo-compmgr-off-24.png
diff --git a/data/cairo-compmgr-on-24.png b/data/cairo-compmgr-on-24.png
diff --git a/data/cairo-compmgr.desktop.in.in b/data/cairo-compmgr.desktop.in.in
diff --git a/data/cairo-compmgr.png b/data/cairo-compmgr.png
diff --git a/data/cairo-compmgr.schemas.in b/data/cairo-compmgr.schemas.in
diff --git a/plugins/Makefile.am b/plugins/Makefile.am
diff --git a/plugins/fade/Makefile.am b/plugins/fade/Makefile.am
diff --git a/plugins/fade/ccm-fade.c b/plugins/fade/ccm-fade.c
diff --git a/plugins/fade/ccm-fade.h b/plugins/fade/ccm-fade.h
diff --git a/plugins/fade/ccm-fade.plugin.desktop.in b/plugins/fade/ccm-fade.plugin.desktop.in
diff --git a/plugins/fade/ccm-fade.schemas.in b/plugins/fade/ccm-fade.schemas.in
diff --git a/plugins/freeze/Makefile.am b/plugins/freeze/Makefile.am
diff --git a/plugins/freeze/ccm-freeze.c b/plugins/freeze/ccm-freeze.c
diff --git a/plugins/freeze/ccm-freeze.h b/plugins/freeze/ccm-freeze.h
diff --git a/plugins/freeze/ccm-freeze.plugin.desktop.in b/plugins/freeze/ccm-freeze.plugin.desktop.in
diff --git a/plugins/freeze/ccm-freeze.schemas.in b/plugins/freeze/ccm-freeze.schemas.in
diff --git a/plugins/menu-animation/Makefile.am b/plugins/menu-animation/Makefile.am
diff --git a/plugins/menu-animation/ccm-menu-animation.c b/plugins/menu-animation/ccm-menu-animation.c
diff --git a/plugins/menu-animation/ccm-menu-animation.h b/plugins/menu-animation/ccm-menu-animation.h
diff --git a/plugins/menu-animation/ccm-menu-animation.plugin.desktop.in b/plugins/menu-animation/ccm-menu-animation.plugin.desktop.in
diff --git a/plugins/menu-animation/ccm-menu-animation.schemas.in b/plugins/menu-animation/ccm-menu-animation.schemas.in
diff --git a/plugins/opacity/Makefile.am b/plugins/opacity/Makefile.am
diff --git a/plugins/opacity/ccm-opacity.c b/plugins/opacity/ccm-opacity.c
diff --git a/plugins/opacity/ccm-opacity.h b/plugins/opacity/ccm-opacity.h
diff --git a/plugins/opacity/ccm-opacity.plugin.desktop.in b/plugins/opacity/ccm-opacity.plugin.desktop.in
diff --git a/plugins/opacity/ccm-opacity.schemas.in b/plugins/opacity/ccm-opacity.schemas.in
diff --git a/plugins/shadow/Makefile.am b/plugins/shadow/Makefile.am
diff --git a/plugins/shadow/ccm-shadow.c b/plugins/shadow/ccm-shadow.c
diff --git a/plugins/shadow/ccm-shadow.h b/plugins/shadow/ccm-shadow.h
diff --git a/plugins/shadow/ccm-shadow.plugin.desktop.in b/plugins/shadow/ccm-shadow.plugin.desktop.in
diff --git a/plugins/shadow/ccm-shadow.schemas.in b/plugins/shadow/ccm-shadow.schemas.in
diff --git a/po/ChangeLog b/po/ChangeLog
diff --git a/po/LINGUAS b/po/LINGUAS
diff --git a/po/Makefile.in.in b/po/Makefile.in.in
diff --git a/po/POTFILES.in b/po/POTFILES.in
diff --git a/src/Makefile.am b/src/Makefile.am
diff --git a/src/async-getprop.c b/src/async-getprop.c
diff --git a/src/async-getprop.h b/src/async-getprop.h
diff --git a/src/cairo-compmgr.c b/src/cairo-compmgr.c
diff --git a/src/ccm-animation.c b/src/ccm-animation.c
diff --git a/src/ccm-animation.h b/src/ccm-animation.h
diff --git a/src/ccm-config.c b/src/ccm-config.c
diff --git a/src/ccm-config.h b/src/ccm-config.h
diff --git a/src/ccm-display.c b/src/ccm-display.c
diff --git a/src/ccm-display.h b/src/ccm-display.h
diff --git a/src/ccm-drawable.c b/src/ccm-drawable.c
diff --git a/src/ccm-drawable.h b/src/ccm-drawable.h
diff --git a/src/ccm-extension-loader.c b/src/ccm-extension-loader.c
diff --git a/src/ccm-extension-loader.h b/src/ccm-extension-loader.h
diff --git a/src/ccm-extension.c b/src/ccm-extension.c
diff --git a/src/ccm-extension.h b/src/ccm-extension.h
diff --git a/src/ccm-pixmap-backend.c b/src/ccm-pixmap-backend.c
diff --git a/src/ccm-pixmap-backend.h b/src/ccm-pixmap-backend.h
diff --git a/src/ccm-pixmap-buffered-image.c b/src/ccm-pixmap-buffered-image.c
diff --git a/src/ccm-pixmap-buffered-image.h b/src/ccm-pixmap-buffered-image.h
diff --git a/src/ccm-pixmap-buffered-shm.c b/src/ccm-pixmap-buffered-shm.c
diff --git a/src/ccm-pixmap-buffered-shm.h b/src/ccm-pixmap-buffered-shm.h
diff --git a/src/ccm-pixmap-glitz.c b/src/ccm-pixmap-glitz.c
diff --git a/src/ccm-pixmap-glitz.h b/src/ccm-pixmap-glitz.h
diff --git a/src/ccm-pixmap-image.c b/src/ccm-pixmap-image.c
diff --git a/src/ccm-pixmap-image.h b/src/ccm-pixmap-image.h
diff --git a/src/ccm-pixmap-shm.c b/src/ccm-pixmap-shm.c
diff --git a/src/ccm-pixmap-shm.h b/src/ccm-pixmap-shm.h
diff --git a/src/ccm-pixmap-xrender.c b/src/ccm-pixmap-xrender.c
diff --git a/src/ccm-pixmap-xrender.h b/src/ccm-pixmap-xrender.h
diff --git a/src/ccm-pixmap.c b/src/ccm-pixmap.c
diff --git a/src/ccm-pixmap.h b/src/ccm-pixmap.h
diff --git a/src/ccm-plugin.c b/src/ccm-plugin.c
diff --git a/src/ccm-plugin.h b/src/ccm-plugin.h
diff --git a/src/ccm-region.c b/src/ccm-region.c
diff --git a/src/ccm-region.h b/src/ccm-region.h
diff --git a/src/ccm-screen-plugin.c b/src/ccm-screen-plugin.c
diff --git a/src/ccm-screen-plugin.h b/src/ccm-screen-plugin.h
diff --git a/src/ccm-screen.c b/src/ccm-screen.c
diff --git a/src/ccm-screen.h b/src/ccm-screen.h
diff --git a/src/ccm-tray-icon.c b/src/ccm-tray-icon.c
diff --git a/src/ccm-tray-icon.h b/src/ccm-tray-icon.h
diff --git a/src/ccm-tray-menu.c b/src/ccm-tray-menu.c
diff --git a/src/ccm-tray-menu.h b/src/ccm-tray-menu.h
diff --git a/src/ccm-watch.c b/src/ccm-watch.c
diff --git a/src/ccm-watch.h b/src/ccm-watch.h
diff --git a/src/ccm-window-backend.c b/src/ccm-window-backend.c
diff --git a/src/ccm-window-backend.h b/src/ccm-window-backend.h
diff --git a/src/ccm-window-glitz.c b/src/ccm-window-glitz.c
diff --git a/src/ccm-window-glitz.h b/src/ccm-window-glitz.h
diff --git a/src/ccm-window-plugin.c b/src/ccm-window-plugin.c
diff --git a/src/ccm-window-plugin.h b/src/ccm-window-plugin.h
diff --git a/src/ccm-window-xrender.c b/src/ccm-window-xrender.c
diff --git a/src/ccm-window-xrender.h b/src/ccm-window-xrender.h
diff --git a/src/ccm-window.c b/src/ccm-window.c
diff --git a/src/ccm-window.h b/src/ccm-window.h
diff --git a/src/ccm.h b/src/ccm.h