configure.ac tests the name of the  Emacs program to tell wether it is
GNU Emacs  or XEmacs. This  is not robust.  Lots of people  call their
Emacs "emacs21"  for example. This is  also not robust  to an absolute
path.

There should  be another autoconf variable  EMACS_FLAVOUR, testing for
example the output of $EMACS_PROG --version.

--
Matthieu

Reply via email to