build: don't define _GNU_SOURCE manually
authorJim Meyering <meyering@redhat.com>
Fri, 21 Aug 2009 17:44:36 +0000 (19:44 +0200)
committerJim Meyering <meyering@redhat.com>
Mon, 24 Aug 2009 16:15:13 +0000 (18:15 +0200)
commit881770900938595565036b9b191cfdf39ff0dc98
tree33773c2135530588a73409795a825c3e01aa2707
parentb9a691af0fa468873eda3706a1c797568857785b
build: don't define _GNU_SOURCE manually

Now that we're using gnulib in earnest, any manual definition
would provoke a redefinition warning.
* fish/fish.c (_GNU_SOURCE): Don't define.
* fish/destpaths.c (_GNU_SOURCE): Likewise.
* src/guestfs.c (_GNU_SOURCE): Likewise.
* bootstrap (modules): Add asprintf, strchrnul, strerror, strndup
and vasprintf.
* fish/fish.c (main): Set argv[0] to sanitized program_name, so
functions like getopt_long that use argv[0] use the clean name.
bootstrap
fish/destpaths.c
fish/fish.c
src/guestfs.c