Don't build iniparser anymore.
authorJeremy Allison <jra@samba.org>
Wed, 13 Aug 2014 23:40:40 +0000 (16:40 -0700)
committerJeremy Allison <jra@samba.org>
Thu, 14 Aug 2014 19:27:13 +0000 (21:27 +0200)
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
buildtools/wafsamba/samba3.py
buildtools/wafsamba/samba_third_party.py
wscript
wscript_build

index fd063ad8c472a09d44835a0f1ee241aff28d388b..64cd8c7453c754648feacba85046a2a6293dd91c 100644 (file)
@@ -94,12 +94,6 @@ def s3_fix_kwargs(bld, kwargs):
     else:
         extra_includes += [ '../lib/popt' ]
 
-    if bld.CONFIG_SET('USING_SYSTEM_INIPARSER'):
-        (iniparser_includes, iniparser_ldflags, iniparser_cpppath) = library_flags(bld, 'iniparser')
-        extra_includes += iniparser_cpppath
-    else:
-        extra_includes += [ '../lib/iniparser' ]
-
     # s3 builds assume that they will have a bunch of extra include paths
     includes = []
     for d in extra_includes:
index 408d5579a7e57fa424ff72aa081075c5952b5c0d..36b98cb049a0cf62bb79d091d050e45a6183704c 100644 (file)
@@ -10,12 +10,6 @@ def CHECK_FOR_THIRD_PARTY(conf):
 
 Build.BuildContext.CHECK_FOR_THIRD_PARTY = CHECK_FOR_THIRD_PARTY
 
-@conf
-def CHECK_INIPARSER(conf):
-    return conf.CHECK_BUNDLED_SYSTEM('iniparser', checkfunctions='iniparser_load', headers='iniparser.h')
-
-Build.BuildContext.CHECK_INIPARSER = CHECK_INIPARSER
-
 @conf
 def CHECK_ZLIB(conf):
     version_check='''
diff --git a/wscript b/wscript
index 76e1f384cd706c1c5f0378a629d30958c62bcf47..37264f3fc7dc4f616349523a5efe7417b6d90b4a 100644 (file)
--- a/wscript
+++ b/wscript
@@ -122,15 +122,9 @@ def configure(conf):
     conf.RECURSE('dynconfig')
 
     if conf.CHECK_FOR_THIRD_PARTY():
-        conf.RECURSE('third_party/iniparser/src')
         conf.RECURSE('third_party/zlib')
         conf.RECURSE('third_party/popt')
     else:
-        if not conf.CHECK_INIPARSER():
-            raise Utils.WafError('iniparser development packages have not been found.\nIf third_party is installed, check that it is in the proper place.')
-        else:
-            conf.define('USING_SYSTEM_INIPARSER', 1)
-
         if not conf.CHECK_ZLIB():
             raise Utils.WafError('zlib development packages have not been found.\nIf third_party is installed, check that it is in the proper place.')
         else:
index b0718177c54cc469d3721c626dcc71b7ff0ca75f..5abfa51a2c1ed779a516009e7a72ca5764b12f05 100644 (file)
@@ -72,7 +72,6 @@ bld.RECURSE('lib/socket_wrapper')
 bld.RECURSE('lib/nss_wrapper')
 bld.RECURSE('lib/uid_wrapper')
 if bld.CHECK_FOR_THIRD_PARTY():
-    bld.RECURSE('third_party/iniparser/src')
     bld.RECURSE('third_party/zlib')
     bld.RECURSE('third_party/popt')
 bld.RECURSE('source4/lib/stream')