Mercurial > hg > xemacs-beta
view modules/sample/external/configure.ac @ 5630:f5315ccbf005
Cons less, be more careful about always using the environment, #'macroexpand
2011-12-30 Aidan Kehoe <kehoea@parhasard.net>
* eval.c (Fmacroexpand):
Don't cons if ENVIRONMENT is the same object as
byte-compile-macro-environment.
Always look up symbol- and other macros in the (possibly modified)
byte-compile-macro-environment, not the supplied ENVIRONMENT.
byte-compile-macro-environment reflects ENVIRONMENT, so that's OK
and preferred.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Fri, 30 Dec 2011 12:43:52 +0000 |
parents | dd9541c73e70 |
children |
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 3 of the License, 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