Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
a227eaa0
Commit
a227eaa0
authored
Jul 27, 2005
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix inet_pton check
parent
541441bf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
8 deletions
+7
-8
configure.ac
configure.ac
+7
-8
No files found.
configure.ac
View file @
a227eaa0
...
@@ -1833,25 +1833,24 @@ fi
...
@@ -1833,25 +1833,24 @@ fi
dnl
dnl
dnl ipv6 plugin - not for QNX yet
dnl ipv6 plugin - not for QNX yet
dnl
dnl
AC_CHECK_FUNCS(inet_pton,[have_ipv6=:],[
have_ipv6=no
AC_CHECK_FUNCS(inet_pton,[have_ipv6=yes],[
AC_CHECK_LIB(resolv,inet_pton,
AC_CHECK_LIB(resolv,inet_pton,
[have_ipv6=
:
[have_ipv6=
yes
VLC_ADD_LDFLAGS([ipv6],[-lresolv])])
VLC_ADD_LDFLAGS([ipv6],[-lresolv])])
])
])
AS_IF([
${have_ipv6}
], [
AS_IF([
test "${have_ipv6}" == "yes"
], [
AC_DEFINE(HAVE_INET_PTON, 1, [Define to 1 if you have inet_pton().])])
AC_DEFINE(HAVE_INET_PTON, 1, [Define to 1 if you have inet_pton().])])
if test "${SYS}" != "nto" &&
if test "${SYS}" != "nto" &&
test "${SYS}" != "mingw32" -a "${SYS}" != "mingwce"
test "${SYS}" != "mingw32" -a "${SYS}" != "mingwce"
then
then
have_ipv6=false
AC_MSG_CHECKING(for sockaddr_in6 in netinet/in.h)
AC_MSG_CHECKING(for sockaddr_in6 in netinet/in.h)
AC_EGREP_HEADER(sockaddr_in6,netinet/in.h,
AC_EGREP_HEADER(sockaddr_in6,netinet/in.h,
[AC_MSG_RESULT(yes)], [AC_MSG_RESULT(no); have_ipv6=false])
[AC_MSG_RESULT(yes)], [AC_MSG_RESULT(no); have_ipv6=no])
if ${have_ipv6}; then
AS_IF([test "${have_ipv6}" != "no"], [
VLC_ADD_PLUGINS([ipv6])
VLC_ADD_PLUGINS([ipv6])])
fi
fi
fi
if test "${SYS}" = "mingw32"
if test "${SYS}" = "mingw32"
then
then
...
...
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