Additional updates for CMake support.

This commit is contained in:
Ward Fisher 2012-07-10 17:58:53 +00:00
parent b2210e7166
commit 98ded522ec
2 changed files with 8 additions and 0 deletions

View File

@ -49,6 +49,7 @@ CHECK_INCLUDE_FILE("errno.h" HAVE_ERRNO_H)
CHECK_INCLUDE_FILE("fcntl.h" HAVE_FCNTL_H)
CHECK_INCLUDE_FILE("getopt.h" HAVE_GETOPT_H)
CHECK_INCLUDE_FILE("hdf5.h" HAVE_HDF5_H)
CHECK_INCLUDE_FILE("stdbool.h" HAVE_STDBOOL_H)
CHECK_INCLUDE_FILE("locale.h" HAVE_LOCAL_H)
CHECK_INCLUDE_FILE("stdint.h" HAVE_STDINT_H)
CHECK_INCLUDE_FILE("stdio.h" HAVE_STDIO_H)

View File

@ -25,6 +25,9 @@
/* Define to 1 if you have the <hdf5.h> header file. */
#cmakedefine HAVE_HDF5_H @HAVE_HDF5_H@
/* Define to 1 if you have the <stdbool.h> header file. */
#cmakedefine HAVE_STDBOOL_H @HAVE_STDBOOL_H@
/* Define to 1 if you have the <locale.h> header file. */
#cmakedefine HAVE_LOCAL_H @HAVE_LOCAL_H@
@ -86,4 +89,8 @@
/* Set this when DAP is enabled. */
#cmakedefine ENABLE_DAP
#cmakedefine HAVE_UCHAR 1
#include <ncconfigure.h>
#endif