From f505445ad103a2388ed89af5bd3867ae0e991b5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Thu, 7 May 2015 14:04:21 +0000 Subject: [PATCH] error finding pkcs11 on Mac --- ax_init_standard_project.m4 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ax_init_standard_project.m4 b/ax_init_standard_project.m4 index 24ae88f..e6d783d 100644 --- a/ax_init_standard_project.m4 +++ b/ax_init_standard_project.m4 @@ -366,7 +366,8 @@ AC_DEFUN([AX_PKG_REQUIRE], [ for p in /usr/include ${$1_CFLAGS}; do $1_file=$(find ${p#-I} -name $3) if test -e ${$1_file}; then - $1_CFLAGS="${$1_CFLAGS} -I${$1_file%/*}" + AC_MSG_WARN([Header file $3 found as ${$1_file} in ${$1_file%/$3}]) + $1_CFLAGS="${$1_CFLAGS} -I${$1_file%/$3}" $1_found=1 break fi