summaryrefslogtreecommitdiff
path: root/Makefile.glib
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2012-02-08 16:05:34 -0500
committerDan Winship <danw@gnome.org>2012-02-08 16:05:34 -0500
commit480f6b015fbbe9317a31c8798056d97dd64150b1 (patch)
treea2137bd376e83c53e166fb5d3e8df77af8adf60f /Makefile.glib
parent4dc4c05536ddda37e702966c87dfbe8acf120f40 (diff)
downloadlibsoup-480f6b015fbbe9317a31c8798056d97dd64150b1.tar.gz
libsoup-480f6b015fbbe9317a31c8798056d97dd64150b1.tar.bz2
libsoup-480f6b015fbbe9317a31c8798056d97dd64150b1.zip
Makefile.glib: fix for make earlier than 3.82
Diffstat (limited to 'Makefile.glib')
-rw-r--r--Makefile.glib4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.glib b/Makefile.glib
index a8cf3b9f..37f2b92c 100644
--- a/Makefile.glib
+++ b/Makefile.glib
@@ -151,7 +151,7 @@ _glib_marshal_sources = $(filter-out %.h,$(filter-out $(GLIB_GENERATED),$($(_gli
# foo_marshal_sources wasn't set. Note that single-$ variables are
# expanded when the macro is called, and double-$ variables are
# expanded when the rule is invoked.
-define _glib_make_genmarshal_rules =
+define _glib_make_genmarshal_rules
$(if $(_glib_marshal_sources),,$(error Need to define $(_glib_marshal_sources_var) for $(1).[ch]))
$(1).list.stamp: $(_glib_marshal_sources)
@@ -197,7 +197,7 @@ _glib_enum_types_sources_var = $(_glib_enum_types_prefix)_sources
_glib_enum_types_sources = $(filter-out $(GLIB_GENERATED),$($(_glib_enum_types_sources_var)))
_glib_enum_types_h_sources = $(filter %.h,$(_glib_enum_types_sources))
-define _glib_make_mkenums_rules =
+define _glib_make_mkenums_rules
$(if $(_glib_enum_types_sources),,$(error Need to define $(_glib_enum_types_sources_var) for $(1).[ch]))
$(1).h.stamp: $(_glib_enum_types_h_sources)