Home | History | Annotate | Line # | Download | only in examples
      1  1.1  christos dnl Configuration for the gettext-tools/examples directory of GNU gettext
      2  1.1  christos dnl Copyright (C) 2006 Free Software Foundation, Inc.
      3  1.1  christos dnl
      4  1.1  christos dnl This program is free software; you can redistribute it and/or modify
      5  1.1  christos dnl it under the terms of the GNU General Public License as published by
      6  1.1  christos dnl the Free Software Foundation; either version 2, or (at your option)
      7  1.1  christos dnl any later version.
      8  1.1  christos dnl
      9  1.1  christos dnl This program is distributed in the hope that it will be useful,
     10  1.1  christos dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
     11  1.1  christos dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     12  1.1  christos dnl GNU General Public License for more details.
     13  1.1  christos dnl
     14  1.1  christos dnl You should have received a copy of the GNU General Public License
     15  1.1  christos dnl along with this program; if not, write to the Free Software Foundation,
     16  1.1  christos dnl Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
     17  1.1  christos 
     18  1.1  christos dnl Process this file with autoconf to produce a configure script.
     19  1.1  christos 
     20  1.1  christos AC_PREREQ(2.57)
     21  1.1  christos AC_INIT
     22  1.1  christos AC_CONFIG_SRCDIR(installpaths.in)
     23  1.1  christos AC_CONFIG_AUX_DIR(../../build-aux)
     24  1.1  christos . $srcdir/../../version.sh
     25  1.1  christos AM_INIT_AUTOMAKE(gettext-examples, $VERSION_NUMBER)
     26  1.1  christos 
     27  1.1  christos dnl Installation directories.
     28  1.1  christos test "$docdir" != '${datarootdir}/doc/${PACKAGE}' || docdir='${datarootdir}/doc/gettext'
     29  1.1  christos 
     30  1.1  christos AM_PO_SUBDIRS
     31  1.1  christos 
     32  1.1  christos aclocaldir='${datadir}/aclocal'
     33  1.1  christos AC_SUBST(aclocaldir)
     34  1.1  christos 
     35  1.1  christos AC_CONFIG_FILES([Makefile],
     36  1.1  christos                 [FIX_MAKEFILE_TOPDIR_DISTRIB])
     37  1.1  christos AC_CONFIG_FILES([installpaths])
     38  1.1  christos AC_CONFIG_FILES([po/Makefile], [AM_POSTPROCESS_PO_MAKEFILE])
     39  1.1  christos 
     40  1.1  christos AC_OUTPUT
     41