Changeset 1f86d5e for configure.ac
- Timestamp:
- Feb 10, 2019, 10:12:55 AM (6 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, persistent-indexer, pthread-emulation, qualifiedEnum
- Children:
- 015dc50
- Parents:
- 4fd45bc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
configure.ac
r4fd45bc r1f86d5e 178 178 AC_PROG_CC 179 179 AM_PROG_AS 180 AM_PROG_CC_C_O # deprecated181 180 # These are often not installed and people miss seeing the "no", so stop the configure. 182 181 AC_PROG_YACC … … 186 185 AC_PROG_LIBTOOL 187 186 AC_PROG_INSTALL 188 AC_PROG_MAKE_SET189 187 190 188 # Checks for libraries. … … 193 191 194 192 # Checks for header files. 195 AC_FUNC_ALLOCA 196 AC_CHECK_HEADERS([fenv.h float.h inttypes.h libintl.h limits.h malloc.h stddef.h stdlib.h string.h unistd.h]) 193 AC_CHECK_HEADERS([libintl.h malloc.h unistd.h], [], [echo "Error: Missing required header"; exit 1]) 197 194 198 195 # Checks for typedefs, structures, and compiler characteristics. 199 AC_HEADER_STDBOOL 200 AC_C_INLINE 201 AC_TYPE_INT16_T 202 AC_TYPE_INT32_T 203 AC_TYPE_INT8_T 204 AC_C_RESTRICT 205 AC_TYPE_SIZE_T 206 AC_TYPE_UINT16_T 207 AC_TYPE_UINT32_T 208 AC_TYPE_UINT8_T 209 210 # Checks for library functions. 211 AC_CHECK_FUNCS([memset putenv strchr strtol]) 196 AC_CHECK_TYPES([_Float32], AC_DEFINE([HAVE_KEYWORDS_FLOATXX], [], [Have keywords _FloatXX.]), [], [[]]) 197 198 # Checks for compiler flags. 199 M4CFA_CHECK_COMPILE_FLAG([-Wcast-function-type], AC_DEFINE([HAVE_CAST_FUNCTION_TYPE], [], [Have compiler warning cast-function-type.])) 212 200 213 201 #==============================================================================
Note: See TracChangeset
for help on using the changeset viewer.