From ed9512ed17706371903aef43bedad8c1e0c71d09 Mon Sep 17 00:00:00 2001 From: Mihai Moldovan Date: Fri, 2 Mar 2018 05:51:17 +0100 Subject: nxcomp{,shad}/configure.ac: pass more portable -E option to sed instead of -r. --- nxcomp/configure.ac | 2 +- nxcompshad/configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nxcomp/configure.ac b/nxcomp/configure.ac index 695f174f4..da0832123 100644 --- a/nxcomp/configure.ac +++ b/nxcomp/configure.ac @@ -22,7 +22,7 @@ AC_PROG_LIBTOOL COMP_VERSION=nxcomp_version AC_SUBST([COMP_VERSION]) -LT_COMP_VERSION=[`echo $COMP_VERSION | sed -r -e 's/^([0-9]+\.[0-9]+\.[0-9]+).*$/\1/' -e 's/\./:/g'`] +LT_COMP_VERSION=[`echo $COMP_VERSION | sed -E -e 's/^([0-9]+\.[0-9]+\.[0-9]+).*$/\1/' -e 's/\./:/g'`] AC_SUBST([LT_COMP_VERSION]) # Silence warning: ar: 'u' modifier ignored since 'D' is the default diff --git a/nxcompshad/configure.ac b/nxcompshad/configure.ac index f493bdf0e..485dd6fc8 100644 --- a/nxcompshad/configure.ac +++ b/nxcompshad/configure.ac @@ -22,7 +22,7 @@ AC_PROG_LIBTOOL COMPSHAD_VERSION=nxcompshad_version AC_SUBST([COMPSHAD_VERSION]) -LT_COMPSHAD_VERSION=[`echo $COMPSHAD_VERSION | sed -r -e 's/^([0-9]+\.[0-9]+\.[0-9]+).*$/\1/' -e 's/\./:/g'`] +LT_COMPSHAD_VERSION=[`echo $COMPSHAD_VERSION | sed -E -e 's/^([0-9]+\.[0-9]+\.[0-9]+).*$/\1/' -e 's/\./:/g'`] AC_SUBST([LT_COMPSHAD_VERSION]) # Silence warning: ar: 'u' modifier ignored since 'D' is the default -- cgit v1.2.3