diff options
author | Stefano Lattarini <stefano.lattarini@gmail.com> | 2012-09-02 21:55:11 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2012-09-05 08:48:29 +0200 |
commit | 24fb6d91b6b5b460d5d0b4f5c76d4a954f928040 (patch) | |
tree | 52f463ff5d67add3e208f93bdf608d5107dc09a6 /configure.ac | |
parent | 84f5176fcdc8a4015dc3cf8100686b8e8be0c894 (diff) | |
download | coreutils-24fb6d91b6b5b460d5d0b4f5c76d4a954f928040.tar.xz |
maint: list of names of built programs available in the Makefiles
This is just a preparatory refactoring in view of future changes.
* configure.ac (AC_SUBST): New 'built_programs'.
* tests/Makefile.am (AM_TESTS_ENVIRONMENT): Simply define the exported
variable 'built_programs' to the expansion of the '$(built_programs)'
AC_SUBST'd make variable.
(.built-programs): Remove this now-unneeded convenience target.
(CLEANFILES, check_DATA): Delete, no longer needed.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 627920dcb..5e8ce24b1 100644 --- a/configure.ac +++ b/configure.ac @@ -462,6 +462,8 @@ AC_SUBST([pkglibexec_PROGRAMS]) AM_SUBST_NOTMAKE([pkglibexec_PROGRAMS]) AC_SUBST([man1_MANS]) AM_SUBST_NOTMAKE([man1_MANS]) AC_SUBST([EXTRA_MANS]) AM_SUBST_NOTMAKE([EXTRA_MANS]) +AC_SUBST([built_programs], [$optional_bin_progs]) + AM_CONDITIONAL([CROSS_COMPILING], [test "$cross_compiling" = yes]) ############################################################################ |