Skip to content

Commit

Permalink
refactor(build): Wrap tooling checks so duplicates don't need to be r…
Browse files Browse the repository at this point in the history
…erun
  • Loading branch information
alerque committed Dec 11, 2024
1 parent f394f60 commit 14b3671
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion build-aux/que_docker_boilerplate.m4
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ AC_DEFUN_ONCE([QUE_DOCKER_BOILERPLATE], [
QUE_TRANSFORM_PACKAGE_NAME
AC_MSG_NOTICE([checking for tools used by automake to build Docker projects])
AC_PROG_INSTALL
AC_REQUIRE([AC_PROG_INSTALL])
AM_COND_IF([DEVELOPER_MODE], [
QUE_PROGVAR([docker])
])
Expand Down
2 changes: 1 addition & 1 deletion build-aux/que_font.m4
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
AC_DEFUN([QUE_FONT], [
AC_PROG_GREP
AC_REQUIRE([AC_PROG_GREP])
if test -z "$FCMATCH"; then
AC_PATH_PROG(FCMATCH, fc-match)
if test -z "$FCMATCH"; then
Expand Down
4 changes: 2 additions & 2 deletions build-aux/que_git_version.m4
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ AC_DEFUN_ONCE([QUE_GIT_VERSION], [
AM_CONDITIONAL([SOURCE_IS_ARCHIVE],
[test ! -d .git -a ! -f .tarball-version])
AC_PROG_AWK
AC_PROG_GREP
AC_REQUIRE([AC_PROG_AWK])
AC_REQUIRE([AC_PROG_GREP])
QUE_TRANSFORM_PACKAGE_NAME
Expand Down
4 changes: 2 additions & 2 deletions build-aux/que_rust_boilerplate.m4
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ AC_DEFUN_ONCE([QUE_RUST_BOILERPLATE], [
AM_CONDITIONAL([DEBUG_RELEASE], [test "x$debug_release" = "xyes"])
AC_MSG_NOTICE([checking for tools used by automake to build Rust projects])
AC_PROG_INSTALL
AC_PROG_SED
AC_REQUIRE([AC_PROG_INSTALL])
AC_REQUIRE([AC_PROG_SED])
QUE_PROGVAR([cargo])
QUE_PROGVAR([jq])
QUE_PROGVAR([rustc])
Expand Down
2 changes: 1 addition & 1 deletion build-aux/que_transform_package_name.m4
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

AC_DEFUN_ONCE([QUE_TRANSFORM_PACKAGE_NAME], [
AC_PROG_SED
AC_REQUIRE([AC_PROG_SED])
TRANSFORMED_PACKAGE_NAME="$(printf "$PACKAGE_NAME" | $SED -e "$(printf "$program_transform_name" | $SED -e 's/\$\$/\$/')")"
AC_SUBST([TRANSFORMED_PACKAGE_NAME])
Expand Down

0 comments on commit 14b3671

Please sign in to comment.