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
73b46a95
Commit
73b46a95
authored
Aug 24, 2007
by
Ramiro Polla
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Group network checks together
Originally committed as revision 10209 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
b1312aa2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
6 deletions
+13
-6
configure
configure
+13
-6
No files found.
configure
View file @
73b46a95
...
...
@@ -1192,7 +1192,6 @@ case $targetos in
SLIB_EXTRA_CMD
=
"-lib /machine:i386 /def:
\$
(@:
${
SLIBSUF
}
=.def)"
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 -Wl,--enable-auto-image-base"
enabled network
&&
add_extralibs
-lws2_32
;;
cygwin
*
)
targetos
=
cygwin
...
...
@@ -1542,9 +1541,6 @@ check_func gethrtime
check_header termios.h
check_header conio.h
check_header arpa/inet.h
check_header winsock2.h
check_func inet_aton
enabled zlib
&&
check_lib zlib.h zlibVersion
-lz
||
zlib
=
"no"
...
...
@@ -1631,8 +1627,6 @@ check_func getrusage
check_func2 windows.h GetProcessTimes
check_func fork
check_func closesocket
||
check_func2 winsock2.h closesocket
test
"
$vhook
"
=
"default"
&&
vhook
=
"
$dlopen
"
...
...
@@ -1687,6 +1681,19 @@ fi
texi2html
-version
>
/dev/null 2>&1
&&
enable
texi2html
||
disable texi2html
##########################################
# Network check
if
enabled network
;
then
# Prefer arpa/inet.h over winsock2
if
check_header arpa/inet.h
;
then
check_func closesocket
elif
check_header winsock2.h
;
then
add_extralibs
-lws2_32
check_func2 winsock2.h closesocket
fi
fi
##########################################
# IPv6 check
...
...
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