Return to config.w32.h.in CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / win32 / build |
1.1 ! misho 1: /* ! 2: Build Configuration Template for Win32. ! 3: $Id: config.w32.h.in 305778 2010-11-26 18:25:13Z pajoye $ ! 4: */ ! 5: ! 6: /* Define the minimum supported version */ ! 7: #undef _WIN32_WINNT ! 8: #undef NTDDI_VERSION ! 9: #define _WIN32_WINNT 0x500 ! 10: #define NTDDI_VERSION _WIN32_WIN2K ! 11: ! 12: /* Default PHP / PEAR directories */ ! 13: #define PHP_CONFIG_FILE_PATH (getenv("SystemRoot"))?getenv("SystemRoot"):"" ! 14: #define CONFIGURATION_FILE_PATH "php.ini" ! 15: #define PEAR_INSTALLDIR "@PREFIX@\\pear" ! 16: #define PHP_BINDIR "@PREFIX@" ! 17: #define PHP_DATADIR "@PREFIX@" ! 18: #define PHP_EXTENSION_DIR "@PREFIX@" ! 19: #define PHP_INCLUDE_PATH ".;@PREFIX@\\pear" ! 20: #define PHP_LIBDIR "@PREFIX@" ! 21: #define PHP_LOCALSTATEDIR "@PREFIX@" ! 22: #define PHP_PREFIX "@PREFIX@" ! 23: #define PHP_SYSCONFDIR "@PREFIX@" ! 24: ! 25: /* Enable / Disable crypt() function (default: enabled) */ ! 26: #define HAVE_CRYPT 1 ! 27: #define PHP_STD_DES_CRYPT 1 ! 28: #define PHP_EXT_DES_CRYPT 1 ! 29: #define PHP_MD5_CRYPT 1 ! 30: #define PHP_BLOWFISH_CRYPT 1 ! 31: #define PHP_SHA512_CRYPT 1 ! 32: #define PHP_SHA256_CRYPT 1 ! 33: ! 34: /* PHP Runtime Configuration */ ! 35: #define PHP_URL_FOPEN 1 ! 36: #define PHP_SAFE_MODE 0 ! 37: #define MAGIC_QUOTES 0 ! 38: #define USE_CONFIG_FILE 1 ! 39: #define DEFAULT_SHORT_OPEN_TAG "1" ! 40: ! 41: /* Platform-Specific Configuration. Should not be changed. */ ! 42: #define PHP_SIGCHILD 0 ! 43: #define HAVE_LIBBIND 1 ! 44: #define HAVE_GETSERVBYNAME 1 ! 45: #define HAVE_GETSERVBYPORT 1 ! 46: #define HAVE_GETPROTOBYNAME 1 ! 47: #define HAVE_GETPROTOBYNUMBER 1 ! 48: #define HAVE_GETHOSTNAME 1 ! 49: #define STDIN_FILENO 0 ! 50: #define STDOUT_FILENO 1 ! 51: #define STDERR_FILENO 2 ! 52: #define HAVE_ERRMSG_H 0 ! 53: #undef HAVE_ADABAS ! 54: #undef HAVE_SOLID ! 55: #undef HAVE_LINK ! 56: #undef HAVE_SYMLINK ! 57: ! 58: /* its in win32/time.c */ ! 59: #define HAVE_USLEEP 1 ! 60: #define HAVE_NANOSLEEP 1 ! 61: #define PHP_SLEEP_NON_VOID 1 ! 62: ! 63: #define HAVE_GETHOSTNAME 1 ! 64: #define HAVE_GETCWD 1 ! 65: #define HAVE_POSIX_READDIR_R 1 ! 66: #define NEED_ISBLANK 1 ! 67: #define DISCARD_PATH 0 ! 68: #undef HAVE_SETITIMER ! 69: #undef HAVE_SIGSETJMP ! 70: #undef HAVE_IODBC ! 71: #define HAVE_LIBDL 1 ! 72: #define HAVE_GETTIMEOFDAY 1 ! 73: #define HAVE_PUTENV 1 ! 74: #define HAVE_LIMITS_H 1 ! 75: #define HAVE_TZSET 1 ! 76: #define HAVE_TZNAME 1 ! 77: #undef HAVE_FLOCK ! 78: #define HAVE_ALLOCA 1 ! 79: #undef HAVE_SYS_TIME_H ! 80: #define HAVE_SIGNAL_H 1 ! 81: #undef HAVE_ST_BLKSIZE ! 82: #undef HAVE_ST_BLOCKS ! 83: #define HAVE_ST_RDEV 1 ! 84: #define HAVE_UTIME_NULL 1 ! 85: #define HAVE_VPRINTF 1 ! 86: #define STDC_HEADERS 1 ! 87: #define REGEX 1 ! 88: #define HSREGEX 1 ! 89: #define HAVE_GCVT 1 ! 90: #define HAVE_GETLOGIN 1 ! 91: #define HAVE_GETTIMEOFDAY 1 ! 92: #define HAVE_MEMCPY 1 ! 93: #define HAVE_MEMMOVE 1 ! 94: #define HAVE_PUTENV 1 ! 95: #define HAVE_REGCOMP 1 ! 96: #define HAVE_SETLOCALE 1 ! 97: #define HAVE_LOCALECONV 1 ! 98: #define HAVE_LOCALE_H 1 ! 99: #ifndef HAVE_LIBBIND ! 100: # define HAVE_SETVBUF 1 ! 101: #endif ! 102: #define HAVE_SHUTDOWN 1 ! 103: #define HAVE_SNPRINTF 1 ! 104: #define HAVE_VSNPRINTF 1 ! 105: #define HAVE_STRCASECMP 1 ! 106: #define HAVE_STRDUP 1 ! 107: #define HAVE_STRERROR 1 ! 108: #define HAVE_STRSTR 1 ! 109: #define HAVE_TEMPNAM 1 ! 110: #define HAVE_UTIME 1 ! 111: #undef HAVE_DIRENT_H ! 112: #define HAVE_ASSERT_H 1 ! 113: #define HAVE_FCNTL_H 1 ! 114: #define HAVE_GRP_H 0 ! 115: #undef HAVE_PWD_H ! 116: #define HAVE_STRING_H 1 ! 117: #undef HAVE_SYS_FILE_H ! 118: #undef HAVE_SYS_SOCKET_H ! 119: #undef HAVE_SYS_WAIT_H ! 120: #define HAVE_SYSLOG_H 1 ! 121: #undef HAVE_UNISTD_H ! 122: #define HAVE_SYS_TYPES_H 1 ! 123: #define HAVE_STDARG_H 1 ! 124: #undef HAVE_ALLOCA_H ! 125: #undef HAVE_KILL ! 126: #define HAVE_GETPID 1 ! 127: #define HAVE_LIBM 1 ! 128: #define HAVE_CUSERID 0 ! 129: #undef HAVE_RINT ! 130: #define HAVE_STRFTIME 1 ! 131: #define SIZEOF_SHORT 2 ! 132: /* int and long are stll 32bit in 64bit compiles */ ! 133: #define SIZEOF_INT 4 ! 134: #define SIZEOF_LONG 4 ! 135: /* MSVC.6/NET don't allow 'long long' or know 'intmax_t' */ ! 136: #define SIZEOF_LONG_LONG_INT 0 ! 137: #define SIZEOF_LONG_LONG 8 /* defined as __int64 */ ! 138: #define SIZEOF_INTMAX_T 0 ! 139: #define ssize_t SSIZE_T ! 140: #ifdef _WIN64 ! 141: # define SIZEOF_SIZE_T 8 ! 142: # define SIZEOF_PTRDIFF_T 8 ! 143: #else ! 144: # define SIZEOF_SIZE_T 4 ! 145: # define SIZEOF_PTRDIFF_T 4 ! 146: #endif ! 147: #define HAVE_FNMATCH ! 148: #define HAVE_GLOB ! 149: #define PHP_SHLIB_SUFFIX "dll" ! 150: #define HAVE_SQLDATASOURCES ! 151: ! 152: /* Win32 supports strcoll */ ! 153: #define HAVE_STRCOLL 1 ! 154: ! 155: /* Suhosin Patch support */ ! 156: #define SUHOSIN_PATCH 1 ! 157: ! 158: /* Win32 supports socketpair by the emulation in win32/sockets.c */ ! 159: #define HAVE_SOCKETPAIR 1 ! 160: #define HAVE_SOCKLEN_T 1 ! 161: ! 162: /* Win32 support proc_open */ ! 163: #define PHP_CAN_SUPPORT_PROC_OPEN 1 ! 164: ! 165: /* inet_ntop() / inet_pton() */ ! 166: #define HAVE_INET_PTON 1 ! 167: #define HAVE_INET_NTOP 1 ! 168: ! 169: #define HAVE_MBLEN ! 170: ! 171: #undef HAVE_ATOF_ACCEPTS_NAN ! 172: #undef HAVE_ATOF_ACCEPTS_INF ! 173: #define HAVE_HUGE_VAL_NAN 0 ! 174: ! 175: /* vs.net 2005 has a 64-bit time_t. This will likely break ! 176: * 3rdParty libs that were built with older compilers; switch ! 177: * back to 32-bit */ ! 178: #ifndef _WIN64 ! 179: # define _USE_32BIT_TIME_T 1 ! 180: #endif ! 181: #define HAVE_STDLIB_H 1