guile-devel
[Top][All Lists]
Advanced

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

Re: PATCH for guile-readline/Makefile.am


From: Rob Browning
Subject: Re: PATCH for guile-readline/Makefile.am
Date: Tue, 20 Jan 2004 00:49:45 -0600
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

Rob Browning <address@hidden> writes:

> Ahhh.  Great.  I didn't know about that m4 command -- looks like it
> should work fine.

The code below seems to work.  Although now the literal version string
is embedded in guile-readline/configure at autoconf time.  I think in
the old code, it was variable, and so changing GUILE-VERSION would
take effect after the next configure run.  With the new code, when you
change ../GUILE-VERSION you'll need to run autoconf for everything to
propagate.

  AC_INIT(guile-readline,
          m4_esyscmd(. ../GUILE-VERSION && echo -n ${GUILE_VERSION}))
  AC_CONFIG_SRCDIR(readline.c)
  AM_INIT_AUTOMAKE([foreign no-define])

  . $srcdir/../GUILE-VERSION

  AC_PROG_INSTALL
  ...

If I get a chance, I'll also check and see how gmp does things.

In addition, with readline.scm in guile-readline/ice-9 we have to
play around a bit to define the right ice-9 location in
guile-readline/ice-9/Makefile.am:

  guile_pdd = $(patsubst %/guile-readline,%/guile,$(pkgdatadir))
  ice9dir = $(guile_pdd)/$(GUILE_EFFECTIVE_VERSION)/ice-9
  ice9_DATA = readline.scm

-- 
Rob Browning
rlb @defaultvalue.org and @debian.org; previously @cs.utexas.edu
GPG starting 2002-11-03 = 14DD 432F AE39 534D B592  F9A0 25C8 D377 8C7E 73A4




reply via email to

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