With USE="-emacs" and /usr/bin/emacs symlinked to zile, configure will hang: checking for x86_64-pc-linux-gnu-gcc... (cached) gcc -O checking whether we are using the GNU C compiler... (cached) yes checking whether gcc -O accepts -g... (cached) yes checking for gcc -O option to accept ISO C89... (cached) none needed checking dependency style of gcc -O... (cached) gcc3 checking for flex... flex checking lex output file root... lex.yy checking lex library... -lfl checking whether yytext is a pointer... yes checking for bison... bison -y checking for emacs... emacs checking where .elc files should go...
Created attachment 246153 [details, diff] proposed fix for the ebuild
Fixed. Thanks for the submission.