[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
AC_FC_LIBRARY_LDFLAGS
From: |
Christopher Hulbert |
Subject: |
AC_FC_LIBRARY_LDFLAGS |
Date: |
Fri, 2 Dec 2005 13:12:02 -0500 |
I couldn't find any other solution to this, but when getting the
library flags of pgf90 with -Mconcur or -Mipa (Runs pgipa) there is an
empty -l in an ignore string pasted below. This messes up the FCLIBS
later and makes the compiler complain because it lumps the next
argument as the library name. Also, I have had libraries have the ending
quote attached as in -lacml_mv'.
/usr/local/pgi/linux86-64/6.0/bin/pgipa -v -finalo conftest -ignore
'-Mextract -L -I -Mkeepasm -Mpreprocess -l -Minline' -nop .....
I was able to solve this by adding
-l)
;;
-l[a-zA-Z_\.-\+]*\')
;;
to configure and more permanently the _AC_FC_LIBRARY_LDFLAGS function
in fortran.m4