bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs Shell mode vs AC_CHECK_PROG(EMACS, ...)


From: Don.Bashford
Subject: emacs Shell mode vs AC_CHECK_PROG(EMACS, ...)
Date: Sun, 10 Sep 2006 22:46:43 -0500
User-agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.7 (Sanjō) APEL/10.6 Emacs/21.3 (i386-redhat-linux-gnu) MULE/5.0 (SAKAKI)

I like to do my builds of almost anything from source under emacs Shell
mode.  But emacs Shell mode sets the environment variable EMACS to
"t".  This causes the output of autoconf's AC_CHECK_PROG(EMACS, ...)
to set EMACS="t", with the result that in any Makefile generated from
EMACS = @EMACS@ in Makefile.in end up with the makefile variable EMACS
set to "t".

One example where this is a problem is the current (Sept 10) CVS
version of gnuplot.

It's not clear to me who should change: autoconf, emacs, developers
using emacs as a built tool, or users like me.  If it's one of the
latter two, a warning would be nice.  Perhaps the simplest solution
would be for emacs Shell to either not set EMACS or set it to "emacs".

emacs version: 21.3.1
autoconf version: 2.60
m4 version: 1.4.6
system: fedora core 1 gnu/linux





reply via email to

[Prev in Thread] Current Thread [Next in Thread]