diff options
author | Jim Blandy <jimb@red-bean.com> | 1997-06-22 23:42:40 +0000 |
---|---|---|
committer | Jim Blandy <jimb@red-bean.com> | 1997-06-22 23:42:40 +0000 |
commit | fef07353a81c60506301d7e80b663d8d96cc8ff6 (patch) | |
tree | 3c073b0eb952ccbdf0be4ea484bfe3a76365b074 /libguile/script.c | |
parent | 7c86ae051ab7e277b3a5263b779837a1e1a97ab5 (diff) | |
download | guile-fef07353a81c60506301d7e80b663d8d96cc8ff6.tar.gz |
Try to detect when people are using one version of libguile and a
different version of ice-9. People have been skewing things and
sending in bug reports.
* Makefile.am (versiondat.h): New file to generate.
* version.c: #include "versiondat.h", to get version info.
(scm_libguile_config_stamp): New function.
* script.c: #include "version.h".
(scm_compile_switches): Call scm_version to get version number.
* scmconfig.h.in, Makefile.in: Regenerated.
* Makefile.in: Regenerated.
* Makefile.am (ETAGS_ARGS): Catch SCM_PROC, etc. so we can find
primitive definitions under their Scheme names.
* Makefile.am (libguile_la_LDFLAGS): Update library version to
1:2. Helps avoid confusion between installed and uninstalled libs.
Diffstat (limited to 'libguile/script.c')
-rw-r--r-- | libguile/script.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libguile/script.c b/libguile/script.c index 36f3c1e19..128cb82a0 100644 --- a/libguile/script.c +++ b/libguile/script.c @@ -46,6 +46,7 @@ #include "_scm.h" #include "gh.h" #include "load.h" +#include "version.h" #include "script.h" @@ -570,7 +571,7 @@ scm_compile_shell_switches (int argc, char **argv) "certain other uses are permitted as well. For details, see the file\n" "`COPYING', which is included in the Guile distribution.\n" "There is no warranty, to the extent permitted by law.\n", - GUILE_VERSION); + SCM_CHARS (scm_version ())); exit (0); } |