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