]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/tools/build/src/tools/zlib.jam
update sources to v12.2.3
[ceph.git] / ceph / src / boost / tools / build / src / tools / zlib.jam
index 5a7d5fbdf57fd24abc96730fc6cbc6cb1768d027..45dc4767a828f376ce100c8f8970a22410b81401 100644 (file)
@@ -94,7 +94,10 @@ rule init (
 
     : is-default ?
     # Default configurations are only used when zlib
-    # has not yet been configured.
+    # has not yet been configured.  This option is
+    # deprecated.  A configuration will be treated
+    # as a default when none of <include>, <search>,
+    # <name>, and <source> are present.
     )
 {
     local caller = [ project.current ] ;
@@ -121,6 +124,11 @@ rule init (
     local build-name = [ property.select <build-name> : $(options) ] ;
     build-name = $(build-name:G=) ;
 
+    if ! $(library-path) && ! $(include-path) && ! $(source-path) && ! $(library-name)
+    {
+        is-default = true ;
+    }
+
     condition = [ property-set.create $(requirements) ] ;
     condition = [ property-set.create [ $(condition).base ] ] ;