bug-gnulib
[Top][All Lists]
Advanced

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

Re: [Bug-gnulib] proposed patch for getline / getndelim2 when both are u


From: Bruno Haible
Subject: Re: [Bug-gnulib] proposed patch for getline / getndelim2 when both are used
Date: Tue, 5 Aug 2003 18:21:36 +0200
User-agent: KMail/1.5

Paul Eggert wrote:
> The basic idea is to always build
> getndelim2.o if you use either module.

Well, I don't like this because in gettext (where I need only the
getline module) I don't want getndelim.o to be compiled in libgettextlib.so
if it's not needed.

Does this patch work for you in coreutils?

Bruno


*** m4/getndelim2.m4    18 Jul 2003 16:58:06 -0000      1.1
--- m4/getndelim2.m4    5 Aug 2003 16:18:21 -0000
***************
*** 8,13 ****
--- 8,14 ----
  
  AC_DEFUN([gl_GETNDELIM2],
  [
+   AC_LIBOBJ(getndelim2)
    gl_PREREQ_GETNDELIM2
  ])
  
*** modules/getndelim2  18 Jul 2003 16:58:06 -0000      1.1
--- modules/getndelim2  5 Aug 2003 16:18:21 -0000
***************
*** 15,21 ****
  gl_GETNDELIM2
  
  Makefile.am:
! lib_SOURCES += getndelim2.h getndelim2.c
  
  Include:
  "getndelim2.h"
--- 15,21 ----
  gl_GETNDELIM2
  
  Makefile.am:
! EXTRA_DIST += getndelim2.h getndelim2.c
  
  Include:
  "getndelim2.h"






reply via email to

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