mirror of
https://github.com/cockpit-project/cockpit.git
synced 2026-11-03 21:49:50 -09:00
configure: Fix check for xgettext
Actually check for the "xgettext" binary in the relevant section. xsltproc is already checked further down, conditionalized by --enable-docs. The latter is also in a different package. See https://github.com/cockpit-project/cockpit/discussions/18408
This commit is contained in:
parent
f068604a92
commit
56e9bd2185
2 changed files with 3 additions and 2 deletions
|
|
@ -178,9 +178,9 @@ else
|
|||
fi
|
||||
AC_SUBST([systemdunitdir], [$systemdunitdir])
|
||||
|
||||
# We need msgcat, msgfmt, msggrep, msgmerge, but they're all in the same
|
||||
# We need msgcat, msgfmt, and xgettext, but they're all in the same
|
||||
# package as xgettext, and we find them by PATH, so just check for the one.
|
||||
AC_PATH_PROG([XGETTEXT], [xsltproc], [no])
|
||||
AC_PATH_PROG([XGETTEXT], [xgettext], [no])
|
||||
if test "$XGETTEXT" = "no"; then
|
||||
AC_MSG_ERROR([Please install gettext tools])
|
||||
fi
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ actions:
|
|||
srpm_build_deps:
|
||||
- automake
|
||||
- gcc
|
||||
- gettext
|
||||
- glib2-devel
|
||||
- make
|
||||
- systemd-devel
|
||||
|
|
|
|||
Loading…
Reference in a new issue