]> git.draconx.ca Git - dxcommon.git/blobdiff - m4/flex.m4
Unset enable_silent_rules in testsuite.
[dxcommon.git] / m4 / flex.m4
index 1aa3dab3c10f726d89088f6b86a0eca79f22ae24..bc9998535bdd9b693ef1791ed6be6257c16faa3d 100644 (file)
@@ -1,4 +1,5 @@
-dnl Copyright © 2020 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.
 dnl There is NO WARRANTY, to the extent permitted by law.
@@ -71,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])])