]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Port better to NVHPC
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 16 Jan 2025 19:24:12 +0000 (11:24 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 16 Jan 2025 19:25:29 +0000 (11:25 -0800)
See <https://savannah.gnu.org/support/?111172>.
* lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS):
Ignore -l options with embedded '='.

lib/autoconf/fortran.m4

index 0fc7545d75b597f72174919b124d03e1bdff631c..4c39607c780ace7c887e4783a2b36f5253773e0c 100644 (file)
@@ -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.