mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-01 15:05:23 +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:
2
configure
vendored
2
configure
vendored
@@ -22078,7 +22078,7 @@ ac_res=$ac_cv_search_cmocka_set_message_output
|
|||||||
if test "$ac_res" != no; then :
|
if test "$ac_res" != no; then :
|
||||||
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
|
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"
|
CMOCKA_LIBS="-L$with_cmocka/lib -lcmocka"
|
||||||
|
|
||||||
else
|
else
|
||||||
|
@@ -3667,7 +3667,7 @@ AS_CASE([$with_cmocka],
|
|||||||
AC_SEARCH_LIBS([cmocka_set_message_output],
|
AC_SEARCH_LIBS([cmocka_set_message_output],
|
||||||
[cmocka],
|
[cmocka],
|
||||||
[
|
[
|
||||||
CMOCKA_CFLAGS="-Iwith_cmocka/include"
|
CMOCKA_CFLAGS="-I$with_cmocka/include"
|
||||||
CMOCKA_LIBS="-L$with_cmocka/lib -lcmocka"
|
CMOCKA_LIBS="-L$with_cmocka/lib -lcmocka"
|
||||||
],
|
],
|
||||||
[AC_MSG_ERROR([cmocka unit testing framework not found in $with_cmocka path])])
|
[AC_MSG_ERROR([cmocka unit testing framework not found in $with_cmocka path])])
|
||||||
|
Reference in New Issue
Block a user