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

Modified Files:
        configure.ac 
Log Message:
Update npapi.h & npupp.h (copy from gxine) to avoid segfaulting on 64-bit.
This requires libnspr (config may need fixes for sources other than xulrunner)
and a couple of changes to plugin.c.

Index: configure.ac
===================================================================
RCS file: /cvsroot/xine/xine-plugin/configure.ac,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- configure.ac        12 Dec 2006 02:36:31 -0000      1.8
+++ configure.ac        12 Dec 2006 03:13:00 -0000      1.9
@@ -41,6 +41,19 @@
 
 
 dnl
+dnl Check for nspr
+dnl
+AC_PATH_PROG(NSPR_CONFIG, nspr-config)
+if test x"$NSPR_CONFIG" = ''; then
+  AC_MSG_ERROR(libnspr not found)
+fi
+NSPR_CFLAGS="$($NSPR_CONFIG --cflags)"
+NSPR_LDFLAGS="$($NSPR_CONFIG --libs)"
+AC_SUBST(NSPR_CFLAGS)
+AC_SUBST(NSPR_LDFLAGS)
+
+
+dnl
 dnl threads: xine-config tell us what should be used, but
 dnl          xitk need to be linked to thread lib, so the follow AC_SUBST() 
 dnl          are only used in src/xitk/xine-toolkit/Makefile.am


-------------------------------------------------------------------------
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