src/main/resources/make/configure.vm

changeset 122
5706694c17c4
parent 116
41981a23aff8
child 123
d89b75fdf0aa
--- a/src/main/resources/make/configure.vm	Sat Nov 02 14:23:45 2024 +0100
+++ b/src/main/resources/make/configure.vm	Tue Nov 12 16:53:27 2024 +0100
@@ -568,6 +568,18 @@
         unset ${feature.varName}
     fi
 fi
+if [ -n "${D}${feature.varName}" ]; then
+    :
+#foreach( $def in $feature.defines )
+    TEMP_CFLAGS="$TEMP_CFLAGS ${def.toFlags()}"
+    TEMP_CXXFLAGS="$TEMP_CXXFLAGS ${def.toFlags()}"
+#end
+#if( $feature.hasMake() )
+    cat >> "$TEMP_DIR/make.mk" << __EOF__
+$feature.make
+__EOF__
+#end
+fi
 #end
 
 #foreach( $opt in $target.options )

mercurial