mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 04:58:05 +02:00
autoconf: Fail when --with-state-trackers is incomplete.
When --enable-openvg or --enable-gallium-egl is enabled, --with-state-trackers must have vega or egl.
This commit is contained in:
parent
21148e6a88
commit
c116a0e2dc
1 changed files with 9 additions and 0 deletions
|
|
@ -1428,6 +1428,7 @@ yes)
|
||||||
if test "x$enable_openvg" != xyes; then
|
if test "x$enable_openvg" != xyes; then
|
||||||
AC_MSG_ERROR([cannot build vega state tracker without --enable-openvg])
|
AC_MSG_ERROR([cannot build vega state tracker without --enable-openvg])
|
||||||
fi
|
fi
|
||||||
|
have_st_vega="yes"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
@ -1442,6 +1443,14 @@ yes)
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
GALLIUM_STATE_TRACKERS_DIRS="$state_trackers"
|
GALLIUM_STATE_TRACKERS_DIRS="$state_trackers"
|
||||||
|
|
||||||
|
# append --enable-openvg/--enable-gallium-egl to --with-state-trackers
|
||||||
|
if test "x$have_st_vega" != xyes -a "x$enable_openvg" = xyes; then
|
||||||
|
AC_MSG_ERROR([--with-state-trackers specified but vega is missing])
|
||||||
|
fi
|
||||||
|
if test "x$HAVE_ST_EGL" != xyes -a "x$enable_gallium_egl" = xyes; then
|
||||||
|
AC_MSG_ERROR([--with-state-trackers specified but egl is missing])
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue