[Ecls-list] Re: Build cleanups, part one.

Maciek Pasternacki maciekp at japhy.fnord.org
Thu Apr 7 05:08:52 UTC 2005

On Sweetmorn, Discord 18, 3171 YOLD, Maciek Pasternacki wrote:

> Done.  Current patch is at
> http://japhy.fnord.org/pub/ecls-build-20050401.tar.gz -- configure.in
> seems to be ok.  I'll now look closer into rest of build system
> (starting with Makefiles and config.h generation - two-stage building
> seems to be a hack, I want to have only config.h.in -> config.h stage,
> when config.h.in is generated automatically by autoheader from
> configure.in).  I'll also try to tweak msvc Makefiles.

Final (I hope) version of patch is at
http://japhy.fnord.org/pub/ecls-build-20050407.tar.gz .  I cleaned up
Makefiles (most changes are minor ones) and tweaked msvc build system
to match source changes (please test, I don't have msvc here).  I left
config.h generation alone -- after looking into it I decided it would
be overcomplicated and too error-prone.

Detailed list of changes since 20050401 patch:

Build diff version 1.2 (Makefiles)

*** User-visible changes

- Use $(DESTDIR) variable when installing to make packaging easier.

*** Internal changes

- Use @SET_MAKE@ and AC_PROG_SET_MAKE to set $(MAKE) if needed,
  always use $(MAKE) instead of just calling make;
- Use $(LN_S) supplied by autoconf instead of ln -s by hand;
- Use $0 instead of hard-coded program name in ecl-config;
- Removed NOP sed expression 's,~A,$(libdir),;s,~\*,,' from building
- Make BUILD_STAMP contain useful text (cut out of config.log instead
- Use @RANLIB@ found by autoconf instead of calling ranlib directly;
- Don't install config.h in src/Makefile (gets overwritten later by
- Reverted autoconf variable name change in *.lsp in #+msvc lines;
- Tweaked msvc makefiles to make it build with changes in source files
  (please check).

__    Maciek Pasternacki <maciekp at japhy.fnord.org> [ http://japhy.fnord.org/ ]
`| _   |_\  / { 3.141592653589793238462643383279502884197169399375105820974944
,|{-}|}| }\/ 59230781640628620899862803482534211706798214808651328230664709384
\/   |____/ 46095505822317253594081284811174502841027019385211... ( Pi )  -><-

More information about the ecl-devel mailing list