X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=configure.ac;h=b4f6bb519285807bc556d22b9c97a1862133f48f;hp=2f0eb62f1a950c5e446fc3ccc36829a419f3edeb;hb=4a25d32f7ac0fa7c15dc5ef7cdb98866b051ba70;hpb=8663dfee3cb8d22899105729180d446cb48cfc5c diff --git a/configure.ac b/configure.ac index 2f0eb62f1..b4f6bb519 100644 --- a/configure.ac +++ b/configure.ac @@ -20,7 +20,7 @@ AC_PREREQ([2.64]) AC_INIT([elogind], - [233], + [233.3], [https://github.com/elogind/elogind/issues], [elogind], [https://github.com/elogind/elogind]) @@ -396,10 +396,9 @@ AC_CHECK_DECLS([ #include ]]) -AC_CHECK_TYPES([char16_t, char32_t, key_serial_t, struct ethtool_link_settings], +AC_CHECK_TYPES([char16_t, char32_t, key_serial_t], [], [], [[ #include -#include ]]) AC_CHECK_DECLS([IFLA_INET6_ADDR_GEN_MODE, @@ -765,9 +764,10 @@ AS_IF([test "x$0" != "x./configure"], [ ]) AC_ARG_ENABLE(tests, - [AS_HELP_STRING([--disable-tests], [disable tests, or enable extra tests with =unsafe])], + [AC_HELP_STRING([--disable-tests], [disable tests, or enable extra tests with =unsafe])], enable_tests=$enableval, enable_tests=yes) -AM_CONDITIONAL(ENABLE_TESTS, [test x$enable_tests = xyes]) +AM_CONDITIONAL(ENABLE_TESTS, [test x$enable_tests = xyes -o x$enable_tests = xunsafe]) +AM_CONDITIONAL(ENABLE_UNSAFE_TESTS, [test x$enable_tests = xunsafe]) AC_ARG_ENABLE(debug, [AC_HELP_STRING([--enable-debug@<:@=LIST@:>@], [enable extra debugging (elogind,hashmap,mmap-cache)])],