From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from gallifrey.ext.pengutronix.de ([2001:6f8:1178:4:5054:ff:fe8d:eefb] helo=bjornoya.do.blackshift.org) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1XCloS-0008C8-Mn for ptxdist@pengutronix.de; Thu, 31 Jul 2014 10:34:12 +0200 Received: from [IPv6:2001:6f8:105b:1122:5e51:4fff:fed6:c770] (unknown [IPv6:2001:6f8:105b:1122:5e51:4fff:fed6:c770]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) (Authenticated sender: frogger) by bjornoya.do.blackshift.org (Postfix) with ESMTPSA id 680C460091 for ; Thu, 31 Jul 2014 10:34:12 +0200 (CEST) Message-ID: <53D9FF7F.6020409@pengutronix.de> Date: Thu, 31 Jul 2014 10:34:07 +0200 From: Marc Kleine-Budde MIME-Version: 1.0 References: <53D79F97.9060804@pengutronix.de> In-Reply-To: Subject: Re: [ptxdist] configure failed with sed version 4.2.2 Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0175447063==" Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --===============0175447063== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="rTKT2tfUWrKiaAFlNAXNGGAdH4xpSOQO1" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --rTKT2tfUWrKiaAFlNAXNGGAdH4xpSOQO1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 07/29/2014 04:39 PM, Kristof Verdonck wrote: > I'm using an ancient ptxdist, but that doesn't matter because I'm > isolating the SED-version check. >=20 > If I run the regex > from http://git.pengutronix.de/?p=3Dptxdist.git;a=3Dblob;f=3Dconfigure.= ac;h=3D22c8df03a8c225514a3df7ba4c9fb29c515c3e24;hb=3DHEAD > sed --version 2>/dev/null | sed -ne "1 s/.*GNU.*\s\([[0-9\+\.]]\+\).*/\= 1/p" > then it returns empty, both with sed 4.2.1 and 4.2.2. Are you using the unmodified regex from the configure.ac in the shell? Try this instead: sed --version 2>/dev/null | \ sed -ne "1 s/.*GNU.*\s\([0-9\+\.]\+\).*/\1/p" Note: '[' vs. '[[', as you have to quote '[' in configure.ac, as it's processed by m4. Marc --=20 Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de | --rTKT2tfUWrKiaAFlNAXNGGAdH4xpSOQO1 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iEYEARECAAYFAlPZ/38ACgkQjTAFq1RaXHOjEACffCdHxkPwFjcOOeCToC5witqZ TQ4AoIC3ddSd0+S8NPdMYG/KVyVxHs4C =9oP+ -----END PGP SIGNATURE----- --rTKT2tfUWrKiaAFlNAXNGGAdH4xpSOQO1-- --===============0175447063== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- ptxdist mailing list ptxdist@pengutronix.de --===============0175447063==--