diff options
author | James Cloos <cloos@jhcloos.com> | 2007-09-03 06:15:58 -0400 |
---|---|---|
committer | James Cloos <cloos@jhcloos.com> | 2007-09-03 06:15:58 -0400 |
commit | 9d1596cba90c8fd273e9d1d5488747cc0f34fdc7 (patch) | |
tree | 2e45baf3a3e2edbfe3f9cf469fd0853d2f49fe2c /configure.ac | |
parent | b1e911784d314fdbd8d938e5fe3671bec128fb61 (diff) | |
parent | 5cf29b06b9b5806056a0b04160b2286eb4158748 (diff) |
Merge branch 'master' of ssh://git.freedesktop.org/git/xorg/lib/libpciaccess
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index d5c0585..133963d 100644 --- a/configure.ac +++ b/configure.ac @@ -41,7 +41,7 @@ dnl refers to ${prefix}. Thus we have to use `eval' twice. AC_PREREQ([2.57]) -AC_INIT(libpciaccess, 0.8.0, [none yet], libpciaccess) +AC_INIT(libpciaccess, 0.10.0, [none yet], libpciaccess) AM_INIT_AUTOMAKE([dist-bzip2]) AM_MAINTAINER_MODE @@ -87,6 +87,12 @@ AM_CONDITIONAL(LINUX, [test "x$linux" = xyes]) AM_CONDITIONAL(FREEBSD, [test "x$freebsd" = xyes]) AM_CONDITIONAL(SOLARIS, [test "x$solaris" = xyes]) +AC_CHECK_FILE([/usr/include/asm/mtrr.h], + [have_mtrr_h="yes"], [have_mtrr_h="no"]) +if test "x$have_mtrr_h" = xyes; then + AC_DEFINE(HAVE_MTRR, 1, [Use MTRRs on mappings]) +fi + AC_SUBST(PCIACCESS_CFLAGS) AC_SUBST(PCIACCESS_LIBS) |