1999-04-07 21:05:13 +00:00
|
|
|
/* config.w32.h. Configure file for win32 platforms */
|
2001-04-23 17:33:22 +00:00
|
|
|
/* tested only with MS Visual C++ V6 */
|
1999-04-07 21:05:13 +00:00
|
|
|
|
|
|
|
|
2000-05-18 19:45:34 +00:00
|
|
|
/* Define if PHP to setup it's own SIGCHLD handler (not needed on Win32) */
|
|
|
|
#define PHP_SIGCHILD 0
|
|
|
|
|
2001-07-06 09:53:39 +00:00
|
|
|
/* dns functions found in resolv.lib */
|
2001-03-11 03:49:21 +00:00
|
|
|
#define HAVE_LIBBIND 1
|
1999-04-07 21:05:13 +00:00
|
|
|
|
2001-07-06 09:53:39 +00:00
|
|
|
#define HAVE_GETSERVBYNAME 1
|
|
|
|
#define HAVE_GETSERVBYPORT 1
|
|
|
|
#define HAVE_GETPROTOBYNAME 1
|
|
|
|
#define HAVE_GETPROTOBYNUMBER 1
|
|
|
|
|
1999-04-07 21:05:13 +00:00
|
|
|
/* set to enable bcmath */
|
1999-09-16 23:18:15 +00:00
|
|
|
#define WITH_BCMATH 1
|
|
|
|
|
2000-02-23 21:10:18 +00:00
|
|
|
/* set to enable mysql */
|
|
|
|
#define HAVE_MYSQL 1
|
|
|
|
|
2000-10-05 23:25:41 +00:00
|
|
|
/* set to enable FTP support */
|
|
|
|
#define HAVE_FTP 1
|
|
|
|
|
1999-09-16 23:18:15 +00:00
|
|
|
/* set to enable bundled PCRE library */
|
|
|
|
#define HAVE_BUNDLED_PCRE 1
|
|
|
|
|
2000-02-02 18:42:04 +00:00
|
|
|
/* set to enable bundled expat library */
|
|
|
|
#define HAVE_LIBEXPAT 1
|
2000-02-12 15:47:51 +00:00
|
|
|
#define HAVE_WDDX 1
|
2000-02-02 18:42:04 +00:00
|
|
|
|
2000-09-06 10:00:34 +00:00
|
|
|
/* set to enable the crypt command */
|
|
|
|
#define HAVE_CRYPT 0
|
2001-07-06 09:53:39 +00:00
|
|
|
/* #define HAVE_CRYPT_H 1 */
|
2000-09-06 10:00:34 +00:00
|
|
|
|
2000-09-18 17:23:45 +00:00
|
|
|
/* set to enable trans sid */
|
|
|
|
#define TRANS_SID 1
|
|
|
|
|
2000-12-14 11:46:10 +00:00
|
|
|
/* set to enable force cgi redirect */
|
|
|
|
#define FORCE_CGI_REDIRECT 0
|
|
|
|
|
1999-04-07 21:05:13 +00:00
|
|
|
/* should be added to runtime config*/
|
2000-02-26 03:20:55 +00:00
|
|
|
#define PHP_URL_FOPEN 1
|
1999-04-07 21:05:13 +00:00
|
|
|
|
1999-07-19 16:08:43 +00:00
|
|
|
#define STDIN_FILENO 0
|
|
|
|
#define STDOUT_FILENO 1
|
|
|
|
#define STDERR_FILENO 2
|
|
|
|
|
1999-04-07 21:05:13 +00:00
|
|
|
/* ----------------------------------------------------------------
|
|
|
|
The following are defaults for run-time configuration
|
|
|
|
---------------------------------------------------------------*/
|
|
|
|
|
|
|
|
#define PHP_SAFE_MODE 0
|
|
|
|
#define MAGIC_QUOTES 0
|
|
|
|
/* This is the default configuration file to read */
|
1999-06-19 13:18:48 +00:00
|
|
|
#define CONFIGURATION_FILE_PATH "php.ini"
|
1999-04-07 21:05:13 +00:00
|
|
|
#define USE_CONFIG_FILE 1
|
|
|
|
|
2000-07-21 15:54:10 +00:00
|
|
|
#define PHP_INCLUDE_PATH NULL
|
|
|
|
|
|
|
|
|
1999-04-07 21:05:13 +00:00
|
|
|
/* Undefine if you want stricter XML/SGML compliance by default */
|
|
|
|
/* this disables "<?expression?>" and "<?=expression?>" */
|
2001-05-12 20:11:01 +00:00
|
|
|
#define DEFAULT_SHORT_OPEN_TAG "1"
|
1999-04-07 21:05:13 +00:00
|
|
|
|
|
|
|
|
|
|
|
/* ----------------------------------------------------------------
|
|
|
|
The following defines are for those modules which require
|
|
|
|
external libraries to compile. These will be removed from
|
|
|
|
here in a future beta, as these modules will be moved out to dll's
|
|
|
|
---------------------------------------------------------------*/
|
2000-09-06 10:00:34 +00:00
|
|
|
#define HAVE_ERRMSG_H 0 /*needed for mysql 3.21.17 and up*/
|
1999-11-09 19:53:38 +00:00
|
|
|
#undef HAVE_ADABAS
|
|
|
|
#undef HAVE_SOLID
|
2000-09-06 10:00:34 +00:00
|
|
|
|
|
|
|
|
1999-04-07 21:05:13 +00:00
|
|
|
/* ----------------------------------------------------------------
|
|
|
|
The following may or may not be (or need to be) ported to the
|
|
|
|
windows environment.
|
|
|
|
---------------------------------------------------------------*/
|
|
|
|
|
|
|
|
/* Define if you have the link function. */
|
* fixed some #if/#ifdef issues
* hand-patched in php3 changes from 3.0.6 to HEAD in these files:
fopen-wrappers.[ch] ext/standard/file.[ch] ext/standard/fsock.[ch]
ext/standard/php3_string.h ext/standard/string.c
* added some new file/socket macros for more readable code:
FP_FGETS(buf,len,sock,fp,issock)
FP_FREAD(buf,len,sock,fp,issock)
FP_FEOF(sock,fp,issock)
FP_FGETC(sock,fp,issock)
1999-06-16 17:06:53 +00:00
|
|
|
#undef HAVE_LINK
|
1999-04-07 21:05:13 +00:00
|
|
|
|
|
|
|
/* Define if you have the symlink function. */
|
* fixed some #if/#ifdef issues
* hand-patched in php3 changes from 3.0.6 to HEAD in these files:
fopen-wrappers.[ch] ext/standard/file.[ch] ext/standard/fsock.[ch]
ext/standard/php3_string.h ext/standard/string.c
* added some new file/socket macros for more readable code:
FP_FGETS(buf,len,sock,fp,issock)
FP_FREAD(buf,len,sock,fp,issock)
FP_FEOF(sock,fp,issock)
FP_FGETC(sock,fp,issock)
1999-06-16 17:06:53 +00:00
|
|
|
#undef HAVE_SYMLINK
|
1999-04-07 21:05:13 +00:00
|
|
|
|
|
|
|
/* Define if you have the usleep function. */
|
* fixed some #if/#ifdef issues
* hand-patched in php3 changes from 3.0.6 to HEAD in these files:
fopen-wrappers.[ch] ext/standard/file.[ch] ext/standard/fsock.[ch]
ext/standard/php3_string.h ext/standard/string.c
* added some new file/socket macros for more readable code:
FP_FGETS(buf,len,sock,fp,issock)
FP_FREAD(buf,len,sock,fp,issock)
FP_FEOF(sock,fp,issock)
FP_FGETC(sock,fp,issock)
1999-06-16 17:06:53 +00:00
|
|
|
#undef HAVE_USLEEP
|
1999-04-07 21:05:13 +00:00
|
|
|
|
1999-10-20 18:09:44 +00:00
|
|
|
#define HAVE_GETCWD 1
|
2000-05-23 14:58:43 +00:00
|
|
|
#define HAVE_POSIX_READDIR_R 1
|
1999-10-20 18:09:44 +00:00
|
|
|
|
1999-04-07 21:05:13 +00:00
|
|
|
#define NEED_ISBLANK 1
|
|
|
|
|
|
|
|
/* ----------------------------------------------------------------
|
|
|
|
The following should never need to be played with
|
|
|
|
Functions defined to 0 or remarked out are either already
|
|
|
|
handled by the standard VC libraries, or are no longer needed, or
|
|
|
|
simply will/can not be ported.
|
|
|
|
|
|
|
|
DONT TOUCH!!!!! Unless you realy know what your messing with!
|
|
|
|
---------------------------------------------------------------*/
|
|
|
|
|
2000-06-29 13:31:52 +00:00
|
|
|
#define DISCARD_PATH 0
|
* fixed some #if/#ifdef issues
* hand-patched in php3 changes from 3.0.6 to HEAD in these files:
fopen-wrappers.[ch] ext/standard/file.[ch] ext/standard/fsock.[ch]
ext/standard/php3_string.h ext/standard/string.c
* added some new file/socket macros for more readable code:
FP_FGETS(buf,len,sock,fp,issock)
FP_FREAD(buf,len,sock,fp,issock)
FP_FEOF(sock,fp,issock)
FP_FGETC(sock,fp,issock)
1999-06-16 17:06:53 +00:00
|
|
|
#undef HAVE_SETITIMER
|
1999-11-09 19:53:38 +00:00
|
|
|
#undef HAVE_IODBC
|
1999-10-15 12:28:20 +00:00
|
|
|
#define HAVE_UODBC 1
|
1999-04-07 21:05:13 +00:00
|
|
|
#define HAVE_LIBDL 1
|
|
|
|
#define HAVE_SENDMAIL 1
|
|
|
|
#define HAVE_GETTIMEOFDAY 1
|
|
|
|
#define HAVE_PUTENV 1
|
|
|
|
#define HAVE_LIMITS_H 1
|
|
|
|
|
|
|
|
#define HAVE_TZSET 1
|
2001-07-22 13:16:15 +00:00
|
|
|
#define HAVE_TZNAME 1
|
|
|
|
|
1999-04-07 21:05:13 +00:00
|
|
|
/* Define if you have the flock function. */
|
* fixed some #if/#ifdef issues
* hand-patched in php3 changes from 3.0.6 to HEAD in these files:
fopen-wrappers.[ch] ext/standard/file.[ch] ext/standard/fsock.[ch]
ext/standard/php3_string.h ext/standard/string.c
* added some new file/socket macros for more readable code:
FP_FGETS(buf,len,sock,fp,issock)
FP_FREAD(buf,len,sock,fp,issock)
FP_FEOF(sock,fp,issock)
FP_FGETC(sock,fp,issock)
1999-06-16 17:06:53 +00:00
|
|
|
#undef HAVE_FLOCK
|
1999-04-07 21:05:13 +00:00
|
|
|
|
|
|
|
/* Define if you have alloca, as a function or macro. */
|
1999-09-07 20:29:31 +00:00
|
|
|
#define HAVE_ALLOCA 1
|
1999-04-07 21:05:13 +00:00
|
|
|
|
|
|
|
/* Define if you have <sys/time.h> */
|
* fixed some #if/#ifdef issues
* hand-patched in php3 changes from 3.0.6 to HEAD in these files:
fopen-wrappers.[ch] ext/standard/file.[ch] ext/standard/fsock.[ch]
ext/standard/php3_string.h ext/standard/string.c
* added some new file/socket macros for more readable code:
FP_FGETS(buf,len,sock,fp,issock)
FP_FREAD(buf,len,sock,fp,issock)
FP_FEOF(sock,fp,issock)
FP_FGETC(sock,fp,issock)
1999-06-16 17:06:53 +00:00
|
|
|
#undef HAVE_SYS_TIME_H
|
1999-04-07 21:05:13 +00:00
|
|
|
|
|
|
|
/* Define if you have <signal.h> */
|
|
|
|
#define HAVE_SIGNAL_H 1
|
|
|
|
|
|
|
|
/* Define if your struct stat has st_blksize. */
|
* fixed some #if/#ifdef issues
* hand-patched in php3 changes from 3.0.6 to HEAD in these files:
fopen-wrappers.[ch] ext/standard/file.[ch] ext/standard/fsock.[ch]
ext/standard/php3_string.h ext/standard/string.c
* added some new file/socket macros for more readable code:
FP_FGETS(buf,len,sock,fp,issock)
FP_FREAD(buf,len,sock,fp,issock)
FP_FEOF(sock,fp,issock)
FP_FGETC(sock,fp,issock)
1999-06-16 17:06:53 +00:00
|
|
|
#undef HAVE_ST_BLKSIZE
|
1999-04-07 21:05:13 +00:00
|
|
|
|
|
|
|
/* Define if your struct stat has st_blocks. */
|
* fixed some #if/#ifdef issues
* hand-patched in php3 changes from 3.0.6 to HEAD in these files:
fopen-wrappers.[ch] ext/standard/file.[ch] ext/standard/fsock.[ch]
ext/standard/php3_string.h ext/standard/string.c
* added some new file/socket macros for more readable code:
FP_FGETS(buf,len,sock,fp,issock)
FP_FREAD(buf,len,sock,fp,issock)
FP_FEOF(sock,fp,issock)
FP_FGETC(sock,fp,issock)
1999-06-16 17:06:53 +00:00
|
|
|
#undef HAVE_ST_BLOCKS
|
1999-04-07 21:05:13 +00:00
|
|
|
|
|
|
|
/* Define if your struct stat has st_rdev. */
|
|
|
|
#define HAVE_ST_RDEV 1
|
|
|
|
|
|
|
|
/* Define if utime(file, NULL) sets file's timestamp to the present. */
|
|
|
|
#define HAVE_UTIME_NULL 1
|
|
|
|
|
|
|
|
/* Define if you have the vprintf function. */
|
|
|
|
#define HAVE_VPRINTF 1
|
|
|
|
|
|
|
|
/* Define if you have the ANSI C header files. */
|
|
|
|
#define STDC_HEADERS 1
|
|
|
|
|
|
|
|
/* Define both of these if you want the bundled REGEX library */
|
|
|
|
#define REGEX 1
|
|
|
|
#define HSREGEX 1
|
|
|
|
|
1999-07-06 19:49:48 +00:00
|
|
|
#define HAVE_PCRE 1
|
|
|
|
|
1999-04-07 21:05:13 +00:00
|
|
|
/* Define if you have the gcvt function. */
|
|
|
|
#define HAVE_GCVT 1
|
|
|
|
|
|
|
|
/* Define if you have the getlogin function. */
|
|
|
|
#define HAVE_GETLOGIN 1
|
|
|
|
|
|
|
|
/* Define if you have the gettimeofday function. */
|
|
|
|
#define HAVE_GETTIMEOFDAY 1
|
|
|
|
|
|
|
|
/* Define if you have the memcpy function. */
|
|
|
|
#define HAVE_MEMCPY 1
|
|
|
|
|
|
|
|
/* Define if you have the memmove function. */
|
|
|
|
#define HAVE_MEMMOVE 1
|
|
|
|
|
|
|
|
/* Define if you have the putenv function. */
|
|
|
|
#define HAVE_PUTENV 1
|
|
|
|
|
|
|
|
/* Define if you have the regcomp function. */
|
|
|
|
#define HAVE_REGCOMP 1
|
|
|
|
|
|
|
|
/* Define if you have the setlocale function. */
|
|
|
|
#define HAVE_SETLOCALE 1
|
|
|
|
|
2001-01-14 16:36:30 +00:00
|
|
|
#define HAVE_LOCALECONV 1
|
|
|
|
|
1999-07-23 14:14:42 +00:00
|
|
|
#define HAVE_LOCALE_H 1
|
1999-06-17 03:45:20 +00:00
|
|
|
|
1999-04-07 21:05:13 +00:00
|
|
|
/* Define if you have the setvbuf function. */
|
2001-03-11 03:49:21 +00:00
|
|
|
#ifndef HAVE_LIBBIND
|
1999-04-07 21:05:13 +00:00
|
|
|
#define HAVE_SETVBUF 1
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* Define if you have the snprintf function. */
|
|
|
|
#define HAVE_SNPRINTF 1
|
|
|
|
#define HAVE_VSNPRINTF 1
|
|
|
|
/* Define if you have the strcasecmp function. */
|
|
|
|
#define HAVE_STRCASECMP 1
|
|
|
|
|
|
|
|
/* Define if you have the strdup function. */
|
|
|
|
#define HAVE_STRDUP 1
|
|
|
|
|
|
|
|
/* Define if you have the strerror function. */
|
|
|
|
#define HAVE_STRERROR 1
|
|
|
|
|
|
|
|
/* Define if you have the strstr function. */
|
|
|
|
#define HAVE_STRSTR 1
|
|
|
|
|
|
|
|
/* Define if you have the tempnam function. */
|
|
|
|
#define HAVE_TEMPNAM 1
|
|
|
|
|
|
|
|
/* Define if you have the utime function. */
|
|
|
|
#define HAVE_UTIME 1
|
|
|
|
|
|
|
|
/* Define if you have the <dirent.h> header file. */
|
* fixed some #if/#ifdef issues
* hand-patched in php3 changes from 3.0.6 to HEAD in these files:
fopen-wrappers.[ch] ext/standard/file.[ch] ext/standard/fsock.[ch]
ext/standard/php3_string.h ext/standard/string.c
* added some new file/socket macros for more readable code:
FP_FGETS(buf,len,sock,fp,issock)
FP_FREAD(buf,len,sock,fp,issock)
FP_FEOF(sock,fp,issock)
FP_FGETC(sock,fp,issock)
1999-06-16 17:06:53 +00:00
|
|
|
#undef HAVE_DIRENT_H
|
1999-04-07 21:05:13 +00:00
|
|
|
|
|
|
|
/* Define if you have the <fcntl.h> header file. */
|
|
|
|
#define HAVE_FCNTL_H 1
|
|
|
|
|
|
|
|
/* Define if you have the <grp.h> header file. */
|
|
|
|
#define HAVE_GRP_H 0
|
|
|
|
|
|
|
|
/* Define if you have the <pwd.h> header file. */
|
|
|
|
#define HAVE_PWD_H 1
|
|
|
|
|
|
|
|
/* Define if you have the <string.h> header file. */
|
|
|
|
#define HAVE_STRING_H 1
|
|
|
|
|
|
|
|
/* Define if you have the <sys/file.h> header file. */
|
1999-06-17 03:45:20 +00:00
|
|
|
#undef HAVE_SYS_FILE_H
|
1999-04-07 21:05:13 +00:00
|
|
|
|
|
|
|
/* Define if you have the <sys/socket.h> header file. */
|
1999-06-17 03:45:20 +00:00
|
|
|
#undef HAVE_SYS_SOCKET_H
|
1999-04-07 21:05:13 +00:00
|
|
|
|
|
|
|
/* Define if you have the <sys/wait.h> header file. */
|
1999-06-17 03:45:20 +00:00
|
|
|
#undef HAVE_SYS_WAIT_H
|
1999-04-07 21:05:13 +00:00
|
|
|
|
|
|
|
/* Define if you have the <syslog.h> header file. */
|
|
|
|
#define HAVE_SYSLOG_H 1
|
|
|
|
|
|
|
|
/* Define if you have the <unistd.h> header file. */
|
1999-06-17 03:45:20 +00:00
|
|
|
#undef HAVE_UNISTD_H
|
1999-04-07 21:05:13 +00:00
|
|
|
|
|
|
|
/* Define if you have the dl library (-ldl). */
|
|
|
|
#define HAVE_LIBDL 1
|
|
|
|
|
|
|
|
/* Define if you have the m library (-lm). */
|
|
|
|
#define HAVE_LIBM 1
|
|
|
|
|
|
|
|
/* Define if you have the cuserid function. */
|
|
|
|
#define HAVE_CUSERID 0
|
|
|
|
|
|
|
|
/* Define if you have the rint function. */
|
|
|
|
#undef HAVE_RINT
|
|
|
|
|
|
|
|
#define HAVE_STRFTIME 1
|
1999-05-20 12:06:45 +00:00
|
|
|
|
2000-05-03 11:26:29 +00:00
|
|
|
/* Default directory for loading extensions. */
|
|
|
|
#define PHP_EXTENSION_DIR NULL
|
|
|
|
|
1999-05-20 12:06:45 +00:00
|
|
|
#define SIZEOF_INT 4
|
2001-04-23 17:33:22 +00:00
|
|
|
|
|
|
|
/* Define directory constants for php and pear */
|
|
|
|
#define PHP_BINDIR "c:\\php4"
|
|
|
|
#define PHP_LIBDIR "c:\\php4"
|
|
|
|
#define PHP_DATADIR "c:\\php4"
|
|
|
|
#define PHP_SYSCONFDIR "c:\\php4"
|
|
|
|
#define PHP_LOCALSTATEDIR "c:\\php4"
|
|
|
|
#define PHP_CONFIG_FILE_PATH "c:\\winnt"
|
|
|
|
#define PEAR_INSTALLDIR "c:\\php4\\pear"
|