mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-12-21 02:54:21 +08:00
Windows GitHub Action (#231)
* Migrate the Windows Msys2 build from Appveyor to GitHub Actions * Fix build with newer versions of Msys2 (fix `vasprintf` conflict) * Enable SQL tests on the Cygwin build on Appveyor * Fix an error message about Bison not being available when in fact Flex was not available * Don't fail fast with Mac and Linux GitHub Actions
This commit is contained in:
@@ -36,7 +36,7 @@ AC_CHECK_DECLS([program_invocation_short_name], [], [], [[
|
||||
|
||||
dnl Checks for library functions.
|
||||
VL_LIB_READLINE
|
||||
AC_CHECK_FUNCS(strptime fmemopen gmtime_r wcstombs_l)
|
||||
AC_CHECK_FUNCS(strptime fmemopen gmtime_r wcstombs_l vasprintf vasnprintf)
|
||||
|
||||
dnl Checks for typedefs, structures, and compiler characteristics.
|
||||
AC_C_CONST
|
||||
@@ -73,14 +73,13 @@ if $YACC -V | grep "bison.* 3[.]" >/dev/null 2>&1; then
|
||||
YFLAGS="$YFLAGS -Wno-yacc"
|
||||
fi
|
||||
else
|
||||
sql=false
|
||||
AC_MSG_WARN([Bison 3.0+ is not available: SQL disabled.])
|
||||
sql=false
|
||||
fi
|
||||
|
||||
if test "x$sql" = "xtrue"; then
|
||||
CFLAGS="$CFLAGS -DSQL"
|
||||
OPTDIRS="$OPTDIRS sql"
|
||||
else
|
||||
AC_MSG_WARN([Bison 3.0+ is not available: SQL disabled.])
|
||||
fi
|
||||
|
||||
AM_CONDITIONAL(SQL, test x$sql = xtrue)
|
||||
|
||||
Reference in New Issue
Block a user