pike.git / src / acconfig.h

version» Context lines:

pike.git/src/acconfig.h:1:   /*   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id$ +    */      #ifndef MACHINE_H   #define MACHINE_H      /* We must define this *always* */   #ifndef POSIX_SOURCE   #define POSIX_SOURCE 1   #endif   
pike.git/src/acconfig.h:61:      /* Define this if you want dmalloc to keep track of freed memory. */   #undef DMALLOC_TRACK_FREE      /* With this, dmalloc will trace malloc(3) calls */   #undef ENCAPSULATE_MALLOC      /* With this, dmalloc will report leaks made by malloc(3) calls */   #undef REPORT_ENCAPSULATED_MALLOC    - /* Define this to enable atomic svalues */ - #undef ATOMIC_SVALUE + /* Define this to simulate dynamic module loading with static modules. */ + #undef USE_SEMIDYNAMIC_MODULES    - /* Define this to enable the internal Pike security system */ - #undef PIKE_SECURITY -  - /* Define this to enable experimental facets support */ - #undef WITH_FACETS -  - /* Define this to enable the internal bignum conversion */ - #undef AUTO_BIGNUM -  - /* Define this to enable experimental code for multicpu machines */ - #undef PIKE_RUN_UNLOCKED -  +    /* Define this if you want to enable the shared nodes mode of the optimizer. */   #undef SHARED_NODES    - /* Define this if you want to enable the new type checker code. */ - #undef NEW_ARG_CHECK -  +    /* Define this to use the new keypair loop. */   #undef PIKE_MAPPING_KEYPAIR_LOOP    - /* Define this to get portable dumped bytecode. */ - #undef PIKE_PORTABLE_BYTECODE -  +    /* Enable profiling */   #undef PROFILING      /* Enable internal profiling */   #undef INTERNAL_PROFILING      /* If possible, the expansion for a "#define short" to avoid that bison    * uses short everywhere internally. */   #undef BISON_SHORT_EXPANSION   
pike.git/src/acconfig.h:250:      /* So has True64, but no useful information in prstatus_t */   #undef GETRUSAGE_THROUGH_PROCFS_PRS      /* Define if you have infnan */   #undef HAVE_INFNAN      /* Define if you have _isnan */   #undef HAVE__ISNAN    + /* Define if you have isfinite */ + #undef HAVE_ISFINITE +    /* Define if you have fork */   #undef HAVE_FORK    - /* Define if you have isspace */ - #undef HAVE_ISSPACE -  +    /* Define if you have fpsetmask */   #undef HAVE_FPSETMASK      /* Define if you have fpsetround */   #undef HAVE_FPSETROUND      /* Define if you have isless */   #undef HAVE_ISLESS      /* Define if you have isunordered */
pike.git/src/acconfig.h:301:      /* Define if you have gethrtime */   #undef HAVE_GETHRTIME      /* Can we make our own gethrtime? */   #undef OWN_GETHRTIME      /* ... by using the RDTSC instruction? */   #undef OWN_GETHRTIME_RDTSC    - /* Define if you have a working, 8-bit-clean memcmp */ - #undef HAVE_MEMCMP -  +    /* Define if it is possible to allocate PROT_EXEC memory with mmap */   #undef MEXEC_USES_MMAP      /* Define if you have gethostname */   #undef HAVE_GETHOSTNAME    - /* Define if you have memmove. */ - #ifndef __CHECKER__ - #undef HAVE_MEMMOVE - #endif -  - /* Define if you have memmem. */ - #undef HAVE_MEMMEM -  - /* Define if you have memset. */ - #undef HAVE_MEMSET -  - /* Define if you have memcpy. */ - #undef HAVE_MEMCPY -  - /* Define if you have strcoll */ - #undef HAVE_STRCOLL -  +    /* Define this if you have dlopen */   #undef HAVE_DLOPEN    - /* Define if you have ldexp. */ - #undef HAVE_LDEXP -  +    /* Define if you have rint. */   #undef HAVE_RINT    - /* Define if you have frexp. */ - #undef HAVE_FREXP -  +    /* Define if your signals are one-shot */   #undef SIGNAL_ONESHOT      /* Define this if eval_instruction gets large on your platform. */   #undef PIKE_SMALL_EVAL_INSTRUCTION      /* Define if you have gcc-style computed goto, and want to use them. */   #undef HAVE_COMPUTED_GOTO      /* Define this to use machine code */
pike.git/src/acconfig.h:388:   /* How to extract a char and an unsigned char from a char * */   #undef EXTRACT_CHAR_BY_CAST   #undef EXTRACT_UCHAR_BY_CAST      /* Do you have IEEE floats and/or doubles (either big or little endian) ? */   #undef FLOAT_IS_IEEE_BIG   #undef FLOAT_IS_IEEE_LITTLE   #undef DOUBLE_IS_IEEE_BIG   #undef DOUBLE_IS_IEEE_LITTLE    - /* Define this if strtol exists, and doesn't cut at 0x7fffffff */ - #undef HAVE_WORKING_STRTOL -  +    /* The rest of this file is just to eliminate warnings */      /* define if declaration of strchr is missing */   #undef STRCHR_DECL_MISSING      /* define if declaration of malloc is missing */   #undef MALLOC_DECL_MISSING      /* define if declaration of getpeername is missing */   #undef GETPEERNAME_DECL_MISSING
pike.git/src/acconfig.h:426:      /* The byteorder your machine use, most use 4321, PC use 1234 */   #define PIKE_BYTEORDER 0      /* What alignment do pointers need */   #define PIKE_POINTER_ALIGNMENT 4      /* Assembler prefix for general purpose registers */   #undef PIKE_CPU_REG_PREFIX    - /* Number of possible filedesriptors */ - #define MAX_OPEN_FILEDESCRIPTORS 1024 -  +    /* define this if #include <time.h> provides an external int timezone */   #undef HAVE_EXTERNAL_TIMEZONE      /* define this if your struct tm has a tm_gmtoff */   #undef STRUCT_TM_HAS_GMTOFF      /* define this if your struct tm has a __tm_gmtoff */   #undef STRUCT_TM_HAS___TM_GMTOFF      /* Define if you have struct timeval */
pike.git/src/acconfig.h:516:      /* Define if you have the pthread_yield_np function. */   #undef HAVE_PTHREAD_YIELD_NP      /* Hack for stupid glibc linuxthreads */   #undef HAVE_PTHREAD_INITIAL_THREAD_BOS      /* Define if your OS has the union wait. */   #undef HAVE_UNION_WAIT    - /* Define if you have isgraph */ - #undef HAVE_ISGRAPH -  +    /* Define if your cpp supports the ANSI concatenation operator ## */   #undef HAVE_ANSI_CONCAT      /* Define if you don't have F_SETFD, or it doesn't work */   #undef HAVE_BROKEN_F_SETFD      /* Define if your thread implementation doesn't propagate euid & egid. */   #undef HAVE_BROKEN_LINUX_THREAD_EUID      /* Define if your cpp supports K&R-style concatenation */
pike.git/src/acconfig.h:564:      /* Define if your compiler has a symbol __func__ */   #undef HAVE_WORKING___FUNC__      /* Define if your compiler has a symbol __FUNCTION__ */   #undef HAVE_WORKING___FUNCTION__      /* The last argument to accept() is an ACCEPT_SIZE_T * */   #define ACCEPT_SIZE_T int    - /* Can we compile in MMX support? */ - #undef TRY_USE_MMX -  +    /* Define if you have the <sys/resource.h> header file. */   #undef HAVE_SYS_RESOURCE_H      /* set this to the modifier type string to print size_t, like "" or "l" */   #undef PRINTSIZET      /* set this to the modifier type string to print ptrdiff_t, like "" or "l" */   #undef PRINTPTRDIFFT      /* set this to the modifier type string to print off_t if that type exists */   #undef PRINTOFFT      /* set this to the modifier type string to print INT64 if that type exists */   #undef PRINTINT64    - /* Define if the compiler understand union initializations. */ + /* Define if the compiler understands union initializations. */   #undef HAVE_UNION_INIT    -  + /* Define if the compiler has problems with union aliasing. */ + #undef NO_COMBINED_TYPE_SUBTYPE +    /* Define when binary --disable-binary is used. */   #undef DISABLE_BINARY      /* Define to the size of the overhead for a malloc'ed block. (Slightly    * too much is better than slightly too little.) */   #undef PIKE_MALLOC_OVERHEAD      /* Define to the page size (handled efficiently by malloc). */   #undef PIKE_MALLOC_PAGE_SIZE   
pike.git/src/acconfig.h:638:      /* How well is OOB TCP working?    * -1 = unknown    * 0 = doesn't seem to be working at all    * 1 = very limited functionality    * 2 = should be working as long as you are cautious    * 3 = works excellently    */   #define PIKE_OOB_WORKS -1    + /* dlmalloc has mallinfo. */ + #if defined(USE_DL_MALLOC) && !defined(HAVE_MALLINFO) + #define HAVE_MALLINFO +  + #if defined (HAVE_MALLOC_H) && defined (HAVE_STRUCT_MALLINFO) + #include <malloc.h> + #else /* HAVE_MALLOC_H && HAVE_STRUCT_MALLINFO */ +  + #ifndef MALLINFO_FIELD_TYPE + #define MALLINFO_FIELD_TYPE size_t + #endif /* MALLINFO_FIELD_TYPE */ +  + /* Needed for size_t. */ + #include <stddef.h> +  + /* dlmalloc definition of struct mallinfo. */ + struct mallinfo { +  MALLINFO_FIELD_TYPE arena; /* non-mmapped space allocated from system */ +  MALLINFO_FIELD_TYPE ordblks; /* number of free chunks */ +  MALLINFO_FIELD_TYPE smblks; /* always 0 */ +  MALLINFO_FIELD_TYPE hblks; /* always 0 */ +  MALLINFO_FIELD_TYPE hblkhd; /* space in mmapped regions */ +  MALLINFO_FIELD_TYPE usmblks; /* maximum total allocated space */ +  MALLINFO_FIELD_TYPE fsmblks; /* always 0 */ +  MALLINFO_FIELD_TYPE uordblks; /* total allocated space */ +  MALLINFO_FIELD_TYPE fordblks; /* total free space */ +  MALLINFO_FIELD_TYPE keepcost; /* releasable (via malloc_trim) space */ + }; +  + #endif /* HAVE_USR_INCLUDE_MALLOC_H */ +  + #endif +    #endif /* MACHINE_H */