85de186
--- configure.orig	2009-08-26 11:47:17.000000000 +0200
85de186
+++ configure	2009-08-26 11:50:07.000000000 +0200
85de186
@@ -6565,14 +6565,14 @@
ae0d4ed
 
85de186
 fi
ae0d4ed
 
85de186
-      as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
85de186
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
f61749e
-$as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
f61749e
+      as_ac_var=`$as_echo "ac_cv_cflags_-fPIC" | $as_tr_sh`
85de186
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC" >&5
85de186
+$as_echo_n "checking whether the compiler supports -fPIC " >&6; }
85de186
 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then :
f61749e
   $as_echo_n "(cached) " >&6
6e0fcb5
 else
6e0fcb5
   ac_wine_try_cflags_saved=$CFLAGS
6e0fcb5
-CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
6e0fcb5
+CFLAGS="$CFLAGS -fPIC"
85de186
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
85de186
 /* end confdefs.h.  */
85de186
 
85de186
@@ -6597,8 +6597,8 @@
85de186
 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
f61749e
 $as_echo "$ac_res" >&6; }
85de186
 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
3ac146d
-  LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
3ac146d
-                       LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
3ac146d
+  LDRPATH_INSTALL=""
c61ab5b
+  LDRPATH_LOCAL=""
f42fe4a
 else
85de186
   as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
85de186
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5