X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/575619af5e1f61a5f78fb3910bee424ead5fe5a6..4d699f44e65d29b4d49cf68d7a3b4bf856eb5d1b:/bootstrap.conf diff --git a/bootstrap.conf b/bootstrap.conf index b7558e36..cb3fc870 100644 --- a/bootstrap.conf +++ b/bootstrap.conf @@ -1,6 +1,6 @@ # Bootstrap configuration. -# Copyright (C) 2006-2011 Free Software Foundation, Inc. +# Copyright (C) 2006-2012 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,17 @@ # 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 + announce-gen argmatch assert calloc-posix close closeout config-h c-strcase + configmake dirname error extensions fdl fopen-safer gendocs getopt-gnu + gettext git-version-gen gitlog-to-changelog + gpl-3.0 hash inttypes isnan javacomp-script + javaexec-script ldexpl maintainer-makefile malloc-gnu mbschr mbsrchr + mbswidth obstack perror pipe-posix progname + quote quotearg realloc-posix + spawn-pipe stdbool stpcpy strdup-posix strerror strtoul strverscmp + sysexits + unistd unistd-safer unlocked-io update-copyright unsetenv verify + warnings xalloc xalloc-die xstrndup fprintf-posix printf-posix snprintf-posix sprintf-posix vsnprintf-posix vsprintf-posix @@ -59,10 +63,15 @@ excluded_files=' m4/visibility.m4 ' -# Massage lib/gnulib.mk before using it later in the bootstrapping process. -gnulib_mk_hook() +gnulib_tool_option_extras='--symlink --makefile-name=gnulib.mk' + +bootstrap_post_import_hook() { - etc/prefix-gnulib-mk $1 + # Massage lib/gnulib.mk before using it later in the bootstrapping process. + etc/prefix-gnulib-mk --lib-name=$gnulib_name lib/$gnulib_mk + + # Ensure that ChangeLog exists, for automake. + test -f ChangeLog || touch ChangeLog } bootstrap_epilogue() @@ -72,4 +81,9 @@ bootstrap_epilogue() touch src/parse-gram.[ch] } -bootstrap_sync=true +# 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. +# FIXME: temporary bootstrap_sync=true