Boost logo

Boost-Build :

Subject: [Boost-build] Want to run configure to generate header
From: Daniel Lidström (daniel.lidstrom_at_[hidden])
Date: 2009-11-11 06:08:33


Hello,

I have a project that needs to run configure before being built. This should generate the header config.h.
Here's how I tried to solve this:

alias config-header
    : config.h
    ;

make config.h
    :
    : make-configure
    ;

actions make-configure
{
    ./configure
}

lib sbg_fltk
    : config-header
      src/Fl_Double_Window.cxx
      .
      .
      .
    ;

This doesn't run configure though, and Fl_Double_Window.cxx fails to compile.
Any ideas on what I should do?

Thanks in advance!

/Daniel Lidström


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk