1 # Bootstrap configuration.
3 # Copyright (C) 2006-2018 Free Software Foundation, Inc.
5 # This program is free software: you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 3 of the License, or
8 # (at your option) any later version.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with this program. If not, see <https://www.gnu.org/licenses/>.
19 GNULIB_REVISION=900ca5c0b092e50f9f17329feea3fbfe2b6e2139
21 # gnulib modules used by this package.
73 gnulib_tool_option_extras="\
75 --no-conditional-dependencies \
82 # This doesn't currently exist, but we set it to avoid confusion with 'gl'
83 # as the local output directory.
84 local_gl_dir=gnulib-local
90 COPYRIGHT_HOLDER='Colin Watson <cjwatson@debian.org>'
91 MSGID_BUGS_ADDRESS="$COPYRIGHT_HOLDER"
93 # Additional xgettext options to use. Use "\\\newline" to break lines.
94 XGETTEXT_OPTIONS=$XGETTEXT_OPTIONS'\\\
96 --flag=debug:1:c-format\\\
97 --flag=debug_error:1:c-format\\\
106 # Build prerequisites
116 bootstrap_post_import_hook () {
117 patch -s -p1 <patches/argp-domain.patch
118 patch -s -p1 <patches/fdutimens-hurd.patch
120 # gnulib-tool installs its own versions of gettext infrastructure files
121 # such as po/Makefile.in.in, which don't necessarily match our configured
122 # AM_GNU_GETTEXT_VERSION. To cope with this, we tell gnulib-tool to
123 # install into a temporary directory (using --po-base above) and fix
125 cp -a gl/ref-po/LINGUAS gl/ref-po/POTFILES.in gl/po/
126 sed 's,^subdir *=.*,subdir = gl/po,' gl/ref-po/Makevars >gl/po/Makevars
127 if ls gl/ref-po/*.po >/dev/null 2>&1; then
128 cp -a gl/ref-po/*.po gl/po/
133 bootstrap_epilogue () {
134 mv INSTALL docs/INSTALL.autoconf