Changeset a2f973 in git for omalloc/configure.ac
- Timestamp:
- Dec 8, 2010, 4:15:41 PM (13 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 20b794b84c950b9228e04900a5ccb47c0926cb2e
- Parents:
- f769719de615ce331ad5f46a18fe1e75de401f68
- git-author:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2010-12-08 16:15:41+01:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 11:57:47+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
omalloc/configure.ac
rf769719 ra2f973 247 247 if test "${with_malloc}" = system; then 248 248 OM_MALLOC_HEADER=omMallocSystem.h 249 AC_DEFINE(OMALLOC_USES_MALLOC,1,"Whether omalloc uses malloc ()") 249 AC_DEFINE(OMALLOC_USES_MALLOC,1,the system allocator is called malloc) 250 AC_DEFINE(OMALLOC_USES_SYSTEM_MALLOC,1,use system malloc as system allocator) 250 251 if test "${with_provide_malloc}" = yes || test "${with_provide_malloc}" = debug; then 251 252 AC_MSG_ERROR("can not provide malloc for --with-malloc=system") 252 253 fi 253 254 elif test "${with_malloc}" = gmalloc; then 255 AC_DEFINE(OMALLOC_USES_GMALLOC,1,use gmalloc as system allocator) 254 256 OM_MALLOC_HEADER=gmalloc.h 255 257 OM_MALLOC_SOURCE=gmalloc.c 256 258 elif test "${with_malloc}" = pmalloc; then 259 AC_DEFINE(OMALLOC_USES_PMALLOC,1,use pmalloc as system allocator) 257 260 OM_MALLOC_HEADER=pmalloc.h 258 261 OM_MALLOC_SOURCE=pmalloc.c … … 264 267 AC_MSG_ERROR("can not provide malloc for --with_malloc=external") 265 268 fi 269 AC_DEFINE(OMALLOC_USES_EXTERNAL_MALLOC,1,use external malloc as system allocator) 266 270 OM_MALLOC_HEADER=$with_external_malloc_h 267 271 OM_MALLOC_SOURCE=$with_external_malloc_c 268 AC_DEFINE(OMALLOC_USES_MALLOC,1, "Whether omalloc uses malloc ()")272 AC_DEFINE(OMALLOC_USES_MALLOC,1,the system allocator is called malloc) 269 273 elif test "${with_malloc}" = dlmalloc; then 270 274 with_malloc=dlmalloc 275 AC_DEFINE(OMALLOC_USES_DLMALLOC,1,use dlmalloc as system allocator) 271 276 OM_MALLOC_HEADER=dlmalloc.h 272 277 OM_MALLOC_SOURCE=dlmalloc.c 273 else 278 else ## default 274 279 OM_MALLOC_HEADER=omMallocSystem.h 275 AC_DEFINE(OMALLOC_USES_MALLOC,1,"Whether omalloc uses malloc ()") 280 AC_DEFINE(OMALLOC_USES_MALLOC,1,the system allocator is called malloc) 281 AC_DEFINE(OMALLOC_USES_SYSTEM_MALLOC,1,use system malloc as system allocator) 276 282 if test "${with_provide_malloc}" = yes || test "${with_provide_malloc}" = debug; then 277 283 AC_MSG_ERROR("can not provide malloc for --with-malloc=system")
Note: See TracChangeset
for help on using the changeset viewer.