X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=configure.ac;h=8607ff17a3c1cbbf00a6c524d4e2d500c3120c1f;hb=babb5ba9a977d23ddae828521401eae312bdb619;hp=f1ff3d4f472a4f5dd8ed3485255562cd14c34058;hpb=cade071d525f71069f635fd0b705e64d897b32c4;p=mesa.git diff --git a/configure.ac b/configure.ac index f1ff3d4f472..8607ff17a3c 100644 --- a/configure.ac +++ b/configure.ac @@ -1145,6 +1145,21 @@ AC_ARG_WITH([xorg-driver-dir], [XORG_DRIVER_INSTALL_DIR="${libdir}/xorg/modules/drivers"]) AC_SUBST([XORG_DRIVER_INSTALL_DIR]) +AC_ARG_WITH([max-width], + [AS_HELP_STRING([--with-max-width=N], + [Maximum framebuffer width (4096)])], + [DEFINES="${DEFINES} -DMAX_WIDTH=${withval}"; + AS_IF([test "${withval}" -gt "4096"], + [AC_MSG_WARN([Large framebuffer: see s_tritemp.h comments.])])] +) +AC_ARG_WITH([max-height], + [AS_HELP_STRING([--with-max-height=N], + [Maximum framebuffer height (4096)])], + [DEFINES="${DEFINES} -DMAX_HEIGHT=${withval}"; + AS_IF([test "${withval}" -gt "4096"], + [AC_MSG_WARN([Large framebuffer: see s_tritemp.h comments.])])] +) + dnl dnl Gallium Intel configuration dnl