Monday, 15 February 2010

configure - Autoconf: Detect if emacs is installed -



configure - Autoconf: Detect if emacs is installed -

what best way observe if emacs installed? nesc compiler build (apparently) requires emacs installed, , i'd modify configure script observe this, don't know of ac_ macro observe emacs...

what best way reliably observe this-- checking /usr/bin/emacs? checking results of which emacs (assuming scheme has which...)?

relevant: https://github.com/tinyos/nesc/issues/1

if using automake well, can utilize am_path_lispdir macro. takes value of emacs environment variable if set, , otherwise looks emacs or xemacs in path.

am_path_lispdir as_if([test "$emacs" = no], [ac_msg_error([cannot find emacs])])

it tries run emacs determine elisp files should installed. see the documentation more details.

emacs configure autoconf automake

No comments:

Post a Comment