summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Denhardt <ian@zenhack.net>2013-05-28 00:15:49 -0400
committerIan Denhardt <ian@zenhack.net>2013-05-28 00:15:49 -0400
commit4dc6efd9f7d72a068afb0046ded938aca522d582 (patch)
treecb4b929ba37b4903207741941d9fc5a7dbdb3d9b
parent29c387a179be0414eaa0d3ef2d3127c20d571151 (diff)
downloaddwb-4dc6efd9f7d72a068afb0046ded938aca522d582.zip
Portability fix: m4's --define is not posix
In particular, OpenBSD doesn't seem to have the long version; use -D instead.
-rw-r--r--config.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.mk b/config.mk
index bf9ba279..8e549055 100644
--- a/config.mk
+++ b/config.mk
@@ -144,7 +144,7 @@ CFLAGS += -D_NETBSD_SOURCE
CFLAGS += $(shell pkg-config --cflags $(LIBS))
ifeq ($(shell pkg-config --exists '$(LIBSOUP) >= 2.38' && echo 1), 1)
-M4FLAGS += --define=WITH_LIBSOUP_2_38=1 -G
+M4FLAGS += -DWITH_LIBSOUP_2_38=1 -G
CFLAGS += -DWITH_LIBSOUP_2_38=1
endif