2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

Merge branch 'configure.in-cmocka-CFLAGS-fix' into 'master'

Fix missing $ in CMOCKA_CFLAGS when --with-cmocka=<path> was used

See merge request isc-projects/bind9!665
This commit is contained in:
Ondřej Surý
2018-08-17 09:37:31 -04:00
2 changed files with 2 additions and 2 deletions

2
configure vendored
View File

@@ -22078,7 +22078,7 @@ ac_res=$ac_cv_search_cmocka_set_message_output
if test "$ac_res" != no; then :
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
CMOCKA_CFLAGS="-Iwith_cmocka/include"
CMOCKA_CFLAGS="-I$with_cmocka/include"
CMOCKA_LIBS="-L$with_cmocka/lib -lcmocka"
else

View File

@@ -3667,7 +3667,7 @@ AS_CASE([$with_cmocka],
AC_SEARCH_LIBS([cmocka_set_message_output],
[cmocka],
[
CMOCKA_CFLAGS="-Iwith_cmocka/include"
CMOCKA_CFLAGS="-I$with_cmocka/include"
CMOCKA_LIBS="-L$with_cmocka/lib -lcmocka"
],
[AC_MSG_ERROR([cmocka unit testing framework not found in $with_cmocka path])])