misc: require getline

* bootstrap.conf: Here, used by src/location.c.
* src/getargs.c (long_options): Rename --flags to --feature.
This commit is contained in:
Theophile Ranquet
2012-12-05 15:27:25 +01:00
parent 7ae57e2a35
commit e35cd6def7
5 changed files with 13 additions and 2 deletions

View File

@@ -20,7 +20,9 @@ gnulib_modules='
argmatch assert calloc-posix close closeout config-h c-strcase
configmake
dirname
error extensions fdl fopen-safer getopt-gnu
error extensions fdl fopen-safer
getline
getopt-gnu
gettext git-version-gen gitlog-to-changelog
gpl-3.0 hash inttypes isnan javacomp-script
javaexec-script ldexpl malloc-gnu mbschr mbsrchr

View File

@@ -1,3 +1,8 @@
# This file is expected to be used via gitlog-to-changelog's --amend=FILE
# option. It specifies what changes to make to each given SHA1's commit
# log and metadata, using Perl-eval'able expressions.
0db2648930e3b6c376a539aabe368aade83ee29a
s/--flags/--feature/;
s/flag_flag/feature_flag/;
s/\bflag\b/feature/;

2
lib/.gitignore vendored
View File

@@ -278,3 +278,5 @@
/stdio.c
/unistd.c
/wctype-h.c
/getdelim.c
/getline.c

2
m4/.gitignore vendored
View File

@@ -180,3 +180,5 @@
/xstrndup.m4
/obstack-printf.m4
/extern-inline.m4
/getdelim.m4
/getline.m4

View File

@@ -552,7 +552,7 @@ static struct option const long_options[] =
/* Output. */
{ "defines", optional_argument, 0, 'd' },
{ "flag", optional_argument, 0, 'f' },
{ "feature", optional_argument, 0, 'f' },
/* Operation modes. */
{ "fixed-output-files", no_argument, 0, 'y' },