[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Intel Fortran LDFLAGS problem
From: |
Juha Vierinen |
Subject: |
Intel Fortran LDFLAGS problem |
Date: |
Fri, 27 May 2005 12:52:06 +0300 |
Hi,
Intel Fortran 7.1 gives a bogus "-L \ /something" from verbose output
when a LDFLAGS="-L/something" environment variable is used. One sed
expression is used to remove the " \ ". Otherwise the fortran ldflags
will include a bogus -L\.
juha
Index: fortran.m4
===================================================================
RCS file: /cvsroot/autoconf/autoconf/lib/autoconf/fortran.m4,v
retrieving revision 1.191
diff -r1.191 fortran.m4
554c554,557
< ac_[]_AC_LANG_ABBREV[]_v_output=`echo
$ac_[]_AC_LANG_ABBREV[]_v_output | sed 's/"-mGLOB[[^"]]*"/ /g'` ;;
---
> ac_[]_AC_LANG_ABBREV[]_v_output=`echo $ac_[]_AC_LANG_ABBREV[]_v_output |
> sed 's/"-mGLOB[[^"]]*"/ /g'`
> # $LDFLAGS="-L/somthing result in -L \ /something
> ac_[]_AC_LANG_ABBREV[]_v_output=`echo $ac_[]_AC_LANG_ABBREV[]_v_output |
> sed 's:-L \\\ :-L:g'`
> ;;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Intel Fortran LDFLAGS problem,
Juha Vierinen <=