[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-gnulib] alloca and alloca-opt conflict
From: |
Simon Josefsson |
Subject: |
[bug-gnulib] alloca and alloca-opt conflict |
Date: |
Sat, 18 Dec 2004 02:54:28 +0100 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) |
The modules getdate and vasnprintf depend on alloca and alloca-opt,
respectively, which causes this:
Makefile:602: warning: overriding commands for target `alloca.h'
Makefile:595: warning: ignoring old commands for target `alloca.h'
The only difference between alloca and alloca-opt seem to be the
alloca.c file and the license. How about this patch?
2004-12-18 Simon Josefsson <address@hidden>
* modules/alloca: Depend on alloca-opt, instead of duplicating it.
Index: alloca
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/alloca,v
retrieving revision 1.10
diff -u -p -u -w -r1.10 alloca
--- alloca 22 Sep 2004 15:11:04 -0000 1.10
+++ alloca 18 Dec 2004 01:53:09 -0000
@@ -2,26 +2,14 @@ Description:
Memory allocation on the stack.
Files:
-lib/alloca_.h
lib/alloca.c
-m4/alloca.m4
Depends-on:
+alloca-opt
configure.ac:
-gl_FUNC_ALLOCA
Makefile.am:
-BUILT_SOURCES += $(ALLOCA_H)
-EXTRA_DIST += alloca_.h
-
-# We need the following in order to create an <alloca.h> when the system
-# doesn't have one that works with the given compiler.
-all-local $(lib_OBJECTS): $(ALLOCA_H)
-alloca.h: alloca_.h
- cp $(srcdir)/alloca_.h address@hidden
- mv address@hidden $@
-MOSTLYCLEANFILES += alloca.h alloca.h-t
Include:
#include <alloca.h>
- [bug-gnulib] alloca and alloca-opt conflict,
Simon Josefsson <=