EXTRA_DIST = autogen.sh
MIT_SCHEME_EXE = @MIT_SCHEME_EXE@
-scmlibdir = $(libdir)/mit-scheme-@MIT_SCHEME_ARCH@
-scmlib_cairodir = $(scmlibdir)/cairo
+scmlibdir = @MIT_SCHEME_LIBDIR@
+scmlib_cairodir = $(scmlibdir)cairo
scmlib_LTLIBRARIES = cairo-shim.la
scmlib_DATA = cairo-types.bin cairo-const.bin
ETAGS_ARGS = $(sources) -r '/^([^iI].*/' $(cdecls)
TAGS_DEPENDENCIES = $(sources) $(cdecls)
-EXTRA_DIST += $(sources) $(cdecls) cairo.pkg
-EXTRA_DIST += compile.sh cairo-check.sh
+EXTRA_DIST += $(sources) $(cdecls) compile.sh cairo.pkg
+EXTRA_DIST += cairo-check.sh
EXTRA_DIST += make.scm optiondb.scm check-doc.sh tags-fix.sh
install-data-hook:
- echo '(update-optiondb "$(DESTDIR)$(scmlibdir)/")' \
+ echo '(update-optiondb "$(DESTDIR)$(scmlibdir)")' \
| $(MIT_SCHEME_EXE) --batch-mode
install-html: install-html-am
| $(MIT_SCHEME_EXE) --batch-mode
uninstall-hook:
- echo '(update-optiondb "$(DESTDIR)$(scmlibdir)/")' \
+ echo '(update-optiondb "$(DESTDIR)$(scmlibdir)")' \
| $(MIT_SCHEME_EXE) --batch-mode
[ -d "$(DESTDIR)$(scmlib_cairodir)" ] \
&& rmdir "$(DESTDIR)$(scmlib_cairodir)"
AM_INIT_AUTOMAKE
-AC_PROG_LIBTOOL
+LT_PREREQ([2.2.6])
+LT_INIT([dlopen])
+
AC_PROG_CC
AC_PROG_CPP
AC_PROG_INSTALL
-dnl Initialize libtool
-LT_PREREQ([2.2.6])
-LT_INIT([dlopen win32-dll])
-
AC_CHECK_PROG([PKG_CONFIG], [pkg-config], [yes])
if ! pkg-config --exists cairo 2>/dev/null; then
fi
: ${MIT_SCHEME_EXE=mit-scheme}
-MIT_SCHEME_ARCH=`echo "(display microcode-id/compiled-code-type)" \
- | ${MIT_SCHEME_EXE} --batch-mode`
+MIT_SCHEME_LIBDIR=`( echo "(display (->namestring" ;\
+ echo " (system-library-directory-pathname)))" ) \
+ | ${MIT_SCHEME_EXE} --batch-mode`
MIT_SCHEME_OS_SUFFIX=`echo "(display (microcode-id/operating-system-suffix))" \
- | ${MIT_SCHEME_EXE} --batch-mode`
+ | ${MIT_SCHEME_EXE} --batch-mode`
AC_SUBST([MIT_SCHEME_EXE])
-AC_SUBST([MIT_SCHEME_ARCH])
+AC_SUBST([MIT_SCHEME_LIBDIR])
AC_SUBST([MIT_SCHEME_OS_SUFFIX])
AC_CONFIG_FILES([Makefile])
AC_OUTPUT
EXTRA_DIST = autogen.sh
MIT_SCHEME_EXE = @MIT_SCHEME_EXE@
-scmlibdir = $(libdir)/mit-scheme-@MIT_SCHEME_ARCH@
-scmlib_gldir = $(scmlibdir)/gl
+scmlibdir = @MIT_SCHEME_LIBDIR@
+scmlib_gldir = $(scmlibdir)gl
scmlib_LTLIBRARIES = gl-shim.la
scmlib_DATA = gl-types.bin gl-const.bin
ETAGS_ARGS = $(all_sources) -r '/^([^iI].*/' $(cdecls)
TAGS_DEPENDENCIES = $(all_sources) $(cdecls)
-EXTRA_DIST += $(all_sources) $(cdecls) gl.pkg
-EXTRA_DIST += compile.sh gl-check.sh gl-tests.scm
+EXTRA_DIST += $(all_sources) $(cdecls) compile.sh gl.pkg
+EXTRA_DIST += gl-check.sh gl-tests.scm
EXTRA_DIST += make.scm optiondb.scm tags-fix.sh
install-data-hook:
- echo '(update-optiondb "$(DESTDIR)$(scmlibdir)/")' \
+ echo '(update-optiondb "$(DESTDIR)$(scmlibdir)")' \
| $(MIT_SCHEME_EXE) --batch-mode
#install-html: install-html-am
# | $(MIT_SCHEME_EXE) --batch-mode
uninstall-hook:
- echo '(update-optiondb "$(DESTDIR)$(scmlibdir)/")' \
+ echo '(update-optiondb "$(DESTDIR)$(scmlibdir)")' \
| $(MIT_SCHEME_EXE) --batch-mode
[ -d "$(DESTDIR)$(scmlib_gldir)" ] \
&& rmdir "$(DESTDIR)$(scmlib_gldir)"
You should have received a copy of the GNU General Public License
along with this plugin; if not, write to the Free Software Foundation,
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
-
])
AH_TOP([/*
-Copyright (C) 2013, 2014, 2015, 2016 Matthew Birkholz
+Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015,
+ 2016 Matthew Birkholz
-This file is part of a plugin for MIT/GNU Scheme.
+This file is part of an OpenGL plugin for MIT/GNU Scheme.
-MIT/GNU Scheme is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2 of the License, or (at
-your option) any later version.
+This plugin is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
-MIT/GNU Scheme is distributed in the hope that it will be useful, but
+This plugin is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
-along with MIT/GNU Scheme; if not, write to the Free Software
-Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301,
-USA.
+along with this plugin; if not, write to the Free Software Foundation,
+Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
*/])
AM_INIT_AUTOMAKE
-AC_PROG_LIBTOOL
+LT_PREREQ([2.2.6])
+LT_INIT([dlopen])
+
AC_PROG_CC
AC_PROG_CPP
AC_PROG_INSTALL
-dnl Initialize libtool
-LT_PREREQ([2.2.6])
-LT_INIT([dlopen win32-dll])
-
AC_CHECK_PROG([PKG_CONFIG], [pkg-config], [yes])
if ! pkg-config --exists gl glu gtk+-3.0 2>/dev/null; then
fi
: ${MIT_SCHEME_EXE=mit-scheme}
-MIT_SCHEME_ARCH=`echo "(display microcode-id/compiled-code-type)" \
- | ${MIT_SCHEME_EXE} --batch-mode`
+MIT_SCHEME_LIBDIR=`( echo "(display (->namestring" ;\
+ echo " (system-library-directory-pathname)))" ) \
+ | ${MIT_SCHEME_EXE} --batch-mode`
MIT_SCHEME_OS_SUFFIX=`echo "(display (microcode-id/operating-system-suffix))" \
- | ${MIT_SCHEME_EXE} --batch-mode`
+ | ${MIT_SCHEME_EXE} --batch-mode`
AC_SUBST([MIT_SCHEME_EXE])
-AC_SUBST([MIT_SCHEME_ARCH])
+AC_SUBST([MIT_SCHEME_LIBDIR])
AC_SUBST([MIT_SCHEME_OS_SUFFIX])
AC_CONFIG_FILES([Makefile])
AC_OUTPUT
EXTRA_DIST = autogen.sh
MIT_SCHEME_EXE = @MIT_SCHEME_EXE@
-scmlibdir = $(libdir)/mit-scheme-@MIT_SCHEME_ARCH@
-scmlib_glibdir = $(scmlibdir)/glib
+scmlibdir = @MIT_SCHEME_LIBDIR@
+scmlib_glibdir = $(scmlibdir)glib
scmlib_LTLIBRARIES = glib-shim.la
scmlib_DATA = glib-types.bin glib-const.bin
ETAGS_ARGS = $(all_sources) -r '/^([^iI].*/' $(cdecls)
TAGS_DEPENDENCIES = $(all_sources) $(cdecls)
-EXTRA_DIST += $(all_sources) $(cdecls) glib.pkg
-EXTRA_DIST += compile.sh glib-tests.scm glib-check-copy.sh glib-check-list.sh
+EXTRA_DIST += $(all_sources) $(cdecls) compile.sh glib.pkg
+EXTRA_DIST += glib-tests.scm glib-check-copy.sh glib-check-list.sh
EXTRA_DIST += make.scm optiondb.scm check-doc.sh tags-fix.sh
install-data-hook:
- echo '(update-optiondb "$(DESTDIR)$(scmlibdir)/")' \
+ echo '(update-optiondb "$(DESTDIR)$(scmlibdir)")' \
| $(MIT_SCHEME_EXE) --batch-mode
install-html: install-html-am
| $(MIT_SCHEME_EXE) --batch-mode
uninstall-hook:
- echo '(update-optiondb "$(DESTDIR)$(scmlibdir)/")' \
+ echo '(update-optiondb "$(DESTDIR)$(scmlibdir)")' \
| $(MIT_SCHEME_EXE) --batch-mode
[ -d "$(DESTDIR)$(scmlib_glibdir)" ] \
&& rmdir "$(DESTDIR)$(scmlib_glibdir)"
AM_INIT_AUTOMAKE
-AC_PROG_LIBTOOL
+LT_PREREQ([2.2.6])
+LT_INIT([dlopen])
+
AC_PROG_CC
AC_PROG_CPP
AC_PROG_INSTALL
-dnl Initialize libtool
-LT_PREREQ([2.2.6])
-LT_INIT([dlopen win32-dll])
-
AC_CHECK_PROG([PKG_CONFIG], [pkg-config], [yes])
if ! pkg-config --exists glib-2.0 2>/dev/null; then
fi
: ${MIT_SCHEME_EXE=mit-scheme}
-MIT_SCHEME_ARCH=`echo "(display microcode-id/compiled-code-type)" \
- | ${MIT_SCHEME_EXE} --batch-mode`
+MIT_SCHEME_LIBDIR=`( echo "(display (->namestring" ;\
+ echo " (system-library-directory-pathname)))" ) \
+ | ${MIT_SCHEME_EXE} --batch-mode`
MIT_SCHEME_OS_SUFFIX=`echo "(display (microcode-id/operating-system-suffix))" \
- | ${MIT_SCHEME_EXE} --batch-mode`
+ | ${MIT_SCHEME_EXE} --batch-mode`
AC_SUBST([MIT_SCHEME_EXE])
-AC_SUBST([MIT_SCHEME_ARCH])
+AC_SUBST([MIT_SCHEME_LIBDIR])
AC_SUBST([MIT_SCHEME_OS_SUFFIX])
AC_CONFIG_FILES([Makefile])
AC_OUTPUT
EXTRA_DIST = autogen.sh
MIT_SCHEME_EXE = @MIT_SCHEME_EXE@
-scmlibdir = $(libdir)/mit-scheme-@MIT_SCHEME_ARCH@
-scmlib_subdir = $(scmlibdir)/gtk-screen
+scmlibdir = @MIT_SCHEME_LIBDIR@
+scmlib_subdir = $(scmlibdir)gtk-screen
sources = gtk-screen.scm gtk-faces.scm
ETAGS_ARGS = $(sources)
TAGS_DEPENDENCIES = $(sources)
-EXTRA_DIST += $(sources) gtk-screen.pkg
-EXTRA_DIST += compile.sh check.sh
+EXTRA_DIST += $(sources) compile.sh gtk-screen.pkg
+EXTRA_DIST += check.sh
EXTRA_DIST += make.scm optiondb.scm
install-data-hook:
- echo '(update-optiondb "$(DESTDIR)$(scmlibdir)/")' \
+ echo '(update-optiondb "$(DESTDIR)$(scmlibdir)")' \
| $(MIT_SCHEME_EXE) --batch-mode
#install-html: install-html-am
# | $(MIT_SCHEME_EXE) --batch-mode
uninstall-hook:
- echo '(update-optiondb "$(DESTDIR)$(scmlibdir)/")' \
+ echo '(update-optiondb "$(DESTDIR)$(scmlibdir)")' \
| $(MIT_SCHEME_EXE) --batch-mode
[ -d "$(DESTDIR)$(scmlib_subdir)" ] \
&& rmdir "$(DESTDIR)$(scmlib_subdir)"
AC_PROG_INSTALL
: ${MIT_SCHEME_EXE=mit-scheme}
-MIT_SCHEME_ARCH=`echo "(display microcode-id/compiled-code-type)" \
- | ${MIT_SCHEME_EXE} --batch-mode`
+MIT_SCHEME_LIBDIR=`( echo "(display (->namestring" ;\
+ echo " (system-library-directory-pathname)))" ) \
+ | ${MIT_SCHEME_EXE} --batch-mode`
MIT_SCHEME_OS_SUFFIX=`echo "(display (microcode-id/operating-system-suffix))" \
- | ${MIT_SCHEME_EXE} --batch-mode`
+ | ${MIT_SCHEME_EXE} --batch-mode`
AC_SUBST([MIT_SCHEME_EXE])
-AC_SUBST([MIT_SCHEME_ARCH])
+AC_SUBST([MIT_SCHEME_LIBDIR])
AC_SUBST([MIT_SCHEME_OS_SUFFIX])
AC_CONFIG_FILES([Makefile])
AC_OUTPUT
EXTRA_DIST = autogen.sh
MIT_SCHEME_EXE = @MIT_SCHEME_EXE@
-scmlibdir = $(libdir)/mit-scheme-@MIT_SCHEME_ARCH@
-scmlib_gtkdir = $(scmlibdir)/gtk
+scmlibdir = @MIT_SCHEME_LIBDIR@
+scmlib_gtkdir = $(scmlibdir)gtk
scmlib_LTLIBRARIES = gtk-shim.la
scmlib_DATA = gtk-types.bin gtk-const.bin conses.png
ETAGS_ARGS = $(all_sources) -r '/^([^iI].*/' $(cdecls)
TAGS_DEPENDENCIES = $(all_sources) $(cdecls)
-EXTRA_DIST += $(all_sources) $(cdecls) gtk.pkg
-EXTRA_DIST += compile.sh gtk-check.sh gtk-tests.scm
+EXTRA_DIST += $(all_sources) $(cdecls) compile.sh gtk.pkg
+EXTRA_DIST += gtk-check.sh gtk-tests.scm
EXTRA_DIST += make.scm optiondb.scm check-doc.sh tags-fix.sh
EXTRA_DIST += gtkpanedview-3.10.8.c gtkscrolledview-3.10.8.c
EXTRA_DIST += gtkpanedview-3.14.13.c gtkscrolledview-3.14.13.c
EXTRA_DIST += conses.png hello.scm test-gport-performance.scm
install-data-hook:
- echo '(update-optiondb "$(DESTDIR)$(scmlibdir)/")' \
+ echo '(update-optiondb "$(DESTDIR)$(scmlibdir)")' \
| $(MIT_SCHEME_EXE) --batch-mode
install-html: install-html-am
| $(MIT_SCHEME_EXE) --batch-mode
uninstall-hook:
- echo '(update-optiondb "$(DESTDIR)$(scmlibdir)/")' \
+ echo '(update-optiondb "$(DESTDIR)$(scmlibdir)")' \
| $(MIT_SCHEME_EXE) --batch-mode
[ -d "$(DESTDIR)$(scmlib_gtkdir)" ] \
&& rmdir "$(DESTDIR)$(scmlib_gtkdir)"
AM_INIT_AUTOMAKE
-AC_PROG_LIBTOOL
+LT_PREREQ([2.2.6])
+LT_INIT([dlopen])
+
AC_PROG_CC
AC_PROG_CPP
AC_PROG_INSTALL
-dnl Initialize libtool
-LT_PREREQ([2.2.6])
-LT_INIT([dlopen win32-dll])
-
AC_CHECK_PROG([PKG_CONFIG], [pkg-config], [yes])
if ! pkg-config --exists gtk+-3.0 2>/dev/null; then
ln -sf gtkpanedview-$GTK_VERSION.c gtkpanedview.c
: ${MIT_SCHEME_EXE=mit-scheme}
-MIT_SCHEME_ARCH=`echo "(display microcode-id/compiled-code-type)" \
- | ${MIT_SCHEME_EXE} --batch-mode`
+MIT_SCHEME_LIBDIR=`( echo "(display (->namestring" ;\
+ echo " (system-library-directory-pathname)))" ) \
+ | ${MIT_SCHEME_EXE} --batch-mode`
MIT_SCHEME_OS_SUFFIX=`echo "(display (microcode-id/operating-system-suffix))" \
- | ${MIT_SCHEME_EXE} --batch-mode`
+ | ${MIT_SCHEME_EXE} --batch-mode`
AC_SUBST([MIT_SCHEME_EXE])
-AC_SUBST([MIT_SCHEME_ARCH])
+AC_SUBST([MIT_SCHEME_LIBDIR])
AC_SUBST([MIT_SCHEME_OS_SUFFIX])
AC_CONFIG_FILES([Makefile])
AC_OUTPUT
EXTRA_DIST = autogen.sh
MIT_SCHEME_EXE = @MIT_SCHEME_EXE@
-scmlibdir = $(libdir)/mit-scheme-@MIT_SCHEME_ARCH@
-scmlib_pangodir = $(scmlibdir)/pango
+scmlibdir = @MIT_SCHEME_LIBDIR@
+scmlib_pangodir = $(scmlibdir)pango
scmlib_LTLIBRARIES = pango-shim.la
scmlib_DATA = pango-types.bin pango-const.bin
ETAGS_ARGS = $(sources) -r '/^([^iI].*/' $(cdecls)
TAGS_DEPENDENCIES = $(sources) $(cdecls)
-EXTRA_DIST += $(sources) $(cdecls) pango.pkg
-EXTRA_DIST += compile.sh pango-check.sh
+EXTRA_DIST += $(sources) $(cdecls) compile.sh pango.pkg
+EXTRA_DIST += pango-check.sh
EXTRA_DIST += make.scm optiondb.scm check-doc.sh tags-fix.sh
install-data-hook:
- echo '(update-optiondb "$(DESTDIR)$(scmlibdir)/")' \
+ echo '(update-optiondb "$(DESTDIR)$(scmlibdir)")' \
| $(MIT_SCHEME_EXE) --batch-mode
install-html: install-html-am
| $(MIT_SCHEME_EXE) --batch-mode
uninstall-hook:
- echo '(update-optiondb "$(DESTDIR)$(scmlibdir)/")' \
+ echo '(update-optiondb "$(DESTDIR)$(scmlibdir)")' \
| $(MIT_SCHEME_EXE) --batch-mode
[ -d "$(DESTDIR)$(scmlib_pangodir)" ] \
&& rmdir "$(DESTDIR)$(scmlib_pangodir)"
AM_INIT_AUTOMAKE
-AC_PROG_LIBTOOL
+LT_PREREQ([2.2.6])
+LT_INIT([dlopen])
+
AC_PROG_CC
AC_PROG_CPP
AC_PROG_INSTALL
-dnl Initialize libtool
-LT_PREREQ([2.2.6])
-LT_INIT([dlopen win32-dll])
-
AC_CHECK_PROG([PKG_CONFIG], [pkg-config], [yes])
if ! pkg-config --exists pango 2>/dev/null; then
fi
: ${MIT_SCHEME_EXE=mit-scheme}
-MIT_SCHEME_ARCH=`echo "(display microcode-id/compiled-code-type)" \
- | ${MIT_SCHEME_EXE} --batch-mode`
+MIT_SCHEME_LIBDIR=`( echo "(display (->namestring" ;\
+ echo " (system-library-directory-pathname)))" ) \
+ | ${MIT_SCHEME_EXE} --batch-mode`
MIT_SCHEME_OS_SUFFIX=`echo "(display (microcode-id/operating-system-suffix))" \
- | ${MIT_SCHEME_EXE} --batch-mode`
+ | ${MIT_SCHEME_EXE} --batch-mode`
AC_SUBST([MIT_SCHEME_EXE])
-AC_SUBST([MIT_SCHEME_ARCH])
+AC_SUBST([MIT_SCHEME_LIBDIR])
AC_SUBST([MIT_SCHEME_OS_SUFFIX])
AC_CONFIG_FILES([Makefile])
AC_OUTPUT
EXTRA_DIST = autogen.sh
MIT_SCHEME_EXE = @MIT_SCHEME_EXE@
-scmlibdir = $(libdir)/mit-scheme-@MIT_SCHEME_ARCH@
-scmlib_planetariumdir = $(scmlibdir)/planetarium
+scmlibdir = @MIT_SCHEME_LIBDIR@
+scmlib_planetariumdir = $(scmlibdir)planetarium
sources = earth.scm geometry.scm google-earth.scm graphics.scm
sources += matrices.scm mit-cairo.scm mit-cil.scm mit-graphics.scm mit-gtk.scm
ETAGS_ARGS = $(sources)
TAGS_DEPENDENCIES = $(sources)
-EXTRA_DIST += $(sources) mit.pkg mit-3d.pkg
-EXTRA_DIST += mit-compile.sh mit-link.scm mit-check.sh
+EXTRA_DIST += $(sources) mit-compile.sh mit-link.scmf mit.pkg mit-3d.pkg
+EXTRA_DIST += mit-check.sh
EXTRA_DIST += mit-make.scm mit-optiondb.scm cil-*.txt
EXTRA_DIST += mit-snapshot.scm
install-data-hook:
- echo '(update-optiondb "$(DESTDIR)$(scmlibdir)/")' \
+ echo '(update-optiondb "$(DESTDIR)$(scmlibdir)")' \
| $(MIT_SCHEME_EXE) --batch-mode
install-html: install-html-am
| $(MIT_SCHEME_EXE) --batch-mode
uninstall-hook:
- echo '(update-optiondb "$(DESTDIR)$(scmlibdir)/")' \
+ echo '(update-optiondb "$(DESTDIR)$(scmlibdir)")' \
| $(MIT_SCHEME_EXE) --batch-mode
[ -d "$(DESTDIR)$(scmlib_planetariumdir)" ] \
&& rmdir "$(DESTDIR)$(scmlib_planetariumdir)"
AC_PROG_INSTALL
: ${MIT_SCHEME_EXE=mit-scheme}
-MIT_SCHEME_ARCH=`echo "(display microcode-id/compiled-code-type)" \
- | ${MIT_SCHEME_EXE} --batch-mode`
+MIT_SCHEME_LIBDIR=`( echo "(display (->namestring" ;\
+ echo " (system-library-directory-pathname)))" ) \
+ | ${MIT_SCHEME_EXE} --batch-mode`
MIT_SCHEME_OS_SUFFIX=`echo "(display (microcode-id/operating-system-suffix))" \
- | ${MIT_SCHEME_EXE} --batch-mode`
+ | ${MIT_SCHEME_EXE} --batch-mode`
AC_SUBST([MIT_SCHEME_EXE])
-AC_SUBST([MIT_SCHEME_ARCH])
+AC_SUBST([MIT_SCHEME_LIBDIR])
AC_SUBST([MIT_SCHEME_OS_SUFFIX])
AC_CONFIG_FILES([Makefile])
AC_OUTPUT