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
d6cc0b79
Commit
d6cc0b79
authored
May 12, 2009
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dc1394 and dv1394: cleanup detection in configure.ac
parent
916d4310
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
23 deletions
+22
-23
configure.ac
configure.ac
+22
-23
No files found.
configure.ac
View file @
d6cc0b79
...
...
@@ -2024,28 +2024,28 @@ AC_ARG_ENABLE(dc1394,
[ --enable-dc1394 dc1394 access module (default disabled)])
if test "${enable_dc1394}" = "yes"
then
AC_CHECK_HEADERS(libraw1394/raw1394.h, [
AC_CHECK_LIB( raw1394, raw1394_get_nodecount, [
AC_CHECK_HEADERS(libdc1394/dc1394_control.h , [
dnl AC_CHECK_LIB( dc1394_control, dc1394_setup_capture, [
VLC_ADD_PLUGIN([dc1394])
VLC_ADD_LIBS([dc1394],[-ldc1394_control -lraw1394])
dnl ],
dnl [
dnl AC_MSG_ERROR([libdc1394 is mandatory for the dc1394 input module. try --disable-dc1394 or install this library])
dnl ])
],
[
AC_MSG_ERROR([libdc1394 is mandatory for the dc1394 input module. try --disable-dc1394 or install this library])
])
dnl
dnl Check for libraw1394
dnl
PKG_CHECK_MODULES(LIBRAW1394, libraw1394 >= 2.0.1,
[
VLC_ADD_LIBS([dc1394],[`${PKG_CONFIG} --libs libraw1394`])
VLC_ADD_CPPFLAGS([dc1394],[`${PKG_CONFIG} --cflags libraw1394`])
],
[AC_MSG_ERROR([Couldn't find libraw1394 >= 2.0.1, install libraw1394 development package])]
)
dnl
dnl Check for libdc1394
dnl
PKG_CHECK_MODULES(LIBDC1394, libdc1394-2 >= 2.0.2,
[
AC_MSG_ERROR([libraw1394 is mandatory for the dc1394 input module. try --disable-dc1394 or install this library
])
])
],
[
AC_MSG_ERROR([libraw1394 is mandatory for the dc1394 input module. try --disable-dc1394 or install this library])
]
)
VLC_ADD_PLUGIN([dc1394
])
VLC_ADD_LIBS([dc1394],[`${PKG_CONFIG} --libs libdc1394-2`
])
VLC_ADD_CPPFLAGS([access_dv],[`${PKG_CONFIG} --cflags libdc1394-2`])
],
[AC_MSG_ERROR([Couldn't find libdc1394 >= 2.0.2, install libdc1394 development package])]
)
fi
dnl
...
...
@@ -2060,11 +2060,10 @@ then
dnl
PKG_CHECK_MODULES(LIBRAW1394, libraw1394 >= 2.0.1,
[
VLC_ADD_PLUGIN([access_dv])
VLC_ADD_LIBS([access_dv],[`${PKG_CONFIG} --libs libraw1394`])
VLC_ADD_CPPFLAGS([access_dv],[`${PKG_CONFIG} --cflags libraw1394`])
],
[AC_MSG_ERROR([Couldn't find libraw1394 >= 2.0.1, install libraw1394 development package
?
])]
[AC_MSG_ERROR([Couldn't find libraw1394 >= 2.0.1, install libraw1394 development package])]
)
dnl
...
...
@@ -2076,7 +2075,7 @@ then
VLC_ADD_LIBS([access_dv],[`${PKG_CONFIG} --libs libavc1394`])
VLC_ADD_CPPFLAGS([access_dv],[`${PKG_CONFIG} --cflags libavc1394`])
],
[AC_MSG_ERROR([Couldn't find libavc1394 >= 0.5.1, install libavc1394 development package
?
])]
[AC_MSG_ERROR([Couldn't find libavc1394 >= 0.5.1, install libavc1394 development package])]
)
fi
...
...
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