diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 571d3f3..acebecf 100644 --- a/configure.ac +++ b/configure.ac @@ -22,7 +22,7 @@ AC_PREREQ(2.57) AC_INIT([xf86-video-nv], - 1.2.2.1, + 1.99.1, [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], xf86-video-nv) @@ -63,6 +63,17 @@ PKG_CHECK_EXISTS([xorg-server >= 1.0.99.901], PKG_CHECK_MODULES(XORG, [xorg-server xproto fontsproto $REQUIRED_MODULES]) sdkdir=$(pkg-config --variable=sdkdir xorg-server) +# Check for optional compile-time support +AC_ARG_ENABLE(g80, AC_HELP_STRING([--enable-g80], + [Enable G80 support [[default=no]]]), + [SUPPORT_G80="$enableval"], + [SUPPORT_G80=no]) +AM_CONDITIONAL(SUPPORT_G80, test x$SUPPORT_G80 = xyes) +if test "$SUPPORT_G80" = yes; then + AC_DEFINE(SUPPORT_G80,1,[Enable G80 support]) + echo "Enabling G80 support" +fi + # Checks for libraries. # Checks for header files. |