X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gas%2Fconfigure.com;h=a0cd236c858a0c5de984d9024f478b2522951b49;hb=84d9ab33f3dc542c5f20abb9026240cfd48ccd97;hp=982d3318e2ea27225d28265f37e5e7e392fc0e91;hpb=4b95cf5c0c75d6efc1b2f96af72317aecca079f1;p=deliverable%2Fbinutils-gdb.git diff --git a/gas/configure.com b/gas/configure.com index 982d3318e2..a0cd236c85 100644 --- a/gas/configure.com +++ b/gas/configure.com @@ -2,19 +2,19 @@ $! configure.com $! This file sets things up to build gas on a VMS system to generate object $! files for a VMS system. We do not use the configure script, since we $! do not have /bin/sh to execute it. -$! -$! Copyright (C) 2012-2014 Free Software Foundation, Inc. +$! +$! Copyright (C) 2012-2020 Free Software Foundation, Inc. $! $! This file is free software; you can redistribute it and/or modify $! it under the terms of the GNU General Public License as published by $! the Free Software Foundation; either version 3 of the License, or $! (at your option) any later version. -$! +$! $! This program is distributed in the hope that it will be useful, $! but WITHOUT ANY WARRANTY; without even the implied warranty of $! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the $! GNU General Public License for more details. -$! +$! $! You should have received a copy of the GNU General Public License $! along with this program; see the file COPYING3. If not see $! . @@ -185,17 +185,17 @@ $ create config-vms.in /* Version number of package */ $! -$! Get VERSION from ../bfd/configure.in +$! Get VERSION from ../bfd/version.m4 $! $ edit/tpu/nojournal/nosection/nodisplay/command=sys$input $DECK set (success, off); - mfile := CREATE_BUFFER("mfile", "[-.bfd]configure.in"); - match_pos := SEARCH_QUIETLY('AM_INIT_AUTOMAKE(bfd, ', FORWARD, EXACT, mfile); + mfile := CREATE_BUFFER("mfile", "[-.bfd]version.m4"); + match_pos := SEARCH_QUIETLY('m4_define([BFD_VERSION], [', FORWARD, EXACT, mfile); IF match_pos <> 0 THEN; POSITION(BEGINNING_OF(match_pos)); ERASE(match_pos); - vers := CURRENT_LINE-")"; + vers := CURRENT_LINE-"])"; ELSE; vers := "unknown"; ENDIF; @@ -238,7 +238,7 @@ $ LIBBFD = ",[-.bfd]libbfd.olb/lib" $ LIBIBERTY = ",[-.libiberty]libiberty.olb/lib" $ LIBOPCODES = ",[-.opcodes]libopcodes.olb/lib" $! -$ AS_OBJS="targ-cpu," + FILES +$ AS_OBJS="targ-cpu," + FILES $! $ write sys$output "CFLAGS=",CFLAGS $!