2007-04-11 21:36:29 +00:00
|
|
|
--- misc/xine-config.in~ 2007-04-05 01:18:00.000000000 +0300
|
|
|
|
+++ misc/xine-config.in 2007-04-11 01:32:44.000000000 +0300
|
2006-10-30 18:32:55 +00:00
|
|
|
@@ -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
|
2007-04-11 21:36:29 +00:00
|
|
|
- echo -I@includedir@ @PTHREAD_CFLAGS@
|
2006-10-30 18:32:55 +00:00
|
|
|
+ pkg-config libxine --cflags
|
|
|
|
fi
|
|
|
|
|
|
|
|
if test "$echo_libs" = "yes"; then
|
2007-04-11 21:36:29 +00:00
|
|
|
- echo -L@libdir@ -lxine @ZLIB_LIBS@ @NET_LIBS@ @PTHREAD_LIBS@ @LIBICONV@ @RT_LIBS@
|
2006-10-30 18:32:55 +00:00
|
|
|
+ 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@"
|