Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liblongpath-rsync
Project
Project
Details
Activity
Releases
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liblongpath
liblongpath-rsync
Commits
22cd0063
Commit
22cd0063
authored
Nov 26, 2001
by
Martin Pool
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Attempted clean up some of the IPv6 tests.
parent
3d2e458a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
45 deletions
+2
-45
configure.in
configure.in
+2
-45
No files found.
configure.in
View file @
22cd0063
...
@@ -90,29 +90,10 @@ if test x"$rsync_cv_HAVE_BROKEN_LARGEFILE" != x"yes"; then
...
@@ -90,29 +90,10 @@ if test x"$rsync_cv_HAVE_BROKEN_LARGEFILE" != x"yes"; then
AC_SYS_LARGEFILE
AC_SYS_LARGEFILE
fi
fi
dnl AC_DEFINE(ss_family, __ss_family, [KAME hack])
dnl AC_DEFINE(ss_len, __ss_len, [KAME hack])
CFLAGS="$CFLAGS"
AC_ARG_ENABLE(ipv6,
AC_HELP_STRING([--enable-ipv6], [try to support IPv6]))
AC_MSG_CHECKING([whether IPv6 is requested])
if test "$xenable_ipv6" = xyes
then
AC_MSG_RESULT(yes)
ipv6=yes
else
AC_MSG_RESULT(no)
ipv6=no
fi
ipv6type=unknown
ipv6type=unknown
ipv6lib=none
ipv6lib=none
ipv6trylibc=
no
ipv6trylibc=
yes
if test "$ipv6" = "yes"; then
AC_MSG_CHECKING([ipv6 stack type])
AC_MSG_CHECKING([ipv6 stack type])
for i in inria kame linux-glibc linux-inet6 toshiba v6d zeta; do
for i in inria kame linux-glibc linux-inet6 toshiba v6d zeta; do
case $i in
case $i in
...
@@ -197,32 +178,8 @@ yes
...
@@ -197,32 +178,8 @@ yes
fi
fi
done
done
AC_MSG_RESULT($ipv6type)
AC_MSG_RESULT($ipv6type)
fi
if test "$ipv6" = "yes" -a -f /usr/local/v6/lib/libinet6.a; then
ac_inet6_LDFLAGS="inet6"
ipv6libdir=/usr/local/v6/lib
LDFLAGS="$LDFLAGS -L/usr/local/v6/lib"
AC_CHECK_LIB(inet6, getaddrinfo, , ipv6lib="$ac_inet6_LDFLAGS")
fi
if test "$ipv6" = "yes" -a -f /usr/lib/libinet6.a; then
AC_SEARCH_LIBS(getaddrinfo, inet6)
ac_inet6_LDFLAGS="inet6"
AC_CHECK_LIB(inet6, getaddrinfo, , ipv6lib="$ac_inet6_LDFLAGS")
fi
if test "$ipv6" = "yes" -a "$ipv6lib" != "none"; then
if test -d $ipv6libdir -a -f $ipv6libdir/lib$ipv6lib.a; then
LIBS="-L$ipv6libdir -l$ipv6lib $LIBS"
AC_MSG_NOTICE([You have $ipv6lib library, using it])
else
if test "$ipv6trylibc" = "yes"; then
AC_MSG_WARN([You do not have $ipv6lib library, using libc])
else
AC_MSG_ERROR([No $ipv6lib library found. cannot continue. You need to fetch lib$ipv6lib.a from appropriate ipv6 kit and compile beforehand.])
fi
fi
fi
AC_C_BIGENDIAN
AC_C_BIGENDIAN
AC_HEADER_DIRENT
AC_HEADER_DIRENT
...
...
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