From: Craig Small <csmall@dropbear.xyz> Date: Mon, 2 Mar 2020 10:12:46 +0000 (+1100) Subject: build-sys: add missing po4a macro X-Git-Tag: v23.4rc1~24 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bfa063bec0f12c96247d6d7ec7bebca3e4c13f09;p=psmisc build-sys: add missing po4a macro --- diff --git a/configure.ac b/configure.ac index 5328b23..3ab7645 100644 --- a/configure.ac +++ b/configure.ac @@ -15,6 +15,17 @@ AC_PROG_CXX AC_PROG_LN_S AC_PROG_CC AC_PROG_CC_STDC + +AC_DEFUN([PSMISC_PROG_PO4A], [ + AC_REQUIRE([AM_NLS]) + AC_CHECK_PROGS([PO4A], [po4a]) + AS_IF([test "$USE_NLS" = "yes" && test -n "$PO4A"], [ + USE_PO4A=yes + ], [ + USE_PO4A=no + ]) + AC_SUBST([USE_PO4A]) +]) PSMISC_PROG_PO4A dnl checks for options