1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
|
# This file is meant to be included for the supported file formats.
prefix=`echo "$0" | sed 's@.*/@@'`
suffix=${suffix-grb}
case ${suffix} in
grb)
test 'x@ENABLE_GRIB@' = xyes || exit 77
;;
grb2)
@HAVE_LIBGRIB_API_FALSE@exit 77
test 'x@ENABLE_GRIB@' = xyes || exit 77
;;
nc)
@ENABLE_NETCDF_FALSE@exit 77
;;
nc2)
@ENABLE_NETCDF_FALSE@exit 77
;;
nc4)
@ENABLE_NETCDF_FALSE@exit 77
;;
srv)
test 'x@ENABLE_SERVICE@' = xyes || exit 77
;;
ext)
test 'x@ENABLE_EXTRA@' = xyes || exit 77
;;
ieg)
test 'x@ENABLE_IEG@' = xyes || exit 77
;;
*)
echo "Unsupported suffix '${suffix}'" >&2
exit 1
;;
esac
../libtool --mode=execute ${tool_wrap} ./cksum_write -b "${prefix}" -f ${suffix} || exit 1
../libtool --mode=execute ${tool_wrap} ./cksum_read "${prefix}.${suffix}" "${prefix}.cksum" || exit 1
#
# Local Variables:
# mode: sh
# End:
#
|