1dnl autoconf configuration for gperf
2
3dnl Copyright (C) 1998, 2002, 2003, 2005-2007 Free Software Foundation, Inc.
4dnl Written by Douglas C. Schmidt <schmidt@ics.uci.edu>
5dnl and Bruno Haible <bruno@clisp.org>.
6dnl
7dnl This file is part of GNU GPERF.
8dnl
9dnl GNU GPERF is free software; you can redistribute it and/or modify
10dnl it under the terms of the GNU General Public License as published by
11dnl the Free Software Foundation; either version 2, or (at your option)
12dnl any later version.
13dnl
14dnl GNU GPERF is distributed in the hope that it will be useful,
15dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
16dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17dnl GNU General Public License for more details.
18dnl
19dnl You should have received a copy of the GNU General Public License
20dnl along with this program; see the file COPYING.
21dnl If not, write to the Free Software Foundation, Inc.,
22dnl 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
23
24AC_PREREQ([2.60])
25AC_INIT(doc/gperf.1)
26AC_PROG_MAKE_SET
27AC_OBJEXT
28AC_EXEEXT
29
30dnl An autoconf-2.52 bug: AC_CONFIG_SUBDIRS requires AC_CONFIG_AUX_DIR_DEFAULT.
31ac_aux_dir=$srcdir
32AC_PROVIDE([AC_CONFIG_AUX_DIR_DEFAULT])
33AC_CONFIG_SUBDIRS(lib src tests doc)
34
35dnl This piece of sed script replaces every line containing '@subdir@'
36dnl by several consecutive lines, each referencing one subdir.
37extrasub="$extrasub"'
38/@subdir@/{
39h
40g
41s/@subdir@/lib/
42p
43g
44s/@subdir@/src/
45p
46g
47s/@subdir@/tests/
48p
49g
50s/@subdir@/doc/
51p
52d
53}
54'
55AC_OUTPUT(Makefile)
56