+AC_ARG_WITH(cfg_model,
+ [ --with-cfg-model=5110 specifies the mobile phone model],,
+ [ with_cfg_model="5110" ])
+AC_DEFINE_UNQUOTED(CONFIG_CFG_MODEL, "$with_cfg_model")
+AC_ARG_WITH(cfg_port,
+ [ --with-cfg-port=/dev/ttyS0 specifies the mobile phone port],,
+ [ with_cfg_port="/dev/ttyS0" ])
+AC_DEFINE_UNQUOTED(CONFIG_CFG_PORT, "$with_cfg_port")
+AC_ARG_WITH(cfg_initlength,
+ [ --with-cfg-initlength=default specifies the mobile phone initlength],,
+ [ with_cfg_initlength="default" ])
+AC_DEFINE_UNQUOTED(CONFIG_CFG_INITLENGTH, "$with_cfg_initlength")
+