configure.ac revision 1.1.1.1 1 dnl Configuration for the gettext-tools/examples directory of GNU gettext
2 dnl Copyright (C) 2006 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 2, or (at your option)
7 dnl 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, write to the Free Software Foundation,
16 dnl Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17
18 dnl Process this file with autoconf to produce a configure script.
19
20 AC_PREREQ(2.57)
21 AC_INIT
22 AC_CONFIG_SRCDIR(installpaths.in)
23 AC_CONFIG_AUX_DIR(../../build-aux)
24 . $srcdir/../../version.sh
25 AM_INIT_AUTOMAKE(gettext-examples, $VERSION_NUMBER)
26
27 dnl Installation directories.
28 test "$docdir" != '${datarootdir}/doc/${PACKAGE}' || 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
41