#compdef configure

_arguments -- -i '(--(disable|enable)-FEATURE* --(with|without)-PACKAGE*)' \
              -s '((#s)--disable- --enable-
	           (#s)--enable- --disable-
		   (#s)--with- --without-
		   (#s)--without- --with-)' \
	      '*=(E|)PREFIX*:prefix directory:_files -/' \
              '*=PROGRAM*:program:_command_names -e'
