unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* cvs libguile-ltdl and scmconfig.h
@ 2003-03-12 23:16 Kevin Ryde
  2003-03-13  0:33 ` Rob Browning
  0 siblings, 1 reply; 2+ messages in thread
From: Kevin Ryde @ 2003-03-12 23:16 UTC (permalink / raw)


Now that libguile/scmconfig.h is a generated file, I think
libguile-ltdl needs to express that it should be built before
attempting to compile libguile-ltdl.la.

Without that, raw-ltdl.c can hit /usr/include/libguile/scmconfig.h,
which is likely to be wrong (in my case the debian packaged guile
1.4).

I got some joy from adding the following to libguile-ltdl/Makefile.am

	BUILT_SOURCES = ../libguile/scmconfig.h
	../libguile/scmconfig.h:
	        cd ../libguile; $(MAKE) $(AM_MAKEFLAGS) scmconfig.h

Or alternately maybe raw-ltdl.c only really needs config.h now.  I'm
not smart enough to tell.


_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: cvs libguile-ltdl and scmconfig.h
  2003-03-12 23:16 cvs libguile-ltdl and scmconfig.h Kevin Ryde
@ 2003-03-13  0:33 ` Rob Browning
  0 siblings, 0 replies; 2+ messages in thread
From: Rob Browning @ 2003-03-13  0:33 UTC (permalink / raw)
  Cc: guile-devel

Kevin Ryde <user42@zip.com.au> writes:

> Without that, raw-ltdl.c can hit /usr/include/libguile/scmconfig.h,
> which is likely to be wrong (in my case the debian packaged guile
> 1.4).
>
> I got some joy from adding the following to libguile-ltdl/Makefile.am
>
> 	BUILT_SOURCES = ../libguile/scmconfig.h
> 	../libguile/scmconfig.h:
> 	        cd ../libguile; $(MAKE) $(AM_MAKEFLAGS) scmconfig.h
>
> Or alternately maybe raw-ltdl.c only really needs config.h now.  I'm
> not smart enough to tell.

Yep.  I think the config.h fixes I've been working on should
straighten this out once we decide how to finish them.

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


_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-03-13  0:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-12 23:16 cvs libguile-ltdl and scmconfig.h Kevin Ryde
2003-03-13  0:33 ` Rob Browning

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).