41 lines
1.1 KiB
Diff
41 lines
1.1 KiB
Diff
|
--- misc/xine-config.in~ 2005-09-05 20:02:57.000000000 +0300
|
||
|
+++ misc/xine-config.in 2006-06-13 01:43:55.000000000 +0300
|
||
|
@@ -2,8 +2,8 @@
|
||
|
#
|
||
|
#
|
||
|
|
||
|
-prefix=@XINE_CONFIG_PREFIX@
|
||
|
-exec_prefix=@exec_prefix@
|
||
|
+prefix=$(pkg-config libxine --variable=prefix)
|
||
|
+exec_prefix=$(pkg-config libxine --variable=exec_prefix)
|
||
|
exec_prefix_set=no
|
||
|
|
||
|
usage()
|
||
|
@@ -54,7 +54,7 @@
|
||
|
echo_exec_prefix=yes
|
||
|
;;
|
||
|
--version)
|
||
|
- echo @XINE_MAJOR@.@XINE_MINOR@.@XINE_SUB@
|
||
|
+ pkg-config libxine --modversion
|
||
|
;;
|
||
|
--acflags)
|
||
|
echo_acflags=yes
|
||
|
@@ -100,14 +100,14 @@
|
||
|
fi
|
||
|
|
||
|
if test "$echo_cflags" = "yes"; then
|
||
|
- echo -I@includedir@ @THREAD_CPPFLAGS@
|
||
|
+ pkg-config libxine --cflags
|
||
|
fi
|
||
|
|
||
|
if test "$echo_libs" = "yes"; then
|
||
|
- echo -L@libdir@ -lxine @ZLIB_LIBS@ @NET_LIBS@ @THREAD_LIBS@ @LIBICONV@ @RT_LIBS@
|
||
|
+ pkg-config libxine --libs
|
||
|
fi
|
||
|
if test "$echo_plugindir" = "yes"; then
|
||
|
- echo "@XINE_PLUGINPATH@"
|
||
|
+ echo "$(pkg-config libxine --variable=libdir)/xine/plugins/$(pkg-config libxine --modversion)"
|
||
|
fi
|
||
|
if test "$echo_datadir" = "yes"; then
|
||
|
echo "@XINE_DATADIR@"
|