# Bootstrap configuration.
-# Copyright (C) 2006-2010 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
# We don't need these modules.
avoided_gnulib_modules='
--avoid=dummy
- --avoid=lock
'
# gnulib modules used by this package.
gnulib_modules="
- $avoided_gnulib_modules
- alloca announce-gen assert
- argmatch
- calloc config-h configmake
- canonicalize-lgpl
- close
- closeout
- dirname
- fdl
- fsync
- gettext
- git-version-gen
- gitlog-to-changelog
- gnu-web-doc-update
- gnumakefile
- gnupload
- inttypes
- lib-ignore
- long-options
- lseek
- malloc
- maintainer-makefile
- manywarnings
- mkstemp
- mktempd
- realloc
- rpmatch
- progname
- safe-read
- stdbool
- strdup
- unlink
- update-copyright
- useless-if-before-free
- vc-list-files
- version-etc-fsf
- warnings
- xstrtol
+ $avoided_gnulib_modules
+ alloca
+ announce-gen
+ argmatch
+ assert
+ c-ctype
+ c-strcase
+ calloc-gnu
+ canonicalize-lgpl
+ close
+ closeout
+ config-h
+ configmake
+ dirname
+ do-release-commit-and-tag
+ fdl
+ fsync
+ gettext-h
+ git-version-gen
+ gitlog-to-changelog
+ gnu-web-doc-update
+ gnumakefile
+ gnupload
+ inttypes
+ lib-ignore
+ long-options
+ lseek
+ maintainer-makefile
+ malloc-gnu
+ manywarnings
+ mkstemp
+ mktempd
+ progname
+ realloc-gnu
+ rpmatch
+ safe-read
+ stdbool
+ strdup-posix
+ unlink
+ update-copyright
+ useless-if-before-free
+ usleep
+ vc-list-files
+ version-etc-fsf
+ warnings
+ xstrtol
+ xstrtoll
"
# Additional xgettext options to use. Use "\\\newline" to break lines.
'
fi
-gnulib_tool_option_extras="--tests-base=$bt/gnulib-tests --with-tests"
+gnulib_tool_option_extras="--tests-base=gnulib-tests --with-tests --symlink\
+ --makefile-name=gnulib.mk
+"
mkdir -p gnulib-tests
# Build prerequisites
autoconf 2.61
automake 1.11
autopoint -
+bc -
gettext -
git 1.4.4
gperf 3.0.3
tar -
"
-# If there is no ChangeLog file, create it.
-if test -d .git; then
- test -e ChangeLog ||
- git log --pretty=medium | fold -s > ChangeLog
-fi
+# Automake requires that ChangeLog exist.
+touch ChangeLog || exit 1
gnulib_name=libgnulib