X-Git-Url: http://git.draconx.ca/gitweb/dxcommon.git/blobdiff_plain/0393949d8c4e33ec7e0beb629eaa9858204c6ec7..b045c0c5e35a1558e6b77d99e0ed8ab86d6dc550:/m4/flex.m4?ds=sidebyside diff --git a/m4/flex.m4 b/m4/flex.m4 index 419efbd..bc99985 100644 --- a/m4/flex.m4 +++ b/m4/flex.m4 @@ -1,4 +1,4 @@ -dnl Copyright © 2020-2021 Nick Bowler +dnl Copyright © 2020-2021, 2024 Nick Bowler dnl dnl License WTFPL2: Do What the Fuck You Want To Public License, version 2. dnl This is free software: you are free to do what the fuck you want to. @@ -72,6 +72,6 @@ int main(void) }]) AC_DEFUN([_DX_FLEX_DO_TEST], [rm -f conftest.c -AS_IF([$1 -o conftest.inc conftest.l 2>&AS_MESSAGE_LOG_FD], +AS_IF([$1 -o conftest.inc conftest.l >&AS_MESSAGE_LOG_FD 2>&1], [AC_LINK_IFELSE([AC_LANG_SOURCE([[#include "conftest.inc"]])], [$2], [$3])], [$3])])