/usr/include/hphp/util/hphp-config.h is in hhvm-dev 3.21.0+dfsg-2ubuntu2.
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 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 | #ifndef incl_HPHP_UTIL_HPHP_CONFIG_H_
#define incl_HPHP_UTIL_HPHP_CONFIG_H_
#ifndef FACEBOOK
# define HPHP_OSS 1
#endif
/* Forced defines. These won't change. */
/* Define if built-in ELF support is used for ext_fileinfo */
#define BUILTIN_ELF 1
/* Define for ELF core file support in ext_fileinfo */
#define ELFCORE 1
/* HHVM requires zlib, and we use a bundled version if it isn't present
* on the build system, so we definitely have this.
*/
#define HAVE_LIBZ 1
/**
* These headers are known to be present because they are either required
* for HHVM itself, or else are provided by a bundled component when not
* present on the build system.
*/
#define HAVE_ZLIB_H 1
/**
* These functions are known to be present because they are either required
* for HHVM itself, or else are provided by a bundled component when not
* present on the build system.
*/
// None for now.
/**
* Everything below here should be separated into one section for CMake
* and one for non-CMake builds done by FB.
*)
* If you add any defines here or in HHVMGenerateConfig.cmake, you must make
* sure to update the non-CMake side. If you are not sure if a particular
* define should be present, ask your FB reviewer.
*/
#ifdef USE_CMAKE
/* #undef ENABLE_AVX2 */
/* #undef ENABLE_AARCH64_CRC */
#define ENABLE_ZEND_COMPAT 1
/* #undef EXECUTION_PROFILER */
#else
/* #undef ENABLE_AVX2 */
/* #undef ENABLE_AARCH64_CRC */
# define ENABLE_ZEND_COMPAT 1
/* #undef EXECUTION_PROFILER */
#endif
/* Checked Headers */
#ifdef USE_CMAKE
#define HAVE_INTTYPES_H 1
#define HAVE_LIMITS_H 1
#define HAVE_UTIME_H 1
#define HAVE_WCHAR_H 1
#define HAVE_WCTYPE_H 1
#define HAVE_SYS_MMAN_H 1
/* #undef HAVE_SYS_UTIME_H */
#else
# define HAVE_INTTYPES_H 1
# define HAVE_LIMITS_H 1
# define HAVE_UTIME_H 1
# define HAVE_WCHAR_H 1
# define HAVE_WCTYPE_H 1
# define HAVE_SYS_MMAN_H 1
/* #undef HAVE_SYS_UTIME_H */
#endif
/* Checked Functions */
#ifdef USE_CMAKE
#define HAVE_GETLINE 1
#define HAVE_MBRTOWC 1
#define HAVE_MKSTEMP 1
#define HAVE_MMAP 1
#define HAVE_STRERROR 1
/* #undef HAVE_STRLCPY */
#define HAVE_STRTOF 1
#define HAVE_STRTOUL 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#else
# define HAVE_GETLINE 1
# define HAVE_MBRTOWC 1
# define HAVE_MKSTEMP 1
# define HAVE_MMAP 1
# define HAVE_STRERROR 1
/* #undef HAVE_STRLCPY */
# define HAVE_STRTOF 1
# define HAVE_STRTOUL 1
# define HAVE_UTIME 1
# define HAVE_UTIMES 1
#endif
#ifdef USE_CMAKE
#define HAVE_TM_ISDST 1
#define HAVE_STRUCT_TM_TM_GMTOFF 1
#define HAVE_STRUCT_TM_TM_ZONE 1
#define HAVE_DAYLIGHT 1
/* #undef MAJOR_IN_MKDEV */
/* #undef MAJOR_IN_SYSMACROS */
#define HAVE_VISIBILITY 1
#else
# define HAVE_TM_ISDST 1
# define HAVE_STRUCT_TM_TM_GMTOFF 1
# define HAVE_STRUCT_TM_TM_ZONE 1
# define HAVE_DAYLIGHT 1
/* #undef MAJOR_IN_MKDEV */
/* #undef MAJOR_IN_SYSMACROS */
# define HAVE_VISIBILITY 1
#endif
#ifdef USE_CMAKE
# if 90 != 90
# error You need to update the config file for the new builtin extension, and add the define to the FB section
# endif
/* Extensions */
#define ENABLE_EXTENSION_APACHE 1
#define ENABLE_EXTENSION_APC 1
#define ENABLE_EXTENSION_ARRAY 1
#define ENABLE_EXTENSION_ASIO 1
#define ENABLE_EXTENSION_ASYNC_MYSQL 1
#define ENABLE_EXTENSION_BCMATH 1
#define ENABLE_EXTENSION_BZ2 1
#define ENABLE_EXTENSION_COLLECTIONS 1
#define ENABLE_EXTENSION_CTYPE 1
#define ENABLE_EXTENSION_CURL 1
#define ENABLE_EXTENSION_DATETIME 1
#define ENABLE_EXTENSION_DEBUGGER 1
#define ENABLE_EXTENSION_DOMDOCUMENT 1
#define ENABLE_EXTENSION_ENUM 1
#define ENABLE_EXTENSION_FACTPARSE 1
#define ENABLE_EXTENSION_FB 1
#define ENABLE_EXTENSION_FILEINFO 1
#define ENABLE_EXTENSION_FILTER 1
/* #undef ENABLE_EXTENSION_FRIBIDI */
#define ENABLE_EXTENSION_GD 1
#define ENABLE_EXTENSION_GENERATOR 1
#define ENABLE_EXTENSION_GETTEXT 1
#define ENABLE_EXTENSION_GMP 1
#define ENABLE_EXTENSION_HASH 1
#define ENABLE_EXTENSION_HH 1
#define ENABLE_EXTENSION_HH_CLIENT 1
#define ENABLE_EXTENSION_HOTPROFILER 1
#define ENABLE_EXTENSION_ICONV 1
#define ENABLE_EXTENSION_ICU 1
#define ENABLE_EXTENSION_IMAGICK 1
/* #undef ENABLE_EXTENSION_IMAP */
#define ENABLE_EXTENSION_INTERVALTIMER 1
#define ENABLE_EXTENSION_IPC 1
#define ENABLE_EXTENSION_JSON 1
#define ENABLE_EXTENSION_LDAP 1
#define ENABLE_EXTENSION_LIBXML 1
#define ENABLE_EXTENSION_LZ4 1
#define ENABLE_EXTENSION_MAIL 1
#define ENABLE_EXTENSION_MAILPARSE 1
#define ENABLE_EXTENSION_MBSTRING 1
#define ENABLE_EXTENSION_MCROUTER 1
#define ENABLE_EXTENSION_MCRYPT 1
#define ENABLE_EXTENSION_MEMCACHE 1
#define ENABLE_EXTENSION_MEMCACHED 1
#define ENABLE_EXTENSION_MYSQL 1
#define ENABLE_EXTENSION_MYSQLI 1
#define ENABLE_EXTENSION_OBJPROF 1
#define ENABLE_EXTENSION_ODBC 1
#define ENABLE_EXTENSION_OPENSSL 1
#define ENABLE_EXTENSION_PASSWORD 1
#define ENABLE_EXTENSION_PCRE 1
#define ENABLE_EXTENSION_PDO 1
#define ENABLE_EXTENSION_PDO_MYSQL 1
#define ENABLE_EXTENSION_PDO_SQLITE 1
/* #undef ENABLE_EXTENSION_PGSQL */
#define ENABLE_EXTENSION_PHAR 1
#define ENABLE_EXTENSION_POSIX 1
#define ENABLE_EXTENSION_PROCESS 1
#define ENABLE_EXTENSION_RANDOM 1
#define ENABLE_EXTENSION_READLINE 1
#define ENABLE_EXTENSION_REFLECTION 1
#define ENABLE_EXTENSION_SCRYPT 1
#define ENABLE_EXTENSION_SERVER 1
#define ENABLE_EXTENSION_SESSION 1
#define ENABLE_EXTENSION_SHMOP 1
#define ENABLE_EXTENSION_SIMPLEXML 1
/* #undef ENABLE_EXTENSION_SNAPPY */
#define ENABLE_EXTENSION_SOAP 1
#define ENABLE_EXTENSION_SOCKETS 1
/* #undef ENABLE_EXTENSION_SODIUM */
#define ENABLE_EXTENSION_SPL 1
#define ENABLE_EXTENSION_SQLITE3 1
#define ENABLE_EXTENSION_STD 1
#define ENABLE_EXTENSION_STREAM 1
#define ENABLE_EXTENSION_STRING 1
#define ENABLE_EXTENSION_THREAD 1
#define ENABLE_EXTENSION_THRIFT 1
#define ENABLE_EXTENSION_URL 1
/* #undef ENABLE_EXTENSION_WATCHMAN */
#define ENABLE_EXTENSION_WDDX 1
#define ENABLE_EXTENSION_WEAKREF 1
#define ENABLE_EXTENSION_XDEBUG 1
#define ENABLE_EXTENSION_XENON 1
#define ENABLE_EXTENSION_XHPROF 1
#define ENABLE_EXTENSION_XML 1
#define ENABLE_EXTENSION_XMLREADER 1
#define ENABLE_EXTENSION_XMLWRITER 1
#define ENABLE_EXTENSION_XSL 1
#define ENABLE_EXTENSION_ZIP 1
#define ENABLE_EXTENSION_ZLIB 1
#else
# define ENABLE_EXTENSION_APACHE 1
# define ENABLE_EXTENSION_APC 1
# define ENABLE_EXTENSION_ASIO 1
# define ENABLE_EXTENSION_ARRAY 1
# define ENABLE_EXTENSION_ASYNC_MYSQL 1
# define ENABLE_EXTENSION_BCMATH 1
# define ENABLE_EXTENSION_BZ2 1
# define ENABLE_EXTENSION_COLLECTIONS 1
# define ENABLE_EXTENSION_CTYPE 1
# define ENABLE_EXTENSION_CURL 1
# define ENABLE_EXTENSION_DATETIME 1
# define ENABLE_EXTENSION_DEBUGGER 1
# define ENABLE_EXTENSION_DOMDOCUMENT 1
# define ENABLE_EXTENSION_ENUM 1
# define ENABLE_EXTENSION_FACTPARSE 1
# define ENABLE_EXTENSION_FB 1
# define ENABLE_EXTENSION_FILEINFO 1
# define ENABLE_EXTENSION_FILTER 1
/* #undef ENABLE_EXTENSION_FRIBIDI */
# define ENABLE_EXTENSION_GD 1
# define ENABLE_EXTENSION_GETTEXT 1
# define ENABLE_EXTENSION_GENERATOR 1
# define ENABLE_EXTENSION_HASH 1
# define ENABLE_EXTENSION_GMP 1
# define ENABLE_EXTENSION_HH 1
# define ENABLE_EXTENSION_HH_CLIENT 1
# define ENABLE_EXTENSION_HOTPROFILER 1
# define ENABLE_EXTENSION_ICU 1
# define ENABLE_EXTENSION_ICONV 1
# define ENABLE_EXTENSION_IMAGICK 1
# define ENABLE_EXTENSION_IMAP 1
# define ENABLE_EXTENSION_INTERVALTIMER 1
# define ENABLE_EXTENSION_IPC 1
# define ENABLE_EXTENSION_JSON 1
# define ENABLE_EXTENSION_LDAP 1
# define ENABLE_EXTENSION_LIBSODIUM 1
# define ENABLE_EXTENSION_LIBXML 1
# define ENABLE_EXTENSION_LZ4 1
# define ENABLE_EXTENSION_MAIL 1
# define ENABLE_EXTENSION_MAILPARSE 1
# define ENABLE_EXTENSION_MBSTRING 1
# define ENABLE_EXTENSION_MCROUTER 1
# define ENABLE_EXTENSION_MCRYPT 1
# define ENABLE_EXTENSION_MEMCACHED 1
# define ENABLE_EXTENSION_MYSQL 1
# define ENABLE_EXTENSION_MYSQLI 1
# define ENABLE_EXTENSION_MEMCACHE 1
# define ENABLE_EXTENSION_OBJPROF 1
# define ENABLE_EXTENSION_ODBC 1
# define ENABLE_EXTENSION_OPENSSL 1
# define ENABLE_EXTENSION_PASSWORD 1
# define ENABLE_EXTENSION_PCRE 1
# define ENABLE_EXTENSION_PDO 1
# define ENABLE_EXTENSION_PDO_MYSQL 1
# define ENABLE_EXTENSION_PDO_SQLITE 1
/* #undef ENABLE_EXTENSION_PGSQL */
# define ENABLE_EXTENSION_PHAR 1
# define ENABLE_EXTENSION_POSIX 1
# define ENABLE_EXTENSION_PROCESS 1
# define ENABLE_EXTENSION_RANDOM 1
# define ENABLE_EXTENSION_READLINE 1
# define ENABLE_EXTENSION_REFLECTION 1
# define ENABLE_EXTENSION_SCRYPT 1
# define ENABLE_EXTENSION_SERVER 1
# define ENABLE_EXTENSION_SESSION 1
# define ENABLE_EXTENSION_SHMOP 1
# define ENABLE_EXTENSION_SIMPLEXML 1
# define ENABLE_EXTENSION_SNAPPY 1
# define ENABLE_EXTENSION_SOAP 1
# define ENABLE_EXTENSION_SOCKETS 1
# define ENABLE_EXTENSION_SPL 1
# define ENABLE_EXTENSION_SQLITE3 1
# define ENABLE_EXTENSION_STD 1
# define ENABLE_EXTENSION_STREAM 1
# define ENABLE_EXTENSION_STRING 1
# define ENABLE_EXTENSION_THREAD 1
# define ENABLE_EXTENSION_THRIFT 1
# define ENABLE_EXTENSION_URL 1
# define ENABLE_EXTENSION_WDDX 1
# define ENABLE_EXTENSION_WEAKREF 1
# define ENABLE_EXTENSION_XDEBUG 1
# define ENABLE_EXTENSION_XENON 1
# define ENABLE_EXTENSION_XHPROF 1
# define ENABLE_EXTENSION_XMLREADER 1
# define ENABLE_EXTENSION_XML 1
# define ENABLE_EXTENSION_XSL 1
# define ENABLE_EXTENSION_ZIP 1
# define ENABLE_EXTENSION_WATCHMAN 1
# define ENABLE_EXTENSION_XMLWRITER 1
# define ENABLE_EXTENSION_ZLIB 1
#endif
#endif
|