Author: rurban
Date: Sun Dec 28 04:51:39 2008
New Revision: 34481
Modified:
branches/pdd30install_stage3/Configure.pl
branches/pdd30install_stage3/config/gen/makefiles/root.in
Log:
58034-config_args
Modified: branches/pdd30install_stage3/Configure.pl
==============================================================================
--- branches/pdd30install_stage3/Configure.pl (original)
+++ branches/pdd30install_stage3/Configure.pl Sun Dec 28 04:51:39 2008
@@ -63,6 +63,8 @@
# from Parrot::Configure::Data
$conf->options->set( %{$args} );
+# save the command-line
+$conf->data->set(config_args => join(" ", @ARGV));
# Log files created by Configure.pl in MANIFEST.configure.generated
$conf->{active_configuration} = 1;
Modified: branches/pdd30install_stage3/config/gen/makefiles/root.in
==============================================================================
--- branches/pdd30install_stage3/config/gen/makefiles/root.in (original)
+++ branches/pdd30install_stage3/config/gen/makefiles/root.in Sun Dec 28
04:51:39 2008
@@ -19,6 +19,7 @@
DEVEL = @DEVEL@
VERSION = @vers...@$(DEVEL)
SOVERSION = @VERSION@
+CONFIG_ARGS = @config_args@
# Override at least PREFIX with the install location if you're going
# to be using this outside of your build area.
@@ -1007,6 +1008,20 @@
lib/Parrot/OpsFile.pm lib/Parrot/Op.pm $(OPS_DIR)/ops.num
$(OPS_DIR)/ops.skip
$(PERL) $(BUILD_TOOLS_DIR)/ops2pm.pl $(OPS_FILES)
+# FIXME: This creates a cycle sometimes
+#lib/Parrot/Config/Generated.pm \
+# $(SRC_DIR)/platform.c \
+##CONDITIONED_LINE(platform_asm): $(SRC_DIR)/platform_asm.s \
+##CONDITIONED_LINE(has_opengl): config/gen/call_list/opengl.in \
+##CONDITIONED_LINE(has_glut): $(SRC_DIR)/glut_callbacks.c \
+# config_lib.pasm \
+# $(BUILD_TOOLS_DIR)/dynpmc.pl \
+# $(BUILD_TOOLS_DIR)/dynoplibs.pl \
+# : Configure.pl lib/Parrot/Configure.pm \
+# lib/Parrot/Configure/Step/List.pm lib/Parrot/Configure/Step/Methods.pm
+# @echo " Makefile out-of-date: reconfigure"
+# $(PERL) Configure.pl $(CONFIG_ARGS)
+
###############################################################################
#
# Examples (Assembly):
@@ -1787,7 +1802,7 @@
$(PERL) tools/dev/svnclobber.pl
reconfig : clean
- $(PERL) Configure.pl
+ $(PERL) Configure.pl $(CONFIG_ARGS)
manitest :
$(PERL) tools/dev/manicheck.pl