Skip to content

Commit

Permalink
explicitely check for rep binary, fixes issue #26
Browse files Browse the repository at this point in the history
  • Loading branch information
Nanolx committed Aug 22, 2017
1 parent 0f87ffc commit 0d73d3c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions configure.ac
Expand Up @@ -215,6 +215,12 @@ fi
dnl Check for librep
REP_MIN_VER="0.92.3"

AC_CHECK_PROG(REP_BIN, [rep], [yes])
if test "$REP_BIN" != "yes"; then
echo "rep binary not found!"
exit 1
fi

PKG_CHECK_MODULES(LIBREP, librep >= ${REP_MIN_VER}
,REP_EXECDIR="`pkg-config --variable=repcommonexecdir librep`"
REP_CFLAGS="`pkg-config --cflags librep`"
Expand Down

0 comments on commit 0d73d3c

Please sign in to comment.