--- nco-3.0.0/configure.in.BAD 2005-04-22 10:53:36.000000000 -0500
+++ nco-3.0.0/configure.in 2005-04-22 10:53:54.000000000 -0500
@@ -408,10 +408,8 @@
LDFLAGS="${LDFLAGS} -L${UDUNITS_PATH}/lib"
CPPFLAGS="${CPPFLAGS} -I${UDUNITS_PATH}/include"
# nco_udunits_dat=${UDUNITS_PATH}/src/lib/udunits.dat
- elif test "${NETCDF_INC}"; then
- nco_udunits_dat="${NETCDF_INC}/../etc/udunits.dat"
else
- nco_udunits_dat="/usr/local/etc/udunits.dat"
+ nco_udunits_dat="/etc/udunits.dat"
fi
# warn if udunits.dat is not found, but continue anyway since the builder may savy and know to add it later, like when building packages (e.g. .debs)
AC_CHECK_FILE([$nco_udunits_dat],,AC_WARN([file $nco_udunits_dat was not found but will be compiled into NCO. Some executables may fail without it.]))