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
5128f3e9
Commit
5128f3e9
authored
May 04, 2006
by
Christophe Mutricy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure.ac: test a bit more for contribs
parent
c99cbb3b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
3 deletions
+15
-3
configure.ac
configure.ac
+15
-3
No files found.
configure.ac
View file @
5128f3e9
...
@@ -93,13 +93,22 @@ dnl
...
@@ -93,13 +93,22 @@ dnl
AC_ARG_WITH(contrib,
AC_ARG_WITH(contrib,
[ --without-contrib do not use the libraries in extras/contrib],[],[])
[ --without-contrib do not use the libraries in extras/contrib],[],[])
if test "${with_contrib}" != "no"; then
if test "${with_contrib}" != "no"; then
AC_MSG_CHECKING([for libs in extras/contrib])
topdir="`dirname $0`"
topdir="`dirname $0`"
if test "`echo \"$topdir\" | cut -c 1`" != "/"; then
if test "`echo \"$topdir\" | cut -c 1`" != "/"; then
topdir="`pwd`/$topdir"
topdir="`pwd`/$topdir"
fi
fi
if test "`grep HOST ${topdir}/extras/contrib/config.mak |awk '{print $3}'`" != "${host_alias}"; then
if test "${with_contrib}" = "yes"; then
AC_MSG_RESULT([no])
AC_MSG_ERROR([ not using the libs in extras/contrib as it is not the same host])
else
AC_MSG_RESULT([no])
AC_MSG_WARN([ not using the libs in extras/contrib as it is not the same host])
fi
else
if test -d ${topdir}/extras/contrib/lib; then
if test -d ${topdir}/extras/contrib/lib; then
AC_MSG_RESULT([yes])
export PATH=${topdir}/extras/contrib/bin:$PATH
export PATH=${topdir}/extras/contrib/bin:$PATH
CPPFLAGS="${CPPFLAGS} -I${topdir}/extras/contrib/include"
CPPFLAGS="${CPPFLAGS} -I${topdir}/extras/contrib/include"
CPPFLAGS_save="${CPPFLAGS_save} -I${topdir}/extras/contrib/include"
CPPFLAGS_save="${CPPFLAGS_save} -I${topdir}/extras/contrib/include"
...
@@ -109,7 +118,7 @@ AC_ARG_WITH(contrib,
...
@@ -109,7 +118,7 @@ AC_ARG_WITH(contrib,
CXXFLAGS_save="${CXXFLAGS_save} -I${topdir}/extras/contrib/include"
CXXFLAGS_save="${CXXFLAGS_save} -I${topdir}/extras/contrib/include"
OBJCFLAGS="${OBJCFLAGS} -I${topdir}/extras/contrib/include"
OBJCFLAGS="${OBJCFLAGS} -I${topdir}/extras/contrib/include"
OBJCFLAGS_save="${OBJCFLAGS_save} -I${topdir}/extras/contrib/include"
OBJCFLAGS_save="${OBJCFLAGS_save} -I${topdir}/extras/contrib/include"
if test $build = $host -o
$PKG_CONFIG_LIBDIR
; then
if test $build = $host -o
"$PKG_CONFIG_LIBDIR"
; then
export PKG_CONFIG_PATH=${topdir}/extras/contrib/lib/pkgconfig:$PKG_CONFIG_PATH
export PKG_CONFIG_PATH=${topdir}/extras/contrib/lib/pkgconfig:$PKG_CONFIG_PATH
else
else
export PKG_CONFIG_LIBDIR=${topdir}/extras/contrib/lib/pkgconfig
export PKG_CONFIG_LIBDIR=${topdir}/extras/contrib/lib/pkgconfig
...
@@ -141,6 +150,9 @@ dnl kludge because only the debian package provides a ffmpeg-config
...
@@ -141,6 +150,9 @@ dnl kludge because only the debian package provides a ffmpeg-config
export LIBRARY_PATH=${topdir}/extras/contrib/lib:$LIBRARY_PATH
export LIBRARY_PATH=${topdir}/extras/contrib/lib:$LIBRARY_PATH
export BELIBRARIES=${topdir}/extras/contrib/lib:$BELIBRARIES
export BELIBRARIES=${topdir}/extras/contrib/lib:$BELIBRARIES
fi
fi
else
AC_MSG_RESULT([no])
fi
fi
fi
fi
fi
dnl
dnl
...
...
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