> On 05 Jan 2015, at 23:37, Aurelien Jacobs <au...@gnuage.org> wrote: > > On Mon, Jan 05, 2015 at 02:32:44AM +0100, Rene Hopf wrote: >> bsd sed does not extended regular expressions. >> This fixes autogen.sh in libsigrok. might also be necessary on >> freebsd. requires gsed to be installed. > > What about dropping the requirement of extended regular expressions > support, rather than adding one more requirement on a specific sed > version. > >> [...] >> >> @@ -58,7 +60,7 @@ aclocal ${ACLOCAL_DIR} || exit 1 >> # Check the version of a specific autoconf macro that tends to cause >> problems. >> CXXMACROVERSION=$( >> grep -B 5 'm4_define(\[_AX_CXX_COMPILE_STDCXX_11_testbody\]' aclocal.m4 >> | >> - sed -nr 's/.*serial[[:space:]]+([[:digit:]]+).*/\1/p' >> + ${SED} -nr 's/.*serial[[:space:]]+([[:digit:]]+).*/\1/p' >> ) > > Just rewrite the regexp this way and you should be good on pretty much > any sed version I think: > > sed -n 's/.*serial[ \t][ \t]*\([0-9][0-9]*\).*/\1/p’
That is even better.
0002-fix-autogen.sh-on-OS-X.-This-fixes-bug-516.patch
Description: Binary data
> > Aurel > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming! The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net > _______________________________________________ > sigrok-devel mailing list > sigrok-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sigrok-devel
------------------------------------------------------------------------------ Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________ sigrok-devel mailing list sigrok-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sigrok-devel