diff options
author | Adam Jackson <ajax@redhat.com> | 2008-11-23 17:50:37 -0500 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2008-11-23 19:56:06 -0500 |
commit | c0a4a2528dbaba95fec181552ccb0f00e1ede2ea (patch) | |
tree | 9188e211d831800eb996011576fdaf9efdd6f6d4 /configure.ac | |
parent | 33edd3514fbfbd8b36a8568dbe021d0df99e6743 (diff) |
Make ISA optional
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 9363fca..d8ca647 100644 --- a/configure.ac +++ b/configure.ac @@ -67,6 +67,14 @@ INCLUDES="$XORG_INCS -I${sdkdir} $XF86RUSH_INCS "'-I$(top_srcdir)/src -I$(prefix AC_SUBST([CFLAGS]) AC_SUBST([INCLUDES]) +save_CFLAGS="$CFLAGS" +CFLAGS="$XORG_CFLAGS" +AC_CHECK_DECL(xf86ConfigIsaEntity, + [AC_DEFINE(HAVE_ISA, 1, [Have ISA support])], + [], + [#include "xf86.h"]) +CFLAGS="$save_CFLAGS" + # Checks for libraries. SAVE_CPPFLAGS="$CPPFLAGS" CPPFLAGS="$CPPFLAGS $XORG_CFLAGS" |