diff -up netcdf-fortran-4.2/configure.postdeps netcdf-fortran-4.2/configure
--- netcdf-fortran-4.2/configure.postdeps 2011-10-03 08:10:43.000000000 -0600
+++ netcdf-fortran-4.2/configure 2012-03-07 12:23:14.387532317 -0700
@@ -14790,10 +14790,11 @@ if { { eval echo "\"\$as_me\":${as_linen
case $p in
-L* | -R* | -l*)
- # Some compilers place space between "-{L,R}" and the path.
+ # Some compilers place space between "-{L,R,l}" and the path.
# Remove the space.
if test $p = "-L" ||
- test $p = "-R"; then
+ test $p = "-R" ||
+ test $p = "-l"; then
prev=$p
continue
else