summaryrefslogtreecommitdiff
path: root/Zend/acconfig.h
blob: 9a5e3a5c0d40f722fb8b06e9d3a5d90a124da038 (plain)
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
#undef HAVE_CLASS_ISTDIOSTREAM

#define ZEND_API

@TOP@

/* This is the default configuration file to read */
#define USE_CONFIG_FILE 1

/* these are defined by automake */
#undef PACKAGE
#undef VERSION

/* define uint by configure if it is missed (QNX and BSD derived) */
#undef uint

/* define ulong by configure if it is missed (most probably is) */
#undef ulong

/* Undefine if you want stricter XML/SGML compliance by default */
/* (this disables "<?expression?>" by default) */
#define T_DEFAULT_SHORT_OPEN_TAG 1

/* Define both of these if you want the bundled REGEX library */
#define REGEX 0
#define HSREGEX 0

#undef ZEND_DEBUG

/* Define if you want to enable bc style precision math support */
#define WITH_BCMATH 0

/* Define if you want to enable memory limit support */
#define MEMORY_LIMIT 0

/* Define if you have broken sprintf function like SunOS 4 */
#define BROKEN_SPRINTF 0

/* Define to compile Zend thread safe */
#undef ZTS

#undef HAVE_LIBDL

@BOTTOM@

#ifdef HAVE_STDLIB_H
# include <stdlib.h>
#endif

#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif

#ifdef HAVE_STRING_H
# include <string.h>
#else
# include <strings.h>
#endif

/* Define if you have stdiostream.h */
#undef HAVE_STDIOSTREAM_H

#ifdef HAVE_LIBDL
# ifdef HAVE_DLFCN_H
#  include <dlfcn.h>
# endif
# define DL_LOAD(libname)	dlopen(libname, RTLD_NOW)
# define DL_UNLOAD		dlclose
# define DL_FETCH_SYMBOL	dlsym
# define DL_HANDLE		void *
# define ZEND_EXTENSIONS_SUPPORT 1
#else
# define DL_HANDLE		void *
# define ZEND_EXTENSIONS_SUPPORT 0
#endif

#if ZEND_BROKEN_SPRINTF
int zend_sprintf(char *buffer, const char *format, ...);
#else
# define zend_sprintf sprintf
#endif

#if ZEND_DEBUG
# define inline
#endif

/*
 * Local variables:
 * tab-width: 4
 * c-basic-offset: 4
 * End:
 */