configury: Make more robust in finding NAG Fortran Compiler
The NAG Fortran check only matched "nagfor" exactly, and failed if a path to nagfor was provided. Also change "-pthread" into "-Wl,-pthread". Signed-off-by: Themos Tsikas <themos.tsikas@nag.co.uk> Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
This commit is contained in:
parent
f15d6200af
commit
a8fc30f95a
@ -8,7 +8,7 @@
|
||||
if test -n "$inherited_linker_flags"; then
|
||||
- tmp_inherited_linker_flags=`$ECHO "$inherited_linker_flags" | $SED 's/-framework \([^ $]*\)/\1.ltframework/g'`
|
||||
+ case "$CC" in
|
||||
+ nagfor*)
|
||||
+ *nagfor*)
|
||||
+ tmp_inherited_linker_flags=`$ECHO "$inherited_linker_flags" | $SED 's/-framework \([^ $]*\)/\1.ltframework/g' | $SED 's/-pthread/-Wl,-pthread/g'`;;
|
||||
+ *)
|
||||
+ tmp_inherited_linker_flags=`$ECHO "$inherited_linker_flags" | $SED 's/-framework \([^ $]*\)/\1.ltframework/g'`;;
|
||||
|
Loading…
Reference in New Issue
Block a user