summaryrefslogtreecommitdiffstats
path: root/Configure.mk
diff options
context:
space:
mode:
Diffstat (limited to 'Configure.mk')
-rw-r--r--Configure.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/Configure.mk b/Configure.mk
index 3d5e5c978..86b375985 100644
--- a/Configure.mk
+++ b/Configure.mk
@@ -146,6 +146,13 @@ ZIPFLAGS = $(strip $(shell $(PKGCONFIG) --cflags libzip 2> /dev/null))
LIBSQLITE3 = $(shell $(PKGCONFIG) --libs sqlite3 2> /dev/null)
SQLITE3FLAGS = $(strip $(shell $(PKGCONFIG) --cflags sqlite3))
+UNAME_A = $(shell uname -a)
+ifneq (,$(filter $(UNAME_A), Debian))
+ MARBLEFLAGS = -DINCOMPLETE_MARBLE
+else
+ MARBLEFLAGS = -DQT_NO_KEYWORDS
+endif
+
# Write the configure file
all: configure
configure $(CONFIGURE): Configure.mk
@@ -181,6 +188,7 @@ configure $(CONFIGURE): Configure.mk
ZIPFLAGS = $(ZIPFLAGS)\\\
LIBSQLITE3 = $(LIBSQLITE3)\\\
SQLITE3FLAGS = $(SQLITE3FLAGS)\\\
+ MARBLEFLAGS = $(MARBLEFLAGS)\\\
" | tr '\\' '\n' > $(CONFIGFILE)
else