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
97f64152
Commit
97f64152
authored
Aug 29, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
contrib: match distribution also for x86-64 and armel
parent
d9329265
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
27 deletions
+28
-27
extras/contrib/bootstrap
extras/contrib/bootstrap
+28
-27
No files found.
extras/contrib/bootstrap
View file @
97f64152
...
...
@@ -252,37 +252,38 @@ case $HOST in
echo
"LIBRARY_PATH = /usr/lib64"
>>
config.mak
echo
"PKG_CONFIG_PATH = /usr/lib64/pkgconfig"
>>
config.mak
echo
"PKG_CONFIG_LIBDIR = /usr/lib64/pkgconfig"
>>
config.mak
cat
src/Distributions/unix.mak
>>
distro.mak
;;
*
)
if
test
"
$HOST
"
=
"
$BUILD
"
;
then
if
test
-d
"/usr/lib/pkgconfig"
;
then
if
test
-z
"
$PKG_CONFIG_PATH
"
;
then
echo
"PKG_CONFIG_PATH = /usr/lib/pkgconfig"
>>
config.mak
fi
if
test
-z
"
$PKG_CONFIG_LIBDIR
"
;
then
echo
"PKG_CONFIG_LIBDIR = /usr/lib/pkgconfig"
>>
config.mak
fi
fi
# Try to match distribution
if
test
-f
/etc/fedora-release
;
then
cat
src/Distributions/fedora.mak
>>
distro.mak
elif
test
-f
/etc/maemo_version
;
then
cat
src/Distributions/maemo.mak
>>
distro.mak
echo
'HAVE_MAEMO = 1'
>>
config.mak
else
# Default Unix-like systems
cat
src/Distributions/unix.mak
>>
distro.mak
esac
if
!
test
-f
distro.mak
;
then
if
test
!
-z
"
${
DISTRO
}
"
;
then
cat
src/Distributions/
${
DISTRO
}
.mak
>>
distro.mak
elif
test
"
$HOST
"
=
"
$BUILD
"
;
then
if
test
-d
"/usr/lib/pkgconfig"
;
then
if
test
-z
"
$PKG_CONFIG_PATH
"
;
then
echo
"PKG_CONFIG_PATH = /usr/lib/pkgconfig"
>>
config.mak
fi
else
# unknown distro
if
test
!
-z
"
${
DISTRO
}
"
;
then
cat
src/Distributions/
${
DISTRO
}
.mak
>>
distro.mak
else
cat
src/Distributions/unix.mak
>>
distro.mak
if
test
-z
"
$PKG_CONFIG_LIBDIR
"
;
then
echo
"PKG_CONFIG_LIBDIR = /usr/lib/pkgconfig"
>>
config.mak
fi
fi
;;
esac
# Try to match distribution
if
test
-f
/etc/fedora-release
;
then
cat
src/Distributions/fedora.mak
>>
distro.mak
elif
test
-f
/etc/maemo_version
;
then
cat
src/Distributions/maemo.mak
>>
distro.mak
echo
'HAVE_MAEMO = 1'
>>
config.mak
elif
test
-f
/etc/debian_version
;
then
# NOTE: check for Debian *after* its derivatives
cat
src/Distribution/debian.mak
>>
distro.mak
fi
fi
fi
if
!
test
-f
distro.mak
;
then
# Default Unix-like systems
cat
src/Distributions/unix.mak
>>
distro.mak
fi
echo
"BUILD =
$BUILD
"
>>
config.mak
echo
"HOST =
$HOST
"
>>
config.mak
...
...
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