Permalink
Commits on Mar 25, 2018
  1. fix whitespace

    flatcap authored and msteveb committed Mar 23, 2018
    - remove trailing whitespace
Commits on Mar 17, 2018
  1. Update upstream config files

    flatcap authored and msteveb committed Mar 17, 2018
Commits on Feb 26, 2018
  1. system: add support for --runstatedir

    msteveb committed Feb 26, 2018
    For autoconf compatibility.
    
    Signed-off-by: Steve Bennett <steveb@workware.net.au>
Commits on Feb 13, 2018
  1. Always use 'util'

    msteveb committed Feb 13, 2018
    system.tcl needs lpop, but always include it for simplicity
    
    Signed-off-by: Steve Bennett <steveb@workware.net.au>
Commits on Feb 10, 2018
  1. make-template: Support nesting and better conditionals

    msteveb committed Feb 10, 2018
    In addition to nesting, @if supports !VAR and general expression forms.
    Note that this introduces a minor incompatibility with the previous
    allowed forms so that the following should be changed:
    
    ABC == value   =>  ABC eq "value"
    ABC != value   =>  ABC ne "value"
    
    Signed-off-by: Steve Bennett <steveb@workware.net.au>
Commits on Dec 21, 2017
  1. sysinstall configure needs correct WRAPPER set

    msteveb committed Dec 21, 2017
    In order for autosetup to find the top of the tree
    when doing out-of-tree builds.
    
    Signed-off-by: Steve Bennett <steveb@workware.net.au>
Commits on Nov 26, 2017
  1. Add additional tests for opt-str

    msteveb committed Nov 26, 2017
    String options with no value given, with and without a default
    
    Signed-off-by: Steve Bennett <steveb@workware.net.au>
  2. Add support for overriding the default value of module options

    msteveb committed Nov 26, 2017
    options-defaults provides a way to change the default options from auto.def
    
    Introduce new opt-str as a more convenient way of accessing string options
    
    Signed-off-by: Steve Bennett <steveb@workware.net.au>
  3. make-template: Remove the extra newline

    msteveb committed Nov 26, 2017
    write-if-changed already adds the newline, so don't add it again
    
    Signed-off-by: Steve Bennett <steveb@workware.net.au>
  4. Add support for --{enable,disable}-silent-rules

    msteveb committed Nov 26, 2017
    To keep debian happy.
    
    Signed-off-by: Steve Bennett <steveb@workware.net.au>
Commits on Nov 10, 2017
  1. Allow --install from sysinstalled autosetup

    msteveb committed Nov 10, 2017
    This combination was lost during the previous update
    
    Signed-off-by: Steve Bennett <steveb@workware.net.au>
Commits on Oct 20, 2017
  1. Never honor prefix for /var, honor only if != /usr for /etc

    gahr authored and msteveb committed Oct 19, 2017
    Seems to match most common expectations
Commits on Oct 11, 2017
  1. Copy the mode of files when installing

    msteveb committed Oct 11, 2017
    If possible, rather than blindly setting mode 755
    
    Signed-off-by: Steve Bennett <steveb@workware.net.au>
Commits on Oct 10, 2017
  1. make-template: Don't write file if unchanged

    msteveb committed Oct 10, 2017
    Reported-by: Warren Young <wyoung@tangentsoft.com>
    Signed-off-by: Steve Bennett <steveb@workware.net.au>
Commits on Oct 2, 2017
  1. cc.tcl: Small updates

    msteveb committed Oct 2, 2017
    Remove unused cc-check-something
    
    Signed-off-by: Steve Bennett <steveb@workware.net.au>
Commits on Oct 1, 2017
  1. Small improvements to examples/typical/auto.def

    msteveb committed Oct 1, 2017
    Signed-off-by: Steve Bennett <steveb@workware.net.au>
  2. Update migrate-autoconf

    msteveb committed Sep 24, 2017
    find-tclsh -> autosetup-find-tclsh
    
    Signed-off-by: Steve Bennett <steveb@workware.net.au>
  3. Improve --install, --sysinstall

    msteveb committed Sep 24, 2017
    Neither --install nor --sysinstall is supported from a project install
    and --sysinstall is not supported from a system install.
    
    Signed-off-by: Steve Bennett <steveb@workware.net.au>
  4. Improve tmake integration

    msteveb committed Sep 24, 2017
    Use the Autosetup command in the default project.spec
    And write more variables to settings.conf
    
    Signed-off-by: Steve Bennett <steveb@workware.net.au>
  5. Improve define-append check for duplicates

    msteveb committed Sep 24, 2017
    Don't just check for substrings. Check for space-separated tokens.
    
    Otherwise if the variables is "-Wall", then
    defined-append with "-W" will not add the value
    
    Signed-off-by: Steve Bennett <steveb@workware.net.au>
