From 78be5dfcb260b3fed11ea7bf4c16b67ed0a3388d Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Sat, 17 Aug 2024 15:51:17 +0200 Subject: [PATCH] Autotools: Remove PHP_LIBDIR adjustment in pdo_dblib This is redundant in current state of the build system as --with-libdir option sets the location and by default it is set to "lib". It is also done by phpize. --- ext/pdo_dblib/config.m4 | 2 -- 1 file changed, 2 deletions(-) diff --git a/ext/pdo_dblib/config.m4 b/ext/pdo_dblib/config.m4 index 1b68a9913b362..4cfea501c3e37 100644 --- a/ext/pdo_dblib/config.m4 +++ b/ext/pdo_dblib/config.m4 @@ -22,8 +22,6 @@ if test "$PHP_PDO_DBLIB" != "no"; then AC_MSG_ERROR([Directory $PHP_PDO_DBLIB is not a FreeTDS installation directory]) fi - AS_VAR_IF([PHP_LIBDIR],, [PHP_LIBDIR=lib]) - if test ! -r "$PDO_FREETDS_INSTALLATION_DIR/$PHP_LIBDIR/libsybdb.a" && test ! -r "$PDO_FREETDS_INSTALLATION_DIR/$PHP_LIBDIR/libsybdb.so"; then AC_MSG_ERROR([[Could not find $PDO_FREETDS_INSTALLATION_DIR/$PHP_LIBDIR/libsybdb.[a|so]]]) fi