aboutsummaryrefslogtreecommitdiff
path: root/gas/configure.com
diff options
context:
space:
mode:
Diffstat (limited to 'gas/configure.com')
-rw-r--r--gas/configure.com8
1 files changed, 4 insertions, 4 deletions
diff --git a/gas/configure.com b/gas/configure.com
index 982d331..ceb50c2 100644
--- a/gas/configure.com
+++ b/gas/configure.com
@@ -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;