X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/dcd39f1d4ab0d2efa467406682175643c7c0ca1d..7b0ca050f7153f3d038243bf1182b23854996788:/bootstrap.conf?ds=sidebyside diff --git a/bootstrap.conf b/bootstrap.conf index 0b1b768e..c58470e2 100644 --- a/bootstrap.conf +++ b/bootstrap.conf @@ -1,6 +1,6 @@ # Bootstrap configuration. -# Copyright (C) 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 2006-2013 Free Software Foundation, Inc. # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -17,13 +17,30 @@ # gnulib modules used by this package. gnulib_modules=' - announce-gen argmatch assert config-h c-strcase configmake dirname - error extensions fopen-safer gendocs getopt-gnu gettext - git-version-gen hash inttypes javacomp-script javaexec-script - maintainer-makefile malloc-gnu mbswidth obstack pipe quote quotearg - realloc-posix stdbool stpcpy strerror strtoul strverscmp unistd - unistd-safer unlocked-io update-copyright unsetenv verify warnings - xalloc xalloc-die xstrndup + argmatch assert calloc-posix close closeout config-h c-strcase + configmake + dirname + error extensions fdl fopen-safer + getopt-gnu + gettext git-version-gen gitlog-to-changelog + gpl-3.0 hash inttypes isnan javacomp-script + javaexec-script ldexpl malloc-gnu + mbswidth + non-recursive-gnulib-prefix-hack + obstack + obstack-printf + perror progname + quote quotearg + readme-release + realloc-posix + spawn-pipe stdbool stpcpy strdup-posix strerror strtoul strverscmp + unistd unistd-safer unlocked-io update-copyright unsetenv verify + warnings + xalloc + xalloc-die + xconcat-filename + xmemdup0 + xstrndup fprintf-posix printf-posix snprintf-posix sprintf-posix vsnprintf-posix vsprintf-posix @@ -33,9 +50,8 @@ gnulib_modules=' XGETTEXT_OPTIONS=$XGETTEXT_OPTIONS'\\\ --from-code=UTF-8\\\ --flag=asprintf:2:c-format\\\ - --flag=complain:1:c-format --flag=complain_at:2:c-format\\\ - --flag=fatal:1:c-format --flag=fatal_at:2:c-format\\\ - --flag=warn:1:c-format --flag=warn_at:2:c-format\\\ + --flag=complain:3:c-format\\\ + --flag=complain_indent:4:c-format\\\ --flag=unexpected_end:2:c-format\\\ ' XGETTEXT_OPTIONS_RUNTIME=$XGETTEXT_OPTIONS'\\\ @@ -59,11 +75,29 @@ excluded_files=' m4/visibility.m4 ' +gnulib_tool_option_extras='--symlink --makefile-name=gnulib.mk' + +bootstrap_post_import_hook() +{ + # Massage lib/gnulib.mk before using it later in the bootstrapping process. + build-aux/prefix-gnulib-mk --lib-name=$gnulib_name lib/$gnulib_mk + + # Ensure that ChangeLog exists, for automake. + test -f ChangeLog || touch ChangeLog +} + bootstrap_epilogue() { # Make sure we don't need src/bison, which usually doesn't exist at # the time of a bootstrap. touch src/parse-gram.[ch] + + perl -pi -e "s/\@PACKAGE\@/$package/g" README-release } +# Keep our bootstrap script in sync with gnulib's. If we ever need to +# maintain our own bootstrap script again, set this to false, remove +# the bootstrap entry from the file .x-update-copyright, and add any +# needed copyright years to the copyright statement in the bootstrap +# script. bootstrap_sync=true