On Jan 27, 2008, at 7:25 AM, Peter Kalbus wrote:
> i just try to get last night snapshot compiled on qnx.
>
> everything (except the db 4.6.21 parts) seems to be included - cool.
>
Good.
> only problem, i currently have is, that in rpmio/fts.c the changes
> are #if-defed with RPM_OS_QNX.
>
> seems to be, that this is not defined anywhere, so far.
>
> what's the way, to get this arranged?
>
> something for system.h:
>
> #if defined(__QNXNTO__)
> # define RPM_OS_QNX 1
> #endif
>
That will "work", but tghe right place is to arrange
a test in configure.ac.
This is the final usage
case
CPPFLAGS="$CPPFLAGS -DRPM_OS_${RPM_OS_NAME}=${RPM_OS_VERS}"
to set RPM_OS_QNX=... through CFLAGS.
73 de Jeff
Received on Sun Jan 27 15:34:28 2008