1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Remove duplicate Autoconf check for sed

The sed program is always available since it is already discovered in
configure.ac and phpize.m4.
This commit is contained in:
Peter Kokot
2024-02-26 11:47:59 +01:00
parent 295a177760
commit 7b7f97b518

View File

@@ -46,9 +46,6 @@ if test "$PHP_PDO_MYSQL" != "no"; then
AC_MSG_CHECKING([for mysql_config])
if test -n "$PDO_MYSQL_CONFIG"; then
AC_MSG_RESULT($PDO_MYSQL_CONFIG)
if test "x$SED" = "x"; then
AC_PATH_PROG(SED, sed)
fi
PDO_MYSQL_LIBS=`$PDO_MYSQL_CONFIG --libs | $SED -e "s/'//g"`
PDO_MYSQL_INCLUDE=`$PDO_MYSQL_CONFIG --cflags | $SED -e "s/'//g"`
elif test -n "$PDO_MYSQL_DIR"; then