[omniORB] autoconf & having to #define __osname__

Bastiaan Bakker Bastiaan.Bakker@lifeline.nl
Fri Sep 13 14:39:01 2002


Hi,

OmniORB4 introduces autoconf based configuration, which allows you to
simply build omniORB without manually having to adjust makefiles for
your platform. Hurray for that!
But if you want to compile an application using omniORB you still have
to set preprocessor symbols like __linux__ and __osversion__. Since
./configure already figured these out during the build of omniORB, can't
we remove this requirement? Having to detect os type, etc. again in the
application ./configure script seems an unnecessary duplication of work.

Regards,

Bastiaan Bakker
LifeLine Networs bv