bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

new program: arch, not built by default; new configure options


From: Jim Meyering
Subject: new program: arch, not built by default; new configure options
Date: Wed, 11 Jul 2007 11:53:19 +0200

FYI:

http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=summary

====================================================================

** New programs

  arch: equivalent to uname -m, not installed by default
  But don't install this program on Solaris systems.

** New build options

  By default, "make install" no longer attempts to install (or even build) su.
  To change that, use ./configure --enable-install-program=su.
  If you also want to install the new "arch" program, do this:
  ./configure --enable-install-program=arch,su.

  You can inhibit the compilation and installation of selected programs
  at configure time.  For example, to avoid installing "hostname" and
  "uptime", use ./configure --enable-no-install-program=hostname,uptime
  Note: currently, "make check" passes, even when arch and su are not
  built (that's the new default).  However, if you inhibit the building
  and installation of other programs, don't be surprised if some parts
  of "make check" fail.

====================================================================
The ChangeLog entries:

2007-07-11  Jim Meyering  <address@hidden>

        If there's a GPL vN copyright comment, require that N == 3.
        * Makefile.maint (sc_GPL_version): New rule.
        * tests/misc/arch: Fix the sole violation.

2007-07-10  Jim Meyering  <address@hidden>

        Skip "arch" test if it's not built.
        * tests/misc/Makefile.am (built_programs): Define.
        (TESTS_ENVIRONMENT): Add $(built_programs), for...
        * tests/misc/arch: ...this: skip the test if arch is not built.
        * src/Makefile.am (built_programs.list): New rule.
        * tests/Makefile.am (built_programs): Rename from all_programs.
        (TESTS_ENVIRONMENT): Use built_programs, not all_programs.
        * tests/help-version: Likewise.
        * NEWS: Mention that using --enable-no-install-program=X may
        cause "make check" to fail.

        Add support for enabling/disabling installation of specified programs.
        * NEWS: Mention new configure-time options.
        Mention that neither arch nor su is built/installed, by default.
        * m4/include-exclude-prog.m4: New file.
        * configure.ac: Use new macro, gl_ADD_PROG, rather than
        manually appending to OPTIONAL_BIN_PROGS and MAN.
        Move the code that adds "df" to the list of programs to build from
        m4/jm-macros into this file.
        Use gl_INCLUDE_EXCLUDE_PROG, then handle special cases: ginstall, [.
        (NO_INSTALL_PROGS_DEFAULT): AC_SUBST it.  Used by man/Makefile.am.
        * man/Makefile.am (dist_man_MANS): Remove from this list all man pages
        corresponding to "bin" programs. Add $(MAN) instead.
        (optional_mans): Remove all uses.
        (check-x-vs-1): Adapt to work even though arch and su are typically
        no longer built (and neither are their .1 files).
        * src/Makefile.am (install_su): Rename from INSTALL_SU, now that
        INSTALL_SU has a different meaning. Use the new $(INSTALL_SU) value.

2007-07-10  Karel Zak  <address@hidden>

        New program: arch
        * NEWS: Mention arch.
        * README: Add arch to the list of programs.
        * AUTHORS: Add arch.
        * src/uname.c: Include "uname.h".
        (PROGRAM_NAME): Handle arch, too.
        (ARCH_AUTHORS): Define.
        (uname_long_options, arch_long_options): Renamed and new globals.
        (usage): Handle arch-mode as well as uname-mode.
        (decode_switches): New function, extracted from main,
        to handle arch-mode as well as uname-mode.
        (main): Handle both modes.
        * src/uname-arch.c: New program, alias for "uname -m".
        * src/uname-uname.c: New file, default uname mode.
        * src/uname.h: New file, uname modes.
        * src/Makefile.am (EXTRA_PROGRAMS): Add arch.
        (uname_SOURCES, arch_SOURCES): Define.
        * man/arch.x: New file.
        * man/Makefile.am (dist_man_MANS): Add arch.1.
        (arch.1): New dependency.
        * tests/misc/arch: New test, compare "arch" with "uname -m"
        * configure.ac (OPTIONAL_BIN_PROGS): Add arch.
        (MAN): Add arch.1.
        * .x-sc_require_config_h: Exempt uname-arch.c and uname-uname.c
        from the always-include-<config.h> rule.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]