diff --git a/ChangeLog b/ChangeLog index 946797e..59597fc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2015-06-18 14:34 marc + + * ChangeLog, configure.ac: build fails with GNU TLS, because pcsc.h + there is something completely different + 2015-05-22 08:45 marc * configure.ac: fixed package name for mac ports diff --git a/ax_init_standard_project.m4 b/ax_init_standard_project.m4 index 77c1e73..7be94eb 100644 --- a/ax_init_standard_project.m4 +++ b/ax_init_standard_project.m4 @@ -382,7 +382,7 @@ AC_DEFUN([AX_PKG_REQUIRE], [ fi done if test ${$1_found} -eq 0 -a -n "$3"; then - for p in "/usr/include" ${$1_CFLAGS}; do + for p in ${$1_CFLAGS}; do AC_MSG_NOTICE([checking: [${p}] with [${p#-I}]]) $1_file=$(find ${p#-I} -name $(echo "$3" | sed 's,.*/,,') | grep "$3" | head -1) AC_MSG_NOTICE([call: $1_file=[\$](find [$]{p[#]-I} -name "$3")]) @@ -417,7 +417,7 @@ AC_DEFUN([AX_PKG_REQUIRE], [ fi done if test ${$1_found} -eq 0; then - for p in /usr/include ${$1_CFLAGS}; do + for p in ${$1_CFLAGS}; do $1_file=$(find ${p#-I} -name $(echo "$3" | sed 's,.*/,,') | grep "$3" | head -1) if test -e ${$1_file}; then AC_MSG_NOTICE([Header file $3 found in sub path of ${pkg} as ${$1_file}])