Edgewall Software
Modify

Opened 19 years ago

Closed 19 years ago

Last modified 17 years ago

#57 closed enhancement (fixed)

Add "configure" script command.

Reported by: chandlerc@… Owned by: cmlenz
Priority: minor Milestone: 0.5
Component: Recipe commands Version: dev
Keywords: Cc:
Operating System:

Description

The vast majority of packages in the *nix world use some form of "configure" script. Would it be useful to have a <c:configure> command to call this script? It can be done as is by the following:

<sh:exec file="./configure" args="--quiet CFLAGS=-O3 CXXFLAGS=-O2">

However this is understandably awkward, and needs fancy quoting practices to include more than one CFLAG.

Attachments (0)

Change History (2)

comment:1 Changed 19 years ago by chandlerc@…

My proposed syntax is:

<c:configure cflags="..." cxxflags="..." with="foo, bar, foobar" enable="foo, bar, foobar" />

Which would result in the following command being executed:

# ./configure --quiet --with-foo --with-bar --with-foobar --enable-foo --enable-bar --enable-foobar CFLAGS="..." CXXFLAGS="..."

Other arguments could perhaps be without and disable. Some other variable-setting arguments should also be provided.

comment:2 Changed 19 years ago by cmlenz

  • Milestone set to 0.5
  • Resolution set to fixed
  • Status changed from new to closed

Implemented in [247].

Note that features in with/without and packages in enable/disable are simply space separated.

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain cmlenz.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.