Commit 482ec1d3 authored by sympa-authors's avatar sympa-authors
Browse files

Check that msgfmt is available


git-svn-id: https://subversion.renater.fr/sympa/trunk@2573 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
parent ec740e59
......@@ -185,6 +185,13 @@ checkperl:
echo "## Suidperl is required to run WWSympa with SetUID."; \
echo "#####################################################"; \
fi
@if [ ! -f $(MSGFMT) ]; then \
echo "##################################"; \
echo "## You don't have msgfmt installed. It is required to build message catalogues"; \
echo "## msgfmt is provided with a 'gettest' package on most systems..."; \
echo "#####################################################"; \
fi
checkmhonarc:
@if [ ! -f $(MHONARC) ]; then \
......
......@@ -434,6 +434,12 @@ checkperl:
echo "## Suidperl is required to run WWSympa with SetUID."; \
echo "#####################################################"; \
fi
@if [ ! -f $(MSGFMT) ]; then \
echo "##################################"; \
echo "## You don't have msgfmt installed. It is required to build message catalogues"; \
echo "## msgfmt is provided with a 'gettest' package on most systems..."; \
echo "#####################################################"; \
fi
checkmhonarc:
@if [ ! -f $(MHONARC) ]; then \
......
......@@ -3517,6 +3517,7 @@ echo "${ECHO_T}no" >&6
fi
# Extract the first word of "sh", so it can be a program name with args.
set dummy sh; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
......
......@@ -158,6 +158,7 @@ AC_PATH_PROG(CVS2CL, cvs2cl.pl, /usr/local/bin)
AC_SUBST(CVS2CL)
AC_PATH_PROG(MSGFMT, msgfmt, /usr/bin/msgfmt)
AC_SUBST(MSGFMT)
AC_PATH_PROG(SH, sh, /bin/sh)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment