You need to define HAVE_GD_GIF_READ when building the gd extension against
the bundled libgd. We are getting bug reports from Windows users unable
to use the gif-read support in 4.3
-Rasmus
On Sun, 5 Jan 2003, Sebastian Bergmann wrote:
> sebastian Sun Jan 5 10:58:29 2003 EDT
>
> Removed files:
> /php4/main config.w32.h.in
>
> Modified files:
> /php4/main config.w32.h .cvsignore
> /php4/win32 php4dll.dsp php4dllts.dsp
> Log:
> Revert config.w32.h.in -> config.w32.h build step per discussion with Zeev.
>
> Index: php4/main/config.w32.h
> diff -u /dev/null php4/main/config.w32.h:1.61
> --- /dev/null Sun Jan 5 10:58:29 2003
> +++ php4/main/config.w32.h Sun Jan 5 10:58:28 2003
> @@ -0,0 +1,174 @@
> +/*
> + Build Configuration for Win32.
> + This has only been tested with MS VisualC++ 6 (and later).
> +
> + $Id: config.w32.h,v 1.61 2003/01/05 15:58:28 sebastian Exp $
> +*/
> +
> +/* Default PHP / PEAR directories */
> +#define CONFIGURATION_FILE_PATH "php.ini"
> +#define PEAR_INSTALLDIR "c:\\php4\\pear"
> +#define PHP_BINDIR "c:\\php4"
> +#define PHP_CONFIG_FILE_PATH (getenv("SystemRoot"))?getenv("SystemRoot"):""
> +#define PHP_CONFIG_FILE_SCAN_DIR ""
> +#define PHP_DATADIR "c:\\php4"
> +#define PHP_EXTENSION_DIR "c:\\php4"
> +#define PHP_INCLUDE_PATH ".;c:\\php4\\pear"
> +#define PHP_LIBDIR "c:\\php4"
> +#define PHP_LOCALSTATEDIR "c:\\php4"
> +#define PHP_PREFIX "c:\\php4"
> +#define PHP_SYSCONFDIR "c:\\php4"
> +
> +/* Enable / Disable BCMATH extension (default: enabled) */
> +#define WITH_BCMATH 1
> +
> +/* 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
> +
> +/* Enable / Disable CALENDAR extension (default: enabled) */
> +#define HAVE_CALENDAR 1
> +
> +/* Enable / Disable COM extension (default: enabled) */
> +#define HAVE_COM 1
> +
> +/* Enable / Disable CTYPE extension (default: enabled) */
> +#define HAVE_CTYPE 1
> +
> +/* Enable / Disable FTP extension (default: enabled) */
> +#define HAVE_FTP 1
> +
> +/* Enable / Disable MBSTRING extension (default: disabled) */
> +/* #define HAVE_MBSTRING 0 */
> +/* #define HAVE_MBREGEX 0 */
> +/* #define HAVE_MBSTR_CN 0 */
> +/* #define HAVE_MBSTR_JA 0 */
> +/* #define HAVE_MBSTR_KR 0 */
> +/* #define HAVE_MBSTR_RU 0 */
> +/* #define HAVE_MBSTR_TW 0 */
> +
> +/* Enable / Disable MySQL extension (default: enabled) */
> +#define HAVE_MYSQL 1
> +
> +/* Enable / Disable ODBC extension (default: enabled) */
> +#define HAVE_UODBC 1
> +
> +/* Enable / Disable OVERLOAD extension (default: enabled) */
> +#define HAVE_OVERLOAD 1
> +
> +/* Enable / Disable PCRE extension (default: enabled) */
> +#define HAVE_BUNDLED_PCRE 1
> +#define HAVE_PCRE 1
> +
> +/* Enable / Disable SESSION extension (default: enabled) */
> +#define HAVE_SESSION 1
> +
> +/* Enable / Disable TOKENIZER extension (default: enabled) */
> +#define HAVE_TOKENIZER 1
> +
> +/* Enable / Disable WDDX extension (default: enabled) */
> +#define HAVE_WDDX 1
> +
> +/* Enable / Disable XML extension (default: enabled) */
> +#define HAVE_LIBEXPAT 1
> +
> +/* Enable / Disable ZLIB extension (default: enabled) */
> +#define HAVE_ZLIB 1
> +
> +/* PHP Runtime Configuration */
> +#define FORCE_CGI_REDIRECT 1
> +#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
> +#undef HAVE_USLEEP
> +#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
> +#define SIZEOF_INT 4
> +#define HAVE_GLOB
> +#define PHP_SHLIB_SUFFIX "dll"
> +
> +/* Win32 supports strcoll */
> +#define HAVE_STRCOLL 1
> Index: php4/main/.cvsignore
> diff -u php4/main/.cvsignore:1.8 php4/main/.cvsignore:1.9
> --- php4/main/.cvsignore:1.8 Thu May 2 05:57:45 2002
> +++ php4/main/.cvsignore Sun Jan 5 10:58:28 2003
> @@ -25,4 +25,3 @@
> Release_TSDbg
> Release_TS_inline
> Debug_TS
> -config.w32.h
> Index: php4/win32/php4dll.dsp
> diff -u php4/win32/php4dll.dsp:1.39 php4/win32/php4dll.dsp:1.40
> --- php4/win32/php4dll.dsp:1.39 Wed Jan 1 07:36:42 2003
> +++ php4/win32/php4dll.dsp Sun Jan 5 10:58:29 2003
> @@ -249,26 +249,7 @@
> # End Source File
> # Begin Source File
>
> -SOURCE=..\main\config.w32.h.in
> -
> -!IF "$(CFG)" == "php4dll - Win32 Debug"
> -
> -!ELSEIF "$(CFG)" == "php4dll - Win32 Release"
> -
> -!ELSEIF "$(CFG)" == "php4dll - Win32 Release_inline"
> -
> -# Begin Custom Build - Generating main/config.w32.h
> -InputPath=..\main\config.w32.h.in
> -
> -"config.w32.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
> - if not exist ..\main\config.w32.h (
> - copy ..\main\config.w32.h.in ..\main\config.w32.h > nul
> - )
> -
> -# End Custom Build
> -
> -!ENDIF
> -
> +SOURCE=..\ext\standard\config.w32.h
> # End Source File
> # Begin Source File
>
> Index: php4/win32/php4dllts.dsp
> diff -u php4/win32/php4dllts.dsp:1.94 php4/win32/php4dllts.dsp:1.95
> --- php4/win32/php4dllts.dsp:1.94 Wed Jan 1 07:36:43 2003
> +++ php4/win32/php4dllts.dsp Sun Jan 5 10:58:29 2003
> @@ -278,58 +278,7 @@
> # End Source File
> # Begin Source File
>
> -SOURCE=..\main\config.w32.h.in
> -
> -!IF "$(CFG)" == "php4dllts - Win32 Debug_TS"
> -
> -# Begin Custom Build - Generating main/config.w32.h
> -InputPath=..\main\config.w32.h.in
> -
> -"..\main\config.w32.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
> - if not exist ..\main\config.w32.h (
> - copy ..\main\config.w32.h.in ..\main\config.w32.h > nul
> - )
> -
> -# End Custom Build
> -
> -!ELSEIF "$(CFG)" == "php4dllts - Win32 Release_TS"
> -
> -# Begin Custom Build - Generating main/config.w32.h
> -InputPath=..\main\config.w32.h.in
> -
> -"..\main\config.w32.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
> - if not exist ..\main\config.w32.h (
> - copy ..\main\config.w32.h.in ..\main\config.w32.h > nul
> - )
> -
> -# End Custom Build
> -
> -!ELSEIF "$(CFG)" == "php4dllts - Win32 Release_TS_inline"
> -
> -# Begin Custom Build - Generating main/config.w32.h
> -InputPath=..\main\config.w32.h.in
> -
> -"..\main\config.w32.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
> - if not exist ..\main\config.w32.h (
> - copy ..\main\config.w32.h.in ..\main\config.w32.h > nul
> - )
> -
> -# End Custom Build
> -
> -!ELSEIF "$(CFG)" == "php4dllts - Win32 Release_TSDbg"
> -
> -# Begin Custom Build - Generating main/config.w32.h
> -InputPath=..\main\config.w32.h.in
> -
> -"..\main\config.w32.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
> - if not exist ..\main\config.w32.h (
> - copy ..\main\config.w32.h.in ..\main\config.w32.h > nul
> - )
> -
> -# End Custom Build
> -
> -!ENDIF
> -
> +SOURCE=..\ext\standard\config.w32.h
> # End Source File
> # Begin Source File
>
>
>
>
> --
> PHP CVS Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php