From: Paul Eggert Date: Thu, 16 Jan 2025 19:24:12 +0000 (-0800) Subject: Port better to NVHPC X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=632282145ba1d617f480cde74eef938826fef4d5;p=thirdparty%2Fautoconf.git Port better to NVHPC See . * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore -l options with embedded '='. --- diff --git a/lib/autoconf/fortran.m4 b/lib/autoconf/fortran.m4 index 0fc7545d7..4c39607c7 100644 --- a/lib/autoconf/fortran.m4 +++ b/lib/autoconf/fortran.m4 @@ -664,7 +664,7 @@ while test $[@%:@] != 1; do ;; # Ignore these flags. -lang* | -lcrt*.o | -lc | -lgcc* | -lSystem | -libmil | -little \ - |-LANG:=* | -LIST:* | -LNO:* | -link) + | -[[lLR]]*=* | -LIST:* | -LNO:* | -link) ;; -lkernel32) # Ignore this library only on Windows-like systems.