# New Ticket Created by  Leopold Toetsch 
# Please include the string:  [perl #17517]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=17517 >


Attached patch
- removes the annoying and wrong rerun of Configure.pl
- adds a comment WRT --ask

Rerunning Configure all the time destroys user selected config options 
and replaces them by the default options (and is a PITA anyway;-)

I did e.g.

$ ./Configure --ask
......
ccflags: :rem{-g}:add{-O2}
......

$ make # Configure was rerun, destroying above change

There should probably be a switch to Configure like --myconfig, to 
select the proper options from there.
It would be nice to have a Term::Readline support for prompt, it could 
be eval'ed for availability.

Please apply until there are better solutions.
Thanks,
leo


-- attachment  1 ------------------------------------------------------
url: http://rt.perl.org/rt2/attach/38296/31159/622d39/build.patch

--- parrot/config/gen/makefiles/root.in Mon Sep  9 11:42:20 2002
+++ parrot-leo/config/gen/makefiles/root.in     Mon Sep 23 09:25:24 2002
@@ -419,8 +419,8 @@
 
 misc$(O) : $(H_FILES)
 
-$(STICKY_FILES) : Configure.pl
-       $(PERL) Configure.pl
+# $(STICKY_FILES) : Configure.pl
+#      $(PERL) Configure.pl
 
 $(INC)/vtable.h : vtable.tbl vtable_h.pl
        $(PERL) vtable_h.pl
--- parrot/Configure.pl Fri Aug 23 09:32:45 2002
+++ parrot-leo/Configure.pl     Mon Sep 23 09:40:50 2002
@@ -48,6 +48,9 @@
    Popular ones include:
 
    --ask                Have Configure ask for commonly-changed info
+                        you can remove parts of a line with :rem{<opt>}
+                        and add options with :add{<opt>} e.g.
+                        :rem{-g} :add{-O2}
    --nomanicheck        Don't check the MANIFEST
    --debugging          Enable debugging
    --cc=(compiler)      Use the given compiler

Reply via email to