+2009-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ Fix mmodely.test to work on Solaris 10.
+ * tests/mmodely.test: Define yylex, to satisfy needed symbol in
+ libfl. Return from main instead of using exit, undeclared.
+ * THANKS: Update.
+ Report by Chris Hoogendyk.
+
2009-01-30 Karl Berry <karl@freefriends.org>
* lib/gnupload: Add download URL to --help output.
Bruno Haible haible@ilog.fr
Carsten Lohrke carlo@gentoo.org
Charles Wilson cwilson@ece.gatech.edu
+Chris Hoogendyk hoogendyk@bio.umass.edu
Chris Pickett chris.pickett@mail.mcgill.ca
Chris Provenzano proven@io.proven.org
Christian Cornelssen ccorn@cs.tu-berlin.de
#! /bin/sh
-# Copyright (C) 2004, 2006, 2007 Free Software Foundation, Inc.
+# Copyright (C) 2004, 2006, 2007, 2009 Free Software Foundation, Inc.
#
# 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
LDADD = @LEXLIB@
END
-# The point of this test is that it is not dependant on a working lex or yacc.
+# The point of this test is that it is not dependent on a working lex or yacc.
cat > joe.c <<EOF
int joe (int arg)
{
return arg * 2;
}
EOF
+# On systems which link in libraries non-lazily and whose linkers
+# complain about unresolved symbols by default, such as Solaris, an
+# yylex function needs to be defined to avoid an error due to an
+# unresolved symbol.
cat > zardoz.c <<EOF
int joe (int arg);
+int yylex (void)
+{
+ return 0;
+}
int main (int argc, char **argv)
{
- exit (joe (argc));
+ return joe (argc);
}
EOF