Ticket #16910: patch-configure.diff
File patch-configure.diff, 534 bytes (added by mlund (Mikael Lund), 16 years ago) |
---|
-
configure
old new 15609 15609 cat >>conftest.$ac_ext <<_ACEOF 15610 15610 /* end confdefs.h. */ 15611 15611 15612 #include <st dio.h>15612 #include <string.h> 15613 15613 #include <netcdf.h> 15614 15614 int main(void) { 15615 char *vlib; 15616 vlib = nc_inq_libvers(); 15617 if (strcmp(vlib, "3.0") < 0) { 15618 exit(1); 15615 if (strstr(nc_inq_libvers(), "3.") == NULL) { 15616 return 1; 15619 15617 } 15620 exit(0);15618 return 0; 15621 15619 } 15622 15620 15623 15621 _ACEOF