blob: 95063cea59eb373f6e6ff3eccca3875e8d38ab91 (
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
Instead of just looking for a libtool binary, actually configure libtool.
As the build doesn't use automake we need to manually set top_builddir in the Makefile.
Upstream-Status: Inactive-Upstream [2014]
Signed-off-by: Ross Burton <ross.burton@arm.com>
diff --git a/Makefile.in b/Makefile.in
index a2b5494..aa0b8ca 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -36,6 +36,7 @@
#
srcdir = @srcdir@
VPATH = @srcdir@
+top_builddir = @srcdir@
#
# the name of the install program to use
diff --git a/etc/configure.ac b/etc/configure.ac
index e444543..b137443 100644
--- a/etc/configure.ac
+++ b/etc/configure.ac
@@ -161,42 +161,7 @@ AS_IF([test "x$with_gcrypt" != xno], AC_GCRYPT_SETUP())
dnl!
dnl! Now look for libtool.
dnl!
-AC_CHECK_PROGS(LIBTOOL, libtool)
-if test -z "$LIBTOOL"
-then
- AC_MSG_RESULT([
- You must have GNU Libtool installed to build srecord.
- Homepage: http://www.gnu.org/software/libtool/])
- OK=no
- if apt-get --version > /dev/null 2> /dev/null; then
- AC_MSG_RESULT([
- The following command may be used to install it:
- sudo apt-get install libtool
- ])
- OK=yes
- fi
- if yum --version > /dev/null 2> /dev/null; then
- AC_MSG_RESULT([
- The following command may be used to install it:
- sudo yum install libtool
- ])
- OK=yes
- fi
- if pkg_info -a > /dev/null 2> /dev/null; then
- AC_MSG_RESULT([
- The following command may be used to install it:
- sudo pkg_add -r libtool
- ])
- OK=yes
- fi
- if test "$OK" != "yes"; then
- AC_MSG_RESULT([
- If you are using a package based install, you will need the
- libtool package.
- ])
- fi
- exit 1
-fi
+LT_INIT
dnl
dnl If the soelim program exists, and understands the -I option,
|