mirror of
https://github.com/php/php-src.git
synced 2024-11-25 02:44:58 +08:00
fcdda2e8f8
Remove config-file-path option from configure under win32; it is not used except to display what might have been chosen, so lets default to the getenv() thingy.
142 lines
3.3 KiB
C
142 lines
3.3 KiB
C
/*
|
|
Build Configuration Template for Win32.
|
|
$Id$
|
|
*/
|
|
|
|
/* Default PHP / PEAR directories */
|
|
#define PHP_CONFIG_FILE_PATH (getenv("SystemRoot"))?getenv("SystemRoot"):""
|
|
#define CONFIGURATION_FILE_PATH "php.ini"
|
|
#define PEAR_INSTALLDIR "@PREFIX@\\pear"
|
|
#define PHP_BINDIR "@PREFIX@"
|
|
#define PHP_DATADIR "@PREFIX@"
|
|
#define PHP_EXTENSION_DIR "@PREFIX@"
|
|
#define PHP_INCLUDE_PATH ".;@PREFIX@\\pear"
|
|
#define PHP_LIBDIR "@PREFIX@"
|
|
#define PHP_LOCALSTATEDIR "@PREFIX@"
|
|
#define PHP_PREFIX "@PREFIX@"
|
|
#define PHP_SYSCONFDIR "@PREFIX@"
|
|
|
|
/* Enable / Disable crypt() function (default: enabled) */
|
|
#define HAVE_CRYPT 1
|
|
#define PHP_STD_DES_CRYPT 1
|
|
#define PHP_EXT_DES_CRYPT 0
|
|
#define PHP_MD5_CRYPT 1
|
|
#define PHP_BLOWFISH_CRYPT 0
|
|
|
|
/* PHP Runtime Configuration */
|
|
#define PHP_URL_FOPEN 1
|
|
#define PHP_SAFE_MODE 0
|
|
#define MAGIC_QUOTES 0
|
|
#define USE_CONFIG_FILE 1
|
|
#define DEFAULT_SHORT_OPEN_TAG "1"
|
|
#define ENABLE_PATHINFO_CHECK 1
|
|
|
|
/* Platform-Specific Configuration. Should not be changed. */
|
|
#define PHP_SIGCHILD 0
|
|
#define HAVE_LIBBIND 1
|
|
#define HAVE_GETSERVBYNAME 1
|
|
#define HAVE_GETSERVBYPORT 1
|
|
#define HAVE_GETPROTOBYNAME 1
|
|
#define HAVE_GETPROTOBYNUMBER 1
|
|
#define STDIN_FILENO 0
|
|
#define STDOUT_FILENO 1
|
|
#define STDERR_FILENO 2
|
|
#define HAVE_ERRMSG_H 0
|
|
#undef HAVE_ADABAS
|
|
#undef HAVE_SOLID
|
|
#undef HAVE_LINK
|
|
#undef HAVE_SYMLINK
|
|
|
|
/* its in win32/time.c */
|
|
#define HAVE_USLEEP 1
|
|
|
|
#define HAVE_GETCWD 1
|
|
#define HAVE_POSIX_READDIR_R 1
|
|
#define NEED_ISBLANK 1
|
|
#define DISCARD_PATH 0
|
|
#undef HAVE_SETITIMER
|
|
#undef HAVE_IODBC
|
|
#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
|
|
#define HAVE_TZNAME 1
|
|
#undef HAVE_FLOCK
|
|
#define HAVE_ALLOCA 1
|
|
#undef HAVE_SYS_TIME_H
|
|
#define HAVE_SIGNAL_H 1
|
|
#undef HAVE_ST_BLKSIZE
|
|
#undef HAVE_ST_BLOCKS
|
|
#define HAVE_ST_RDEV 1
|
|
#define HAVE_UTIME_NULL 1
|
|
#define HAVE_VPRINTF 1
|
|
#define STDC_HEADERS 1
|
|
#define REGEX 1
|
|
#define HSREGEX 1
|
|
#define HAVE_GCVT 1
|
|
#define HAVE_GETLOGIN 1
|
|
#define HAVE_GETTIMEOFDAY 1
|
|
#define HAVE_MEMCPY 1
|
|
#define HAVE_MEMMOVE 1
|
|
#define HAVE_PUTENV 1
|
|
#define HAVE_REGCOMP 1
|
|
#define HAVE_SETLOCALE 1
|
|
#define HAVE_LOCALECONV 1
|
|
#define HAVE_LOCALE_H 1
|
|
#ifndef HAVE_LIBBIND
|
|
# define HAVE_SETVBUF 1
|
|
#endif
|
|
#define HAVE_SHUTDOWN 1
|
|
#define HAVE_SNPRINTF 1
|
|
#define HAVE_VSNPRINTF 1
|
|
#define HAVE_STRCASECMP 1
|
|
#define HAVE_STRDUP 1
|
|
#define HAVE_STRERROR 1
|
|
#define HAVE_STRSTR 1
|
|
#define HAVE_TEMPNAM 1
|
|
#define HAVE_UTIME 1
|
|
#undef HAVE_DIRENT_H
|
|
#define HAVE_ASSERT_H 1
|
|
#define HAVE_FCNTL_H 1
|
|
#define HAVE_GRP_H 0
|
|
#define HAVE_PWD_H 1
|
|
#define HAVE_STRING_H 1
|
|
#undef HAVE_SYS_FILE_H
|
|
#undef HAVE_SYS_SOCKET_H
|
|
#undef HAVE_SYS_WAIT_H
|
|
#define HAVE_SYSLOG_H 1
|
|
#undef HAVE_UNISTD_H
|
|
#define HAVE_LIBDL 1
|
|
#define HAVE_LIBM 1
|
|
#define HAVE_CUSERID 0
|
|
#undef HAVE_RINT
|
|
#define HAVE_STRFTIME 1
|
|
/* int and long are stll 32bit in 64bit compiles */
|
|
#define SIZEOF_INT 4
|
|
#define SIZEOF_LONG 4
|
|
/* MSVC.6/NET don't allow 'long long' or know 'intmax_t' */
|
|
#define SIZEOF_LONG_LONG_INT 0
|
|
#define SIZEOF_LONG_LONG 0
|
|
#define SIZEOF_INTMAX_T 0
|
|
#define ssize_t SSIZE_T
|
|
#ifdef _WIN64
|
|
# define SIZEOF_SIZE_T 8
|
|
# define SIZEOF_PTRDIFF_T 8
|
|
#else
|
|
# define SIZEOF_SIZE_T 4
|
|
# define SIZEOF_PTRDIFF_T 4
|
|
#endif
|
|
#define HAVE_GLOB
|
|
#define PHP_SHLIB_SUFFIX "dll"
|
|
#define HAVE_SQLDATASOURCES
|
|
|
|
/* Win32 supports strcoll */
|
|
#define HAVE_STRCOLL 1
|
|
|
|
/* Win32 support proc_open */
|
|
#define PHP_CAN_SUPPORT_PROC_OPEN 1
|
|
|
|
#define HAVE_MBLEN
|