From 87fe20600f10fca4944d463fc2c3ef1e3e1eb040 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Mon, 11 Mar 2013 17:44:51 +0100 Subject: Fix the build under Kfreebsd & HURD. Ensure that Kfreebsd and HURD are recognized as "like Linux" Signed-off-by: Sylvestre Ledru Signed-off-by: Dirk Hohndel --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 405e4bd7a..fd6cdc46a 100644 --- a/Makefile +++ b/Makefile @@ -32,7 +32,7 @@ STORED_VERSION_STRING = \ read ignore ignore v <$(VERSION_FILE) && echo $$v)) #" workaround editor syntax highlighting quirk -UNAME := $(shell $(CC) -dumpmachine 2>&1 | grep -E -o "linux|darwin|win") +UNAME := $(shell $(CC) -dumpmachine 2>&1 | grep -E -o "linux|darwin|win|gnu|kfreebsd") GET_VERSION = ./scripts/get-version VERSION_STRING := $(shell $(GET_VERSION) linux || echo "v$(VERSION)") # Mac Info.plist style with three numbers 1.2.3 @@ -125,7 +125,7 @@ ifneq ($(strip $(LIBSQLITE3)),) SQLITE3 = -DSQLITE3 $(shell $(PKGCONFIG) --cflags sqlite3) endif -ifeq ($(UNAME), linux) +ifneq (,$(filter $(UNAME),linux kfreebsd gnu)) LIBGCONF2 = $(shell $(PKGCONFIG) --libs gconf-2.0) GCONF2CFLAGS = $(shell $(PKGCONFIG) --cflags gconf-2.0) OSSUPPORT = linux -- cgit v1.2.3-70-g09d2