diff options
author | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2001-04-26 23:00:58 +0000 |
---|---|---|
committer | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2001-04-26 23:00:58 +0000 |
commit | fd00a5135b7e3d99a98d9a3108468e2991f77fe3 (patch) | |
tree | 1c4c30cae381c618e17ea02f42a8721bfe64e9c5 | |
parent | ddb240d90f3c6310eb8a33bce4b5139903aa330d (diff) | |
download | xine-lib-fd00a5135b7e3d99a98d9a3108468e2991f77fe3.tar.gz xine-lib-fd00a5135b7e3d99a98d9a3108468e2991f77fe3.tar.bz2 |
add --skindir and --plugindir to xine-config script (needed). define
two new var in xine.m4, xine_skin_dir and xine_plugin_dir, and it's
related to the previous change.
CVS patchset: 31
CVS date: 2001/04/26 23:00:58
-rw-r--r-- | m4/xine.m4 | 2 | ||||
-rw-r--r-- | misc/xine-config.in | 15 |
2 files changed, 16 insertions, 1 deletions
diff --git a/m4/xine.m4 b/m4/xine.m4 index f89d46a99..00433cf5e 100644 --- a/m4/xine.m4 +++ b/m4/xine.m4 @@ -70,6 +70,8 @@ AC_ARG_ENABLE(xinetest, sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` xine_config_sub_version=`$XINE_CONFIG $xine_config_args --version | \ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` + xine_skin_dir=`$XINE_CONFIG $xine_config_args --skindir` + xine_plugin_dir=`$XINE_CONFIG $xine_config_args --plugindir` dnl if test "x$enable_xinetest" = "xyes" ; then ac_save_CFLAGS="$CFLAGS" ac_save_LIBS="$LIBS" diff --git a/misc/xine-config.in b/misc/xine-config.in index 4081407dd..019f9b2b2 100644 --- a/misc/xine-config.in +++ b/misc/xine-config.in @@ -16,6 +16,8 @@ Options: [--version] [--libs] [--cflags] + [--plugindir] + [--skindir] EOF exit $1 } @@ -56,6 +58,12 @@ while test $# -gt 0; do --libs) echo_libs=yes ;; + --plugindir) + echo_plugindir=yes + ;; + --skindir) + echo_skindir=yes + ;; *) usage 1 1>&2 ;; @@ -78,4 +86,9 @@ fi if test "$echo_libs" = "yes"; then echo -L@libdir@ -lxine fi - +if test "$echo_plugindir" = "yes"; then + echo "@XINE_PLUGINPATH@" +fi +if test "$echo_skindir" = "yes"; then + echo "@XINE_SKINPATH@" +fi |