cvs: php4 /main config.w32.h
| From: | Frank M. Kromann | Date: | Thu, 07 Mar 2002 19:46:24 +0000 |
| Subject: | cvs: php4 /main config.w32.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-9789@lists.php.net to get a copy of this message | ||
fmk Thu Mar 7 14:46:24 2002 EDT
Modified files:
/php4/main config.w32.h
Log:
Enabling crypt() on Win32
Index: php4/main/config.w32.h
diff -u php4/main/config.w32.h:1.49 php4/main/config.w32.h:1.50
--- php4/main/config.w32.h:1.49 Thu Feb 28 19:16:58 2002
+++ php4/main/config.w32.h Thu Mar 7 14:46:23 2002
@@ -30,7 +30,11 @@
#define HAVE_WDDX 1
/* set to enable the crypt command */
-#define HAVE_CRYPT 0
+#define HAVE_CRYPT 1
+#define PHP_STD_DES_CRYPT 1
+#define PHP_EXT_DES_CRYPT 0
+#define PHP_MD5_CRYPT 0
+#define PHP_BLOWFISH_CRYPT 0
/* #define HAVE_CRYPT_H 1 */
/* set to enable force cgi redirect */
@@ -250,15 +254,16 @@
#define HAVE_STRFTIME 1
/* Default directory for loading extensions. */
-#define PHP_EXTENSION_DIR "c:\\php4"
+#define PHP_EXTENSION_DIR "C:\\PHP4"
#define SIZEOF_INT 4
/* 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"
+#define PHP_SYSTEM_DRIVE
(getenv("SystemDrive"))?getenv("SystemDrive"):"C:"
+#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
(getenv("SystemRoot"))?getenv("SystemRoot"):""
+#define PEAR_INSTALLDIR "C:\\PHP4"