From d98f65085b225446fd110258be27746fdf255e6e Mon Sep 17 00:00:00 2001 From: foobar Date: Mon, 28 May 2001 00:12:29 +0000 Subject: [PATCH] Adding libnsl here causes problems on some systems. --- ext/mysql/config.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/mysql/config.m4 b/ext/mysql/config.m4 index dcec82ba32..f6985ecce7 100644 --- a/ext/mysql/config.m4 +++ b/ext/mysql/config.m4 @@ -80,7 +80,7 @@ elif test "$PHP_MYSQL" != "no"; then dnl Check if mysql_config is found. If yes, use the LIBS provided by it.. if test -x "$MYSQL_DIR/bin/mysql_config"; then - MYSQL_LIBS=`$MYSQL_DIR/bin/mysql_config --libs | sed -e "s/'//g"` + MYSQL_LIBS=`$MYSQL_DIR/bin/mysql_config --libs | sed -e "s/-lnsl//g;s/'//g" MYSQL_INCLUDE=`$MYSQL_DIR/bin/mysql_config --cflags | sed -e "s/'//g"` AC_DEFINE_UNQUOTED(MYSQL_UNIX_ADDR, "`$MYSQL_DIR/bin/mysql_config --socket`", [Default mysql unix socket]) else -- 2.50.1