mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-13 07:10:20 +02:00
*** empty log message ***
This commit is contained in:
parent
bc08dbdb3a
commit
8aa5c148d1
3 changed files with 52 additions and 4 deletions
|
@ -1,3 +1,11 @@
|
||||||
|
1998-10-07 Jim Blandy <jimb@zwingli.cygnus.com>
|
||||||
|
|
||||||
|
* guile.m4 (GUILE_FLAGS): New macro.
|
||||||
|
|
||||||
|
* guile.m4 (AM_INIT_GUILE_MODULE): Deleted; it doesn't do anything
|
||||||
|
terribly helpful any more, nobody's using it, and this is not
|
||||||
|
really the way I want to handle modules anyway.
|
||||||
|
|
||||||
1998-10-03 Jim Blandy <jimb@zwingli.cygnus.com>
|
1998-10-03 Jim Blandy <jimb@zwingli.cygnus.com>
|
||||||
|
|
||||||
* configure.in (FD_SETTER, FILE_CNT_GPTR): New cases for SCO's
|
* configure.in (FD_SETTER, FILE_CNT_GPTR): New cases for SCO's
|
||||||
|
|
43
NEWS
43
NEWS
|
@ -66,11 +66,12 @@ usually just a `-I' flag to help the compiler find the Guile headers.
|
||||||
|
|
||||||
|
|
||||||
*** `guile-config link' prints any linker flags necessary to link with Guile.
|
*** `guile-config link' prints any linker flags necessary to link with Guile.
|
||||||
|
|
||||||
This command writes to its standard output a list of flags which you
|
This command writes to its standard output a list of flags which you
|
||||||
must pass to the linker, if you want to link your code against the
|
must pass to the linker to link your code against the Guile library.
|
||||||
Guile library. The flags include '-lguile' itself, any other
|
The flags include '-lguile' itself, any other libraries the Guile
|
||||||
libraries the Guile library depends upon, and any `-L' flags needed to
|
library depends upon, and any `-L' flags needed to help the linker
|
||||||
help the linker find those libraries.
|
find those libraries.
|
||||||
|
|
||||||
For example, here is a Makefile rule that builds a program named 'foo'
|
For example, here is a Makefile rule that builds a program named 'foo'
|
||||||
from the object files ${FOO_OBJECTS}, and links them against Guile:
|
from the object files ${FOO_OBJECTS}, and links them against Guile:
|
||||||
|
@ -89,6 +90,40 @@ the analogous script for the GTK+ GUI toolkit, which is called
|
||||||
`gtk-config'.
|
`gtk-config'.
|
||||||
|
|
||||||
|
|
||||||
|
** Use the GUILE_FLAGS macro in your configure.in file to find Guile.
|
||||||
|
|
||||||
|
If you are using the GNU autoconf package to configure your program,
|
||||||
|
you can use the GUILE_FLAGS autoconf macro to call `guile-config'
|
||||||
|
(described above) and gather the necessary values for use in your
|
||||||
|
Makefiles.
|
||||||
|
|
||||||
|
The GUILE_FLAGS macro expands to configure script code which runs the
|
||||||
|
`guile-config' script, to find out where Guile's header files and
|
||||||
|
libraries are installed. It sets two variables, marked for
|
||||||
|
substitution, as by AC_SUBST.
|
||||||
|
|
||||||
|
GUILE_CFLAGS --- flags to pass to a C or C++ compiler to build
|
||||||
|
code that uses Guile header files. This is almost always just a
|
||||||
|
-I flag.
|
||||||
|
|
||||||
|
GUILE_LDFLAGS --- flags to pass to the linker to link a
|
||||||
|
program against Guile. This includes `-lguile' for the Guile
|
||||||
|
library itself, any libraries that Guile itself requires (like
|
||||||
|
-lqthreads), and so on. It may also include a -L flag to tell the
|
||||||
|
compiler where to find the libraries.
|
||||||
|
|
||||||
|
GUILE_FLAGS is defined in the file guile.m4, in the top-level
|
||||||
|
directory of the Guile distribution. You can copy it into your
|
||||||
|
package's aclocal.m4 file, and then use it in your configure.in file.
|
||||||
|
|
||||||
|
If you are using the `aclocal' program, distributed with GNU automake,
|
||||||
|
to maintain your aclocal.m4 file, the Guile installation process
|
||||||
|
installs guile.m4 where aclocal will find it. All you need to do is
|
||||||
|
use GUILE_FLAGS in your configure.in file, and then run `aclocal';
|
||||||
|
this will copy the definition of GUILE_FLAGS into your aclocal.m4
|
||||||
|
file.
|
||||||
|
|
||||||
|
|
||||||
* Changes to Scheme functions and syntax
|
* Changes to Scheme functions and syntax
|
||||||
|
|
||||||
** Multi-byte strings have been removed, as have multi-byte and wide
|
** Multi-byte strings have been removed, as have multi-byte and wide
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
1998-10-07 Jim Blandy <jimb@zwingli.cygnus.com>
|
||||||
|
|
||||||
|
* guile-config.in (build-link): Include a -R flag in the output
|
||||||
|
from link. Not sure if this is the right thing to do.
|
||||||
|
|
||||||
1998-10-05 Jim Blandy <jimb@zwingli.cygnus.com>
|
1998-10-05 Jim Blandy <jimb@zwingli.cygnus.com>
|
||||||
|
|
||||||
* guile-config.in (build-compile, help-compile, usage-compile):
|
* guile-config.in (build-compile, help-compile, usage-compile):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue