Fix Travis-CI (hopefully)

This commit is contained in:
Jordy Dickinson 2018-04-02 18:45:37 -04:00
parent ff44145609
commit 3de58d2a4c
No known key found for this signature in database
GPG Key ID: C809BAD019EEB620
1 changed files with 5 additions and 0 deletions

View File

@ -10,9 +10,14 @@ AC_SUBST(PACKAGE)
AC_SUBST(VERSION)
AC_USE_SYSTEM_EXTENSIONS
AC_PROG_CC
AX_CHECK_COMPILE_FLAG([-std=gnu11], [CFLAGS+=" -std=gnu11"],
[C compiler does not support C11 with GNU extensions])
AM_PROG_AR
AC_PATH_PROG([REBOOT], [reboot])
AC_DEFINE_UNQUOTED([REBOOT], "$REBOOT",
[path to the reboot command])