Mercurial > hg > xemacs-beta
view modules/sample/external/configure.ac @ 5301:ec05a30f7148
Fix a bytecomp.el bug compiling #'eql, which was masked by cl-macs.el
lisp/ChangeLog addition:
2010-11-14 Aidan Kehoe <kehoea@parhasard.net>
* cl-macs.el (eql): Don't remove the byte-compile property of this
symbol. That was necessary to override a bug in bytecomp.el where
#'eql was confused with #'eq, which bug we no longer have.
If neither expression is constant, don't attempt to handle the
expression in this compiler macro, leave it to byte-compile-eql,
which produces better code anyway.
* bytecomp.el (eq): #'eql is not the function associated with the
byte-eq byte code.
(byte-compile-eql): Add an explicit compile method for this
function, for cases where the cl-macs compiler macro hasn't
reduced it to #'eq or #'equal.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Sun, 14 Nov 2010 13:46:29 +0000 |
parents | dce479915b74 |
children | dd9541c73e70 |
line wrap: on
line source
# Process this file with autoconf to produce a configure script. # This sample autoconf input script is free; you can redistribute it and/or # modify it under the terms of the GNU General Public LIcense as published by # the Free Software Foundation; either version 2, or (at your option) any # later version. AC_INIT([Sample module], [1.0], [xemacs-beta@xemacs.org]) AC_PREREQ(2.53) AC_REVISION($Revision: 1.1 $) AC_COPYRIGHT([Configuration script for the sample module. Copyright (C) 2002 Jerry James. This file is not part of XEmacs.]) AC_CONFIG_SRCDIR([sample.c]) AC_PROG_CC AC_PROG_INSTALL AC_SUBST(CFLAGS) AC_SUBST(LDFLAGS) # Find ELLCC AC_ARG_VAR([ELLCC], [The path to the ellcc module compiler]) AC_PATH_PROG([ELLCC], [ellcc], ["FAIL"]) AS_IF([test "$ELLCC" = "FAIL"], [AS_ERROR([Cannot find ellcc])]) AC_SUBST(ELLCC) # Insert autoconf macros here to find the headers, libraries, other # programs, etc. needed by your module. AC_CONFIG_FILES([Makefile.in Makefile]) AC_OUTPUT