AC_PREREQ([2.64])
AC_INIT([elogind],
- [226],
+ [226.2],
[https://github.com/elogind/elogind/issues],
[elogind],
[https://github.com/elogind/elogind])
])
GPERF_TEST="$(echo foo,bar | ${GPERF} -L ANSI-C)"
-
+save_CFLAGS="$CFLAGS"
+CFLAGS="$CFLAGS -Wno-error"
AC_COMPILE_IFELSE(
[AC_LANG_PROGRAM([
#include <string.h>
[AC_MSG_ERROR([** unable to determine gperf len type])]
)]
)
+CFLAGS="$save_CFLAGS"
AC_DEFINE_UNQUOTED([GPERF_LEN_TYPE], [$GPERF_LEN_TYPE], [gperf len type])