diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2014-08-12 13:32:09 +0200 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2014-08-12 13:33:05 +0200 |
commit | 382ad7386698ec994e7fe0bdd4f6f0cbaeacefa0 (patch) | |
tree | 6f84f282731e6e3d1ce83b3ee851d036187691ab /configure.ac | |
parent | b59931d8a62f761022929f58f27d7ba22536b570 (diff) |
in replacement is *also* a GNU sed extension - not available on MacOS X
Change-Id: Ic4efe84ba6e6d0e36b520957bc56d24e14161966
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 504fab5da4e2..9ae3d24487f6 100644 --- a/configure.ac +++ b/configure.ac @@ -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 |