+ added scsh-modules path to configure
+ loading sunterlib for scx.image
This commit is contained in:
parent
b7a19e0ce8
commit
3bc21c0626
|
@ -10,6 +10,8 @@ ifneq ($(SCSH_INCLUDES),)
|
||||||
INCLUDES += -I$(SCSH_INCLUDES)
|
INCLUDES += -I$(SCSH_INCLUDES)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
SCSH_MODULES = @scsh_modules@
|
||||||
|
|
||||||
SCX_VERSION = "0.1"
|
SCX_VERSION = "0.1"
|
||||||
SCX_VM = scxvm
|
SCX_VM = scxvm
|
||||||
SCX_IMAGE = scx.image
|
SCX_IMAGE = scx.image
|
||||||
|
@ -87,13 +89,15 @@ main.o: c/main.c
|
||||||
|
|
||||||
STARTUP_MSG = "with SCX $(SCX_VERSION), the X11 support"
|
STARTUP_MSG = "with SCX $(SCX_VERSION), the X11 support"
|
||||||
|
|
||||||
|
SCSH_ARGS = +lp $(SCSH_MODULES)/ -ll sunterlib.scm
|
||||||
|
|
||||||
$(SCX_IMAGE): $(SCX_VM) $(SCM_FILES) $(SCM_CONFIG_FILES)
|
$(SCX_IMAGE): $(SCX_VM) $(SCM_FILES) $(SCM_CONFIG_FILES)
|
||||||
( \
|
( \
|
||||||
echo ",batch on"; \
|
echo ",batch on"; \
|
||||||
echo ",config ,load $(SCM_CONFIG_FILES)"; \
|
echo ",config ,load $(SCM_CONFIG_FILES)"; \
|
||||||
echo ",load-package xlib"; \
|
echo ",load-package xlib"; \
|
||||||
echo "(dump-scsh \"$(SCX_IMAGE)\")"; \
|
echo "(dump-scsh \"$(SCX_IMAGE)\")"; \
|
||||||
) | ./$(SCX_VM)
|
) | ./$(SCX_VM) $(SCSH_ARGS)
|
||||||
|
|
||||||
# echo ",load-package xpm"; \
|
# echo ",load-package xpm"; \
|
||||||
|
|
||||||
|
|
|
@ -7,12 +7,15 @@ AC_INIT
|
||||||
AC_SUBST(x_includes)
|
AC_SUBST(x_includes)
|
||||||
AC_SUBST(x_libraries)
|
AC_SUBST(x_libraries)
|
||||||
|
|
||||||
AC_ARG_WITH(scsh-includes, [ --with-scsh-includes=DIR scsh include files are in DIR [/usr/local]],
|
AC_ARG_WITH(scsh-includes, [ --with-scsh-includes=DIR scsh include files are in DIR [/usr/local/include]],
|
||||||
scsh_includes=$withval , scsh_includes=)
|
scsh_includes=$withval , scsh_includes=)
|
||||||
AC_SUBST(scsh_includes)
|
AC_SUBST(scsh_includes)
|
||||||
AC_ARG_WITH(scsh-libraries, [ --with-scsh-libraries=DIR scsh libraries are in DIR [/usr/local/lib/scsh]],
|
AC_ARG_WITH(scsh-libraries, [ --with-scsh-libraries=DIR scsh libraries are in DIR [/usr/local/lib/scsh]],
|
||||||
scsh_libraries=$withval , scsh_libraries=/usr/local/lib/scsh)
|
scsh_libraries=$withval , scsh_libraries=/usr/local/lib/scsh)
|
||||||
AC_SUBST(scsh_libraries)
|
AC_SUBST(scsh_libraries)
|
||||||
|
AC_ARG_WITH(scsh-modules, [ --with-scsh-modules=DIR scsh modules are in DIR [/usr/local/lib/scsh/modules]],
|
||||||
|
scsh_modules=$withval , scsh_libraries=/usr/local/lib/scsh/modules)
|
||||||
|
AC_SUBST(scsh_modules)
|
||||||
|
|
||||||
#AC_MSG_CHECKING(scsh installation)
|
#AC_MSG_CHECKING(scsh installation)
|
||||||
#AC_CHECK_HEADER(scheme48.h)
|
#AC_CHECK_HEADER(scheme48.h)
|
||||||
|
|
Loading…
Reference in New Issue