I think that I've found a bug in this function, I am using pgf90 10.3-0 and the -v flag is producing a line which includes a flag -list which is then interpreted as a library and causes a failure later when it trys to link. In the function I found: # Ignore these flags. -lang* | -lcrt*.o | -lc | -lgcc* | -lSystem | -libmil | -little \ |-LANG:=* | -LIST:* | -LNO:* | -link ) ;; And the obvious thing to do is add -list to this list. I did that and it solves the problem. But this list seems really kludgey to me - wouldn't it be better to test link with all of the -lwhatever flags and keep the ones that pass that test? Jim _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx https://lists.gnu.org/mailman/listinfo/autoconf