41119cf
--- configure.old	2010-04-02 20:43:45.000000000 +0300
41119cf
+++ configure		2010-04-03 23:26:57.365947610 +0300
41119cf
@@ -6727,14 +6727,14 @@ 
46f31ca
 
0ccc007
 fi
46f31ca
 
0ccc007
-      as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
0ccc007
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
5399e62
-$as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
5399e62
+      as_ac_var=`$as_echo "ac_cv_cflags_-fPIC" | $as_tr_sh`
0ccc007
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC" >&5
41119cf
+$as_echo_n "checking whether the compiler supports -fPIC" >&6; }
0ccc007
 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then :
5399e62
   $as_echo_n "(cached) " >&6
d229248
 else
d229248
   ac_wine_try_cflags_saved=$CFLAGS
d229248
-CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
d229248
+CFLAGS="$CFLAGS -fPIC"
0ccc007
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
0ccc007
 /* end confdefs.h.  */
41119cf
 int main(int argc, char **argv) { return 0; }
41119cf
@@ -6752,17 +6752,17 @@ 
0ccc007
 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5399e62
 $as_echo "$ac_res" >&6; }
0ccc007
 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
d1fcaa2
-  LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
d1fcaa2
-                       LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
d1fcaa2
+  LDRPATH_INSTALL=""
41119cf
+  LDRPATH_LOCAL=""
aa88bf7
 else
aa88bf7
-  as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
aa88bf7
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
aa88bf7
-$as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
aa88bf7
+  as_ac_var=`$as_echo "ac_cv_cflags_-fPIC" | $as_tr_sh`
aa88bf7
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC" >&5
41119cf
+$as_echo_n "checking whether the compiler supports -fPIC" >&6; }
aa88bf7
 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then :
aa88bf7
   $as_echo_n "(cached) " >&6
8009fb6
 else
aa88bf7
   ac_wine_try_cflags_saved=$CFLAGS
aa88bf7
-CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
aa88bf7
+CFLAGS="$CFLAGS -fPIC"
aa88bf7
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
aa88bf7
 /* end confdefs.h.  */
41119cf
 int main(int argc, char **argv) { return 0; }