Mercurial > hg > xemacs-beta
view modules/sample/external/configure.ac @ 4942:46f0df723e09
(for main branch) Indent all `with-*' expressions correctly
-------------------- ChangeLog entries follow: --------------------
lisp/ChangeLog addition:
2010-01-22 Ben Wing <ben@xemacs.org>
* lisp-mode.el:
* lisp-mode.el (lisp-indent-function):
If the function begins with `with-', assume it is a macro or
special form whose last argument is a body. Call
`lisp-indent-specform' with a flag indicating that it should indent
all arguments as a body instead of with normal (full) indent.
* lisp-mode.el (lisp-indent-specform):
Add an optional flag argument indicating that all non-distinguished
arguments, not just the first, should be indented as a body. This
is useful when the number of distinguished (i.e. pre-body) arguments
isn't known, and is used for this purpose by `lisp-indent-function'.
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Fri, 22 Jan 2010 04:18:20 -0600 |
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