Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
ee88921f
Commit
ee88921f
authored
Apr 08, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix contrib automatic non-detection
parent
907a6c23
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
configure.ac
configure.ac
+9
-9
No files found.
configure.ac
View file @
ee88921f
...
@@ -108,10 +108,9 @@ dnl Check for the contrib directory
...
@@ -108,10 +108,9 @@ dnl Check for the contrib directory
dnl
dnl
AC_ARG_WITH(contrib,
AC_ARG_WITH(contrib,
[ --without-contrib do not use the libraries in CONTRIB_DIR],[],[])
[ --without-contrib do not use the libraries in CONTRIB_DIR],[],[])
AS_IF([test "${with_contrib}" != "no"],[
AC_ARG_VAR([CONTRIB_DIR], [directory containing pre-built contrib, overriding extras/contrib])
AC_ARG_VAR([CONTRIB_DIR], [directory containing pre-built contrib, overriding extras/contrib])
AS_IF([test "${with_contrib}" != "no"],[
if test -z "$CONTRIB_DIR"
AS_IF([test -z "$CONTRIB_DIR"], [
then
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"
...
@@ -122,8 +121,8 @@ AC_ARG_WITH(contrib,
...
@@ -122,8 +121,8 @@ AC_ARG_WITH(contrib,
gccmachine=`$CC -dumpmachine`
gccmachine=`$CC -dumpmachine`
CONTRIB_DIR="${topdir}/extras/contrib/hosts/${gccmachine}"
CONTRIB_DIR="${topdir}/extras/contrib/hosts/${gccmachine}"
fi
fi
fi
])
AC_MSG_CHECKING([for libs in ${CONTRIB_DIR}])
AC_MSG_CHECKING([for libs in ${CONTRIB_DIR}])
AS_IF([test -d "${CONTRIB_DIR}/lib"],[
AS_IF([test -d "${CONTRIB_DIR}/lib"],[
AC_MSG_RESULT([yes])
AC_MSG_RESULT([yes])
AC_SUBST(CONTRIB_DIR)
AC_SUBST(CONTRIB_DIR)
...
@@ -158,9 +157,10 @@ AC_ARG_WITH(contrib,
...
@@ -158,9 +157,10 @@ AC_ARG_WITH(contrib,
export LIBRARY_PATH="${CONTRIB_DIR}/lib:$LIBRARY_PATH"
export LIBRARY_PATH="${CONTRIB_DIR}/lib:$LIBRARY_PATH"
export BELIBRARIES="${CONTRIB_DIR}/lib:$BELIBRARIES"
export BELIBRARIES="${CONTRIB_DIR}/lib:$BELIBRARIES"
fi
fi
],[
],[
AC_MSG_RESULT([no])
AC_MSG_RESULT([no])
])
CONTRIB_DIR=""
])
])
])
dnl
dnl
dnl Set default values
dnl Set default values
...
...
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