On Tue, Feb 27, 2001 at 08:12:33PM +0100, Carsten Menn wrote:
: >> I have a simple (I hope so) problem. What I want to do is
: >> to compile my project for/on different operating-systems.
: >> I want to have only one src-directory and several
: >> subdirectories like '$(srcdir)/bin-i686-linux' or
: >> '$(srcdir)/bin-sun-solaris-2.7', etc...
: >
: >Very simple.
: >
: > $ cd $(srcdir)
: > $ mkdir bin-i686-linux; cd bin-i686-linux
: > $ ../configure --prefix=...
:
: Unfortunately that's not exactly what I wanted.
: The OS and the architecture should be determined automatically.
: So it should be possible for the users of our package not to
: generate a special OS-directory by themself.
subdir=`./config.guess`;
test -n "$subdir" &&
( mkdir $subdir;
cd $subdir;
../configure --prefix=... )
Lars J
--
Innovation is one percent inspiration and ninetynine percent perspiration,
and in my case; twice that... -- Norville Barnes, `The Hudsucker Proxy'