/usr/include/stxxl/bits/config.h is in libstxxl-dev 1.4.1-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 | // -*- mode: c++ -*-
/***************************************************************************
* include/stxxl/bits/config.h.in
*
* Template file processed by cmake to set all define switches for this build
* according to the cmake build options.
*
* Part of the STXXL. See http://stxxl.sourceforge.net
*
* Copyright (C) 2012-2013 Timo Bingmann <tb@panthema.net>
*
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE_1_0.txt or copy at
* http://www.boost.org/LICENSE_1_0.txt)
**************************************************************************/
#ifndef STXXL_CONFIG_HEADER
#define STXXL_CONFIG_HEADER
// the STXXL library version variables
#define STXXL_VERSION_MAJOR 1
#define STXXL_VERSION_MINOR 4
#define STXXL_VERSION_PATCH 1
#define STXXL_VERSION_STRING "1.4.1"
#define STXXL_VERSION_PHASE "prerelease/Debug"
// if this is a git repository, add the refspec and commit sha
/* #undef STXXL_VERSION_GIT_REFSPEC */
/* #undef STXXL_VERSION_GIT_SHA1 */
/* #undef STXXL_DIRECT_IO_OFF */
// default: 0/1 (platform dependent)
// cmake: detection of platform and flag
// effect: disables use of O_DIRECT flag on unsupported platforms
#define STXXL_HAVE_MMAP_FILE 1
// default: 0/1 (platform dependent)
// used in: io/mmap_file.h/cpp
// effect: enables/disables memory mapped file implementation
#define STXXL_HAVE_LINUXAIO_FILE 1
// default: 0/1 (platform dependent)
// used in: io/linuxaio_file.h/cpp
// effect: enables/disables Linux AIO file implementation
#define STXXL_POSIX_THREADS 1
// default: off
// cmake: detection of pthreads by cmake
// effect: uses POSIX thread and mutexes on linux
/* #undef STXXL_STD_THREADS */
// default: off
// cmake: detection of <thread> and <mutex>
// effect: uses std thread and mutex on windows or (forced on linux)
/* #undef STXXL_WINDOWS */
// default: off
// cmake: detection of ms windows platform (32- or 64-bit)
// effect: enables windows-specific api calls (mingw or msvc)
/* #undef STXXL_MSVC */
// default: off
// cmake: detection of ms visual c++ via CMake (contains version number)
// effect: enables msvc-specific headers and macros
#define STXXL_HAVE_CXX11_RANGE_FOR_LOOP 1
// default: off
// run-time: detection C++11 support for "for (auto i : obj) { }"
// effect: enables some C++11 construct (currently only allowed in examples)
#define STXXL_HAVE_SYNC_ADD_AND_FETCH 1
// default: off
// cmake: detection of __sync_add_and_fetch() intrinsic
// effect: enables use of atomics in counting_ptr
#define STXXL_PARALLEL_MODE_EXPLICIT 1
// default: off
// cmake: -DUSE_GNU_PARALLEL=ON
// effect: explicitly enables use of __gnu_parallel algorithms
/* #undef STXXL_BOOST_CONFIG */
/* #undef STXXL_BOOST_FILESYSTEM */
/* #undef STXXL_BOOST_RANDOM */
/* #undef STXXL_BOOST_THREADS */
/* #undef STXXL_BOOST_TIMESTAMP */
// default: off
// cmake: -DUSE_BOOST=ON
// effect: enables use of boost libraries in different parts of STXXL.
#if STXXL_BOOST_CONFIG
#include <boost/config.hpp>
#endif
/* #undef STXXL_STD_RANDOM */
// default: off
// cmake: detection of <random>
// effect: uses std random generator on windows or (forced on linux)
#define STXXL_HAVE_MALLINFO_PROTO 1
// default: off
// cmake: detection of mallinfo() function in <malloc.h>
// effect: used by stxxl_tool/mallinfo for malloc stats
#define STXXL_HAVE_MLOCK_PROTO 1
// default: off
// cmake: detection of mlock() function in <sys/mman.h>
// effect: used by stxxl_tool/mlock for locking physical pages
/* #undef STXXL_WITH_VALGRIND */
// default: off
// cmake: option USE_VALGRIND=ON
// effect: run all tests with valgrind and pre-initialize some memory buffers
#endif // !STXXL_CONFIG_HEADER
|