fixed configure command line constant specification bug. Thanks to Jorge.
authoretisserant
Fri, 18 Jan 2008 09:43:55 +0100
changeset 363 40b351ab5a93
parent 362 1134fc19aa74
child 364 17edd8a028fa
fixed configure command line constant specification bug. Thanks to Jorge.
configure
--- a/configure	Thu Jan 17 16:24:01 2008 +0100
+++ b/configure	Fri Jan 18 09:43:55 2008 +0100
@@ -117,14 +117,14 @@
 	--enable-lss-fs)	ENABLE_LSS_FS=1;
 			echo "On user request: LSS FastScan service enabled";;
 	--debug=*)	DEBUG=$optarg;;
-	--MAX_CAN_BUS_ID=*)	MAX_CAN_BUS_ID=$1;;
-	--SDO_MAX_LENGTH_TRANSFERT=*)	SDO_MAX_LENGTH_TRANSFERT=$1;;
-	--SDO_MAX_SIMULTANEOUS_TRANSFERTS=*)	SDO_MAX_SIMULTANEOUS_TRANSFERTS=$1;;
-	--NMT_MAX_NODE_ID=*)	NMT_MAX_NODE_ID=$1;;
-	--SDO_TIMEOUT_MS=*)	SDO_TIMEOUT_MS=$1;;
-	--CANOPEN_BIG_ENDIAN=*)	CANOPEN_BIG_ENDIAN=$1;;
-	--MAX_NB_TIMER=*) MAX_NB_TIMER=$1;;
-	--EMCY_MAX_ERRORS=*) EMCY_MAX_ERRORS=$1;;
+	--MAX_CAN_BUS_ID=*)	MAX_CAN_BUS_ID=$optarg;;
+	--SDO_MAX_LENGTH_TRANSFERT=*)	SDO_MAX_LENGTH_TRANSFERT=$optarg;;
+	--SDO_MAX_SIMULTANEOUS_TRANSFERTS=*)	SDO_MAX_SIMULTANEOUS_TRANSFERTS=$optarg;;
+	--NMT_MAX_NODE_ID=*)	NMT_MAX_NODE_ID=$optarg;;
+	--SDO_TIMEOUT_MS=*)	SDO_TIMEOUT_MS=$optarg;;
+	--CANOPEN_BIG_ENDIAN=*)	CANOPEN_BIG_ENDIAN=$optarg;;
+	--MAX_NB_TIMER=*) MAX_NB_TIMER=$optarg;;
+	--EMCY_MAX_ERRORS=*) EMCY_MAX_ERRORS=$optarg;;
 	--LSS_TIMEOUT_MS=*)	LSS_TIMEOUT_MS=$optarg;;
 	--LSS_FS_TIMEOUT_MS=*)	LSS_FS_TIMEOUT_MS=$optarg;;
 	--help)