Skip to content

Commit

Permalink
build: fallback to use autoconf 2.69 again
Browse files Browse the repository at this point in the history
Unfortunately, Ubuntu, used for CI on GitHub does not have 2.70 which
is needed for `AC_PROG_CC` to test for C99.
  • Loading branch information
vincentbernat committed Sep 21, 2021
1 parent bc6cf97 commit f3609ab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
### Base configuration

# Configure autoconf
AC_PREREQ([2.71])
AC_PREREQ([2.69])

AC_INIT([lldpd],
[m4_esyscmd_s([./get-version])],
Expand Down Expand Up @@ -44,6 +44,7 @@ gl_LD_VERSION_SCRIPT

# Checks for programs.
AC_PROG_CC
AC_PROG_CC_C99
if test x"$ac_cv_prog_cc_c99" = x"no"; then
AC_MSG_FAILURE([*** C99 support is mandatory])
fi
Expand Down

0 comments on commit f3609ab

Please sign in to comment.