File: 0001-m17n-config-remove-libtool-user-switches.patch

package info (click to toggle)
m17n-lib 1.8.5-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 5,296 kB
  • sloc: ansic: 51,986; sh: 5,575; makefile: 638; yacc: 291; xml: 148; sed: 16
file content (55 lines) | stat: -rw-r--r-- 1,535 bytes parent folder | download | duplicates (2)
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
From: Harshula Jayasuriya <harshula@debian.org>
Date: Sat, 9 Jan 2016 14:46:58 +1100
Subject: m17n-config-remove-libtool-user-switches

Remove Libtool user switches from m17n-config as we don't ship *.la files.

Forwarded: not-needed
---
 m17n-config.in | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)

diff --git a/m17n-config.in b/m17n-config.in
index c07dde0..857b52d 100644
--- a/m17n-config.in
+++ b/m17n-config.in
@@ -10,7 +10,7 @@ exec_prefix=@exec_prefix@
 
 help ()
 {
-  echo "Usage: $0 [API-LEVEL ...] [--version | --cflags | --libs | --libtool]"
+  echo "Usage: $0 [API-LEVEL ...] [--version | --cflags | --libs]"
   echo "  API-LEVEL is CORE, SHELL (default), GUI, or FLT"
 }
 
@@ -79,12 +79,6 @@ case $1 in
   if test "@includedir@" != "/usr/include"; then
     echo "-I@includedir@"
   fi;;
-
---libtool)
-  for name in $LIBTOOLNAME; do
-    echo -n "@libdir@/lib${name}.la "
-  done;
-  echo;;
 *)
     help
     exit 1;;
@@ -99,7 +93,7 @@ cat > /dev/null <<EOF
 /***
 @section m17n-config-synopsis SYNOPSIS
 
-m17n-config [API-LEVEL ...] [--cflags | --libs | --libtool] [--version]
+m17n-config [API-LEVEL ...] [--cflags | --libs] [--version]
 
 @section m17n-config-description DESCRIPTION
 
@@ -116,8 +110,6 @@ The other arguments are as follows.
 	Print compile option (e.g. -I/usr/local/include)
 - --libs\n
 	Print link option (e.g. -L/usr/local/lib -lm17n)
-- --libtool\n
-	Print libtool option (e.g. /usr/local/lib/libm17n.la)
 - --version\n
 	Print version number of the m17n library.
 */