dnl Process this file with autoconf to produce a configure script.
AC_INIT([MIT/GNU Scheme], [7.7.91], [bug-mit-scheme@gnu.org], [mit-scheme])
-AC_REVISION([$Id: configure.ac,v 1.8 2007/04/29 18:01:44 cph Exp $])
+AC_REVISION([$Id: configure.ac,v 1.9 2007/04/30 07:08:43 cph Exp $])
AC_CONFIG_SRCDIR([microcode/boot.c])
AC_PROG_MAKE_SET
COMPILE_SCRIPT=c-compile.sh
BUILD_BANDS_SCRIPT=c-build-bands.sh
INSTALL_COM=:
+ SYSTEM_BASE_NAME=mit-scheme-c
;;
*)
COMPILE_SCRIPT=compile.sh
BUILD_BANDS_SCRIPT=build-bands.sh
INSTALL_COM='$(INSTALL_DATA)'
+ SYSTEM_BASE_NAME=mit-scheme
;;
esac
-AC_SUBST(COMPILE_SCRIPT)
-AC_SUBST(BUILD_BANDS_SCRIPT)
-AC_SUBST(INSTALL_COM)
+AC_SUBST([COMPILE_SCRIPT])
+AC_SUBST([BUILD_BANDS_SCRIPT])
+AC_SUBST([INSTALL_COM])
AC_PROG_INSTALL
AC_PROG_LN_S
INSTALL="${INSTALL} --preserve-timestamps"
fi
-AUXDIR=${libdir}/mit-scheme
-AC_SUBST(AUXDIR)
+AUXDIR='$(libdir)'/${SYSTEM_BASE_NAME}
+AC_SUBST([AUXDIR])
AC_CONFIG_SUBDIRS([microcode compiler])
AC_CONFIG_FILES([
dnl Process this file with autoconf to produce a configure script.
AC_INIT([MIT/GNU Scheme microcode], [15.1], [bug-mit-scheme@gnu.org], [mit-scheme])
-AC_REVISION([$Id: configure.ac,v 1.43 2007/04/29 18:38:26 cph Exp $])
+AC_REVISION([$Id: configure.ac,v 1.44 2007/04/30 07:08:49 cph Exp $])
AC_CONFIG_SRCDIR([boot.c])
AC_CONFIG_HEADERS([config.h])
AC_PROG_MAKE_SET
MODULE_LDFLAGS=
LIARC_VARS=/dev/null
LIARC_RULES=/dev/null
+SYSTEM_BASE_NAME=mit-scheme
dnl Checks for programs.
AC_PROG_CC
OPTIONAL_BASES="${OPTIONAL_BASES} cmpauxmd unstackify compinit"
LIARC_VARS=liarc-vars
LIARC_RULES=liarc-rules
+ SYSTEM_BASE_NAME=mit-scheme-c
;;
svm1)
AC_MSG_RESULT([yes, using portable SVM code])
OPTIONAL_BASES="${OPTIONAL_BASES} svm1-interp"
+ SYSTEM_BASE_NAME=mit-scheme-svm
;;
*)
AC_MSG_RESULT([yes, for ${SCM_ARCH}])
AC_SUBST([MODULE_LDFLAGS])
AC_SUBST_FILE([LIARC_VARS])
AC_SUBST_FILE([LIARC_RULES])
+AC_SUBST([SYSTEM_BASE_NAME])
AC_CONFIG_FILES([Makefile])
AC_OUTPUT
# -*- Makefile -*-
#
-# $Id: Makefile.in.in,v 1.48 2007/04/22 16:41:01 cph Exp $
+# $Id: Makefile.in.in,v 1.49 2007/04/30 07:08:54 cph Exp $
#
# Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994,
# 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
# **** Tool configuration ****
-AUXDIR = $(libdir)/mit-scheme
+SYSTEM_BASE_NAME = @SYSTEM_BASE_NAME@
+AUXDIR = $(libdir)/$(SYSTEM_BASE_NAME)
CC = @CC@
M4 = $(srcdir)/makegen/m4.sh
# **** Program definitions ****
-bin_PROGRAMS = scheme
-aux_PROGRAMS =
aux_LIBS = $(MODULE_TARGETS)
aux_DATA = utabmd.bin
EXTRA_PROGRAMS = findprim
findprim_LDFLAGS =
findprim_LIBS = $(LIBS)
-ALL_PROGRAMS = $(bin_PROGRAMS) $(aux_PROGRAMS)
+ALL_PROGRAMS = scheme
ALL_LIBS = $(aux_LIBS)
ALL_DATA = $(aux_DATA)
-rm -f $(C_CLEAN_FILES)
-rm -rf autom4te.cache
-install: install-binPROGRAMS install-auxPROGRAMS install-auxLIBS \
- install-auxDATA $(LIARC_INSTALL)
-
-install-binPROGRAMS: $(bin_PROGRAMS)
+install: install-auxLIBS install-auxDATA $(LIARC_INSTALL)
$(mkinstalldirs) $(DESTDIR)$(bindir)
- @list='$(bin_PROGRAMS)'; \
- for p in $$list; do \
- if test -f $$p; then \
- echo "$(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/."; \
- $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/.; \
- fi; \
- done
- -rm -f $(DESTDIR)$(bindir)/bchscheme
- ln -s scheme $(DESTDIR)$(bindir)/bchscheme
-
-install-auxPROGRAMS: $(aux_PROGRAMS)
- $(mkinstalldirs) $(DESTDIR)$(AUXDIR)
- @list='$(aux_PROGRAMS)'; \
- for p in $$list; do \
- if test -f $$p; then \
- echo "$(INSTALL_PROGRAM) $$p $(DESTDIR)$(AUXDIR)/."; \
- $(INSTALL_PROGRAM) $$p $(DESTDIR)$(AUXDIR)/.; \
- fi; \
- done
+ $(INSTALL_PROGRAM) scheme $(DESTDIR)$(bindir)/$(SYSTEM_BASE_NAME)
install-auxLIBS: $(aux_LIBS)
$(mkinstalldirs) $(DESTDIR)$(AUXDIR)/lib
.PHONY: default-target
.PHONY: all tags TAGS mostlyclean clean distclean maintainer-clean c-clean
-.PHONY: install install-binPROGRAMS install-auxPROGRAMS install-auxDATA
+.PHONY: install install-auxLIBS install-auxDATA
# **** File dependencies ****