install configure.scm

This commit is contained in:
eknauel 2003-12-02 16:39:29 +00:00
parent 5aacf6c719
commit 76a65c0ccb
2 changed files with 4 additions and 2 deletions

View File

@ -1,7 +1,7 @@
scheme_SCRIPTS=load-yp.scm scheme_SCRIPTS=load-yp.scm
nobase_scheme_SCRIPTS= \ nobase_scheme_SCRIPTS= \
yp.scm yp-interfaces.scm yp-packages.scm yp.scm yp-interfaces.scm yp-packages.scm configure.scm
EXTRA_DIST= $(scheme_SCRIPTS) $(nobase_scheme_SCRIPTS) EXTRA_DIST= $(scheme_SCRIPTS) $(nobase_scheme_SCRIPTS)
CLEANFILES= load-yp.scm CLEANFILES= load-yp.scm
@ -14,6 +14,6 @@ load-yp.scm: $(srcdir)/load-yp.scm.in
install-data-hook: install-data-hook:
sed -e "s|@ypschemedir@|$(schemedir)|g" \ sed -e "s|@ypschemedir@|$(schemedir)|g" \
-e "s|@yphost@|(host)|g" \ -e "s|@yphost@|(host)|g" \
-e "s|@yplibsysdir@|$(libsysdir)|g" \ -e "s|@yplibsysdir@|$(libdir)|g" \
$(srcdir)/load-yp.scm.in \ $(srcdir)/load-yp.scm.in \
> $(DESTDIR)/$(schemedir)/load-yp.scm > $(DESTDIR)/$(schemedir)/load-yp.scm

View File

@ -2,8 +2,10 @@
(load "@ypschemedir@/configure.scm") (load "@ypschemedir@/configure.scm")
(user) (user)
(load-package 'dynamic-externals) (load-package 'dynamic-externals)
(load-package 'configure)
(open 'dynamic-externals) (open 'dynamic-externals)
(open 'external-calls) (open 'external-calls)
(open 'configure)
(run '(let ((initializer-name "scsh_yp_main") (run '(let ((initializer-name "scsh_yp_main")
(module-file (string-append "@yplibsysdir@/" @yphost@ "/libscshyp.so"))) (module-file (string-append "@yplibsysdir@/" @yphost@ "/libscshyp.so")))
(dynamic-load module-file) (dynamic-load module-file)