[gnome-games] Remove unused PF_LOCAL/PF_UNIX build rules



commit 6ffceb2ec8676d65d2e68486d66d81037cecb1dd
Author: Robert Ancell <robert ancell canonical com>
Date:   Tue Jan 3 17:27:27 2012 +1100

    Remove unused PF_LOCAL/PF_UNIX build rules

 configure.ac |   24 ------------------------
 1 files changed, 0 insertions(+), 24 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 0c2dc08..8c19519 100644
--- a/configure.ac
+++ b/configure.ac
@@ -510,30 +510,6 @@ AC_HEADER_STDC
 
 AC_FUNC_FORK
 
-# Check for PF_LOCAL/PF_UNIX
-# ==========================
-# There should be an autoconf macro to check this???
-#
-# Not having this is not necessarily a fatal error.  It should mean that
-# the WinAPI interface is used instead.
-AC_MSG_CHECKING([for PF_LOCAL])
-AC_EGREP_CPP(PF_LOCAL,
-             [#include <sys/types.h>
-              #include <sys/socket.h>
-              PF_LOCAL ],
-             [AC_MSG_RESULT(no)
-              AC_MSG_CHECKING([for PF_UNIX])
-              AC_EGREP_CPP(PF_UNIX, [ #include <sys/types.h>
-                                      #include <sys/socket.h>
-				      PF_UNIX ],
-                           [AC_MSG_RESULT(no)],
-                           [AC_MSG_RESULT(yes)
-                            AC_DEFINE([PF_LOCAL], PF_UNIX,
-				      [PF_UNIX is available])
-			    AC_DEFINE([AF_LOCAL], AF_UNIX,
-				      [AF_UNIX is available])])], 
-             AC_MSG_RESULT(yes))
-
 # Check for header files
 # ======================
 AC_CHECK_HEADERS([fcntl.h libintl.h limits.h locale.h sys/time.h time.h \



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]