Imported Upstream version 0.19.7
[platform/upstream/gettext.git] / gettext-tools / examples / configure.ac
1 dnl Configuration for the gettext-tools/examples directory of GNU gettext
2 dnl Copyright (C) 2006, 2009, 2015 Free Software Foundation, Inc.
3 dnl
4 dnl This program is free software: you can redistribute it and/or modify
5 dnl it under the terms of the GNU General Public License as published by
6 dnl the Free Software Foundation; either version 3 of the License, or
7 dnl (at your option) any later version.
8 dnl
9 dnl This program is distributed in the hope that it will be useful,
10 dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
11 dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 dnl GNU General Public License for more details.
13 dnl
14 dnl You should have received a copy of the GNU General Public License
15 dnl along with this program.  If not, see <http://www.gnu.org/licenses/>.
16
17 dnl Process this file with autoconf to produce a configure script.
18
19 AC_PREREQ([2.57])
20 AC_INIT([gettext-examples],
21         m4_esyscmd([../../build-aux/git-version-gen ../../.tarball-version]),
22         [bug-gnu-gettext@gnu.org])
23 AC_CONFIG_SRCDIR([installpaths.in])
24 AC_CONFIG_AUX_DIR([../../build-aux])
25 AM_INIT_AUTOMAKE([silent-rules])
26
27 dnl Installation directories.
28 test "$docdir" != '${datarootdir}/doc/${PACKAGE_TARNAME}' || docdir='${datarootdir}/doc/gettext'
29
30 AM_PO_SUBDIRS
31
32 aclocaldir='${datadir}/aclocal'
33 AC_SUBST([aclocaldir])
34
35 AC_CONFIG_FILES([Makefile],
36                 [FIX_MAKEFILE_TOPDIR_DISTRIB])
37 AC_CONFIG_FILES([installpaths])
38 AC_CONFIG_FILES([po/Makefile], [AM_POSTPROCESS_PO_MAKEFILE])
39
40 AC_OUTPUT