[gnome-games] Remove obsolete binreloc build rules



commit 4a2e3377c7758059bdad91f7e6e4f27156de9033
Author: Robert Ancell <robert ancell canonical com>
Date:   Tue Jan 3 17:43:22 2012 +1100

    Remove obsolete binreloc build rules

 configure.ac |   34 ----------------------------------
 1 files changed, 0 insertions(+), 34 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 56a320c..1b4e6f6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -449,39 +449,6 @@ if test "$platform_win32" = "yes" -a "$os_win32" = "yes"; then
 fi
 
 # ********
-# Binreloc
-# ********
-
-AC_MSG_CHECKING([whether to enable binary relocation support])
-AC_ARG_ENABLE([binreloc],
-  [AS_HELP_STRING([--enable-binreloc],[enable binary relocation support (default: disabled)])],
-  [],
-  [enable_binreloc="$platform_win32"])
-AC_MSG_RESULT([$enable_binreloc])
-
-if test "$enable_binreloc" = "yes"; then
-
-  # Check that all variables use the same prefix
-  # Note: datarootdir exists only since autoconf 2.60, so we have to
-  # check for the old and the new form of datadir.
-  if test "$exec_prefix" != '${prefix}' -o \
-          "$bindir" != '${exec_prefix}/bin' -o \
-          "$sbindir" != '${exec_prefix}/sbin' -o \
-          "$libdir" != '${exec_prefix}/lib' -o \
-          "$libexecdir" != '${exec_prefix}/libexec' -o \
-          "$sysconfdir" != '${prefix}/etc' -o \
-          "$localstatedir" != '${prefix}/var' -o \
-          \( -n "$datarootdir" -a "$datarootdir" != '${prefix}/share' \) -o \
-          \( "$datadir" != '${datarootdir}' -a "$datadir" != '${prefix}/share' \) -o \
-          \( "$localedir" != '${datarootdir}/locale' -a "$localedir" != '${datadir}/locale' \) -o \
-          \( "$mandir" != '${datarootdir}/man' -a "$mandir" != '${datadir}/man' \); then
-    AC_MSG_ERROR([cannot use binary relocation with different prefixes])
-  fi
-
-  AC_DEFINE([ENABLE_BINRELOC],[1],[Define for binary relocation support])
-fi
-
-# ********
 
 AM_CFLAGS="$AM_CFLAGS $WARN_CFLAGS"
 AM_CXXFLAGS="$AM_CXXFLAGS $WARN_CXXFLAGS"
@@ -722,7 +689,6 @@ echo "
     Use setgid binaries:   ${enable_setgid}
     Scores user:           ${scores_user}
     Scores & setgid group: ${scores_group}
-    Binreloc:              ${enable_binreloc}
     Introspection data:    ${enable_introspection}
 "
 



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