EXTRA_DIST = autogen.sh
MIT_SCHEME_EXE = @MIT_SCHEME_EXE@
-scmlibdir = $(libdir)/mit-scheme-@MIT_SCHEME_ARCH@
-scmlib_blowfishdir = $(scmlibdir)/blowfish
+scmlibdir = @MIT_SCHEME_LIBDIR@
+scmlib_blowfishdir = $(scmlibdir)blowfish
scmlib_LTLIBRARIES = blowfish-shim.la
scmlib_DATA = blowfish-types.bin blowfish-const.bin
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_blowfishdir)" ] \
&& rmdir "$(DESTDIR)$(scmlib_blowfishdir)"
AM_INIT_AUTOMAKE
-AC_PROG_LIBTOOL
+LT_PREREQ([2.2.6])
+LT_INIT([dlopen])
+
AC_PROG_CC
AC_PROG_CPP
AC_PROG_INSTALL
[Use OpenSSL crypto library if available [[yes]]]))
: ${with_openssl='yes'}
-dnl Initialize libtool
-LT_PREREQ([2.2.6])
-LT_INIT([dlopen win32-dll])
-
dnl The OpenSSL crypto library provides support for blowfish.
if test "${with_openssl}" != no; then
if test "${with_openssl}" != yes; 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_gdbmdir = $(scmlibdir)/gdbm
+scmlibdir = @MIT_SCHEME_LIBDIR@
+scmlib_gdbmdir = $(scmlibdir)gdbm
scmlib_LTLIBRARIES = gdbm-shim.la
scmlib_DATA = gdbm-types.bin gdbm-const.bin
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_gdbmdir)" ] \
&& rmdir "$(DESTDIR)$(scmlib_gdbmdir)"
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_HEADER([gdbm.h],[],[
AC_MSG_ERROR([Header file <gdbm.h> not found.])])
LIBS="-lgdbm"
: ${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_mcryptdir = $(scmlibdir)/mcrypt
+scmlibdir = @MIT_SCHEME_LIBDIR@
+scmlib_mcryptdir = $(scmlibdir)mcrypt
scmlib_LTLIBRARIES = mcrypt-shim.la
scmlib_DATA = mcrypt-types.bin mcrypt-const.bin
ETAGS_ARGS = $(all_sources) -r '/^([^iI].*/' $(cdecls)
TAGS_DEPENDENCIES = $(all_sources) $(cdecls)
-EXTRA_DIST += $(all_sources) $(cdecls) mcrypt.pkg
-EXTRA_DIST += compile.scm mcrypt-check.scm mcrypt-check.sh
+EXTRA_DIST += $(all_sources) $(cdecls) compile.scm mcrypt.pkg
+EXTRA_DIST += mcrypt-check.scm mcrypt-check.sh
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_mcryptdir)" ] \
&& rmdir "$(DESTDIR)$(scmlib_mcryptdir)"
AM_INIT_AUTOMAKE
-AC_PROG_LIBTOOL
+LT_PREREQ([2.2.6])
+LT_INIT([dlopen])
+
AC_PROG_CC
AC_PROG_CPP
AC_PROG_INSTALL
LIBS="${LIBS} ${MCRYPT_LIBS}"
: ${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_md5dir = $(scmlibdir)/md5
+scmlibdir = @MIT_SCHEME_LIBDIR@
+scmlib_md5dir = $(scmlibdir)md5
scmlib_LTLIBRARIES = md5-shim.la
scmlib_DATA = md5-types.bin md5-const.bin
ETAGS_ARGS = $(all_sources) -r '/^([^iI].*/' $(cdecls)
TAGS_DEPENDENCIES = $(all_sources) $(cdecls)
-EXTRA_DIST += $(all_sources) $(cdecls) md5.pkg
-EXTRA_DIST += compile.scm md5-check.scm md5-check.sh
+EXTRA_DIST += $(all_sources) $(cdecls) compile.scm md5.pkg
+EXTRA_DIST += md5-check.scm md5-check.sh
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_md5dir)" ] \
&& rmdir "$(DESTDIR)$(scmlib_md5dir)"
AM_INIT_AUTOMAKE
-AC_PROG_LIBTOOL
+LT_PREREQ([2.2.6])
+LT_INIT([dlopen])
+
AC_PROG_CC
AC_PROG_CPP
AC_PROG_INSTALL
[Use OpenSSL crypto library if available [[yes]]]))
: ${with_openssl='yes'}
-dnl Initialize libtool
-LT_PREREQ([2.2.6])
-LT_INIT([dlopen win32-dll])
-
dnl The OpenSSL crypto library provides support for md5.
if test "${with_openssl}" != no; then
if test "${with_openssl}" != yes; 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_mhashdir = $(scmlibdir)/mhash
+scmlibdir = @MIT_SCHEME_LIBDIR@
+scmlib_mhashdir = $(scmlibdir)mhash
scmlib_LTLIBRARIES = mhash-shim.la
scmlib_DATA = mhash-types.bin mhash-const.bin
ETAGS_ARGS = $(all_sources) -r '/^([^iI].*/' $(cdecls)
TAGS_DEPENDENCIES = $(all_sources) $(cdecls)
-EXTRA_DIST += $(all_sources) $(cdecls) mhash.pkg
-EXTRA_DIST += compile.scm mhash-check.scm mhash-check.sh
+EXTRA_DIST += $(all_sources) $(cdecls) compile.scm mhash.pkg
+EXTRA_DIST += mhash-check.scm mhash-check.sh
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_mhashdir)" ] \
&& rmdir "$(DESTDIR)$(scmlib_mhashdir)"
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_HEADER([mhash.h],[],[
AC_MSG_ERROR([Header file <mhash.h> not found.])])
LIBS="-lmhash"
: ${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