Skip to content

Commit

Permalink
In configure, allow user to specify custom path to lrelease
Browse files Browse the repository at this point in the history
  • Loading branch information
mplucinski committed Dec 20, 2017
1 parent 1c7f3e9 commit 50e6947
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ ACLOCAL_AMFLAGS = -I m4

lrelease:
if HAVE_GUI
lrelease lang/*.ts
$(LRELEASE_PATH) lang/*.ts
endif

qrc_img_resources.py: imgList.xml
Expand Down
6 changes: 3 additions & 3 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ AC_CHECK_PROG([HAVE_PYRCC4], [pyrcc4], [yes], [no])
AS_IF([test $HAVE_PYRCC4 == yes], [],
[AC_MSG_ERROR([missing pyrcc4 in path, make sure pyqt4-dev-tools is installed])])

AC_CHECK_PROG([HAVE_LRELEASE], [lrelease], [yes], [no])
AS_IF([test $HAVE_LRELEASE == yes], [],
[AC_MSG_ERROR([missing lrelease in path, make sure qt4-linguist-tools is installed])])
AC_PATH_PROG([LRELEASE_PATH], [lrelease], [])
AS_IF([test "x$LRELEASE_PATH" != "x" ], [],
[AC_MSG_ERROR([missing lrelease in path, make sure qt4-linguist-tools is installed or specify LRELEASE_PATH])])

fi

Expand Down

0 comments on commit 50e6947

Please sign in to comment.