Commits on Sep 12, 2017
  1. system: add abs_top_srcdir and abs_top_builddir

    msteveb committed Sep 12, 2017
    For autoconf compatibility
    
    Also, don't allow top_srcdir to be specified in the environment since it's definition could conflict with that in make-template
    
    Signed-off-by: Steve Bennett <steveb@workware.net.au>
Commits on Sep 8, 2017
  1. Add tests for make-template

    msteveb committed May 6, 2011
    And run tests both in-tree and out-of-tree
    
    Signed-off-by: Steve Bennett <steveb@workware.net.au>
Commits on Sep 7, 2017
  1. Bump version to 0.6.8

    msteveb committed Sep 7, 2017
    Signed-off-by: Steve Bennett <steveb@workware.net.au>
  2. Initial unit test suite

    msteveb committed Sep 3, 2017
    Unit testing of utility functions, not system-level testing
    
    Signed-off-by: Steve Bennett <steveb@workware.net.au>
  3. Allow $autosetup_tclsh to select the preferred tclsh

    msteveb committed Sep 3, 2017
    If the environment variable autosetup_tclsh is set, it
    is the first Tcl interpreter tested.
    
    Signed-off-by: Steve Bennett <steveb@workware.net.au>
  4. Avoid use of lmap

    msteveb committed Sep 7, 2017
    tclsh doesn't have lmap built-in so use foreach
    
    Signed-off-by: Steve Bennett <steveb@workware.net.au>
Commits on Sep 2, 2017
  1. Add cc-path-progs

    msteveb committed Sep 2, 2017
    Like cc-check-progs except sets the define to the full path
    
    Signed-off-by: Steve Bennett <steveb@workware.net.au>
Commits on Aug 23, 2017
  1. cc: drop empty -cflags, -includes, -libs

    msteveb committed Aug 23, 2017
    This addresses the following problem:
    
    I am having a problem with a malformed compiler command line coming from the
    fact that I am looping over a set of variable and trying different combinations.
    This comes from a module I'm writing which is supposed to locate iconv() either
    i) in prefix, ii) in a dedicated libiconv.so library, or iii) in libc.
    I am looping over different variations of cflags, ldflags, and libs, any of
    which could be empty in a particular iteration. When this happens, the compiler
    gets invoked with empty arguments, which end up in it erroring with "No such
    file".
    
    Reported-By: Pietro Cerutti <gahr@gahr.ch>
    Signed-off-by: Steve Bennett <steveb@workware.net.au>
Commits on May 14, 2017
  1. Remove 'with-' prefix from the prefix list in 'getopt' as it is no lo…

    mistachkin authored and msteveb committed May 13, 2017
    …nger needed there.
Commits on May 12, 2017
  1. Improve examples/dropbear/auto.def

    msteveb committed May 12, 2017
    Include a name for --with options
    
    Signed-off-by: Steve Bennett <steveb@workware.net.au>
  2. Include a parameter name for the --sysinstall option

    msteveb committed May 12, 2017
    Improves the help message
    
    Signed-off-by: Steve Bennett <steveb@workware.net.au>
  3. Remove --with-xxx and --without-xxx synonyms

    msteveb committed May 12, 2017
    No long accept --with-xxx and --without-xxx as synonyms for --enable-xxx
    and --disable-xxx respectively. This breaks projects such as fossil
    where boolean options are named --with-xxx
    
    Signed-off-by: Steve Bennett <steveb@workware.net.au>
Commits on Apr 22, 2017
  1. Fix some built-in options

    msteveb committed Apr 22, 2017
    opt-val now returns a list
    
    So use lindex ... end to retrieve the last option where appropriate.
    
    Reported-by: Stuart Cassoff <stwo@bell.net>
    Signed-off-by: Steve Bennett <steveb@workware.net.au>
Commits on Mar 30, 2017
  1. Update bootstrap jimsh0.c to 0.77-65-g952c8e6

    msteveb committed Mar 30, 2017
    Signed-off-by: Steve Bennett <steveb@workware.net.au>