Skip to content

Commit

Permalink
configure finds mtx also at /usr/sbin/mtx
Browse files Browse the repository at this point in the history
some distribution store mtx under /usr/sbin/mtx.
As configure runs as normal user, this path is not set.
This patch let configure also look at sbin paths.

fixes #101: variable MTX is not defined

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
  • Loading branch information
joergsteffens authored and Marco van Wieringen committed May 5, 2013
1 parent 3a192a5 commit 8234b4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoconf/configure.in
Expand Up @@ -110,7 +110,7 @@ AC_PATH_PROG(CMP, cmp, [])
AC_PATH_PROG(TBL, tbl, [])
AC_PATH_PROG(AR, ar, [])
AC_PATH_PROG(OPENSSL, openssl, [])
AC_PATH_PROG(MTX, mtx, [])
AC_PATH_PROG(MTX, mtx, [], [$PATH$PATH_SEPARATOR/usr/sbin$PATH_SEPARATOR/sbin])
AC_PATH_PROG(DD, dd, [])
AC_PATH_PROG(PYTHON, python, [])
AC_PATH_PROG(PKGCONFIG, pkg-config, [])
Expand Down

0 comments on commit 8234b4c

Please sign in to comment.