configure
changeset 40 ddeeb217ed71
parent 39 3e94ee906bc6
child 41 e70439f50539
equal deleted inserted replaced
39:3e94ee906bc6 40:ddeeb217ed71
   443 
   443 
   444 if [ "$SUB_CAN_DRIVER" = "peak_win32" ]; then
   444 if [ "$SUB_CAN_DRIVER" = "peak_win32" ]; then
   445 	if [ "PCAN_HEADER" = "" -o "PCAN_LIB" = "" ]; then
   445 	if [ "PCAN_HEADER" = "" -o "PCAN_LIB" = "" ]; then
   446 		echo "!!! ERROR !!! Please set PCAN_LIB PCAN_HEADER [PCAN_INCLUDE] to appropriate paths ! "
   446 		echo "!!! ERROR !!! Please set PCAN_LIB PCAN_HEADER [PCAN_INCLUDE] to appropriate paths ! "
   447 	fi
   447 	fi
   448    	SUB_EXE_CFLAGS=$SUB_EXE_CFLAGS\ \'$PCAN_LIB\'
   448    	SUB_EXE_CFLAGS=$SUB_EXE_CFLAGS\ -liberty\ \'$PCAN_LIB\'
   449 	if [ "$PCAN_INCLUDE" != "" ]; then
   449 	if [ "$PCAN_INCLUDE" != "" ]; then
   450 	   	SUB_PROG_CFLAGS=$SUB_PROG_CFLAGS\ -I$PCAN_INCLUDE
   450 	   	SUB_PROG_CFLAGS=$SUB_PROG_CFLAGS\ -I$PCAN_INCLUDE
   451 	fi
   451 	fi
   452    	SUB_PROG_CFLAGS=$SUB_PROG_CFLAGS\ \'-DPCAN_HEADER_=\"$PCAN_HEADER\"\'
   452    	SUB_PROG_CFLAGS=$SUB_PROG_CFLAGS\ \'-DPCAN_HEADER_=\"$PCAN_HEADER\"\'
   453 fi
   453 fi