summaryrefslogtreecommitdiffabout
path: root/bootstrap.conf
authorSergey Poznyakoff <gray@gnu.org.ua>2008-03-11 23:22:54 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2008-03-11 23:22:54 (GMT)
commitc56ae1845ebbe64a9f73eb60f365a1f8f29a0100 (patch) (side-by-side diff)
treef15c06cfb7b9f90b83e275120e8367467d02fb2e /bootstrap.conf
parent3a2e207c3413ed61ed12ab9738146c5ce73f73d6 (diff)
downloadpies-c56ae1845ebbe64a9f73eb60f365a1f8f29a0100.tar.gz
pies-c56ae1845ebbe64a9f73eb60f365a1f8f29a0100.tar.bz2
Rewrite the bootstrap suite.
* README-alpha: Rewritten. * bootstrap.conf: Rewritten. * bootstrap: Slightly modified version from gnulib. * gnulib.modules, README-hacking: New files. * doc/mailfromd.texi: Minor fix.
Diffstat (limited to 'bootstrap.conf') (more/less context) (ignore whitespace changes)
-rw-r--r--bootstrap.conf68
1 files changed, 68 insertions, 0 deletions
diff --git a/bootstrap.conf b/bootstrap.conf
new file mode 100644
index 0000000..b12acda
--- a/dev/null
+++ b/bootstrap.conf
@@ -0,0 +1,68 @@
+# Bootstrap configuration for Mailfromd.
+# Copyright (C) 2008 Sergey Poznyakoff
+#
+# 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, 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/>.
+
+source_base=gnu
+gnulib_name=libgnu
+gnulib_mk=Makefile.am
+
+MODAVOID="xalloc-die openat-die"
+
+if [ -n "$MODAVOID" ]; then
+ gnulib_tool_option_extras="`echo $MODAVOID | sed 's/\([^ ][^ ]*\)/--avoid &/g'`"
+fi
+
+# gnulib modules used by this package.
+gnulib_modules=`grep '^[^#]' gnulib.modules`
+
+NLS_MARKERS="\
+ MF_THROW:2\
+ MF_ASSERT:3\
+ parse_error:1\
+ parse_error_locus:2\
+ mu_error:1\
+ gacopyz_io_log:3\
+ gacopyz_logmsg:2\
+ gacopyz_log:3"
+
+
+# Additional xgettext options to use. Use "\\\newline" to break lines.
+if [ -n "$NLS_MARKERS" ]; then
+ XGETTEXT_OPTIONS="$XGETTEXT_OPTIONS "`echo $NLS_MARKERS | tr ' ' '\n' | sed 's/.*/ --flag=&:pass-c-format\\\\\\\\\\\\/'`"
+"
+fi
+
+# Bug address
+extract_bug_address='
+ /^AC-INIT-BUG-ADDRESS/{
+ s/[][]//g
+ s/.*=//p
+ }
+'
+
+COPYRIGHT_HOLDER="Sergey Poznyakoff"
+MSGID_BUGS_ADDRESS=`m4 -D'AC_INIT=AC-INIT-BUG-ADDRESS=$3' configure.ac | sed -n "$extract_bug_address"`
+if test -z "$MSGID_BUGS_ADDRESS"; then
+ MSGID_BUGS_ADDRESS="bug-${package}@gnu.org.ua"
+fi
+
+# Read local configuration file
+if [ -r .bootstrap ]; then
+ echo "$0: Reading configuration file .bootstrap"
+ eval set -- "`sed 's/#.*$//;/^$/d' .bootstrap | tr '\n' ' '` $*"
+fi
+
+test -d $source_base || mkdir $source_base
+

Return to:

Send suggestions and report system problems to the System administrator.