From 2d822c6bbc81c24aa2ace77fff2a71f435b26e4b Mon Sep 17 00:00:00 2001 From: Luke Dashjr Date: Tue, 26 Jul 2016 03:20:08 +0000 Subject: [PATCH] Minor fixups for "make example" --- configure.ac | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index 633105c..4671ca7 100644 --- a/configure.ac +++ b/configure.ac @@ -51,17 +51,17 @@ PKG_CHECK_MODULES([libbase58],[libbase58]) AC_CHECK_LIB([ws2_32], [strchr]) -#libgcrypt necessary to build example.c with "make example" -#check for libgcrypt: +dnl libgcrypt necessary to build example.c with "make example" +dnl check for libgcrypt: m4_ifdef([AM_PATH_LIBGCRYPT], [ AM_PATH_LIBGCRYPT([], [ - [can_compile_example=yes] + can_compile_example=yes ],[ - [compile_example=no] + can_compile_example=no ]) ],[ - m4_warn([syntax], [AM_PATH_LIBGCRYPT missing; CLI tool will not be available]) + m4_warn([syntax], [AM_PATH_LIBGCRYPT missing; example will not be available]) ]) AM_CONDITIONAL([CAN_COMPILE_EXAMPLE], [test x$can_compile_example = xyes])