2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00

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

This commit is contained in:
Ondřej Surý
2018-08-17 15:28:42 +02:00
parent 28cf1a7a9c
commit ab9f12c7f4
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])])