]> git.ipfire.org Git - people/ms/pakfire.git/blobdiff - configure.ac
xfer: Receive any error messages from cURL
[people/ms/pakfire.git] / configure.ac
index 974aa1d8d9c129510e2da0697ded8ce8af0d7cf0..8bf8dc96a00ef60ef99a9980d07d32dd77860a62 100644 (file)
@@ -21,7 +21,7 @@
 AC_PREREQ([2.69])
 
 AC_INIT([pakfire],
-       [0.9.28],
+       [0.9.29],
        [info@ipfire.org],
        [pakfire],
        [https://git.ipfire.org/?p=pakfire.git;a=summary])
@@ -100,17 +100,48 @@ m4_pattern_forbid([^_?PKG_[A-Z_]+$],[*** pkg.m4 missing, please install pkg-conf
 AC_PROG_CC
 
 CC_CHECK_FLAGS_APPEND([with_cflags], [CFLAGS], [\
+       -std=gnu11 \
        -Wall \
-       -Wchar-subscripts \
-       -Wformat-security \
-       -Wmissing-declarations \
-       -Wmissing-prototypes \
+       -Wextra \
+       -Warray-bounds=2 \
+       -Wdate-time \
+       -Wendif-labels \
+       -Werror=format=2 \
+       -Werror=format-signedness \
+       -Werror=implicit-function-declaration \
+       -Werror=implicit-int \
+       -Werror=incompatible-pointer-types \
+       -Werror=int-conversion \
+       -Werror=missing-declarations \
+       -Werror=missing-prototypes \
+       -Werror=overflow \
+       -Werror=override-init \
+       -Werror=return-type \
+       -Werror=shift-count-overflow \
+       -Werror=shift-overflow=2 \
+       -Werror=strict-flex-arrays \
+       -Werror=undef \
+       -Wfloat-equal \
+       -Wimplicit-fallthrough=5 \
+       -Winit-self \
+       -Wlogical-op \
+       -Wmissing-include-dirs \
+       -Wmissing-noreturn \
        -Wnested-externs \
+       -Wold-style-definition \
        -Wpointer-arith \
+       -Wredundant-decls \
        -Wshadow \
-       -Wsign-compare \
+       -Wstrict-aliasing=2 \
        -Wstrict-prototypes \
-       -Wtype-limits \
+       -Wsuggest-attribute=noreturn \
+       -Wunused-function \
+       -Wwrite-strings \
+       -Wzero-length-bounds \
+       -Wno-unused-parameter \
+       -Wno-missing-field-initializers \
+       -fdiagnostics-show-option \
+       -fno-common \
 ])
 
 # Enable -fanalyzer if requested
@@ -220,9 +251,6 @@ AC_CHECK_FUNCS([ \
        epoll_wait \
        flock \
        fnctl \
-       fts_close \
-       fts_open \
-       fts_read \
        getpid \
        glob \
        nftw \
@@ -246,9 +274,7 @@ AC_CHECK_FUNCS([ \
 # Python Stuff
 AM_PATH_PYTHON([3.6])
 
-AX_PYTHON_MODULE([cpuinfo], [fatal])
 AX_PYTHON_MODULE([kerberos], [fatal])
-AX_PYTHON_MODULE([psutil], [fatal])
 AX_PYTHON_MODULE([setproctitle], [fatal])
 AX_PYTHON_MODULE([systemd], [fatal])
 AX_PYTHON_MODULE([tornado], [fatal])
@@ -262,6 +288,7 @@ PKG_CHECK_MODULES([ELF], [libelf])
 PKG_CHECK_MODULES([PYTHON_DEVEL], [python-${PYTHON_VERSION}-embed],
        [], [PKG_CHECK_MODULES([PYTHON_DEVEL], [python-${PYTHON_VERSION}])])
 PKG_CHECK_MODULES([JSON_C], [json-c >= 0.15])
+PKG_CHECK_MODULES([KRB5], [krb5])
 PKG_CHECK_MODULES([LZMA], [liblzma])
 PKG_CHECK_MODULES([MAGIC], [libmagic])
 PKG_CHECK_MODULES([MOUNT], [mount])