Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
fb1bb3d4
Commit
fb1bb3d4
authored
Jun 09, 2004
by
Olivier Aubert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Unclean but quick bugfix for the CORBA plugin building problem.
parent
89504b58
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
10 deletions
+11
-10
configure.ac
configure.ac
+4
-4
modules/control/corba/Modules.am
modules/control/corba/Modules.am
+7
-6
No files found.
configure.ac
View file @
fb1bb3d4
...
...
@@ -3562,16 +3562,16 @@ AC_ARG_ENABLE(corba,
[ --enable-corba corba interface support (default disabled)])
if test "${enable_corba}" = "yes"; then
GLIB_VERSION=2.3.2
PKG_CHECK_MODULES(
LIBMEDIACONTROL
,
PKG_CHECK_MODULES(
CORBA
,
ORBit-2.0 >= 2.8.0 \
glib-2.0 >= $GLIB_VERSION \
gobject-2.0 >= $GLIB_VERSION \
gthread-2.0 >= $GLIB_VERSION,
[
AX_ADD_LDFLAGS([corba],[$
LIBMEDIACONTROL
_LIBS])
AX_ADD_CFLAGS([corba],[$
LIBMEDIACONTROL
_CFLAGS])
AX_ADD_LDFLAGS([corba],[$
CORBA
_LIBS])
AX_ADD_CFLAGS([corba],[$
CORBA
_CFLAGS])
AX_ADD_PLUGINS([corba snapshot]) ],
[
AC_MSG_WARN(corba library not found)
])
[
AC_MSG_WARN(corba library not found)
])
fi
AC_ARG_WITH(,[Misc options:])
...
...
modules/control/corba/Modules.am
View file @
fb1bb3d4
...
...
@@ -25,23 +25,24 @@ BUILT_SOURCES += $(GENERATEDFILES) MediaControl-imodule.c
## corba.c: MediaControl.h
## Needed for both MediaControl.so and libcorba_plugin compilation
INCLUDES = $(
LIBMEDIACONTROL
_CFLAGS)
INCLUDES = $(
CORBA
_CFLAGS)
## MediaControl.so rules
MediaControl.so: MediaControl-imodule.c
$(CC) -fPIC -o MediaControl-imodule.o -c $< $(LIBMEDIACONTROL
_CFLAGS)
$(CC) -shared -o $@ MediaControl-imodule.o $(LIBMEDIACONTROL
_LIBS)
[ -z "$(CORBA_CFLAGS)" ] || $(CC) -fPIC -o MediaControl-imodule.o -c $< $(CORBA
_CFLAGS)
[ -z "$(CORBA_CFLAGS)" ] || $(CC) -shared -o $@ MediaControl-imodule.o $(CORBA
_LIBS)
$(GENERATEDFILES): $(corbaidl_DATA)
$(ORBIT_IDL) $(corbaidl_DATA)
[ -z "$(CORBA_CFLAGS)" ] ||
$(ORBIT_IDL) $(corbaidl_DATA)
## We invoke 2 times $(ORBIT_IDL), else the --imodule
## invocation builds MediaControl-common.c without some
## glue code that is needed.
MediaControl-imodule.c: $(corbaidl_DATA)
$(ORBIT_IDL) --imodule $<
$(ORBIT_IDL) $<
[ -z "$(CORBA_CFLAGS)" ] ||
$(ORBIT_IDL) --imodule $<
[ -z "$(CORBA_CFLAGS)" ] ||
$(ORBIT_IDL) $<
clean:
$(RM) -f $(GENERATEDFILES)
$(RM) -f MediaControl-imodule.c
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment