diff options
Diffstat (limited to 'lib/make/cctk_Config.h.in')
-rw-r--r-- | lib/make/cctk_Config.h.in | 127 |
1 files changed, 127 insertions, 0 deletions
diff --git a/lib/make/cctk_Config.h.in b/lib/make/cctk_Config.h.in new file mode 100644 index 00000000..f2191610 --- /dev/null +++ b/lib/make/cctk_Config.h.in @@ -0,0 +1,127 @@ +#ifndef _CCTK_CONFIG_H_ +#define _CCTK_CONFIG_H_ + +/* Define to empty if the keyword does not work. */ +#undef const + +/* Define if the `long double' type works. */ +#undef HAVE_LONG_DOUBLE + +/* Define as __inline if that's what the C compiler calls it. */ +#undef inline + +/* Define if your processor stores words with the most significant + byte first (like Motorola and SPARC, unlike Intel and VAX). */ +#undef WORDS_BIGENDIAN + +/* Define if standard C headers are available. */ +#undef STDC_HEADERS + +/* Size info for various types */ + +/* The number of bytes in a long int. */ +#undef SIZEOF_LONG_INT + +/* The number of bytes in a int. */ +#undef SIZEOF_INT + +/* The number of bytes in a short int. */ +#undef SIZEOF_SHORT_INT + + +/* The number of bytes in a long double. */ +#undef SIZEOF_LONG_DOUBLE + +/* The number of bytes in a double. */ +#undef SIZEOF_DOUBLE + +/* The number of bytes in a float. */ +#undef SIZEOF_FLOAT + +/* The number of bytes in a char *. */ +#undef SIZEOF_CHAR_P + +/* The chosen CCTK precision */ + +/* Floating point precision */ +#undef CCTK_REAL_PRECISION_16 +#undef CCTK_REAL_PRECISION_8 +#undef CCTK_REAL_PRECISION_4 + +/* Integer precision */ +#undef CCTK_INTEGER_PRECISION_8 +#undef CCTK_INTEGER_PRECISION_4 +#undef CCTK_INTEGER_PRECISION_2 + +/* Modifier for Fortran function definitions. */ + +#undef FMODIFIER + +/* How to create a directory */ + +#undef MKDIR +#undef MKDIRFLAGS + +/* Various library functions */ + +#undef HAVE_MKDIR + +/* Some include things */ +#undef TIME_WITH_SYS_TIME +#undef HAVE_TIME_H +#undef HAVE_UNISTD_H + +/* Timing stuff */ + +#undef HAVE_TIME_GETTIMEOFDAY +#undef GETTIMEOFDAY_NEEDS_TIMEZONE +#undef HAVE_TIME_GETRUSAGE +#undef HAVE_TIME__FTIME + +/* Cache stuff */ + +#undef CCTK_L2_CACHELINE_BYTES +#undef CCTK_L2_CACHE_SIZE + +/******************************************************************************/ + +#ifdef CCODE + +/* Integer sizes */ + +/* Define the type of an 8 byte integer */ +#undef CCTK_INT8 + +/* Define the type of a 4 byte integer */ +#undef CCTK_INT4 + +/* Define the type of a 2 byte integer */ +#undef CCTK_INT2 + +/* Float sizes */ + +/* Define the type of a 16 byte float */ +#undef CCTK_REAL16 + +/* Define the type of an 8 byte float */ +#undef CCTK_REAL8 + +/* Define the type of a 4 byte float */ +#undef CCTK_REAL4 + +#endif /*CCODE */ + +#ifdef FCODE + +#endif /*FCODE */ + +/* Now include the code to pick an appropriate precison for reals and ints */ +#include "cctk_Types.h" + +/* Include any other stuff which is specific to this architecture */ +#include "cctk_Archdefs.h" + +/* Include any extra stuff from optional extra packages. */ +#include "cctk_Extradefs.h" + +#endif /* _CCTK_CONFIG_H_ */ |