158
158
AC_DEFINE(USE_GLAMOR, 1, [Enable glamor acceleration])
161
AC_ARG_WITH(default-accel,
162
AS_HELP_STRING([--with-default-accel],
163
[Select the default acceleration method [default=uxa if enabled, otherwise sna]]),
166
if test "x$accel" = xyes; then
167
AC_MSG_WARN([No default acceleration specified, choosing automatic selection])
171
AC_MSG_CHECKING([which acceleration method to use by default])
172
if test "x$accel" = xauto; then
173
if test "x$UXA" != "xno"; then
176
if test "x$SNA" != "xno"; then
180
if test "x$accel" = xauto; then
181
AC_MSG_ERROR([No default acceleration option])
186
if test "x$accel" = xsna; then
187
if test "x$SNA" != "xno"; then
188
AC_DEFINE(DEFAULT_ACCEL_METHOD, SNA, [Default acceleration method])
191
AC_MSG_ERROR([SNA requested as default, but is not enabled])
195
if test "x$accel" = xuxa; then
196
if test "x$UXA" != "xno"; then
197
AC_DEFINE(DEFAULT_ACCEL_METHOD, UXA, [Default acceleration method])
200
AC_MSG_ERROR([UXA requested as default, but is not enabled])
203
AC_MSG_RESULT($accel)
204
if test "x$accel" = xno; then
205
AC_MSG_ERROR([No default acceleration option])
161
208
AC_ARG_ENABLE(vmap,
162
209
AS_HELP_STRING([--enable-vmap],
163
[Enable use of vmap [default=no]]),
210
[Enable use of vmap (experimental) [default=no]]),
164
211
[VMAP="$enableval"],
166
213
AM_CONDITIONAL(USE_VMAP, test x$VMAP = xyes)
168
215
AC_DEFINE(USE_VMAP,1,[Assume VMAP support])
218
AC_ARG_ENABLE(async-swap,
219
AS_HELP_STRING([--enable-async-swap],
220
[Enable use of asynchronous swaps (experimental) [default=no]]),
221
[ASYNC_SWAP="$enableval"],
223
AM_CONDITIONAL(USE_ASYNC_SWAP, test x$ASYNC_SWAP = xyes)
224
if test "x$ASYNC_SWAP" = xyes; then
225
AC_DEFINE(USE_ASYNC_SWAP,1,[Assume asynchronous swap support])
172
228
AC_ARG_ENABLE(debug,
173
229
AS_HELP_STRING([--enable-debug],
174
230
[Enables internal debugging [default=no]]),
175
231
[DEBUG="$enableval"],
178
233
# Store the list of server defined optional extensions in REQUIRED_MODULES
179
234
XORG_DRIVER_CHECK_EXT(RANDR, randrproto)
180
235
XORG_DRIVER_CHECK_EXT(RENDER, renderproto)