summaryrefslogtreecommitdiff
path: root/svx/util
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2008-04-07 11:55:27 +0000
committerKurt Zenker <kz@openoffice.org>2008-04-07 11:55:27 +0000
commit4208fcbc73e83fbe8cf45af03ac65f501db7ddf7 (patch)
treeb01f4bb21793701ee774edebdae2361110c9a010 /svx/util
parenta8f263bcd2a1be437667626c295cedbad69ddd9e (diff)
#i87946# disable ENABLE_LAYOUT if not TRUE
Diffstat (limited to 'svx/util')
-rw-r--r--svx/util/makefile.pmk10
1 files changed, 8 insertions, 2 deletions
diff --git a/svx/util/makefile.pmk b/svx/util/makefile.pmk
index 3758ac84e2..2cb95190e6 100644
--- a/svx/util/makefile.pmk
+++ b/svx/util/makefile.pmk
@@ -4,9 +4,9 @@
#
# $RCSfile: makefile.pmk,v $
#
-# $Revision: 1.4 $
+# $Revision: 1.5 $
#
-# last change: $Author: kz $ $Date: 2007-09-05 17:47:43 $
+# last change: $Author: kz $ $Date: 2008-04-07 12:55:27 $
#
# The Contents of this file are made available subject to
# the terms of GNU Lesser General Public License Version 2.1.
@@ -40,6 +40,12 @@ CDEFS += -DSVX_DLLIMPLEMENTATION
CFLAGS+=-DENABLE_GTK
.ENDIF
+.IF "$(ENABLE_LAYOUT)" == "TRUE"
+CFLAGS+=-DENABLE_LAYOUT=1
+.ELSE
+CFLAGS+=-DENABLE_LAYOUT=0
+.ENDIF # ENABLE_LAYOUT == TRUE
+
# set default symbol visibility / scope to hidden
.IF "$(COMNAME)" == "gcc3"
.IF "$(HAVE_GCC_VISIBILITY_FEATURE)" == "TRUE"