Skip to content

Commit

Permalink
configure: check for which
Browse files Browse the repository at this point in the history
Don't use type becuase its not supported in Free BSD AFAICT.

Fixes: tpm2-software#785

Signed-off-by: William Roberts <william.c.roberts@intel.com>
  • Loading branch information
William Roberts committed Jul 16, 2021
1 parent f0a0b80 commit ac6e948
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ PKG_CHECK_MODULES([TSS2_SYS],[tss2-sys >= 2.4.0])
PKG_CHECK_MODULES([TSS2_MU],[tss2-mu])
PKG_CHECK_MODULES([TSS2_TCTILDR],[tss2-tctildr])
PKG_CHECK_MODULES([TSS2_RC],[tss2-rc])
AC_CHECK_PROG([WHICH], [which], [which])
AC_ARG_VAR([GDBUS_CODEGEN],[The gdbus-codegen executable.])
AC_CHECK_PROG([GDBUS_CODEGEN], [gdbus-codegen], [gdbus-codegen])
AS_IF([test ! -x "$(which $GDBUS_CODEGEN)"],
Expand Down

0 comments on commit ac6e948

Please sign in to comment.