- move sybase to pecl

This commit is contained in:
Pierre Joye 2008-06-23 19:55:27 +00:00
parent b9e8695e75
commit 414f7fa6c3
5 changed files with 4 additions and 1573 deletions

7
NEWS
View file

@ -169,9 +169,10 @@ PHP NEWS
- Improved md5() implementation. (Solar Designer, Dmitry) - Improved md5() implementation. (Solar Designer, Dmitry)
- Upgraded bundled sqlite to version 3.5.6. (Scott) - Upgraded bundled sqlite to version 3.5.6. (Scott)
- Moved extensions to PECL: - Moved extensions to PECL (Pierre):
. ext/fdpf (Pierre) . ext/fdpf
. ext/ncurses (Pierre) . ext/ncurses
. ext/sybase (not maintained anymore, sybase_ct has to be used instead)
- Fixed html_entity_decode() incorrectly converting numeric html entities - Fixed html_entity_decode() incorrectly converting numeric html entities
to different characters with cp1251 and cp866. (Scott) to different characters with cp1251 and cp866. (Scott)

View file

@ -1,2 +0,0 @@
Sybase-DB
Zeev Suraski

View file

@ -1,31 +0,0 @@
dnl
dnl $Id$
dnl
PHP_ARG_WITH(sybase,for Sybase support,
[ --with-sybase[=DIR] Include Sybase-DB support. DIR is the Sybase home
directory [/home/sybase]])
if test "$PHP_SYBASE" != "no"; then
if test "$PHP_SYBASE" = "yes"; then
SYBASE_INCDIR=/home/sybase/include
SYBASE_LIBDIR=/home/sybase/lib
else
SYBASE_INCDIR=$PHP_SYBASE/include
SYBASE_LIBDIR=$PHP_SYBASE/lib
fi
PHP_ADD_INCLUDE($SYBASE_INCDIR)
PHP_ADD_LIBRARY_WITH_PATH(sybdb, $SYBASE_LIBDIR, SYBASE_SHARED_LIBADD)
PHP_NEW_EXTENSION(sybase, php_sybase_db.c, $ext_shared)
AC_CHECK_LIB(dnet_stub, dnet_addr,
[ PHP_ADD_LIBRARY_WITH_PATH(dnet_stub,,SYBASE_SHARED_LIBADD)
AC_DEFINE(HAVE_LIBDNET_STUB,1,[ ])
])
AC_DEFINE(HAVE_SYBASE,1,[ ])
AC_CHECK_LIB(sybdb, tdsdbopen,
[ AC_DEFINE(PHP_SYBASE_DBOPEN,tdsdbopen,[ ])
AC_DEFINE(DBMFIX,1,[ ]) ],
[ AC_DEFINE(PHP_SYBASE_DBOPEN,dbopen,[ ]) ])
PHP_SUBST(SYBASE_SHARED_LIBADD)
fi

File diff suppressed because it is too large Load diff

View file

@ -1,89 +0,0 @@
/*
+----------------------------------------------------------------------+
| PHP Version 5 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2008 The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available through the world-wide-web at the following url: |
| http://www.php.net/license/3_01.txt |
| If you did not receive a copy of the PHP license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| license@php.net so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
| Author: Zeev Suraski <zeev@zend.com> |
+----------------------------------------------------------------------+
*/
/* $Id$ */
#ifndef PHP_SYBASE_DB_H
#define PHP_SYBASE_DB_H
#if HAVE_SYBASE
extern zend_module_entry sybase_module_entry;
#define sybase_module_ptr &sybase_module_entry
PHP_MINIT_FUNCTION(sybase);
PHP_RINIT_FUNCTION(sybase);
PHP_MSHUTDOWN_FUNCTION(sybase);
PHP_RSHUTDOWN_FUNCTION(sybase);
PHP_MINFO_FUNCTION(sybase);
PHP_FUNCTION(sybase_connect);
PHP_FUNCTION(sybase_pconnect);
PHP_FUNCTION(sybase_close);
PHP_FUNCTION(sybase_select_db);
PHP_FUNCTION(sybase_query);
PHP_FUNCTION(sybase_free_result);
PHP_FUNCTION(sybase_get_last_message);
PHP_FUNCTION(sybase_num_rows);
PHP_FUNCTION(sybase_num_fields);
PHP_FUNCTION(sybase_fetch_row);
PHP_FUNCTION(sybase_fetch_array);
PHP_FUNCTION(sybase_fetch_object);
PHP_FUNCTION(sybase_data_seek);
PHP_FUNCTION(sybase_affected_rows);
PHP_FUNCTION(sybase_result);
PHP_FUNCTION(sybase_field_seek);
PHP_FUNCTION(sybase_min_error_severity);
PHP_FUNCTION(sybase_min_message_severity);
PHP_FUNCTION(sybase_db_query);
PHP_FUNCTION(sybase_list_fields);
PHP_FUNCTION(sybase_fetch_lengths);
PHP_FUNCTION(sybase_fetch_field);
PHP_FUNCTION(sybase_field_seek);
PHP_FUNCTION(sybase_free_result);
PHP_FUNCTION(sybase_field_name);
PHP_FUNCTION(sybase_field_table);
PHP_FUNCTION(sybase_field_len);
PHP_FUNCTION(sybase_field_type);
PHP_FUNCTION(sybase_field_flags);
typedef struct {
long default_link;
long num_links,num_persistent;
long max_links,max_persistent;
long allow_persistent;
char *appname;
char *server_message;
int le_link,le_plink,le_result;
long min_error_severity,min_message_severity;
long cfg_min_error_severity,cfg_min_message_severity;
long compatability_mode;
} sybase_module;
extern sybase_module php_sybase_module;
#else
#define sybase_module_ptr NULL
#endif
#define phpext_sybase_ptr sybase_module_ptr
#endif /* PHP_SYBASE_DB_H */