in replacement is *also* a GNU sed extension - not available on MacOS X

Change-Id: Ic4efe84ba6e6d0e36b520957bc56d24e14161966
This commit is contained in:
Lionel Elie Mamane 2014-08-12 13:32:09 +02:00
parent b59931d8a6
commit 382ad73866

View file

@ -8278,7 +8278,11 @@ if test "$ENABLE_MARIADBC" = "TRUE"; then
if test "$enable_bundle_mariadb" = "yes"; then
AC_MSG_RESULT([yes])
BUNDLE_MARIADB=TRUE
LIBMARIADB=lib$(echo "${MARIADB_LIBS}" | sed -e 's/[[[:space:]]]\{1,\}-l/\n/g' -e 's/^-l/\n/g' | grep -E '(mysqlclient|mariadb)')
LIBMARIADB=lib$(echo "${MARIADB_LIBS}" | sed -e 's/[[[:space:]]]\{1,\}-l\([[^[:space:]]]\{1,\}\)/\
\1\
/g' -e 's/^-l\([[^[:space:]]]\{1,\}\)[[[:space:]]]*/\
\1\
/g' | grep -E '(mysqlclient|mariadb)')
if test "$_os" = "Darwin"; then
LIBMARIADB=${LIBMARIADB}.dylib
elif test "$_os" = "WINNT"; then