bug-gnulib
[Top][All Lists]
Advanced

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

Re: new dirent module


From: Derek R. Price
Subject: Re: new dirent module
Date: Wed, 12 Jul 2006 15:16:54 -0400
User-agent: Thunderbird 1.5.0.4 (Windows/20060516)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Paul Eggert wrote:
> Sorry, I don't quite follow.  Many packages slap that stuff directly
> into their makefiles from modules/dirent, using an automated script.
> Are you saying that these packages might not work on Unix-like hosts?
> on Windows-like hosts?

The rules won't break anywhere - they just won't do anything, mostly.
Consider:

  Makefile.am:
  libgnu_a_SOURCES += $(DIRENT_O)
  BUILT_SOURCES += $(DIRENT_H)
  EXTRA_DIST += dirent_.h dirent.c

  dirent.h: dirent_.h
          cp $(srcdir)/dirent_.h $@
  MOSTLYCLEANFILES += dirent.h

On UNIX, the EXTRA_DIST is important, but since $(DIRENT_O) and
$(DIRENT_H) won't ever get substituted, the rest of the rules should
never run.

On Windows, at least with MSVC, any Makefile will be ignored, if it was
even created, since configure won't run.

I was trying to say, however, that the rules that don't ever run might
still be instructive to someone attempting to add the module to an MSVC
project.

> Do Windows-based compilers not have memcpy?  If not, then this module
> need not depend on the memcpy module.

My mistake.  Fixed.

> I'd wait for the paperwork, since it's not urgent.

Okay.

Derek
- --
Derek R. Price
CVS Solutions Architect
Get CVS support at Ximbiot <http://ximbiot.com>!
v: +1 248.835.1260
f: +1 248.835.1263
<mailto:address@hidden>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEtUqmLD1OTBfyMaQRAo5rAJ9M0YcvlIzj2TiKyO44y5oRsrwbgACeNME9
6sNvUZdDh10v19dFDYeu0rY=
=IuM7
-----END PGP SIGNATURE-----





reply via email to

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