X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=configure.ac;h=9d04e35be89d616418895aaec591f3bbb150800d;hb=085707078097f6def993b20a794001d6c06f1492;hp=7ee6c0b55883eefff71070ef3dfbfdcad31b6275;hpb=49b89eec45780eceea5b72ad1a466f9549e788eb;p=hivex.git diff --git a/configure.ac b/configure.ac index 7ee6c0b..9d04e35 100644 --- a/configure.ac +++ b/configure.ac @@ -17,8 +17,8 @@ # major/minor/release must be numbers m4_define([hivex_major], [1]) -m4_define([hivex_minor], [2]) -m4_define([hivex_release], [8]) +m4_define([hivex_minor], [3]) +m4_define([hivex_release], [1]) # extra can be any string m4_define([hivex_extra], []) @@ -131,7 +131,13 @@ dnl Check sizeof long. AC_CHECK_SIZEOF([long]) dnl Headers. -AC_CHECK_HEADERS([endian.h byteswap.h]) +AC_CHECK_HEADERS([byteswap.h endian.h libintl.h]) + +dnl Check for mmap +AC_REPLACE_FUNCS([mmap]) + +dnl Functions. +AC_CHECK_FUNCS([bindtextdomain]) dnl Check for pod2man and pod2text. AC_CHECK_PROG([POD2MAN],[pod2man],[pod2man],[no]) @@ -237,8 +243,8 @@ PYTHON_PREFIX= PYTHON_VERSION= if test "x$PYTHON" != "xno"; then - PYTHON_PREFIX=`$PYTHON -c "import sys; print sys.prefix"` - PYTHON_VERSION=`$PYTHON -c "import sys; print sys.version[[0:3]]"` + PYTHON_PREFIX=`$PYTHON -c "import sys; print(sys.prefix)"` + PYTHON_VERSION=`$PYTHON -c "import sys; print(sys.version[[0:3]])"` AC_MSG_CHECKING([for Python include path]) if test -z "$PYTHON_INCLUDEDIR"; then