From ab9f12c7f406acb087cc5e91b210fa1175e0c63b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Sur=C3=BD?= Date: Fri, 17 Aug 2018 15:28:42 +0200 Subject: [PATCH] Fix missing $ in CMOCKA_CFLAGS when --with-cmocka= was used --- configure | 2 +- configure.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 87b09c1a66..1b6e7980cb 100755 --- a/configure +++ b/configure @@ -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 diff --git a/configure.in b/configure.in index 95bc7bcac7..f386acb9a1 100644 --- a/configure.in +++ b/configure.in @@ -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])])