]> git.ipfire.org Git - people/ms/libloc.git/blobdiff - configure.ac
python: Only use global loc context
[people/ms/libloc.git] / configure.ac
index ace67d39eb04b2d1ba78a3feef8804190669ba95..79ae5e6195d42c8cc9f2d94ed08a10fb8ac8393c 100644 (file)
@@ -40,6 +40,14 @@ AS_IF([test "x$enable_debug" = "xyes"], [
 ])
 
 AC_CHECK_FUNCS([ \
+        be16toh \
+        be32toh \
+        be64toh \
+        htobe16 \
+        htobe32 \
+        htobe64 \
+        mmap \
+        munmap \
        __secure_getenv \
        secure_getenv \
         qsort \
@@ -60,6 +68,10 @@ my_CFLAGS="\
 "
 AC_SUBST([my_CFLAGS])
 
+# Python
+AM_PATH_PYTHON([3.4])
+PKG_CHECK_MODULES([PYTHON], [python-${PYTHON_VERSION}])
+
 AC_CONFIG_HEADERS(config.h)
 AC_CONFIG_FILES([
         Makefile
@@ -79,6 +91,5 @@ AC_MSG_RESULT([
         cflags:                 ${CFLAGS}
         ldflags:                ${LDFLAGS}
 
-        logging:                ${enable_logging}
         debug:                  ${enable_debug}
 ])