Signed-off-by: Steffan Karger <steffan@karger.me>
Acked-by: Matthias Andree <matthias.andree@gmx.de>
Message-Id: 1471284156-2324-1-git-send-email-steffan@karger.me
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg00027.html
Signed-off-by: David Sommerseth <davids@openvpn.net>
| ... | ... |
@@ -1215,7 +1215,7 @@ AC_SUBST([TEST_CFLAGS]) |
| 1215 | 1215 |
# needed for unit testing |
| 1216 | 1216 |
AC_CHECK_PROGS([CMAKE], [cmake]) |
| 1217 | 1217 |
if test -n "${CMAKE}"; then
|
| 1218 |
- if test -f vendor/cmocka/CMakeLists.txt; then |
|
| 1218 |
+ if test -f "${srcdir}/vendor/cmocka/CMakeLists.txt"; then
|
|
| 1219 | 1219 |
AM_CONDITIONAL([CMOCKA_INITIALIZED], [true]) |
| 1220 | 1220 |
else |
| 1221 | 1221 |
AM_CONDITIONAL([CMOCKA_INITIALIZED], [false]) |