summaryrefslogtreecommitdiff
path: root/devel/glib12/files/patch-ac
blob: d96c8efcc96c9ea385fd2231a21e4619d5fdc6b7 (plain) (blame)
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
--- glib-config.in.orig	Wed Dec 16 09:30:46 1998
+++ glib-config.in	Tue Jan 19 23:20:59 1999
@@ -7,7 +7,7 @@
 usage()
 {
 	cat <<EOF
-Usage: glib-config [OPTIONS] [LIBRARIES]
+Usage: glib@LT_RELEASE@-config [OPTIONS] [LIBRARIES]
 Options:
 	[--prefix[=DIR]]
 	[--exec-prefix[=DIR]]
@@ -91,20 +91,20 @@
 	if test "$lib_gthread" = "yes"; then
 		cflags="$cflags @G_THREAD_CFLAGS@"
 	fi
-	echo -I@libdir@/glib/include $includes $cflags
+	echo $includes $cflags
 fi
 if test "$echo_libs" = "yes"; then
 	libsp=""
 	libsa=""
 	if test "$lib_glib" = "yes"; then
-		libsp="$libsp -lglib"
+		libsp="$libsp -lglib@LT_RELEASE@"
 	fi
 	if test "$lib_gthread" = "yes"; then
-		libsp="-lgthread $libsp"
+		libsp="-lgthread@LT_RELEASE@ $libsp"
 		libsa="$libsa @G_THREAD_LIBS@"
 	fi
 	if test "$lib_gmodule" = "yes"; then
-		libsp="@G_MODULE_LDFLAGS@ -lgmodule $libsp"
+		libsp="@G_MODULE_LDFLAGS@ -lgmodule@LT_RELEASE@ $libsp"
 		libsa="$libsa @G_MODULE_LIBS@"
 	fi
 	echo -L@libdir@ $libsp $libsa