cmake NC_HAS_NC4 examples

NCAR/ParallelIO CMakeLists.txt :322

CHECK_C_SOURCE_COMPILES("
#include <netcdf_meta.h>
#if !NC_HAS_NC4
      choke me
#endif
int main() {return 0;}" HAVE_NETCDF4)