1
1
/* config.nw.h. Configure file for NetWare platform */
2
2
3
3
4
- /****
5
-
6
- Need to carefully look into each constant and either define or undef it w.r.t. NetWare.
7
-
8
- ****/
9
-
10
-
11
- /* Define if PHP to setup it's own SIGCHLD handler (not needed on NetWare) */
4
+ /* Define if PHP to setup it's own SIGCHLD handler (not needed on Win32) */
12
5
#define PHP_SIGCHILD 0
13
6
14
7
/* dns functions found in resolv.lib */
@@ -25,26 +18,43 @@ Need to carefully look into each constant and either define or undef it w.r.t. N
25
18
/* set to enable mysql */
26
19
#define HAVE_MYSQL 1
27
20
21
+ /* defines for PostgreSQL extension */
22
+ #define HAVE_PGSQL 1
23
+ #define PHP_PGSQL_PRIVATE 1
24
+ #define HAVE_PGSQL_WITH_MULTIBYTE_SUPPORT 1
25
+ #define HAVE_PQCLIENTENCODING 1
26
+ #define HAVE_PQCMDTUPLES 1
27
+ #define HAVE_PQOIDVALUE 1
28
+
28
29
/* set to enable FTP support */
29
30
#define HAVE_FTP 1
30
31
31
32
/* set to enable bundled PCRE library */
32
33
#define HAVE_BUNDLED_PCRE 1
33
34
34
35
/* set to enable bundled expat library */
35
- /* #define HAVE_LIBEXPAT 1 */ /* For now */
36
- #define HAVE_WDDX 0
36
+ /*#define HAVE_LIBEXPAT 1*/ /* Commented for now */
37
+ #define HAVE_WDDX 0 /* Instead of 1 */
37
38
38
39
/* set to enable the crypt command */
39
- /* #define HAVE_CRYPT 1 */
40
- /* #define HAVE_CRYPT_H 1 */
40
+ /*
41
+ #define HAVE_CRYPT 1
42
+ #define PHP_STD_DES_CRYPT 1
43
+ #define PHP_EXT_DES_CRYPT 0
44
+ #define PHP_MD5_CRYPT 0
45
+ #define PHP_BLOWFISH_CRYPT 0
46
+ #define HAVE_CRYPT_H 1
47
+ */
41
48
42
49
/* set to enable force cgi redirect */
43
- #define FORCE_CGI_REDIRECT 0
50
+ #define FORCE_CGI_REDIRECT 1
44
51
45
52
/* should be added to runtime config*/
46
53
#define PHP_URL_FOPEN 1
47
54
55
+ /* set to enable overload extension */
56
+ #define HAVE_OVERLOAD 0
57
+
48
58
#define STDIN_FILENO 0
49
59
#define STDOUT_FILENO 1
50
60
#define STDERR_FILENO 2
@@ -79,7 +89,7 @@ Need to carefully look into each constant and either define or undef it w.r.t. N
79
89
80
90
/* ----------------------------------------------------------------
81
91
The following may or may not be (or need to be) ported to the
82
- windows environment.
92
+ NetWare environment.
83
93
---------------------------------------------------------------*/
84
94
85
95
/* Define if you have the link function. */
@@ -92,7 +102,7 @@ Need to carefully look into each constant and either define or undef it w.r.t. N
92
102
#undef HAVE_USLEEP
93
103
94
104
#define HAVE_GETCWD 1
95
- /* #define HAVE_POSIX_READDIR_R 1 */ /* We will use readdir() from LibC */
105
+ /*#define HAVE_POSIX_READDIR_R 1*/ /* We will use readdir() from LibC */
96
106
97
107
#define NEED_ISBLANK 1
98
108
@@ -111,8 +121,13 @@ Need to carefully look into each constant and either define or undef it w.r.t. N
111
121
#define HAVE_UODBC 1
112
122
#define HAVE_LIBDL 1
113
123
#define HAVE_SENDMAIL 1
124
+
125
+ /* Define if you have the gettimeofday function. */
114
126
#define HAVE_GETTIMEOFDAY 1
127
+
128
+ /* Define if you have the putenv function. */
115
129
#define HAVE_PUTENV 1
130
+
116
131
#define HAVE_LIMITS_H 1
117
132
118
133
#define HAVE_TZSET 1
@@ -123,7 +138,7 @@ Need to carefully look into each constant and either define or undef it w.r.t. N
123
138
124
139
/* Define if you have alloca, as a function or macro. */
125
140
/* Though we have alloca(), this seems to be causing some problem with the stack pointer -- hence not using it */
126
- /* #define HAVE_ALLOCA 1 */
141
+ /*#define HAVE_ALLOCA 1*/
127
142
128
143
/* Define if you have <sys/time.h> */
129
144
#undef HAVE_SYS_TIME_H
@@ -132,10 +147,10 @@ Need to carefully look into each constant and either define or undef it w.r.t. N
132
147
#define HAVE_SIGNAL_H 1
133
148
134
149
/* Define if your struct stat has st_blksize. */
135
- #define HAVE_ST_BLKSIZE
150
+ #undef HAVE_ST_BLKSIZE
136
151
137
152
/* Define if your struct stat has st_blocks. */
138
- #define HAVE_ST_BLOCKS
153
+ #undef HAVE_ST_BLOCKS
139
154
140
155
/* Define if your struct stat has st_rdev. */
141
156
#define HAVE_ST_RDEV 1
@@ -158,28 +173,22 @@ Need to carefully look into each constant and either define or undef it w.r.t. N
158
173
#define HAVE_LDAP 1
159
174
160
175
/* Define if you have the gcvt function. */
161
- /* #define HAVE_GCVT 1 */
176
+ /*#define HAVE_GCVT 1*/
162
177
163
178
/* Define if you have the getlogin function. */
164
- /* #define HAVE_GETLOGIN 1 */
165
-
166
- /* Define if you have the gettimeofday function. */
167
- #define HAVE_GETTIMEOFDAY 1
179
+ /*#define HAVE_GETLOGIN 1*/
168
180
169
181
/* Define if you have the memcpy function. */
170
182
#define HAVE_MEMCPY 1
171
183
172
184
/* Define if you have the memmove function. */
173
185
#define HAVE_MEMMOVE 1
174
186
175
- /* Define if you have the putenv function. */
176
- /* #define HAVE_PUTENV 1 */ /* Why are such things defined in more than one place ? */
177
-
178
187
/* Define if you have the regcomp function. */
179
- /* #define HAVE_REGCOMP 1 */
188
+ #define HAVE_REGCOMP 1
180
189
181
190
/* Define if you have the setlocale function. */
182
- /* #define HAVE_SETLOCALE 1 */ /* LibC doesn 't seem to be supporting fully -- hence commenting for now */
191
+ /*#define HAVE_SETLOCALE 1*/ /* Doesn 't seem to be supporting fully -- hence commenting for now */
183
192
184
193
#define HAVE_LOCALECONV 1
185
194
@@ -212,7 +221,7 @@ Need to carefully look into each constant and either define or undef it w.r.t. N
212
221
#define HAVE_UTIME 1
213
222
214
223
/* Define if you have the <dirent.h> header file. */
215
- #define HAVE_DIRENT_H
224
+ #define HAVE_DIRENT_H 1 /* Defined and then added '1' for '#if' to work */
216
225
217
226
/* Define if you have the <fcntl.h> header file. */
218
227
#define HAVE_FCNTL_H 1
@@ -230,16 +239,20 @@ Need to carefully look into each constant and either define or undef it w.r.t. N
230
239
#undef HAVE_SYS_FILE_H
231
240
232
241
/* Define if you have the <sys/socket.h> header file. */
242
+ #ifdef USE_WINSOCK
243
+ #undef HAVE_SYS_SOCKET_H
244
+ #else
233
245
#define HAVE_SYS_SOCKET_H 1 /* Added '1' for '#if' to work */
246
+ #endif
234
247
235
248
/* Define if you have the <sys/wait.h> header file. */
236
249
#undef HAVE_SYS_WAIT_H
237
250
238
251
/* Define if you have the <syslog.h> header file. */
239
- /* #define HAVE_SYSLOG_H 1 */
252
+ /*#define HAVE_SYSLOG_H 1*/ /* Commented for now */
240
253
241
254
/* Define if you have the <unistd.h> header file. */
242
- #define HAVE_UNISTD_H 1 /* Added '1' for '#if' to work */
255
+ #define HAVE_UNISTD_H 1 /* Defined and then added '1' for '#if' to work */
243
256
244
257
/* Define if you have the dl library (-ldl). */
245
258
#define HAVE_LIBDL 1
@@ -261,14 +274,12 @@ Need to carefully look into each constant and either define or undef it w.r.t. N
261
274
#define SIZEOF_INT 4
262
275
263
276
/* Define directory constants for php and pear */
264
-
265
- /* Venkat (20/12/01) */
266
277
#define APACHE_MODULE_DIR "sys:/apache/modules"
267
278
#define PHP_BINDIR "sys:/php"
268
279
#define PHP_LIBDIR PHP_BINDIR
269
280
#define PHP_DATADIR PHP_BINDIR
270
281
#define PHP_SYSCONFDIR PHP_BINDIR
271
282
#define PHP_LOCALSTATEDIR PHP_BINDIR
272
- #define PHP_CONFIG_FILE_PATH "sys:/php"
283
+ #define PHP_CONFIG_FILE_PATH "sys:/php" /* No need to keep in SYSTEM folder */
273
284
#define PEAR_INSTALLDIR "sys:/php/pear"
274
285
0 commit comments