Mercurial > hg > xemacs-beta
annotate modules/canna/Makefile.in.in @ 5502:5b08be74bb53
Be better about recognising side-effect-free forms, byte-optimize.el.
2011-05-07 Aidan Kehoe <kehoea@parhasard.net>
* byte-optimize.el:
* byte-optimize.el (byte-optimize-form-code-walker):
Call #'byte-optimize-side-effect-free-p on the form, rather than
just checking the plist of the form's car.
* byte-optimize.el (side-effect-free-fns):
Move the CL functions into their alphabetical place in the list.
* byte-optimize.el (function):
* byte-optimize.el (byte-optimize-side-effect-free-p): New.
Function returning non-nil if a funcall has no side-effects, which
handles things like (remove* item list :key 'car) and
(remove-if-not #'integerp list).
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Sat, 07 May 2011 11:45:20 +0100 |
parents | 308d34e9f07d |
children |
rev | line source |
---|---|
2973 | 1 ## Makefile for the sample module in XEmacs. |
2 ## Copyright (C) 2002 Jerry James. | |
3 | |
4 ## This file is part of XEmacs. | |
5 | |
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
3010
diff
changeset
|
6 ## XEmacs is free software: you can redistribute it and/or modify it |
2973 | 7 ## under the terms of the GNU General Public License as published by the |
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
3010
diff
changeset
|
8 ## Free Software Foundation, either version 3 of the License, or (at your |
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
3010
diff
changeset
|
9 ## option) any later version. |
2973 | 10 |
11 ## XEmacs is distributed in the hope that it will be useful, but WITHOUT | |
12 ## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
13 ## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
14 ## for more details. | |
15 | |
16 ## You should have received a copy of the GNU General Public License | |
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
3010
diff
changeset
|
17 ## along with XEmacs. If not, see <http://www.gnu.org/licenses/>. |
2973 | 18 |
19 ## Synched up with: Not synched with FSF. | |
20 | |
21 ## This is more complicated than would normally be the case, as this makefile | |
22 ## has been tailored to work both inside and independently of the XEmacs | |
23 ## source tree, and to support both module and non-module building inside the | |
24 ## source tree. | |
25 | |
26 ### Specialize this part for your module | |
3010 | 27 MODNAME=canna_api |
2973 | 28 MODVER=0.5.0 |
29 MODTITLE="Module wrapping Canna libraries for XEmacs" | |
30 CFLAGS=@CFLAGS@ | |
31 LDFLAGS=@LDFLAGS@ @ld_switch_all@ @canna_libs@ | |
3010 | 32 SRCS=canna_api.c |
2973 | 33 |
34 ## Note: modules/common/Makefile.common will be appended by configure |