Skip to contentSkip to conversation

autoconf: don't try to build Emacs files

PATCH New Thomas Petazzoni 2 participants 2 messages Mar 7, 2013 – Mar 9, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 autoconf: don't try to build Emacs files

When building autoconf for the target, we already passed EMACS="no" to prevent autoconf from building Emacs mode files. But we weren't doing that when building autoconf for the host. This causes problems when 'emacs' is not really emacs, but a sort of clone like Jove. So we also pass EMACS="no" when building host-autoconf to avoid autoconf ./configure script from detecting emacs and then use it to build .elc files from .el source code.

---
 package/autoconf/autoconf.mk |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/autoconf/autoconf.mk +1 -1
index 0c36b66..daac1f2 100644
@@ -15,7 +15,7 @@ AUTOCONF_CONF_ENV = EMACS="no" ac_cv_path_M4=$(HOST_DIR)/usr/bin/m4 \
 
 AUTOCONF_DEPENDENCIES = host-m4 perl
 
-HOST_AUTOCONF_CONF_ENV = ac_cv_path_M4=$(HOST_DIR)/usr/bin/m4 \
+HOST_AUTOCONF_CONF_ENV = EMACS="no" ac_cv_path_M4=$(HOST_DIR)/usr/bin/m4 \
 			ac_cv_prog_gnu_m4_gnu=no
 
 HOST_AUTOCONF_DEPENDENCIES = host-m4 host-libtool
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/1 autoconf: don't try to build Emacs files

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

Thomas> When building autoconf for the target, we already passed EMACS="no" to Thomas> prevent autoconf from building Emacs mode files. But we weren't doing Thomas> that when building autoconf for the host. This causes problems when Thomas> 'emacs' is not really emacs, but a sort of clone like Jove. So we also Thomas> pass EMACS="no" when building host-autoconf to avoid autoconf Thomas> ./configure script from detecting emacs and then use it to build .elc Thomas> files from .el source code.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard