GUILE_EFFECTIVE_VERSION=${GUILE_MAJOR_VERSION}.${GUILE_MINOR_VERSION}
GUILE_VERSION=${GUILE_EFFECTIVE_VERSION}.${GUILE_MICRO_VERSION}
-# For automake.
-VERSION=${GUILE_VERSION}
-PACKAGE="GNU Guile"
-
# All of the shared lib versioning info. Right now, for this to work
# properly, you'll also need to add AC_SUBST calls to the right place
# in configure.in, add the right -version-info statement to your
DISTCLEANFILES = check-guile.log
-# Help Automake choose the right directory name (Automake 1.11 uses
-# `$(PACKAGE)-$(PACKAGE_VERSION)' by default, which is wrong.)
-distdir = $(PACKAGE_TARNAME)-$(PACKAGE_VERSION)
-
DISTCHECK_CONFIGURE_FLAGS = --enable-error-on-warning
dist-hook: gen-ChangeLog
dnl Builtins"), in particular on solaris it results in a literal "-n" in
dnl the output.
dnl
-AC_INIT(patsubst(m4_esyscmd(. ./GUILE-VERSION && echo ${PACKAGE}),[
-]),
+AC_INIT([GNU Guile],
patsubst(m4_esyscmd(. ./GUILE-VERSION && echo ${GUILE_VERSION}),[
]),
[bug-guile@gnu.org])
top_srcdir_absolute=`(cd $srcdir && pwd)`
AC_SUBST(top_srcdir_absolute)
-dnl Override Automake 1.11's broken definitions.
-dnl See http://thread.gmane.org/gmane.comp.sysutils.automake.bugs/4803
-dnl and info "(automake) Uniform" and info "(autoconf) Initializing configure".
-pkgdatadir="$datadir/$PACKAGE_TARNAME"
-pkgincludedir="$includedir/$PACKAGE_TARNAME"
-pkglibdir="$libdir/$PACKAGE_TARNAME"
-pkglibexecdir="$libexecdir/$PACKAGE_TARNAME"
-AC_SUBST([pkgdatadir])
-AC_SUBST([pkgincludedir])
-AC_SUBST([pkglibdir])
-AC_SUBST([pkglibexecdir])
-
dnl We need `sitedir' in `guile-1.8.pc'.
dnl Note: `sitedir' must be kept in sync with `GUILE_SITE_DIR' in `guile.m4'.
+pkgdatadir="$datadir/$PACKAGE_TARNAME"
sitedir="$pkgdatadir/site"
AC_SUBST([sitedir])