Index: coinutils-2.5.1/BuildTools/coin.m4
===================================================================
--- coinutils-2.5.1.orig/BuildTools/coin.m4	2009-07-16 18:00:50.000000000 +0200
+++ coinutils-2.5.1/BuildTools/coin.m4	2009-10-14 07:01:18.000000000 +0200
@@ -2017,56 +2017,6 @@
 # ]) # AC_COIN_DLFCN_H
 
 ###########################################################################
-#                            COIN_RPATH_FLAGS                             #
-###########################################################################
-
-# This macro, in case shared objects are used, defines a variable
-# RPATH_FLAGS that can be used by the linker to hardwire the library
-# search path for the given directories.  This is useful for example
-# Makefiles
-
-AC_DEFUN([AC_COIN_RPATH_FLAGS],
-[RPATH_FLAGS=
-
-if test $enable_shared = yes; then
-  case $build in
-    *-linux-*)
-      if test "$GXX" = "yes"; then
-        RPATH_FLAGS=
-        for dir in $1; do
-          RPATH_FLAGS="$RPATH_FLAGS -Wl,--rpath -Wl,$dir"
-        done
-      fi ;;
-    *-darwin*)
-        RPATH_FLAGS=nothing ;;
-    *-ibm-*)
-      case "$CXX" in
-      xlC* | */xlC* | mpxlC* | */mpxlC*)
-        RPATH_FLAGS=nothing ;;
-      esac ;;
-    *-hp-*)
-        RPATH_FLAGS=nothing ;;
-    *-mingw32)
-        RPATH_FLAGS=nothing ;;
-    *-*-solaris*)
-        RPATH_FLAGS=
-        for dir in $1; do
-          RPATH_FLAGS="$RPATH_FLAGS -R$dir"
-        done
-  esac
-
-  if test "$RPATH_FLAGS" = ""; then
-    AC_MSG_WARN([Could not automatically determine how to tell the linker about automatic inclusion of the path for shared libraries.  The test examples might not work if you link against shared objects.  You will need to set the LD_LIBRARY_PATH, DYLP_LIBRARY_PATH, or LIBDIR variable manually.])
-  fi
-  if test "$RPATH_FLAGS" = "nothing"; then
-    RPATH_FLAGS=
-  fi
-fi
-
-AC_SUBST(RPATH_FLAGS)
-]) # AC_COIN_RPATH_FLAGS
-
-###########################################################################
 #                        COIN_LINK_INPUT_CMD                              #
 ###########################################################################
 
