[bedevtalk] Detecting BONE for compiling?

Fredrik Modéen fredrik.moden at telia.com
Fri Mar 10 03:28:38 BRT 2006


as philippe told me

"At build time (makefile & like), just check the /boot/develop/headers/[be?]/bone
folder. At compile time, you can check if BONE_VERSION symbol exists, as only
BONE's sys/socket.h define it."


//Fredrik

Pete Goodeve skrev:

>Is there any standard way of detecting whether the system one is compiling
>on has BONE installed?  I thought there might be a macro definition, but
>it doesn't seem so.
>
>I'm trying to get the latest Ruby working.  Interestingly its 'configure'
>has quite a few BeOS options already, though they're not quite complete.
>It does. however, assume net_server, so I had to hack a couple of the
>BeOS ifdefs to get it to compile on mine.  It would be nice to do this
>automatically.
>
>If nothing else, I can simply add 'BONE' to the compile flags at the
>configure stage, but it'd be nice if it was automatic.
>
>					-- Pete --
>
>_______________________________________________
>bedevtalk mailing list
>bedevtalk at bug-br.org.br
>http://www.bug-br.org.br/mailman/listinfo/bedevtalk
>
>
>  
>




More information about the bedevtalk mailing list