Commit 89071c33 authored by David Menestrina's avatar David Menestrina Committed by Rémi Denis-Courmont

Remove references to mozilla-config.h, remove linkage with libnspr and other xpcom libraries.

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent 07da56ea
......@@ -67,8 +67,7 @@ CPPFLAGS_mozilla_EXTRA = -I. -I$(top_builddir) -I$(srcdir)/../include -c \
-F/System/Library/Frameworks/CoreFoundation.framework $(moz_CFLAGS) \
-I/Developer/Headers/FlatCarbon -fno-common -fpascal-strings \
-Wmost -Wno-four-char-constants -Wno-unknown-pragmas -DXP_MACOSX=1 \
-DNO_X11=1 -DUSE_SYSTEM_CONSOLE=1 -pipe -fmessage-length=0 \
-include mozilla-config.h
-DNO_X11=1 -DUSE_SYSTEM_CONSOLE=1 -pipe -fmessage-length=0
LDFLAGS_mozilla_EXTRA = -no-undefined -bundle -Wl,-read_only_relocs -Wl,suppress \
-Wl,-headerpad_max_install_names -shrext $(LIBEXT) -Wl,-framework,Carbon -Wl,-framework,System
......
......@@ -28,11 +28,6 @@
#include <string.h>
#include <stdlib.h>
/* Mozilla stuff */
#ifdef HAVE_MOZILLA_CONFIG_H
# include <mozilla-config.h>
#endif
#include "vlcplugin.h"
#include "npolibvlc.h"
......
......@@ -27,11 +27,6 @@
#include <string.h>
#include <stdlib.h>
/* Mozilla stuff */
#ifdef HAVE_MOZILLA_CONFIG_H
# include <mozilla-config.h>
#endif
#include "nporuntime.h"
#include "vlcplugin.h"
......
......@@ -30,10 +30,6 @@
//#define OJI 1
#ifdef HAVE_MOZILLA_CONFIG_H
# include <mozilla-config.h>
#endif
#ifndef _NPAPI_H_
# include "npapi.h"
#endif
......
......@@ -28,10 +28,6 @@
*****************************************************************************/
#include "config.h"
#ifdef HAVE_MOZILLA_CONFIG_H
# include <mozilla-config.h>
#endif
#include "vlcplugin.h"
#include "control/npolibvlc.h"
......
......@@ -31,11 +31,6 @@
#include <string.h>
#include <stdlib.h>
/* Mozilla stuff */
#ifdef HAVE_MOZILLA_CONFIG_H
# include <mozilla-config.h>
#endif
/* This is from mozilla java, do we really need it? */
#if 0
#include <jri.h>
......
......@@ -24,12 +24,6 @@
#ifndef __VLCSHELL_H__
#define __VLCSHELL_H__
/* Mozilla stuff */
#ifdef HAVE_MOZILLA_CONFIG_H
# include <mozilla-config.h>
#endif
char * NPP_GetMIMEDescription( void );
NPError NPP_Initialize( void );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment