--- misc/xine-config.in~ 2007-04-05 01:18:00.000000000 +0300 +++ misc/xine-config.in 2007-04-11 01:32:44.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@ @PTHREAD_CFLAGS@ + pkg-config libxine --cflags fi if test "$echo_libs" = "yes"; then - echo -L@libdir@ -lxine @ZLIB_LIBS@ @NET_LIBS@ @PTHREAD_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@"