Skip to content

Commit c01c867

Browse files
committed
feat(build): Add configure flag to skip checks for all developer tools
1 parent 654e02c commit c01c867

3 files changed

Lines changed: 10 additions & 3 deletions

File tree

Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ACLOCAL_AMFLAGS = -I build-aux
2-
AM_DISTCHECK_CONFIGURE_FLAGS = --enable-developer-mode
2+
AM_DISTCHECK_CONFIGURE_FLAGS = --enable-developer-mode --without-developer-tools PDFINFO=$(PDFINFO)
33

44
.ONESHELL:
55
.SECONDARY:

build-aux/que_developer_mode.m4

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,12 @@ AC_DEFUN([QUE_DEVELOPER_MODE], [
1515
[USE_DEVELOPER_MODE=]m4_if(_que_developer_def, [enable], [no], [yes]))
1616
AC_MSG_RESULT([$USE_DEVELOPER_MODE])
1717
AM_CONDITIONAL([DEVELOPER_MODE], [test $USE_DEVELOPER_MODE = yes])
18-
18+
AM_COND_IF([DEVELOPER_MODE], [
19+
AC_ARG_WITH([developer-tools],
20+
AS_HELP_STRING([--without-developer-tools],
21+
[Avoid checks for developer workflow tooling]))
22+
], [
23+
with_developer_tools=no
24+
])
25+
AM_CONDITIONAL([DEVELOPER_TOOLS], [test "x$with_developer_tools" != "xno"])
1926
])

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ AM_COND_IF([FONT_DOWNLOAD_TOOLS], [
176176
QUE_PROGVAR([bsdtar])
177177
])
178178

179-
AM_COND_IF([DEVELOPER_MODE], [
179+
AM_COND_IF([DEVELOPER_TOOLS], [
180180
QUE_PROGVAR([busted])
181181
QUE_PROGVAR([cargosetversion], [cargo-set-version])
182182
QUE_PROGVAR([curl])

0 commit comments

Comments
 (0)