Enlightenment CVS committal Author : mej Project : e17 Module : libs/evas
Dir : e17/libs/evas Modified Files: evas.spec.in Log Message: Mon Feb 6 21:42:27 2006 Michael Jennings (mej) Add macro definitions for systems that don't yet define them (like SuSE?) ---------------------------------------------------------------------- =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/evas/evas.spec.in,v retrieving revision 1.9 retrieving revision 1.10 diff -u -3 -r1.9 -r1.10 --- evas.spec.in 29 Jan 2006 17:48:40 -0000 1.9 +++ evas.spec.in 7 Feb 2006 02:42:59 -0000 1.10 @@ -1,5 +1,19 @@ -# Conditional build stuff; see /usr/lib/rpm/macros. bcond_without -# defaults to WITH, and vice versa. Yes, it's ass-backward. Blame PLD. +# Conditional build stuff; from rpm 4.4 /usr/lib/rpm/macros. +# bcond_without defaults to WITH, and vice versa. Yes, it's +# ass-backward. Blame PLD. +%if %{!?with:1}0 +%define with() %{expand:%%{?with_%{1}:1}%%{!?with_%{1}:0}} +%endif +%if %{!?without:1}0 +%define without() %{expand:%%{?with_%{1}:0}%%{!?with_%{1}:1}} +%endif +%if %{!?bcond_with:1}0 +%define bcond_with() %{expand:%%{?_with_%{1}:%%global with_%{1} 1}} +%endif +%if %{!?bcond_without:1}0 +%define bcond_without() %{expand:%%{!?_without_%{1}:%%global with_%{1} 1}} +%endif + %bcond_without module_loader_edb %bcond_without module_saver_edb %bcond_with module_engine_cairo_x11 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs