guile-devel
[Top][All Lists]
Advanced

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

cvs libguile-ltdl and scmconfig.h


From: Kevin Ryde
Subject: cvs libguile-ltdl and scmconfig.h
Date: Thu, 13 Mar 2003 09:16:11 +1000
User-agent: Gnus/5.090013 (Oort Gnus v0.13) Emacs/21.2 (i386-pc-linux-gnu)

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.




reply via email to

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