build: Fix ksba.m4.
authorNIIBE Yutaka <gniibe@fsij.org>
Fri, 26 Oct 2018 00:40:43 +0000 (09:40 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Fri, 26 Oct 2018 00:40:43 +0000 (09:40 +0900)
* src/ksba.m4: Use AC_PATH_PROG to detect ksba-config.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
src/ksba.m4

index d02954a..1333979 100644 (file)
@@ -50,7 +50,7 @@ AC_DEFUN([AM_PATH_KSBA],
     fi
   fi
   if test -z "$use_gpgrt_config"; then
-    AC_PATH_TOOL(LIBKSBA_CONFIG, ksba-config, no)
+    AC_PATH_PROG(LIBKSBA_CONFIG, ksba-config, no)
   fi
 
   tmp=ifelse([$1], ,1:1.0.0,$1)