summaryrefslogtreecommitdiff
path: root/redland
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@novell.com>2011-06-06 08:57:32 +0300
committerTor Lillqvist <tlillqvist@novell.com>2011-06-06 08:57:32 +0300
commit47ef127cb4f217c00bd7b382008be6e7444af93e (patch)
tree74626f58a10ac077e26aa0fe6c56d573703702d7 /redland
parent5cf5db763f05928d88fea377e43f8488c990129f (diff)
Always compare CROSS_COMPILING explicitly to "YES"
Diffstat (limited to 'redland')
-rw-r--r--redland/raptor/makefile.mk4
-rw-r--r--redland/rasqal/makefile.mk2
-rw-r--r--redland/redland/makefile.mk2
3 files changed, 4 insertions, 4 deletions
diff --git a/redland/raptor/makefile.mk b/redland/raptor/makefile.mk
index 248a72154cef..3b6f696cee45 100644
--- a/redland/raptor/makefile.mk
+++ b/redland/raptor/makefile.mk
@@ -59,7 +59,7 @@ OOO_PATCH_FILES= \
$(TARFILE_NAME).patch.win32 \
raptor-aix.patch
-.IF "$(CROSS_COMPILING)"!=""
+.IF "$(CROSS_COMPILING)"=="YES"
OOO_PATCH_FILES += \
$(TARFILE_NAME).patch.cross
.ENDIF
@@ -145,7 +145,7 @@ CONFIGURE_FLAGS=--disable-static
.ENDIF
# do not enable grddl parser (#i93768#)
CONFIGURE_FLAGS+= --disable-gtk-doc --with-threads --with-openssl-digests --with-xml-parser=libxml --enable-parsers="rdfxml ntriples turtle trig guess rss-tag-soup" --without-bdb --without-sqlite --without-mysql --without-postgresql --without-threestore --with-regex-library=posix --with-decimal=none --with-www=xml
-.IF "$(CROSS_COMPILING)"!=""
+.IF "$(CROSS_COMPILING)"=="YES"
CONFIGURE_FLAGS+= --build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)
.ENDIF
BUILD_ACTION=$(GNUMAKE)
diff --git a/redland/rasqal/makefile.mk b/redland/rasqal/makefile.mk
index 417df115d6b0..dbad2d2b4c3c 100644
--- a/redland/rasqal/makefile.mk
+++ b/redland/rasqal/makefile.mk
@@ -130,7 +130,7 @@ CONFIGURE_FLAGS=--disable-shared
CONFIGURE_FLAGS=--disable-static
.ENDIF
CONFIGURE_FLAGS+= --disable-gtk-doc --with-threads --with-openssl-digests --with-xml-parser=libxml --without-bdb --without-sqlite --without-mysql --without-postgresql --without-threestore --with-regex-library=posix --with-decimal=none --with-www=xml
-.IF "$(CROSS_COMPILING)"!=""
+.IF "$(CROSS_COMPILING)"=="YES"
CONFIGURE_FLAGS+= --build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)
.ENDIF
BUILD_ACTION=$(AUGMENT_LIBRARY_PATH) $(GNUMAKE)
diff --git a/redland/redland/makefile.mk b/redland/redland/makefile.mk
index ec4941c215f4..b38c45a6e7d1 100644
--- a/redland/redland/makefile.mk
+++ b/redland/redland/makefile.mk
@@ -134,7 +134,7 @@ CONFIGURE_FLAGS=--disable-shared
CONFIGURE_FLAGS=--disable-static
.ENDIF
CONFIGURE_FLAGS+= --disable-gtk-doc --with-threads --with-openssl-digests --with-xml-parser=libxml --with-raptor=system --with-rasqual=system --without-bdb --without-sqlite --without-mysql --without-postgresql --without-threestore --with-regex-library=posix --with-decimal=none --with-www=xml
-.IF "$(CROSS_COMPILING)"!=""
+.IF "$(CROSS_COMPILING)"=="YES"
CONFIGURE_FLAGS+= --build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)
.ENDIF
BUILD_ACTION=$(AUGMENT_LIBRARY_PATH) $(GNUMAKE)