diff -up netcdf-4.1.2-beta2-snapshot2010120222/nc-config.in.pkgconfig netcdf-4.1.2-beta2-snapshot2010120222/nc-config.in --- netcdf-4.1.2-beta2-snapshot2010120222/nc-config.in.pkgconfig 2010-12-02 22:20:11.000000000 -0700 +++ netcdf-4.1.2-beta2-snapshot2010120222/nc-config.in 2010-12-03 10:02:30.598407327 -0700 @@ -8,7 +8,6 @@ prefix=@prefix@ exec_prefix=${prefix} -libdir=${exec_prefix}/lib includedir=${prefix}/include cc="@CC@" @@ -16,8 +15,6 @@ cxx="@CXX@" fc="@FC@" cflags=" -I${includedir} @EXTERN_CPPFLAGS@" fflags="@FFLAGS@ @MOD_FLAG@${includedir}" -libs="-L${libdir} @NC_LIBS@ @EXTERN_LDFLAGS@" -flibs="-L${libdir} @NC_FLIBS@" has_dap="@HAS_DAP@" has_nc2="@HAS_NC2@" has_nc4="@HAS_NC4@" @@ -141,11 +138,11 @@ while test $# -gt 0; do ;; --libs) - echo $libs + pkg-config netcdf --libs ;; --flibs) - echo $flibs + pkg-config netcdf --flibs ;; --has-dap)