Skip to content

Commit ccdc21b

Browse files
authored
Remove check for dnet_addr in dnet_stub library (#12611)
The dnet_stub library was once used on some obsolete systems and was needed for transitive linking with Sybase and some PHP extensions. At this point, no known and supported system uses the dnet_stub library name, so it's safe to remove this check. This also came in pdo_dblib as a copy/paste from other removed PHP extensions. Partially was already removed in 1b969a7.
1 parent d0056d6 commit ccdc21b

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

ext/pdo_dblib/config.m4

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,6 @@ if test "$PHP_PDO_DBLIB" != "no"; then
4545

4646
PDO_DBLIB_DEFS="-DPDO_DBLIB_FLAVOUR=\\\"freetds\\\""
4747
PHP_NEW_EXTENSION(pdo_dblib, pdo_dblib.c dblib_driver.c dblib_stmt.c, $ext_shared,,-I$pdo_cv_inc_path $PDO_DBLIB_DEFS -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1)
48-
AC_CHECK_LIB(dnet_stub, dnet_addr, [
49-
PHP_ADD_LIBRARY_WITH_PATH(dnet_stub,,PDO_DBLIB_SHARED_LIBADD)
50-
])
5148
AC_DEFINE(HAVE_PDO_DBLIB,1,[ ])
5249
PHP_SUBST(PDO_DBLIB_SHARED_LIBADD)
5350

0 commit comments

Comments
 (0)