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 fd063ad..64cd8c7 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 408d557..36b98cb 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 76e1f38..37264f3 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 b071817..5abfa51 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')