_non-linux
FTBFS on kfreebsd, hurd Addresses-Debian-Bug: 741285, 746540 Signed-off-by: LaMont Jones <lamont@debian.org> Gbp-Pq: Name 0001-non-linux.diff
This commit is contained in:
parent
84d4bb59e0
commit
25697515dc
|
@ -452,7 +452,7 @@ case "$host" in
|
||||||
# as it breaks how the two halves (Basic and Advanced) of the IPv6
|
# as it breaks how the two halves (Basic and Advanced) of the IPv6
|
||||||
# Socket API were designed to be used but we have to live with it.
|
# Socket API were designed to be used but we have to live with it.
|
||||||
# Define _GNU_SOURCE to pull in the IPv6 Advanced Socket API.
|
# Define _GNU_SOURCE to pull in the IPv6 Advanced Socket API.
|
||||||
*-linux* | *-kfreebsd*-gnu*)
|
*-linux* | *-kfreebsd*-gnu* | *-gnu*)
|
||||||
STD_CDEFINES="$STD_CDEFINES -D_GNU_SOURCE"
|
STD_CDEFINES="$STD_CDEFINES -D_GNU_SOURCE"
|
||||||
CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
|
CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
|
||||||
;;
|
;;
|
||||||
|
@ -1370,7 +1370,7 @@ then
|
||||||
# LinuxThreads requires some changes to the way we
|
# LinuxThreads requires some changes to the way we
|
||||||
# deal with signals.
|
# deal with signals.
|
||||||
#
|
#
|
||||||
*-linux*)
|
*-linux*|*-kfreebsd*-gnu)
|
||||||
AC_DEFINE(HAVE_LINUXTHREADS)
|
AC_DEFINE(HAVE_LINUXTHREADS)
|
||||||
;;
|
;;
|
||||||
#
|
#
|
||||||
|
@ -2755,7 +2755,6 @@ case "$host" in
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
AC_CHECK_LIB(socket, socket)
|
AC_CHECK_LIB(socket, socket)
|
||||||
AC_CHECK_LIB(nsl, inet_addr)
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue