blob: 4a202d047498d7ab5127cbc81746faa7db29a3ce [file] [log] [blame]
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05001From b1ae604880562ed065f614a745d3f8922838bc5a Mon Sep 17 00:00:00 2001
Patrick Williamsc124f4f2015-09-15 14:41:29 -05002From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 2 Mar 2015 01:07:33 +0000
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05004Subject: [PATCH 02/14] configure: widen the regexp for SH architectures
Patrick Williamsc124f4f2015-09-15 14:41:29 -05005
6gprof needs to know about uclibc
7
8Upstream-Status: Pending
9
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 configure | 4 ++--
13 gprof/configure | 5 +++++
14 2 files changed, 7 insertions(+), 2 deletions(-)
15
16diff --git a/configure b/configure
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050017index 34b66f7..85414ab 100755
Patrick Williamsc124f4f2015-09-15 14:41:29 -050018--- a/configure
19+++ b/configure
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050020@@ -3445,7 +3445,7 @@ case "${target}" in
Patrick Williamsc124f4f2015-09-15 14:41:29 -050021 ;;
22 s390-*-* | s390x-*-*)
23 ;;
24- sh-*-* | sh[34]*-*-*)
25+ sh*-*-* | sh[34]*-*-*)
26 ;;
27 sh64-*-* | sh5*-*-*)
28 ;;
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050029@@ -3939,7 +3939,7 @@ case "${target}" in
Patrick Williamsc124f4f2015-09-15 14:41:29 -050030 or1k*-*-*)
31 noconfigdirs="$noconfigdirs gdb"
32 ;;
33- sh-*-* | sh64-*-*)
34+ sh*-*-* | sh64-*-*)
35 case "${target}" in
36 sh*-*-elf)
37 ;;
38diff --git a/gprof/configure b/gprof/configure
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050039index 693b927..d4db554 100755
Patrick Williamsc124f4f2015-09-15 14:41:29 -050040--- a/gprof/configure
41+++ b/gprof/configure
42@@ -5869,6 +5869,11 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu)
43 lt_cv_deplibs_check_method=pass_all
44 ;;
45
46+linux-uclibc*)
47+ lt_cv_deplibs_check_method=pass_all
48+ lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`
49+ ;;
50+
51 netbsd*)
52 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
53 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
54--
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500552.7.1
Patrick Williamsc124f4f2015-09-15 14:41:29 -050056