diff -r e70439f50539 -r 17f0ea205942 configure --- a/configure Tue Aug 08 22:34:32 2006 +0200 +++ b/configure Thu Aug 10 08:53:05 2006 +0200 @@ -456,8 +456,13 @@ echo >> include/can_peak_win32/cancfg.h grep __stdcall $PCAN_INCLUDE/$PCAN2_HEADER >> include/can_peak_win32/cancfg.h SUB_EXE_CFLAGS=$SUB_EXE_CFLAGS\ \'$PCAN2_LIB\' - fi - echo '#define PCAN2_HEADER_' >> include/can_peak_win32/cancfg.h + echo '#define PCAN2_HEADER_' >> include/can_peak_win32/cancfg.h + fi + if grep -q CANHwType include/can_peak_win32/cancfg.h ; then + echo "Peak Init HwType, IO_Port and IRQ will be passed in environment :" + echo " PCANHwType PCANIO_Port PCANInterupt" + echo '#define extra_PCAN_init_params' >> include/can_peak_win32/cancfg.h + fi cat include/can_peak_win32/cancfg.h.tail >> include/can_peak_win32/cancfg.h fi