build: much better rpath test function
[nivanova/samba-autobuild/.git] / buildtools / wafsamba / samba_autoconf.py
index ec069485dae6f33e30dda132a91d0f24155d4b14..bc888d557d3ac665f19369f94376c8ebda551fb1 100644 (file)
@@ -534,15 +534,6 @@ def CURRENT_CFLAGS(bld, target, cflags):
     ret.extend(list)
     return ret
 
-@conf
-def CHECK_RPATH_SUPPORT(conf):
-    '''see if the system supports rpath'''
-    return conf.CHECK_CODE('int x',
-                           define='HAVE_RPATH_SUPPORT',
-                           execute=True,
-                           local_include=False,
-                           msg='Checking for rpath support',
-                           cflags='-Wl,-rpath=.')
 
 @conf
 def CHECK_CC_ENV(conf):