Andrew Geissler | d1d22e6 | 2020-10-16 10:14:32 -0500 | [diff] [blame] | 1 | From 9e3ef6f253f9427596baf3e7d748a79854cadfa9 Mon Sep 17 00:00:00 2001 |
| 2 | From: Armin Kuster <akuster808@gmail.com> |
| 3 | Date: Wed, 14 Oct 2020 08:55:33 -0700 |
| 4 | Subject: [PATCH] remove local binary checkes |
| 5 | |
| 6 | Signed-off-by: Armin Kuster <akuster808@gmail.com> |
| 7 | |
| 8 | Upsteam-Status: Inappropriate |
| 9 | These are only needed to run on the tartget so we add an RDPENDS. |
| 10 | Not needed for building. |
| 11 | |
| 12 | --- |
| 13 | configure.ac | 48 ------------------------------------------------ |
| 14 | 1 file changed, 48 deletions(-) |
| 15 | |
| 16 | diff --git a/configure.ac b/configure.ac |
| 17 | index 50e7d4b..2b9abcf 100644 |
| 18 | --- a/configure.ac |
| 19 | +++ b/configure.ac |
| 20 | @@ -219,54 +219,6 @@ AX_PROG_JAVAC() |
| 21 | AX_PROG_JAVA() |
| 22 | m4_popdef([AC_MSG_ERROR]) |
| 23 | |
| 24 | -AC_CHECK_PROG([tpm2_createprimary], [tpm2_createprimary], [yes], [no]) |
| 25 | - AS_IF([test "x$tpm2_createprimary" != "xyes"], |
| 26 | - [AC_MSG_ERROR([tpm2_ptool requires tpm2_createprimary, but executable not found.])]) |
| 27 | - |
| 28 | -AC_CHECK_PROG([tpm2_create], [tpm2_create], [yes], [no]) |
| 29 | - AS_IF([test "x$tpm2_create" != "xyes"], |
| 30 | - [AC_MSG_ERROR([tpm2_ptool requires tpm2_create, but executable not found.])]) |
| 31 | - |
| 32 | -AC_CHECK_PROG([tpm2_evictcontrol], [tpm2_evictcontrol], [yes], [no]) |
| 33 | - AS_IF([test "x$tpm2_evictcontrol" != "xyes"], |
| 34 | - [AC_MSG_ERROR([tpm2_ptool requires tpm2_evictcontrol, but executable not found.])]) |
| 35 | - |
| 36 | -AC_CHECK_PROG([tpm2_readpublic], [tpm2_readpublic], [yes], [no]) |
| 37 | - AS_IF([test "x$tpm2_readpublic" != "xyes"], |
| 38 | - [AC_MSG_ERROR([tpm2_ptool requires tpm2_readpublic, but executable not found.])]) |
| 39 | - |
| 40 | -AC_CHECK_PROG([tpm2_load], [tpm2_load], [yes], [no]) |
| 41 | - AS_IF([test "x$tpm2_load" != "xyes"], |
| 42 | - [AC_MSG_ERROR([tpm2_ptool requires tpm2_load, but executable not found.])]) |
| 43 | - |
| 44 | -AC_CHECK_PROG([tpm2_loadexternal], [tpm2_loadexternal], [yes], [no]) |
| 45 | - AS_IF([test "x$tpm2_loadexternal" != "xyes"], |
| 46 | - [AC_MSG_ERROR([tpm2_ptool requires tpm2_loadexternal, but executable not found.])]) |
| 47 | - |
| 48 | -AC_CHECK_PROG([tpm2_unseal], [tpm2_unseal], [yes], [no]) |
| 49 | - AS_IF([test "x$tpm2_unseal" != "xyes"], |
| 50 | - [AC_MSG_ERROR([tpm2_ptool requires tpm2_unseal, but executable not found.])]) |
| 51 | - |
| 52 | -AC_CHECK_PROG([tpm2_encryptdecrypt], [tpm2_encryptdecrypt], [yes], [no]) |
| 53 | - AS_IF([test "x$tpm2_encryptdecrypt" != "xyes"], |
| 54 | - [AC_MSG_ERROR([tpm2_ptool requires tpm2_encryptdecrypt, but executable not found.])]) |
| 55 | - |
| 56 | -AC_CHECK_PROG([tpm2_sign], [tpm2_sign], [yes], [no]) |
| 57 | - AS_IF([test "x$tpm2_sign" != "xyes"], |
| 58 | - [AC_MSG_ERROR([tpm2_ptool requires tpm2_sign, but executable not found.])]) |
| 59 | - |
| 60 | -AC_CHECK_PROG([tpm2_getcap], [tpm2_getcap], [yes], [no]) |
| 61 | - AS_IF([test "x$tpm2_getcap" != "xyes"], |
| 62 | - [AC_MSG_ERROR([tpm2_ptool requires tpm2_getcap, but executable not found.])]) |
| 63 | - |
| 64 | -AC_CHECK_PROG([tpm2_import], [tpm2_import], [yes], [no]) |
| 65 | - AS_IF([test "x$tpm2_import" != "xyes"], |
| 66 | - [AC_MSG_ERROR([tpm2_ptool requires tpm2_import, but executable not found.])]) |
| 67 | - |
| 68 | -AC_CHECK_PROG([tpm2_changeauth], [tpm2_changeauth], [yes], [no]) |
| 69 | - AS_IF([test "x$tpm2_changeauth" != "xyes"], |
| 70 | - [AC_MSG_ERROR([tpm2_ptool requires tpm2_changeauth, but executable not found.])]) |
| 71 | - |
| 72 | AC_DEFUN([integration_test_checks], [ |
| 73 | |
| 74 | PKG_CHECK_MODULES([OPENSC_PKCS11],[opensc-pkcs11],, |
| 75 | -- |
| 76 | 2.17.1 |
| 77 | |