summaryrefslogtreecommitdiffstats
path: root/main/binutils/bfd-version.patch
blob: 32ab24c2742f54c47844348674f684b0c9297da6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
--- ./gas/configure.orig
+++ ./gas/configure
@@ -3221,7 +3221,7 @@
 fi
 
 
-BFD_VERSION=`${srcdir}/../bfd/configure --version | sed -n -e '1s,.* ,,p'`
+BFD_VERSION=`sed -n 's/AC_INIT(\[bfd\], *\[\([0-9.]*\)\])/\1/p' <${srcdir}/../bfd/configure.in`
 am__api_version='1.11'
 
 # Find a good install program.  We prefer a C program (faster),
--- ./gprof/configure.orig
+++ ./gprof/configure
@@ -3147,7 +3147,7 @@
 fi
 
 
-BFD_VERSION=`${srcdir}/../bfd/configure --version | sed -n -e '1s,.* ,,p'`
+BFD_VERSION=`sed -n 's/AC_INIT(\[bfd\], *\[\([0-9.]*\)\])/\1/p' <${srcdir}/../bfd/configure.in`
 am__api_version='1.11'
 
 # Find a good install program.  We prefer a C program (faster),
--- ./binutils/configure.orig
+++ ./binutils/configure
@@ -3238,7 +3238,7 @@
 fi
 
 
-BFD_VERSION=`${srcdir}/../bfd/configure --version | sed -n -e '1s,.* ,,p'`
+BFD_VERSION=`sed -n 's/AC_INIT(\[bfd\], *\[\([0-9.]*\)\])/\1/p' <${srcdir}/../bfd/configure.in`
 am__api_version='1.11'
 
 # Find a good install program.  We prefer a C program (faster),
--- ./ld/configure.orig
+++ ./ld/configure
@@ -3556,7 +3556,7 @@
 fi
 
 
-BFD_VERSION=`${srcdir}/../bfd/configure --version | sed -n -e '1s,.* ,,p'`
+BFD_VERSION=`sed -n 's/AC_INIT(\[bfd\], *\[\([0-9.]*\)\])/\1/p' <${srcdir}/../bfd/configure.in`
 am__api_version='1.11'
 
 # Find a good install program.  We prefer a C program (faster),