configure
changeset 736 a915095ab9e7
parent 698 a0b50d6ce746
child 749 5cbb8e9ad67c
equal deleted inserted replaced
735:d3db2140d3e6 736:a915095ab9e7
    86 CFLAGS=
    86 CFLAGS=
    87 test=conftest
    87 test=conftest
    88 rm -f $test $test.c
    88 rm -f $test $test.c
    89 
    89 
    90 if [ "$XENO_CONFIG" = "" ]; then
    90 if [ "$XENO_CONFIG" = "" ]; then
    91 	XENO_CONFIG=/usr/xenomai/bin/xeno-config
    91 	XENO_CONFIG=xeno-config
    92 fi
    92 fi
    93 
    93 
    94 if [ "$RTAI_CONFIG" = "" ]; then
    94 if [ "$RTAI_CONFIG" = "" ]; then
    95 	RTAI_CONFIG=/usr/realtime/bin/rtai-config
    95 	RTAI_CONFIG=/usr/realtime/bin/rtai-config
    96 fi
    96 fi
   480 	   SUB_EXE_CFLAGS=$SUB_EXE_CFLAGS\ -lpthread\ -lrt
   480 	   SUB_EXE_CFLAGS=$SUB_EXE_CFLAGS\ -lpthread\ -lrt
   481 	fi
   481 	fi
   482 fi
   482 fi
   483 
   483 
   484 if [ "$SUB_TIMERS_DRIVER" = "xeno" ]; then
   484 if [ "$SUB_TIMERS_DRIVER" = "xeno" ]; then
   485 	RT_LIB_DIR=`$XENO_CONFIG --library-dir`\ -Wl,-rpath\ `$XENO_CONFIG --library-dir`
   485     SUB_EXE_CFLAGS=$SUB_EXE_CFLAGS\ `$XENO_CONFIG --skin=native --ldflags`\ -lrtdm
   486     SUB_EXE_CFLAGS=$SUB_EXE_CFLAGS\ `$XENO_CONFIG --xeno-ldflags`\ -L$RT_LIB_DIR\ -lnative\ -lrtdm
   486 	SUB_PROG_CFLAGS=$SUB_PROG_CFLAGS\ -DUSE_XENO\ `$XENO_CONFIG --skin=rtdm --cflags`
   487 	SUB_PROG_CFLAGS=$SUB_PROG_CFLAGS\ -DUSE_XENO\ `$XENO_CONFIG --xeno-cflags`
       
   488     RTCAN_SOCKET=1
   487     RTCAN_SOCKET=1
   489 fi
   488 fi
   490 
   489 
   491 if [ "$SUB_TIMERS_DRIVER" = "rtai" ]; then
   490 if [ "$SUB_TIMERS_DRIVER" = "rtai" ]; then
   492 	RT_LIB_DIR=`$RTAI_CONFIG --library-dir`\ -Wl,-rpath\ `$RTAI_CONFIG --library-dir`
   491 	RT_LIB_DIR=`$RTAI_CONFIG --library-dir`\ -Wl,-rpath\ `$RTAI_CONFIG --library-dir`