view modules/sample/external/configure.ac @ 4737:dce479915b74

Clarify the GPL status of several sample module files. J. Kean Johnston already approved the release of his works under a GPL version 2 or later license, and I originally intended my work to be released under such a license. See xemacs-patches message with ID <870180fe0911091206k52ef683dme3c81d3d4eb825bf@mail.gmail.com>.
author Jerry James <james@xemacs.org>
date Mon, 09 Nov 2009 13:07:56 -0700
parents 25e260cb7994
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