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 3f14776 commit 5c6b2cb
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, cmp)
AC_PATH_PROG(TBL, tbl, tbl)
AC_PATH_PROG(AR, ar, ar)
AC_PATH_PROG(OPENSSL, openssl, none)
AC_PATH_PROG(MTX, mtx, mtx)
AC_PATH_PROG(MTX, mtx, [], [$PATH$PATH_SEPARATOR/usr/sbin$PATH_SEPARATOR/sbin])
AC_PATH_PROG(DD, dd, dd)
AC_PATH_PROG(PYTHON, python, python)
AC_PATH_PROG(PKGCONFIG, pkg-config, pkg-config)
Expand Down

0 comments on commit 5c6b2cb

Please sign in to comment.