|
Packit |
b27855 |
dnl autoconf configuration for gperf
|
|
Packit |
b27855 |
|
|
Packit |
b27855 |
dnl Copyright (C) 1998, 2002, 2003, 2005-2007, 2009-2010, 2012 Free Software Foundation, Inc.
|
|
Packit |
b27855 |
dnl Written by Douglas C. Schmidt <schmidt@ics.uci.edu>
|
|
Packit |
b27855 |
dnl and Bruno Haible <bruno@clisp.org>.
|
|
Packit |
b27855 |
dnl
|
|
Packit |
b27855 |
dnl This file is part of GNU GPERF.
|
|
Packit |
b27855 |
dnl
|
|
Packit |
b27855 |
dnl This program is free software: you can redistribute it and/or modify
|
|
Packit |
b27855 |
dnl it under the terms of the GNU General Public License as published by
|
|
Packit |
b27855 |
dnl the Free Software Foundation; either version 3 of the License, or
|
|
Packit |
b27855 |
dnl (at your option) any later version.
|
|
Packit |
b27855 |
dnl
|
|
Packit |
b27855 |
dnl This program is distributed in the hope that it will be useful,
|
|
Packit |
b27855 |
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit |
b27855 |
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
Packit |
b27855 |
dnl GNU General Public License for more details.
|
|
Packit |
b27855 |
dnl
|
|
Packit |
b27855 |
dnl You should have received a copy of the GNU General Public License
|
|
Packit |
b27855 |
dnl along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
Packit |
b27855 |
|
|
Packit |
b27855 |
AC_PREREQ([2.60])
|
|
Packit |
b27855 |
AC_INIT([doc/gperf.texi])
|
|
Packit |
b27855 |
AC_CONFIG_AUX_DIR([build-aux])
|
|
Packit |
b27855 |
|
|
Packit |
b27855 |
AC_PROG_MAKE_SET
|
|
Packit |
b27855 |
AC_OBJEXT
|
|
Packit |
b27855 |
AC_EXEEXT
|
|
Packit |
b27855 |
|
|
Packit |
b27855 |
AC_CONFIG_SUBDIRS([lib src tests doc])
|
|
Packit |
b27855 |
|
|
Packit |
b27855 |
dnl This piece of sed script replaces every line containing '@subdir@'
|
|
Packit |
b27855 |
dnl by several consecutive lines, each referencing one subdir.
|
|
Packit |
b27855 |
extrasub="$extrasub"'
|
|
Packit |
b27855 |
/@subdir@/{
|
|
Packit |
b27855 |
h
|
|
Packit |
b27855 |
g
|
|
Packit |
b27855 |
s/@subdir@/lib/
|
|
Packit |
b27855 |
p
|
|
Packit |
b27855 |
g
|
|
Packit |
b27855 |
s/@subdir@/src/
|
|
Packit |
b27855 |
p
|
|
Packit |
b27855 |
g
|
|
Packit |
b27855 |
s/@subdir@/tests/
|
|
Packit |
b27855 |
p
|
|
Packit |
b27855 |
g
|
|
Packit |
b27855 |
s/@subdir@/doc/
|
|
Packit |
b27855 |
p
|
|
Packit |
b27855 |
d
|
|
Packit |
b27855 |
}
|
|
Packit |
b27855 |
'
|
|
Packit |
b27855 |
AC_OUTPUT([Makefile])
|