f664767
--- netcdf-4.1-snapshot2009111008/configure.libs	2009-11-10 08:38:04.000000000 -0700
f664767
+++ netcdf-4.1-snapshot2009111008/configure	2009-11-11 20:24:32.932280524 -0700
f664767
@@ -3420,7 +3420,7 @@
f664767
   curl_cflags="-I$with_curl/include"
f664767
   curl_dir="$with_curl"
f664767
 else
f664767
-  curl_cflags=-lcurl
f664767
+  curl_cflags=
f664767
   curl_libs=
f664767
   curl_dir=
f664767
 fi
f664767
@@ -31317,7 +31317,7 @@
f664767
    LDFLAGS="${LDFLAGS} -L${HDF5DIR}/lib"
f664767
    CPPFLAGS="${CPPFLAGS} -I${HDF5DIR}/include"
f664767
 fi
f664767
-LIBS="${LIBS} -lm -lz -lhdf5"
f664767
+LIBS="${LIBS} -lz -lhdf5"
f664767
 
f664767
 # Add the HDF4 directory and library if needed.
f664767
 if test "x$enable_hdf4" = xyes; then
f664767
@@ -33122,7 +33122,7 @@
f664767
    if test "x$ZLIBDIR" != x ; then
f664767
       NC_LIBS="$NC_LIBS -L$ZLIBDIR/lib"
f664767
    fi
f664767
-   NC_LIBS="$NC_LIBS -lz -lm $LIBS"
f664767
+   NC_LIBS="$NC_LIBS -lz $LIBS"
f664767
    if test "x$SZLIBDIR" != x ; then
f664767
       NC_LIBS="$NC_LIBS -L$SZLIBDIR/lib"
f664767
       NC_LIBS="$NC_LIBS -lsz $LIBS"
f664767
@@ -33138,7 +33138,7 @@
f664767
     if test "x$with_daplib" != x ; then
f664767
        NC_LIBS="$NC_LIBS -L$with_daplib/lib"
f664767
     fi
f664767
-    NC_LIBS="$NC_LIBS $CURL_LIBS"
f664767
+    NC_LIBS="$NC_LIBS"
f664767
 fi
f664767
 if test "x$enable_separate_fortran" = xyes ; then
f664767
    NC_FLIBS="-lnetcdff $NC_LIBS"