configure: Check for glib-genmarshal program at configure time.
[pspp] / src / ui / gui / automake.mk
index 5485d886233ea09f58e81fc0157c476545eb57ab..003437bf2d4654a660b7d0010ac5439699a00d69 100644 (file)
@@ -256,10 +256,10 @@ AM_CPPFLAGS += -Isrc
 
 src/ui/gui/psppire-marshal.c: src/ui/gui/marshaller-list
        echo '#include <config.h>' > $@
-       glib-genmarshal --body --prefix=psppire_marshal $? >> $@
+       $(GLIB_GENMARSHAL) --body --prefix=psppire_marshal $? >> $@
 
 src/ui/gui/psppire-marshal.h: src/ui/gui/marshaller-list
-       glib-genmarshal --header --prefix=psppire_marshal $? > $@
+       $(GLIB_GENMARSHAL) --header --prefix=psppire_marshal $? > $@
 
 SUFFIXES += .glade .ui
 .glade.ui: