Mercurial > hg > xemacs-beta
annotate modules/sample/internal/configure.ac @ 5872:f9e59cd39a9a
Clean up #'read-quoted-char, support help-event-list there.
lisp/changeLog addition:
2015-03-14 Aidan Kehoe <kehoea@parhasard.net>
* simple.el (quoted-insert):
Update the docstring here, syncing GNU's, especially mentioning
read-quoted-char-radix.
* cmdloop.el:
* cmdloop.el (read-quoted-char-radix): Move this up here, outside
the functions.
* cmdloop.el (read-function-key-map): New label, reading and
replacing characters from function-key-map if appropriate.
* cmdloop.el (read-quoted-char): Multiple changes:
-- Take advantage of help-event-list, but be careful not to have
any keystrokes with character equivalents in it, so the user can
type C-q C-h and have the expected result.
-- Use function-key-map, as does #'read-char and
#'read-exclusive-char, helpful for character composition under
X11.
-- Pop up the help window ourselves if, e.g. F1 arrives on a TTY
via function-key-map, event-stream won't have done it.
-- Error if no keystroke that can be converted into a character is
specified, don't just insert ?\x00 as we used to and as does GNU
-- Use #'digit-char-p instead of reimplementing it.
-- Fix a bug of mine where I wasn't consistent about treating
character codes as Unicode.
| author | Aidan Kehoe <kehoea@parhasard.net> |
|---|---|
| date | Tue, 17 Mar 2015 12:22:50 +0000 |
| parents | dd9541c73e70 |
| children |
| rev | line source |
|---|---|
| 996 | 1 # Process this file with autoconf to produce a configure script. |
| 2 # This is only used for independent module building. | |
| 3 AC_INIT([Sample module], [1.0], [xemacs-beta@xemacs.org]) | |
| 4 AC_PREREQ(2.53) | |
| 5 AC_REVISION($Revision: 1.1 $) | |
| 6 AC_COPYRIGHT([Configuration script for the sample module. | |
| 7 Copyright (C) 2002 Jerry James. | |
| 8 | |
| 9 This file is part of XEmacs. | |
| 10 | |
|
5417
dd9541c73e70
Converted the modules samples to GPLv3 or later.
Mats Lidell <matsl@xemacs.org>
parents:
996
diff
changeset
|
11 XEmacs is free software: you can redistribute it and/or modify it |
|
dd9541c73e70
Converted the modules samples to GPLv3 or later.
Mats Lidell <matsl@xemacs.org>
parents:
996
diff
changeset
|
12 under the terms of the GNU General Public License as published by the |
|
dd9541c73e70
Converted the modules samples to GPLv3 or later.
Mats Lidell <matsl@xemacs.org>
parents:
996
diff
changeset
|
13 Free Software Foundation, either version 3 of the License, or (at your |
| 996 | 14 option) any later version. |
| 15 | |
|
5417
dd9541c73e70
Converted the modules samples to GPLv3 or later.
Mats Lidell <matsl@xemacs.org>
parents:
996
diff
changeset
|
16 XEmacs is distributed in the hope that it will be useful, but WITHOUT |
|
dd9541c73e70
Converted the modules samples to GPLv3 or later.
Mats Lidell <matsl@xemacs.org>
parents:
996
diff
changeset
|
17 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
dd9541c73e70
Converted the modules samples to GPLv3 or later.
Mats Lidell <matsl@xemacs.org>
parents:
996
diff
changeset
|
18 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
dd9541c73e70
Converted the modules samples to GPLv3 or later.
Mats Lidell <matsl@xemacs.org>
parents:
996
diff
changeset
|
19 for more details. |
| 996 | 20 |
| 21 You should have received a copy of the GNU General Public License | |
|
5417
dd9541c73e70
Converted the modules samples to GPLv3 or later.
Mats Lidell <matsl@xemacs.org>
parents:
996
diff
changeset
|
22 along with XEmacs. If not, see <http://www.gnu.org/licenses/>.]) |
| 996 | 23 |
| 24 AC_CONFIG_SRCDIR([sample.c]) | |
| 25 AC_PROG_CC | |
| 26 AC_PROG_INSTALL | |
| 27 AC_SUBST(CFLAGS) | |
| 28 AC_SUBST(LDFLAGS) | |
| 29 | |
| 30 # Find ELLCC | |
| 31 AC_ARG_VAR([ELLCC], [The path to the ellcc module compiler]) | |
| 32 AC_PATH_PROG([ELLCC], [ellcc], ["FAIL"]) | |
| 33 AS_IF([test "$ELLCC" = "FAIL"], [AS_ERROR([Cannot find ellcc])]) | |
| 34 | |
| 35 # Insert autoconf macros here to find the headers, libraries, other | |
| 36 # programs, etc. needed by your module. If other libraries will be linked | |
| 37 # with your module, then after detecting them, use a line of this form last: | |
| 38 AC_SUBST(sample_libs, "$LIBS") | |
| 39 | |
| 40 # This part should appear unchanged in every module configure.ac | |
| 41 AC_SUBST(PROGNAME, "module") | |
| 42 AC_SUBST(MOD_CC, "@ELLCC@") | |
| 43 AC_SUBST(MODARCHDIR, "\$(shell @ELLCC@ --mod-archdir)") | |
| 44 AC_SUBST(MAKE_DOCFILE, "\$(MODARCHDIR)/make-docfile") | |
| 45 AC_SUBST(MODCFLAGS, "\$(CFLAGS) --mode=compile --mod-output=\$@ -I\$(MODARCHDIR)/include") | |
| 46 AC_SUBST(INSTALLPATH, "\$(shell @ELLCC@ --mod-site-location)") | |
| 47 AC_SUBST(MOD_INSTALL_PROGRAM, "@INSTALL_PROGRAM@") | |
| 48 AC_SUBST(OBJECT_TO_BUILD, "\$(MODNAME).ell") | |
| 49 | |
| 50 AC_CONFIG_FILES([Makefile.in Makefile]) | |
| 51 AC_OUTPUT |
