Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFmpeg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libremedia
Tethys
FFmpeg
Commits
4a5444db
Commit
4a5444db
authored
18 years ago
by
Måns Rullgård
Browse files
Options
Downloads
Patches
Plain Diff
case insensitive OS name
Originally committed as revision 8018 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
fda51641
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
configure
+18
-14
18 additions, 14 deletions
configure
with
18 additions
and
14 deletions
configure
+
18
−
14
View file @
4a5444db
...
...
@@ -213,6 +213,10 @@ toupper(){
echo
"
$@
"
|
tr
'[a-z]'
'[A-Z]'
}
tolower
(){
echo
"
$@
"
|
tr
'[A-Z]'
'[a-z]'
}
set_all
(){
value
=
$1
shift
...
...
@@ -943,8 +947,8 @@ esac
# OS specific
osextralibs
=
"-lm"
case
$targetos
in
BeOS|H
aiku|
Z
eta
)
case
`
tolower
$targetos
`
in
beos|h
aiku|
z
eta
)
PREFIX
=
"
$HOME
/config"
# helps building libavcodec
add_cflags
"-DPIC -fomit-frame-pointer"
...
...
@@ -973,18 +977,18 @@ case $targetos in
beos_netserver
=
"yes"
osextralibs
=
"-lnet"
fi
;;
S
un
OS
)
s
un
os
)
dv1394
=
"no"
FFLDFLAGS
=
""
FFSERVERLDFLAGS
=
""
SHFLAGS
=
"-shared -Wl,-h,
\$
@"
add_extralibs
"-lsocket -lnsl"
;;
N
et
BSD
)
n
et
bsd
)
dv1394
=
"no"
add_extralibs
"-lossaudio"
;;
O
pen
BSD
)
o
pen
bsd
)
dv1394
=
"no"
need_memalign
=
"no"
LIBOBJFLAGS
=
"
\$
(PIC)"
...
...
@@ -995,21 +999,21 @@ case $targetos in
SLIBNAME_WITH_MAJOR
=
'$(SLIBNAME)'
add_extralibs
"-lossaudio"
;;
F
ree
BSD
)
f
ree
bsd
)
dv1394
=
"no"
need_memalign
=
"no"
add_cflags
"-pthread"
;;
GNU
/k
F
ree
BSD
)
gnu
/k
f
ree
bsd
)
dv1394
=
"no"
add_cflags
"-pthread"
;;
BSD/OS
)
bsd/os
)
dv1394
=
"no"
osextralibs
=
"-lpoll -lgnugetopt -lm"
strip
=
"strip -d"
;;
D
arwin
)
d
arwin
)
cc
=
"cc"
dv1394
=
"no"
need_memalign
=
"no"
...
...
@@ -1023,7 +1027,7 @@ case $targetos in
SLIBNAME_WITH_MAJOR
=
'$(SLIBPREF)$(NAME).$(LIBMAJOR)$(SLIBSUF)'
FFSERVERLDFLAGS
=
-Wl
,-bind_at_load
;;
MINGW
32
*
)
mingw
32
*
)
mingw32
=
"yes"
if
enabled_all shared static
;
then
cat
<<
EOF
...
...
@@ -1049,7 +1053,7 @@ EOF
SLIB_INSTALL_EXTRA_CMD
=
"-install -m 644
\$
(SLIBNAME_WITH_MAJOR:
\$
(SLIBSUF)=.lib)
\"\$
(shlibdir)/
\$
(SLIBNAME_WITH_MAJOR:
\$
(SLIBSUF)=.lib)
\"
"
SHFLAGS
=
"-shared -Wl,--output-def,
\$
(@:
${
SLIBSUF
}
=.def),--out-implib,lib
\$
(SLIBNAME:
\$
(SLIBSUF)=.dll.a) -Wl,--enable-runtime-pseudo-reloc"
;;
CYGWIN
*
)
cygwin
*
)
targetos
=
CYGWIN
shlibdir
=
"
$bindir
"
dv1394
=
"no"
...
...
@@ -1063,14 +1067,14 @@ EOF
SLIBNAME_WITH_MAJOR
=
'$(SLIBPREF)$(NAME)-$(LIBMAJOR)$(SLIBSUF)'
SHFLAGS
=
'-shared -Wl,--out-implib=lib$(NAME).dll.a'
;;
L
inux
)
l
inux
)
LDLATEFLAGS
=
"-Wl,--as-needed
$LDLATEFLAGS
"
;;
IRIX
*
)
irix
*
)
targetos
=
IRIX
ranlib
=
"echo ignoring ranlib"
;;
OS
/2
)
os
/2
)
TMPE
=
$TMPE
".exe"
ar
=
"emxomfar -p128"
ranlib
=
"echo ignoring ranlib"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment