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