Build: fix ipaplatform detection for out-of-tree builds

https://fedorahosted.org/freeipa/ticket/6418

Reviewed-By: Martin Basti <mbasti@redhat.com>
Reviewed-By: Christian Heimes <cheimes@redhat.com>
This commit is contained in:
Petr Spacek 2016-10-25 14:07:11 +02:00 committed by Martin Babinsky
parent 8de11b091f
commit 3d6b8f8bdd

View File

@ -323,7 +323,7 @@ if test "x${IPAPLATFORM}" == "x"; then
fi
fi
if test ! -d "ipaplatform/${IPAPLATFORM}"; then
if test ! -d "${srcdir}/ipaplatform/${IPAPLATFORM}"; then
AC_MSG_ERROR([IPA platform ${IPAPLATFORM} is not supported])
fi