mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-30 17:00:23 +02:00
* configure.in (GUILE_EFFECTIVE_VERSION): AC_SUBST it.
(AC_CONFIG_FILES): separate out the files that need to be chmodded at the end of config.status. Our "default" approach using AC_CONFIG_COMMANDS quit working (and would have needed to be changed to AC_CONFIG_COMMANDS(,,CMDS) rather than our previous AC_CONFIG_COMMANDS(default,CMDS), but I the new approach, using per-file AC_CONFIG_FILES calls appears to be more "correct" in the current autoconf docs.
This commit is contained in:
parent
b12429b225
commit
cb21fca63e
1 changed files with 14 additions and 18 deletions
32
configure.in
32
configure.in
|
@ -657,6 +657,7 @@ EXTRA_DOT_X_FILES="`echo ${LIB@&t@OBJS} | sed 's,\.[[^.]]* ,.x ,g;s,\.[[^.]]*$,.
|
||||||
AC_SUBST(GUILE_MAJOR_VERSION)
|
AC_SUBST(GUILE_MAJOR_VERSION)
|
||||||
AC_SUBST(GUILE_MINOR_VERSION)
|
AC_SUBST(GUILE_MINOR_VERSION)
|
||||||
AC_SUBST(GUILE_MICRO_VERSION)
|
AC_SUBST(GUILE_MICRO_VERSION)
|
||||||
|
AC_SUBST(GUILE_EFFECTIVE_VERSION)
|
||||||
AC_SUBST(GUILE_VERSION)
|
AC_SUBST(GUILE_VERSION)
|
||||||
|
|
||||||
#######################################################################
|
#######################################################################
|
||||||
|
@ -698,18 +699,13 @@ AC_SUBST(EXTRA_DOT_X_FILES)
|
||||||
dnl See also top_builddir in info node: (libtool)AC_PROG_LIBTOOL
|
dnl See also top_builddir in info node: (libtool)AC_PROG_LIBTOOL
|
||||||
top_builddir_absolute=`pwd`
|
top_builddir_absolute=`pwd`
|
||||||
AC_SUBST(top_builddir_absolute)
|
AC_SUBST(top_builddir_absolute)
|
||||||
top_srcdir_absolute=`(cd $srcdir ; pwd)`
|
top_srcdir_absolute=`(cd $srcdir && pwd)`
|
||||||
AC_SUBST(top_srcdir_absolute)
|
AC_SUBST(top_srcdir_absolute)
|
||||||
|
|
||||||
AC_CONFIG_FILES([
|
AC_CONFIG_FILES([
|
||||||
Makefile
|
Makefile
|
||||||
am/Makefile
|
am/Makefile
|
||||||
libguile/Makefile
|
libguile/Makefile
|
||||||
libguile/guile-snarf
|
|
||||||
libguile/guile-doc-snarf
|
|
||||||
libguile/guile-func-name-check
|
|
||||||
libguile/guile-snarf-docs
|
|
||||||
libguile/version.h
|
|
||||||
libguile-ltdl/Makefile
|
libguile-ltdl/Makefile
|
||||||
libguile-ltdl/upstream/Makefile
|
libguile-ltdl/upstream/Makefile
|
||||||
ice-9/Makefile
|
ice-9/Makefile
|
||||||
|
@ -735,19 +731,19 @@ AC_CONFIG_FILES([
|
||||||
examples/box-dynamic-module/Makefile
|
examples/box-dynamic-module/Makefile
|
||||||
examples/modules/Makefile
|
examples/modules/Makefile
|
||||||
examples/safe/Makefile
|
examples/safe/Makefile
|
||||||
test-suite/Makefile
|
test-suite/Makefile])
|
||||||
check-guile
|
|
||||||
guile-tools
|
|
||||||
pre-inst-guile])
|
|
||||||
|
|
||||||
AC_CONFIG_COMMANDS(default,
|
AC_CONFIG_FILES([check-guile], [chmod +x check-guile])
|
||||||
[ chmod +x libguile/guile-snarf \
|
AC_CONFIG_FILES([guile-tools], [chmod +x guile-tools])
|
||||||
libguile/guile-doc-snarf \
|
AC_CONFIG_FILES([pre-inst-guile], [chmod +x pre-inst-guile])
|
||||||
libguile/guile-func-name-check \
|
AC_CONFIG_FILES([libguile/guile-snarf],
|
||||||
libguile/guile-snarf-docs \
|
[chmod +x libguile/guile-snarf])
|
||||||
check-guile \
|
AC_CONFIG_FILES([libguile/guile-doc-snarf],
|
||||||
guile-tools \
|
[chmod +x libguile/guile-doc-snarf])
|
||||||
pre-inst-guile])
|
AC_CONFIG_FILES([libguile/guile-func-name-check],
|
||||||
|
[chmod +x libguile/guile-func-name-check])
|
||||||
|
AC_CONFIG_FILES([libguile/guile-snarf-docs],
|
||||||
|
[chmod +x libguile/guile-snarf-docs])
|
||||||
|
|
||||||
AC_OUTPUT
|
AC_OUTPUT
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue