fix configuration when amdgpu is disabled

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
main
Alex Deucher 2015-08-06 11:13:48 -04:00
parent 2978f5c37e
commit 11a390ea66
1 changed files with 1 additions and 1 deletions

View File

@ -359,6 +359,7 @@ if test "x$RADEON" = xyes; then
AC_DEFINE(HAVE_RADEON, 1, [Have radeon support])
fi
AM_CONDITIONAL(HAVE_CUNIT, [test "x$have_cunit" != "xno"])
AM_CONDITIONAL(HAVE_AMDGPU, [test "x$AMDGPU" = xyes])
if test "x$AMDGPU" = xyes; then
AC_DEFINE(HAVE_AMDGPU, 1, [Have amdgpu support])
@ -378,7 +379,6 @@ if test "x$AMDGPU" = xyes; then
fi
fi
AM_CONDITIONAL(HAVE_CUNIT, [test "x$have_cunit" != "xno"])
AC_DEFINE(HAVE_CUNIT, [test "x$have_cunit" != "xno"], [Enable CUNIT Have amdgpu support])
if test "x$have_cunit" = "xno"; then