summaryrefslogtreecommitdiff
path: root/bootstrap.conf
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@suse.de>2010-02-17 16:39:58 +0100
committerAndreas Gruenbacher <agruen@suse.de>2010-04-12 16:27:55 +0200
commit7fa8417c05f8d56b0c6b09412be7a52c30212c32 (patch)
treed945113753e3b2c8c3560cf0bd5466e18cb8345d /bootstrap.conf
parent8d5ea52c7a41f56c296baab0fe23392d38263393 (diff)
downloadpatch-7fa8417c05f8d56b0c6b09412be7a52c30212c32.tar.gz
Convert to automake and use a git submodule for gnulib
* configure.ac: Add automake and gnulib macros, replace several obsolete macros. * Makefile.am, lib/Makefile.am, src/Makefile.am, tests/Makefile.am: Add for automake. * autogen.sh, INSTALL, Makefile.in, mkinstalldirs, update-version.sh: Obsolete; remove. * README-hacking: Import from diffutils, replace cvs with git. * build-aux: Move gnulib auxiliary files here from the top-level directory. * gnulib: Add gnulib git submodule. * bootstrap, bootstrap.conf: Import from gnulib and adjust. * gl/lib: Remove gnulib files from the repository; they are now imported into lib/ from gnulib as needed. * tests/test-lib.sh: Use $abs_top_builddir exported from tests/Makefile.am here instead of $PWD. * m4/utimbuf.m4: This macro has been removed from gnulib. Add it here for now; this will be replaced by gnulib's utimens module soon.
Diffstat (limited to 'bootstrap.conf')
-rw-r--r--bootstrap.conf81
1 files changed, 81 insertions, 0 deletions
diff --git a/bootstrap.conf b/bootstrap.conf
new file mode 100644
index 0000000..d53e0a1
--- /dev/null
+++ b/bootstrap.conf
@@ -0,0 +1,81 @@
+# Bootstrap configuration.
+
+# Copyright (C) 2006, 2007, 2009, 2010 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
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+
+# gnulib modules used by this package.
+gnulib_modules="
+argmatch
+backupfile
+dirname
+dup2
+exitfail
+extensions
+full-write
+getopt-gnu
+git-version-gen
+hash
+malloc
+memchr
+minmax
+quotearg
+realloc
+rename
+rmdir
+ssize_t
+stdbool
+stdlib
+unlink
+xalloc
+"
+
+# # Additional xgettext options to use. Use "\\\newline" to break lines.
+# XGETTEXT_OPTIONS=$XGETTEXT_OPTIONS'\\\
+# --from-code=UTF-8\\\
+# --flag=asprintf:2:c-format --flag=vasprintf:2:c-format\\\
+# --flag=asnprintf:3:c-format --flag=vasnprintf:3:c-format\\\
+# --flag=wrapf:1:c-format\\\
+# '
+#
+# # If "AM_GNU_GETTEXT(external" or "AM_GNU_GETTEXT([external]"
+# # appears in configure.ac, exclude some unnecessary files.
+# # Without grep's -E option (not portable enough, pre-configure),
+# # the following test is ugly. Also, this depends on the existence
+# # of configure.ac, not the obsolescent-named configure.in. But if
+# # you're using this infrastructure, you should care about such things.
+#
+# gettext_external=0
+# grep '^[ ]*AM_GNU_GETTEXT(external\>' configure.ac > /dev/null &&
+# gettext_external=1
+# grep '^[ ]*AM_GNU_GETTEXT(\[external\]' configure.ac > /dev/null &&
+# gettext_external=1
+#
+# if test $gettext_external = 1; then
+# # Gettext supplies these files, but we don't need them since
+# # we don't have an intl subdirectory.
+# excluded_files='
+# m4/glibc2.m4
+# m4/intdiv0.m4
+# m4/lcmessage.m4
+# m4/lock.m4
+# m4/printf-posix.m4
+# m4/size_max.m4
+# m4/uintmax_t.m4
+# m4/ulonglong.m4
+# m4/visibility.m4
+# m4/xsize.m4
+# '
+# fi