Changes in configure.ac [3fcbdca1:107b01a]
- File:
-
- 1 edited
-
configure.ac (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
configure.ac
r3fcbdca1 r107b01a 139 139 "debug") ;; 140 140 "nolib") ;; 141 "profile") ;;142 141 *) 143 142 >&2 echo "Configuration must be 'debug', 'nodebug' or 'nolib'" … … 179 178 AC_PROG_CC 180 179 AM_PROG_AS 180 AM_PROG_CC_C_O # deprecated 181 181 # These are often not installed and people miss seeing the "no", so stop the configure. 182 182 AC_PROG_YACC … … 186 186 AC_PROG_LIBTOOL 187 187 AC_PROG_INSTALL 188 AC_PROG_MAKE_SET 188 189 189 190 # Checks for libraries. … … 191 192 AM_CONDITIONAL([WITH_LIBFIBRE], [test "$HAVE_LIBFIBRE" -eq 1]) 192 193 193 AC_CHECK_LIB([profiler], [ProfilingIsEnabledForAllThreads], [HAVE_LIBPROFILER=1], [HAVE_LIBPROFILER=0])194 AM_CONDITIONAL([WITH_LIBPROFILER], [test "$HAVE_LIBPROFILER" -eq 1])195 196 AC_CHECK_LIB([tcmalloc], [malloc], [HAVE_LIBTCMALLOC=1], [HAVE_LIBTCMALLOC=0])197 AM_CONDITIONAL([WITH_LIBTCMALLOC], [test "$HAVE_LIBTCMALLOC" -eq 1])198 199 194 # Checks for header files. 200 AC_CHECK_HEADERS([libintl.h malloc.h unistd.h], [], [echo "Error: Missing required header"; exit 1]) 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]) 201 197 202 198 # Checks for typedefs, structures, and compiler characteristics. 203 AC_CHECK_TYPES([_Float32], AC_DEFINE([HAVE_KEYWORDS_FLOATXX], [], [Have keywords _FloatXX.]), [], [[]]) 204 205 # Checks for compiler flags. 206 M4CFA_CHECK_COMPILE_FLAG([-Wcast-function-type], AC_DEFINE([HAVE_CAST_FUNCTION_TYPE], [], [Have compiler warning cast-function-type.])) 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]) 207 212 208 213 #============================================================================== … … 218 223 benchmark/Makefile 219 224 tests/Makefile 220 longrun_tests/Makefile225 tests/preempt_longrun/Makefile 221 226 tools/Makefile 222 227 tools/prettyprinter/Makefile
Note:
See TracChangeset
for help on using the changeset viewer.