config_query_option QUAGGA_TCP_LINK 'Enable TCP link between zebra and protocol daemon?' y '--enable-tcp-zebra' '--disable-tcp-zebra' &&
config_query_option QUAGGA_VTYSH 'Include integrated vty shell for Quagga (reccomended)' y '--enable-vtysh' '' &&

config_query_option QUAGGA_ISIS 'Enable isis daemon?' y '--enable-isisd' '--enable-isisd' &&
if [ ! -z "$QUAGGA_ISIS" ] ; then
  config_query_option QUAGGA_ISIS_TOPO 'Enable IS-IS topology generator?' y '--enable-isis-topology' '--disable-isis-topology'
else
  QUAGGA_ISIS_TOPO=''
fi &&
config_query_option QUAGGA_OSPF_TE 'Enable Traffic Engineering Extension to OSPF?' n '--enable-ospf-te' '--disable-ospf-te' &&

config_query_option QUAGGA_OPAQUE_LSA 'Enable OSPF Opaque-LSA with OSPFAPI support (RFC2370)' y '--enable-opaque-lsa' '--disable-opaque-lsa' &&
if [[ "$QUAGGA_OPAQUE_LSA" == "--enable-opaque-lsa" ]] ; then
  config_query_option QUAGGA_OSPFAPI 'Do NOT build OSPFAPI to access the OSPF LSA Database?' n '--disable-ospfapi' '--enable-ospfapi' &&
  config_query_option QUAGGA_OSPFCLIENT 'Do NOT build OSPFAPI client for OSPFAPI?' n '--disable-ospfclient' '--enable-ospfclient' 
fi &&
config_query_option QUAGGA_IRDP 'Enable IRDP support in zebra?' y '--enable-irdp' '--disable-irdp'

