Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    r3fcbdca1 r107b01a  
    139139                "debug") ;;
    140140                "nolib") ;;
    141                 "profile") ;;
    142141                *)
    143142                        >&2 echo "Configuration must be 'debug', 'nodebug' or 'nolib'"
     
    179178AC_PROG_CC
    180179AM_PROG_AS
     180AM_PROG_CC_C_O  # deprecated
    181181# These are often not installed and people miss seeing the "no", so stop the configure.
    182182AC_PROG_YACC
     
    186186AC_PROG_LIBTOOL
    187187AC_PROG_INSTALL
     188AC_PROG_MAKE_SET
    188189
    189190# Checks for libraries.
     
    191192AM_CONDITIONAL([WITH_LIBFIBRE], [test "$HAVE_LIBFIBRE" -eq 1])
    192193
    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 
    199194# Checks for header files.
    200 AC_CHECK_HEADERS([libintl.h malloc.h unistd.h], [], [echo "Error: Missing required header"; exit 1])
     195AC_FUNC_ALLOCA
     196AC_CHECK_HEADERS([fenv.h float.h inttypes.h libintl.h limits.h malloc.h stddef.h stdlib.h string.h unistd.h])
    201197
    202198# 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.]))
     199AC_HEADER_STDBOOL
     200AC_C_INLINE
     201AC_TYPE_INT16_T
     202AC_TYPE_INT32_T
     203AC_TYPE_INT8_T
     204AC_C_RESTRICT
     205AC_TYPE_SIZE_T
     206AC_TYPE_UINT16_T
     207AC_TYPE_UINT32_T
     208AC_TYPE_UINT8_T
     209
     210# Checks for library functions.
     211AC_CHECK_FUNCS([memset putenv strchr strtol])
    207212
    208213#==============================================================================
     
    218223        benchmark/Makefile
    219224        tests/Makefile
    220         longrun_tests/Makefile
     225        tests/preempt_longrun/Makefile
    221226        tools/Makefile
    222227        tools/prettyprinter/Makefile
Note: See TracChangeset for help on using the changeset viewer.