Mercurial > hg > xemacs-beta
view modules/sample/external/configure.ac @ 3520:833d460acd43
[xemacs-hg @ 2006-07-19 19:35:20 by crestani]
2006-07-18 Marcus Crestani <crestani@xemacs.org>
* configure.ac: Intel-based Macs can use POSIX-style write
barrier. Use $machine to determine this.
author | crestani |
---|---|
date | Wed, 19 Jul 2006 19:35:25 +0000 |
parents | 25e260cb7994 |
children | dce479915b74 |
line wrap: on
line source
# Process this file with autoconf to produce a configure script. 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