From ac6e948cfa48802afd1b106e3bbba4917194126c Mon Sep 17 00:00:00 2001 From: William Roberts Date: Fri, 16 Jul 2021 15:19:33 -0500 Subject: [PATCH] configure: check for which Don't use type becuase its not supported in Free BSD AFAICT. Fixes: #785 Signed-off-by: William Roberts --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index 5e9a556c..3defc4ca 100644 --- a/configure.ac +++ b/configure.ac @@ -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)"],