public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: H.J. Lu <hjl@lucon.org>
To: egcs@cygnus.com
Subject: A patch for configure.in
Date: Sun, 17 Aug 1997 16:44:17 -0000	[thread overview]
Message-ID: <m0x08nj-0004ecC@ocean.lucon.org> (raw)

Can we use this patch? I'd like to keep the binaries for all versions
if my disk space allows.

Thanks.


-- 
H.J. Lu (hjl@gnu.ai.mit.edu)
--
Sun Aug 17 09:17:32 1997  H.J. Lu  (hjl@gnu.ai.mit.edu)

	* configure.in (version): set version to MM.mm.pp-yymmdd.

Index: configure.in
===================================================================
RCS file: /home/work/cvs/gnu/egcs/configure.in,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 configure.in
--- configure.in	1997/08/16 03:48:37	1.1.1.1
+++ configure.in	1997/08/17 16:16:19
@@ -2746,7 +2746,10 @@
 fi
 
 # Get the version number from the toplevel
-version=`sed -e 's/.*\"\([[^ \"]]*\)[[ \"]].*/\1/' < ${srcdir}/version.c`
+dnl We need to use [ and ] for other purposes for a while now.
+changequote(,)dnl
+version=`sed -e 's/\([0-9][^ ]*\)[ 	]*[a-zA-Z]*[ 	]*/\1-/' -e 's/.*\"\([^ \"]*\)[ \"].*/\1/' < ${srcdir}/version.c`
+changequote([,])dnl
 
 # Are we using gcc as the native compiler?
 case $host in

             reply	other threads:[~1997-08-17 16:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-08-17 16:44 H.J. Lu [this message]
1997-08-17 21:48 An autoconf patch H.J. Lu
1997-08-17 21:48 ` A patch for configure.in Jeffrey A Law
1997-08-19  1:10 H.J. Lu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m0x08nj-0004ecC@ocean.lucon.org \
    --to=hjl@lucon.org \
    --cc=egcs@cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).