From bb95e3a0dfc8aff7d206cb2d7d4b650a87b1aea9 Mon Sep 17 00:00:00 2001 From: Jonathan McDowell Date: Wed, 1 Feb 2023 09:25:59 +0000 Subject: [PATCH] Fix help for FAPI configure option FAPI support is controlled by --enable-fapi, not --with-fapi. Fix the help in configure.ac and the associated documentation. Signed-off-by: Jonathan McDowell --- configure.ac | 2 +- docs/FAPI.md | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 1ec6eb4c..3da4447e 100644 --- a/configure.ac +++ b/configure.ac @@ -116,7 +116,7 @@ AS_IF([test "x$esapi_sf" = "xyes"], AC_ARG_WITH( [fapi], - [AS_HELP_STRING([--with-fapi], + [AS_HELP_STRING([--enable-fapi], [enable or disable the fapi backend. Default is "auto" to autodetect])], [enable_fapi=$withval], [enable_fapi=auto]) diff --git a/docs/FAPI.md b/docs/FAPI.md index 0a2ff2b0..8dbd29bb 100644 --- a/docs/FAPI.md +++ b/docs/FAPI.md @@ -11,7 +11,7 @@ code was implemented using the Enhanced System API (ESAPI) and for on disk stora ## Build Time At the time the package is built, it will detect tss2-fapi library and automatically configure it's inclusion into the tpm2-pkcs11 library. One can *explicitly* configure this -with `--with-fapi=yes|no`. +with `--enable-fapi=yes|no`. ## Run Time @@ -23,8 +23,8 @@ You can take a few actions if you run into this issue: 1. Ignore them, and optionally disable FAPI error logging: - `export TSS2_LOG=fapi+NONE` -2. Reconfigure the package with `--with-fapi=no`: - - `./configure --with-fapi=no` +2. Reconfigure the package with `--enable-fapi=no`: + - `./configure --enable-fapi=no` 3. Provision FAPI using `tss2_provision`. See the tpm2-tools project for more information: -