automake-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Automake-commit] [SCM] GNU Automake branch, master, updated. Release-1-


From: Ralf Wildenhues
Subject: [Automake-commit] [SCM] GNU Automake branch, master, updated. Release-1-10-252-g77316d5
Date: Sat, 31 Jan 2009 09:39:12 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Automake".

http://git.sv.gnu.org/gitweb/?p=automake.git;a=commitdiff;h=77316d54d4f279f82f4fae6d49336fa442ec1849

The branch, master has been updated
       via  77316d54d4f279f82f4fae6d49336fa442ec1849 (commit)
      from  0a0bdb97abaec849db6e4dc6caa6a919faa2491f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 77316d54d4f279f82f4fae6d49336fa442ec1849
Author: Ralf Wildenhues <address@hidden>
Date:   Sat Jan 31 10:33:00 2009 +0100

    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.
    
    Signed-off-by: Ralf Wildenhues <address@hidden>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog          |    8 ++++++++
 THANKS             |    1 +
 tests/mmodely.test |   14 +++++++++++---
 3 files changed, 20 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 27bf4e3..6ca208c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2009-01-31  Ralf Wildenhues  <address@hidden>
+
+       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  <address@hidden>
 
        * lib/gnupload: Add download URL to --help output.
diff --git a/THANKS b/THANKS
index b415eab..240e343 100644
--- a/THANKS
+++ b/THANKS
@@ -52,6 +52,7 @@ Bruce Korb            address@hidden
 Bruno Haible           address@hidden
 Carsten Lohrke         address@hidden
 Charles Wilson         address@hidden
+Chris Hoogendyk                address@hidden
 Chris Pickett          address@hidden
 Chris Provenzano       address@hidden
 Christian Cornelssen   address@hidden
diff --git a/tests/mmodely.test b/tests/mmodely.test
index fd11ac2..2173523 100755
--- a/tests/mmodely.test
+++ b/tests/mmodely.test
@@ -1,5 +1,5 @@
 #! /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
@@ -39,18 +39,26 @@ zardoz_SOURCES = zardoz.y joe.l
 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
 


hooks/post-receive
--
GNU Automake




reply via email to

[Prev in Thread] Current Thread [Next in Thread]