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'` > ;;
