[gtk/gtk-3-24: 1/2] build: remove unused checks for sockaddr_un.sun_len
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/gtk-3-24: 1/2] build: remove unused checks for sockaddr_un.sun_len
- Date: Wed, 3 Apr 2019 10:29:27 +0000 (UTC)
commit 9fe71ccdc176b4d54f93eefee9fee34a71bf5cd3
Author: Christoph Reiter <creiter src gnome org>
Date: Tue Apr 2 18:43:57 2019 +0200
build: remove unused checks for sockaddr_un.sun_len
It sets HAVE_SOCKADDR_UN_SUN_LEN which is unused since d3ab2fe19cd287c
config.h.win32.in | 3 ---
configure.ac | 31 -------------------------------
2 files changed, 34 deletions(-)
---
diff --git a/config.h.win32.in b/config.h.win32.in
index f65660c797..50471ff449 100644
--- a/config.h.win32.in
+++ b/config.h.win32.in
@@ -154,9 +154,6 @@
/* Define to 1 if sincos() is available */
/* #undef HAVE_SINCOS */
-/* Have the sockaddr_un.sun_len member */
-/* #undef HAVE_SOCKADDR_UN_SUN_LEN */
-
/* Define to 1 if solaris xinerama is available */
/* #undef HAVE_SOLARIS_XINERAMA */
diff --git a/configure.ac b/configure.ac
index d315a54807..cfe41450c5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1503,37 +1503,6 @@ AC_SUBST(GTK_XIM_FLAGS)
GDK_PIXBUF_LIBS=`$PKG_CONFIG --libs gdk-pixbuf-2.0`
AC_SUBST(GDK_PIXBUF_LIBS)
-########################
-# Checks needed for gail
-########################
-
-old_LIBS="$LIBS"
-dnl Checks for inet libraries:
-AC_SEARCH_LIBS(gethostent, nsl)
-AC_SEARCH_LIBS(setsockopt, socket)
-AC_SEARCH_LIBS(connect, inet)
-
-dnl check for the sockaddr_un.sun_len member
-AC_CHECK_MEMBER([struct sockaddr_un.sun_len],
- [struct_sockaddr_un_sun_len=true],
- [struct_sockaddr_un_suin_len=false],
- [#include <sys/types.h>
- #include <sys/un.h>]
- )
-case $struct_sockaddr_un_sun_len in
- true)
- AC_DEFINE_UNQUOTED(HAVE_SOCKADDR_UN_SUN_LEN, 1,
- [Have the sockaddr_un.sun_len member])
- ;;
- *)
- ;;
-esac
-
-GAIL_INET_LIBS="$LIBS"
-AC_SUBST([GAIL_INET_LIBS])
-
-LIBS="$old_LIBS"
-
################################################################
# Printing system checks
################################################################
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]