OSDN Git Service

use gnulib's mktempd module/script
[android-x86/external-parted.git] / bootstrap.conf
1 # Bootstrap configuration.
2
3 # Copyright (C) 2006, 2007, 2008 Free Software Foundation, Inc.
4
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 3, or (at your option)
8 # any later version.
9
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 # GNU General Public License for more details.
14
15 # You should have received a copy of the GNU General Public License
16 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
17
18
19 # We don't need these modules, even though gnulib-tool mistakenly
20 # includes them because of gettext and fchdir dependencies.
21 avoided_gnulib_modules='
22         --avoid=lock
23         --avoid=size_max
24         --avoid=xsize
25         --avoid=canonicalize-lgpl
26 '
27
28 # These modules are obsolete and can probably be removed soon,
29 # but leave them in for now to minimize changes.
30 obsolete_gnulib_modules='
31         atexit free memchr memcmp memcpy memmove memset rename
32         strcspn strtod strtol utime
33 '
34
35 # gnulib modules used by this package.
36 gnulib_modules="
37         $avoided_gnulib_modules
38         $obsolete_gnulib_modules
39         alloca announce-gen assert
40         calloc config-h configmake
41         closeout
42         fdl
43         gettext
44         git-version-gen
45         gitlog-to-changelog
46         gnumakefile gnupload
47         inttypes
48         lib-ignore
49         long-options
50         malloc
51         mktempd
52         realloc
53         rpmatch
54         progname
55         safe-read
56         stdbool
57         useless-if-before-free
58         version-etc-fsf
59 "
60
61 # Additional xgettext options to use.  Use "\\\newline" to break lines.
62 XGETTEXT_OPTIONS=$XGETTEXT_OPTIONS'\\\
63  --from-code=UTF-8\\\
64  --flag=asprintf:2:c-format --flag=vasprintf:2:c-format\\\
65  --flag=asnprintf:3:c-format --flag=vasnprintf:3:c-format\\\
66  --flag=wrapf:1:c-format\\\
67 '
68
69 # Gettext supplies these files, but we don't need them since
70 # we don't have an intl subdirectory.
71 excluded_files='
72     m4/glibc2.m4
73     m4/intdiv0.m4
74     m4/lcmessage.m4
75     m4/lock.m4
76     m4/printf-posix.m4
77     m4/size_max.m4
78     m4/uintmax_t.m4
79     m4/ulonglong.m4
80     m4/visibility.m4
81     m4/xsize.m4
82 '
83
84 # If there is no ChangeLog file, create it.
85 if test -d .git; then
86   test -e ChangeLog ||
87     git log --pretty=medium | fold -s > ChangeLog
88 fi