mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2024-11-12 07:46:28 +00:00
Added fatal test for needed programsp
This commit is contained in:
parent
1e1e4b2d70
commit
8592a325d3
19
configure.ac
19
configure.ac
@ -67,11 +67,28 @@ AC_PROG_CC
|
||||
AC_PROG_INSTALL
|
||||
|
||||
AC_CHECK_PROG(have_zsh,zsh,yes,no)
|
||||
if test "x$have_zsh" = "xno"; then
|
||||
AC_MSG_ERROR([*** zsh required!])
|
||||
fi
|
||||
AC_CHECK_PROG(have_cryptsetup,cryptsetup,yes,no)
|
||||
if test "x$have_cryptosetup" = "xno"; then
|
||||
AC_MSG_ERROR([*** cryptosetup required!])
|
||||
fi
|
||||
AC_CHECK_PROG(have_pinentry,pinentry,yes,no)
|
||||
if test "x$have_pinentry" = "xno"; then
|
||||
AC_MSG_ERROR([*** pinentry required!])
|
||||
fi
|
||||
AC_CHECK_PROG(have_wipe,wipe,yes,no)
|
||||
AC_CHECK_PROG(have_dcfldd,dcfldd,yes,no)
|
||||
AC_CHECK_PROG(have_gksu,gksu,yes,no)
|
||||
AC_CHECK_PROG(have_sudo,sudo,yes,no)
|
||||
if test "x$have_sudo" = "xno"; then
|
||||
AC_MSG_ERROR([*** sudo required!])
|
||||
fi
|
||||
|
||||
AC_CHECK_PROG(have_bc,bc,yes,no)
|
||||
if test "x$have_bc" = "xno"; then
|
||||
AC_MSG_ERROR([*** bc required!])
|
||||
fi
|
||||
|
||||
PKG_CHECK_MODULES(GTK2, [gtk+-2.0 >= 2.16], :,
|
||||
AC_MSG_ERROR([*** Gtk+2 >=2.16 development files not found!]))
|
||||
|
Loading…
Reference in New Issue
Block a user