Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
4a908fbc
Commit
4a908fbc
authored
May 21, 2002
by
Alex Beregszaszi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BSD/OS support by Steven M Schultz
Originally committed as revision 554 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
747a67fb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
configure
configure
+11
-1
No files found.
configure
View file @
4a908fbc
...
@@ -21,6 +21,7 @@ prefix="/usr/local"
...
@@ -21,6 +21,7 @@ prefix="/usr/local"
cross_prefix
=
""
cross_prefix
=
""
cc
=
"gcc"
cc
=
"gcc"
ar
=
"ar"
ar
=
"ar"
make
=
"make"
strip
=
"strip"
strip
=
"strip"
cpu
=
`
uname
-m
`
cpu
=
`
uname
-m
`
mmx
=
"default"
mmx
=
"default"
...
@@ -64,6 +65,11 @@ else
...
@@ -64,6 +65,11 @@ else
echo
"Not sure building for net_server will succeed... good luck."
echo
"Not sure building for net_server will succeed... good luck."
extralibs
=
"-lsocket"
extralibs
=
"-lsocket"
fi
;;
fi
;;
BSD/OS
)
grab
=
"no"
extralibs
=
"-lpoll -lgnugetopt -lm"
make
=
"gmake"
;;
*
)
;;
*
)
;;
esac
esac
...
@@ -88,6 +94,8 @@ for opt do
...
@@ -88,6 +94,8 @@ for opt do
;;
;;
--cc
=
*
)
cc
=
`
echo
$opt
|
cut
-d
'='
-f
2
`
--cc
=
*
)
cc
=
`
echo
$opt
|
cut
-d
'='
-f
2
`
;;
;;
--make
=
*
)
make
=
`
echo
$opt
|
cut
-d
'='
-f
2
`
;;
--extra-cflags
=
*
)
CFLAGS
=
"
${
opt
#--extra-cflags=
}
"
--extra-cflags
=
*
)
CFLAGS
=
"
${
opt
#--extra-cflags=
}
"
;;
;;
--extra-ldflags
=
*
)
LDFLAGS
=
${
opt
#--extra-ldflags=
}
--extra-ldflags
=
*
)
LDFLAGS
=
${
opt
#--extra-ldflags=
}
...
@@ -189,6 +197,7 @@ echo "Advanced options (experts only):"
...
@@ -189,6 +197,7 @@ echo "Advanced options (experts only):"
echo
" --source-path=PATH path of source code [
$source_path
]"
echo
" --source-path=PATH path of source code [
$source_path
]"
echo
" --cross-prefix=PREFIX use PREFIX for compile tools [
$cross_prefix
]"
echo
" --cross-prefix=PREFIX use PREFIX for compile tools [
$cross_prefix
]"
echo
" --cc=CC use C compiler CC [
$cc
]"
echo
" --cc=CC use C compiler CC [
$cc
]"
echo
" --make=MAKE use specified make [
$make
]"
echo
" --extra-cflags=ECFLAGS add ECFLAGS to CFLAGS [
$CFLAGS
]"
echo
" --extra-cflags=ECFLAGS add ECFLAGS to CFLAGS [
$CFLAGS
]"
echo
" --extra-ldflags=ELDFLAGS add ELDFLAGS to LDFLAGS [
$LDFLAGS
]"
echo
" --extra-ldflags=ELDFLAGS add ELDFLAGS to LDFLAGS [
$LDFLAGS
]"
echo
" --extra-libs=ELIBS add ELIBS [
$ELIBS
]"
echo
" --extra-libs=ELIBS add ELIBS [
$ELIBS
]"
...
@@ -203,6 +212,7 @@ fi
...
@@ -203,6 +212,7 @@ fi
echo
"Install prefix
$prefix
"
echo
"Install prefix
$prefix
"
echo
"Source path
$source_path
"
echo
"Source path
$source_path
"
echo
"C compiler
$cc
"
echo
"C compiler
$cc
"
echo
"make
$make
"
echo
"CPU
$cpu
"
echo
"CPU
$cpu
"
echo
"Big Endian
$bigendian
"
echo
"Big Endian
$bigendian
"
echo
"MMX enabled
$mmx
"
echo
"MMX enabled
$mmx
"
...
@@ -217,7 +227,7 @@ echo "# Automatically generated by configure - do not modify" > config.mak
...
@@ -217,7 +227,7 @@ echo "# Automatically generated by configure - do not modify" > config.mak
echo
"/* Automatically generated by configure - do not modify */"
>
$TMPH
echo
"/* Automatically generated by configure - do not modify */"
>
$TMPH
echo
"prefix=
$prefix
"
>>
config.mak
echo
"prefix=
$prefix
"
>>
config.mak
echo
"MAKE=make"
>>
config.mak
echo
"MAKE=
$
make
"
>>
config.mak
echo
"CC=
$cc
"
>>
config.mak
echo
"CC=
$cc
"
>>
config.mak
echo
"AR=
$ar
"
>>
config.mak
echo
"AR=
$ar
"
>>
config.mak
echo
"STRIP=
$strip
"
>>
config.mak
echo
"STRIP=
$strip
"
>>
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