diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-05-07 17:24:18 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-05-07 18:55:38 +0300 |
commit | 4b0e477181f51c12f62236ec91f4bb714125393d (patch) | |
tree | 9ddb2c5c16549ce5bf6056e45aef3646402accbc /configure.ac | |
parent | cede19f7c5a151c1aeb7c93d1793183bca8e8289 (diff) | |
download | grecs-4b0e477181f51c12f62236ec91f4bb714125393d.tar.gz grecs-4b0e477181f51c12f62236ec91f4bb714125393d.tar.bz2 |
Support standalone compilation.
* AUTHORS, COPYING, NEWS, README: New files.
* .gitignore: Update.
* am/.gitignore: New file.
* build-aux/.gitignore: New file.
* build-aux/ylwrap: Remove.
* Makefile.am: Define ACLOCAL_AMFLAGS
[GRECS_CHANGELOG]: Build ChangeLog.
* am/grecs.m4: Define GRECS_CHANGELOG and GRECS_SRCDIR.
Fixup first argument, if it is [.].
* configure.ac: New file.
* src/Make-inst.am (include_HEADERS): Add wordsplit.h.
Install libgrecs.m4.
* Make-shared.am (noinst_HEADERS): Add wordsplit.h.
* src/Make-static.am: Likewise.
* src/Make.am (GRECS_SRC): Remove wordsplit.h
(noinst_HEADERS): Add yygrecs.h
(YLWRAP): Remove.
* src/libgrecs.m4: New file.
* src/yygrecs.h: New file.
* src/grecs-gram.y: Include yygrecs.h.
* src/grecs-lex.l: Likewise.
* src/preproc.c (yy_grecs_flex_debug): Rename to grecs_yy_flex_debug.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac new file mode 100644 index 0000000..980c713 --- /dev/null +++ b/configure.ac @@ -0,0 +1,42 @@ +# This file is part of Grecs -*- autoconf -*- +# Copyright (C) 2011 Sergey Poznyakoff +# +# Grecs is free software; 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, or (at your option) +# any later version. +# +# Grecs is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Grecs. If not, see <http://www.gnu.org/licenses/>. + +AC_PREREQ(2.63) +AC_INIT([libgrecs], 1.0, [gray+grecs@gnu.org.ua]) +AC_CONFIG_SRCDIR([src/grecs.h]) +AC_CONFIG_AUX_DIR([build-aux]) +AC_CONFIG_HEADER([config.h]) +AM_INIT_AUTOMAKE([1.11 gnu tar-ustar dist-xz std-options silent-rules]) +AC_CONFIG_MACRO_DIR([am]) + +# Enable silent rules by default: +AM_SILENT_RULES([yes]) + +# Checks for programs. +AC_PROG_CC + +# Checks for libraries. + +# Checks for header files. +AC_HEADER_STDC + +# Checks for library functions. + +# Grecs subsystem + +GRECS_SETUP(., [install tests git2chg]) + +AC_OUTPUT |