Hi,

in the 0.7.0-test series and in current cvs, rtnet does not compile when
using a build directory, due to a bug in configure.ac.  The configure
script should make some links from rtai_rtdm to the include directory, but
this only succeeds if one builds without build dir.

The attached patch solves this, although I'm not sure if $src_dir is the
correct variable to use in this case.

best regards,

klaas
Index: configure.ac
===================================================================
RCS file: /cvsroot/rtnet/rtnet/configure.ac,v
retrieving revision 1.38
diff -r1.38 configure.ac
806,807c806,807
<       if test ! -f include/rtdm.h; then ln -s ../rtai_rtdm/rtdm.h include/rtdm.h; fi
<       if test ! -f include/rtdm_driver.h; then ln -s ../rtai_rtdm/rtdm_driver.h 
include/rtdm_driver.h; fi
---
>       if test ! -f $srcdir/include/rtdm.h; then ln -s ../rtai_rtdm/rtdm.h 
> $srcdir/include/rtdm.h; fi
>       if test ! -f $srcdir/include/rtdm_driver.h; then ln -s 
> ../rtai_rtdm/rtdm_driver.h $srcdir/include/rtdm_driver.h; fi
809c809
<       rm -f include/rtdm.h include/rtdm_driver.h
---
>       rm -f $srcdir/include/rtdm.h $srcdir/include/rtdm_driver.h

Reply via email to