[omniORB] autoconf & having to #define __osname__
Alex Hornby
alex@anvil.co.uk
Fri Sep 13 17:28:00 2002
On Fri, 2002-09-13 at 14:38, Bastiaan Bakker wrote:
> 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
>
Those symbols (__linux__ etc) sound like compiler defines to me.
Autoconf preprocessor symbols are normally more like HAVE_FOO.
HTH,
Alex