Fixes for FreeBSD build.

This commit is contained in:
Micah Cowan 2009-09-02 20:14:19 -07:00
parent fcdf608fb2
commit 75c4606003
4 changed files with 17 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2009-09-02 Micah Cowan <micah@cowan.name>
* po/Rules-quot (en_US.po-update): Remove use of GNU make's
non-portable $^ variable.
2009-08-27 Micah Cowan <micah@cowan.name>
* NEWS: Mention the changes to exit codes.

View File

@ -54,4 +54,4 @@ mostlyclean-quot:
en_US.po: en_US.po-update
en_US.po-update: en@quot.po
cp $^ en_US.po
cp en@quot.po en_US.po

View File

@ -1,5 +1,9 @@
2009-09-02 Micah Cowan <micah@cowan.name>
* test.c: Added definition of program_name variable, required by
lib/error.c (libgnu.a). Doesn't cause problems until you try to
build on a non-GNU system...
* build_info.c.in: Removed useless "+gettext" feature ad.
2009-08-29 Steven Schubiger <stsc@member.fsf.org>

View File

@ -63,11 +63,16 @@ all_tests()
return NULL;
}
char *program_name; /* Needed by lib/error.c. */
int
main (void)
main (int argc, char *argv[])
{
const char *result = all_tests();
const char *result;
program_name = argv[0];
result = all_tests();
if (result != NULL)
{