bug-gnulib
[Top][All Lists]
Advanced

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

exitfail


From: Simon Josefsson
Subject: exitfail
Date: Thu, 04 Mar 2010 14:43:57 +0100
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux)

There is also this warning:

gnulib-tool: warning: module obstack depends on a module with an incompatible 
license: exitfail

The exitfail.h is:

extern int volatile exit_failure;

and exitfail.c is:

#include <config.h>
#include "exitfail.h"
#include <stdlib.h>
int volatile exit_failure = EXIT_FAILURE;

Is this worth having the GPL on?  Assuming it is even copyrightable, it
seems rather trivial to me.  Any objections to relaxing the license to
at least LGPLv2.1+?

Further, exitfail.m4 is:

AC_DEFUN([gl_EXITFAIL],
[
  AC_LIBOBJ([exitfail])

  dnl No prerequisites of lib/exitfail.c.
  :
])

It seems this file could be dropped, and the AC_LIBOBJ moved to
modules/exitfail.

See patch below.

/Simon

>From 63d31953c3f950bfac3b51ac1cd63928969a7204 Mon Sep 17 00:00:00 2001
From: Simon Josefsson <address@hidden>
Date: Thu, 4 Mar 2010 14:42:41 +0100
Subject: [PATCH] exitfail: Relax license to LGPLv2.1+.  Drop exitfail.m4.

---
 m4/exitfail.m4   |   14 --------------
 modules/exitfail |    5 ++---
 2 files changed, 2 insertions(+), 17 deletions(-)
 delete mode 100644 m4/exitfail.m4

diff --git a/m4/exitfail.m4 b/m4/exitfail.m4
deleted file mode 100644
index 56e2ce0..0000000
--- a/m4/exitfail.m4
+++ /dev/null
@@ -1,14 +0,0 @@
-# exitfail.m4 serial 6
-dnl Copyright (C) 2002, 2003, 2005, 2006, 2009, 2010 Free Software Foundation,
-dnl Inc.
-dnl This file is free software; the Free Software Foundation
-dnl gives unlimited permission to copy and/or distribute it,
-dnl with or without modifications, as long as this notice is preserved.
-
-AC_DEFUN([gl_EXITFAIL],
-[
-  AC_LIBOBJ([exitfail])
-
-  dnl No prerequisites of lib/exitfail.c.
-  :
-])
diff --git a/modules/exitfail b/modules/exitfail
index 26f5a92..c889285 100644
--- a/modules/exitfail
+++ b/modules/exitfail
@@ -4,13 +4,12 @@ Set exit status for fatal signal.
 Files:
 lib/exitfail.h
 lib/exitfail.c
-m4/exitfail.m4
 
 Depends-on:
 exit
 
 configure.ac:
-gl_EXITFAIL
+AC_LIBOBJ([exitfail])
 
 Makefile.am:
 
@@ -18,7 +17,7 @@ Include:
 "exitfail.h"
 
 License:
-GPL
+LGPLv2.1+
 
 Maintainer:
 Paul Eggert
-- 
1.7.0





reply via email to

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