bug-autoconf
[Top][All Lists]
Advanced

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

Build error when --with-lispdir given


From: Andreas Schwab
Subject: Build error when --with-lispdir given
Date: Fri, 08 Mar 2002 23:56:24 +0100
User-agent: Gnus/5.090005 (Oort Gnus v0.05) Emacs/21.2.50 (ia64-suse-linux)

When passing --with-lispdir during configuring there is no value for EMACS
and the lisp files cannot be compiled.  The documentation for
AM_PATH_LISPDIR explicitly says that it does not probe for emacs if
--with-lispdir is given, so if you need to run emacs you have to probe for
it yourself.

Andreas.

2002-03-08  Andreas Schwab  <address@hidden>

        * configure.ac: Explicitly check for EMACS since AM_PATH_LISPDIR
        does not do it if --with-lispdir is given.

--- configure.ac        2002/03/08 22:50:28     1.1
+++ configure.ac        2002/03/08 22:54:41
@@ -76,6 +76,8 @@
 
 # Emacs modes.
 AC_CONFIG_FILES([lib/emacs/Makefile])
+test x"$EMACS" = xt && EMACS=
+AC_CHECK_PROGS(EMACS, emacs xemacs, no)
 AM_PATH_LISPDIR
 
 AC_CONFIG_FILES([Makefile doc/Makefile

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE GmbH, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



reply via email to

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