diff --git a/Makefile.am b/Makefile.am index 15ccbf87134ee30d33dfff9daf1e7325e4ca48bb..fa8711403d5ca4635c2d2bdf7d2005c084878c52 100644 --- a/Makefile.am +++ b/Makefile.am @@ -28,8 +28,8 @@ CHANGELOG_RANGE = ChangeLog: $(srcdir)/ChangeLog $(srcdir)/ChangeLog: $(AM_V_GEN) if test -d "$(top_srcdir)/.git"; then \ - (GIT_DIR=$(top_srcdir)/.git $(top_srcdir)/missing --run \ - git log $(CHANGELOG_RANGE) --stat) | fmt --split-only > $@.tmp \ + (GIT_DIR=$(top_srcdir)/.git \ + $(GIT) log $(CHANGELOG_RANGE) --stat) | fmt --split-only > $@.tmp \ && mv -f $@.tmp "$(srcdir)/ChangeLog" \ || ($(RM) $@.tmp; \ echo Failed to generate ChangeLog, your ChangeLog may be outdated >&2; \ diff --git a/configure.ac b/configure.ac index 3d18f7a4a92f534cd66e414c65ee44c3c77b551b..e2be463686cc73ef963404421ea7946d44fe336e 100644 --- a/configure.ac +++ b/configure.ac @@ -23,6 +23,8 @@ AC_PROG_CC AM_PROG_CC_C_O AC_PROG_CXX PKG_PROG_PKG_CONFIG([0.20]) +AM_MISSING_PROG([RAGEL], [ragel]) +AM_MISSING_PROG([GIT], [git]) # Version m4_define(hb_version_triplet,m4_split(AC_PACKAGE_VERSION,[[.]])) diff --git a/src/Makefile.am b/src/Makefile.am index e2790a0d86b1774311600ed45493a7a763a32fb6..87d989055e8046282f68814120c32e5fb7088f8b 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -302,7 +302,7 @@ EXTRA_DIST += \ hb-ot-shape-complex-sea-machine.rl \ $(NULL) .rl.hh: - $(AM_V_GEN)$(top_srcdir)/missing --run ragel -e -F1 -o "$@.tmp" "$<" && \ + $(AM_V_GEN)$(RAGEL) -e -F1 -o "$@.tmp" "$<" && \ mv "$@.tmp" "$@" || ( $(RM) "$@.tmp" && false ) noinst_PROGRAMS = \