Generating tags

I would like to generate the tags for LLVM sources to be used by emacs. I noticed that there is a tags target that can be specified to make to generate the tags file. It appears that the rules for this target are generated only with the specification of --with-tags option to configure script. However, I get the following errors respectively when I specify --with-tags or --with-tags=TAGS option to configure.

configure: error: Unsupported tag name: yes
configure: error: Unsupported tag name: TAGS

What am I missing?

Thanks for any help.


Never mind! Looking through the configure script it seems that that --with-tags is NOT what I wanted to get the tags target to build emacs tags.