[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: getdate.lo is linked twice to libgnu.la
From: |
Simon Josefsson |
Subject: |
Re: getdate.lo is linked twice to libgnu.la |
Date: |
Wed, 13 Sep 2006 16:03:16 +0200 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) |
Simon Josefsson <address@hidden> writes:
> Ralf Wildenhues <address@hidden> writes:
>
>> I think the fix is to drop the AC_LIBOBJ line from getdate.m4. But
>> Automake also could warn against this (it warns in a slightly simpler
>> setting not involving built sources). For this however, gnulib-tool
>> should use $(LIBOBJS) instead of @LIBOBJS@ in the Makefile.am snippet
>> that it outputs (so that automake has a chance to detect this). Why
>> doesn't gnulib-tool do that, by the way?
>
> Making that change does not appear to change anything.
Although doing what you suggest, dropping AC_LIBOBJ, do fix
everything.
Paul, ok to install?
2006-09-13 Simon Josefsson <address@hidden>
* getdate.m4: Don't AC_LIBOBJ([getdate]), automake takes care of
that internally, suggested by Ralf Wildenhues
<address@hidden>.
--- getdate.m4 22 Aug 2006 12:09:55 +0200 1.10
+++ getdate.m4 13 Sep 2006 16:01:53 +0200
@@ -1,4 +1,4 @@
-# getdate.m4 serial 10
+# getdate.m4 serial 11
dnl Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@ -19,8 +19,6 @@
AC_DEFUN([gl_GETDATE],
[
- AC_LIBOBJ([getdate])
-
dnl Prerequisites of lib/getdate.h.
AC_REQUIRE([AM_STDBOOL_H])
AC_REQUIRE([gl_TIMESPEC])