On 4/19/07, Thomas Weber <address@hidden> wrote:
Am Donnerstag, 19. April 2007 09:47 schrieb Michael Goffioul:
> 2) "configure" script must be called with additional settings, to
correctly
> define compiler; the command should looks like:
> CC=cc-msvc CXX=cc-msvc AR=ar-msvc RANLIB=ranlib-msvc ./configure
> Would it be OK to use octave_config_info('config_opts') to achieve
this?
> (I mean, is it OK for other platforms?)
This is an issue we are facing in Debian as well: how to pass
additional flags
to the configure script. Did you hardcode your changes into pkg.m?
For the time being, yes. But I could probably also use:
system(['cd src; ./configure ', octave_config_info('config_opts')]);
although I didn't test it yet. But the point here is that I want to
use the
same flags as those used to compile octave itself. Adding *new* flags
is something different.