Update of /cvsroot/xine/xine-plugin
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv2035

Modified Files:
        configure.ac 
Log Message:
Added options to specify plugin directory and logo format to use during 
compilation.


Index: configure.ac
===================================================================
RCS file: /cvsroot/xine/xine-plugin/configure.ac,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- configure.ac        7 Oct 2006 13:54:40 -0000       1.6
+++ configure.ac        25 Nov 2006 14:12:42 -0000      1.7
@@ -75,13 +75,37 @@
 AC_SUBST(DEBUG_CFLAGS)
 
 
-dnl where plugin will be installed
+dnl 
+dnl Where plugin will be installed
+dnl
+AC_ARG_WITH(plugindir,
+  [  --with-plugindir=<dir>  specify plugin directory 
[[default=~/.mozilla/plugins]]],
+  PLUGIN_DIR="$withval", PLUGIN_DIR="")
+
 if test x"$PLUGIN_DIR" = x; then 
   PLUGIN_DIR="`echo $HOME`/.mozilla/plugins"
 fi
+
 AC_SUBST(PLUGIN_DIR)
 
-AC_DEFINE_UNQUOTED(PLUGIN_DIR,"$PLUGIN_DIR",[Plugin directory])
+dnl 
+dnl Logo format to use
+dnl
+AC_ARG_WITH(logo,
+  [  --with-logo=<format>    chose the logo format (ogg or png) 
[[default=ogg]]],
+  logo_format="$withval", logo_format="ogg")
+
+case "$logo_format" in
+  png)
+    PLUGIN_LOGO="xine-logo.png"
+    ;;
+  *)
+    PLUGIN_LOGO="xine-logo.ogg"
+    ;;
+esac
+
+AC_SUBST(PLUGIN_LOGO)
+AC_DEFINE_UNQUOTED(LOGO_PATH,"$PLUGIN_DIR/$PLUGIN_LOGO",[Plugin logo path])
 
 dnl
 dnl It seems automake 1.5 don't take care about this script


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Xine-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xine-cvslog

Reply via email to