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

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