Blame SOURCES/cyrus-sasl-2.1.25-no_rpath.patch

2fd749
diff -up cyrus-sasl-2.1.25/m4/cyrus.m4.no_rpath cyrus-sasl-2.1.25/m4/cyrus.m4
2fd749
--- cyrus-sasl-2.1.25/m4/cyrus.m4.no_rpath	2010-01-22 16:12:01.000000000 +0100
2fd749
+++ cyrus-sasl-2.1.25/m4/cyrus.m4	2012-12-06 14:59:47.956102057 +0100
2fd749
@@ -32,14 +32,5 @@ AC_DEFUN([CMU_ADD_LIBPATH_TO], [
2fd749
 dnl runpath initialization
2fd749
 AC_DEFUN([CMU_GUESS_RUNPATH_SWITCH], [
2fd749
    # CMU GUESS RUNPATH SWITCH
2fd749
-  AC_CACHE_CHECK(for runpath switch, andrew_cv_runpath_switch, [
2fd749
-    # first, try -R
2fd749
-    SAVE_LDFLAGS="${LDFLAGS}"
2fd749
-    LDFLAGS="-R /usr/lib"
2fd749
-    AC_TRY_LINK([],[],[andrew_cv_runpath_switch="-R"], [
2fd749
-  	LDFLAGS="-Wl,-rpath,/usr/lib"
2fd749
-    AC_TRY_LINK([],[],[andrew_cv_runpath_switch="-Wl,-rpath,"],
2fd749
-    [andrew_cv_runpath_switch="none"])
2fd749
-    ])
2fd749
-  LDFLAGS="${SAVE_LDFLAGS}"
2fd749
-  ])])
2fd749
+    andrew_runpath_switch="none"
2fd749
+  ])