Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Mar 11, 2008
  1. @gitster

    autoconf: Test FREAD_READS_DIRECTORIES

    Michal Rokos authored gitster committed
    Add test for FREAD_READS_DIRECTORIES to detect when fread() reads fopen'ed
    directory.
    
    Tested on these platforms:
    
      AIX 5.3 - FREAD_READS_DIRECTORIES=UnfortunatelyYes
      HP-UX B.11.11 - FREAD_READS_DIRECTORIES=UnfortunatelyYes
      HP-UX B.11.23 - FREAD_READS_DIRECTORIES=UnfortunatelyYes
      Linux 2.6.25-rc4 - FREAD_READS_DIRECTORIES=
      Tru64 V5.1 - FREAD_READS_DIRECTORIES=UnfortunatelyYes
      Windows - FREAD_READS_DIRECTORIES=
    
    Signed-off-by: Michal Rokos <michal.rokos@nextsoft.cz>
    Tested-by: Mike Ralphson <mike@abacus.co.uk>
    Tested-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Mar 5, 2008
  1. @gitster

    Add compat/snprintf.c for systems that return bogus

    Michal Rokos authored gitster committed
    Some systems (namely HPUX and Windows) return -1 when maxsize in snprintf()
    and in vsnprintf() is reached. So replace snprintf() and vsnprintf()
    functions with our own ones that return correct value upon overflow.
    
    [jc: verified that review comments by J6t have been incorporated, and
     tightened the check to verify the resulting buffer contents, suggested
     by Wayne Davison]
    
    Signed-off-by: Michal Rokos <michal.rokos@nextsoft.cz>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Jan 26, 2008
  1. @jnareb @gitster

    autoconf: define NO_SYS_SELECT_H on systems without <sys/select.h>.

    jnareb authored gitster committed
    Pre-POSIX.1-2001 systems don't have <sys/select.h>, but select(2)
    is declared in <sys/time.h>, which git-compat-util.h includes.
    
    Signed-off-by: Jakub Narebski <jnareb@gmail.com>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Jan 18, 2008
  1. @jnareb @gitster

    autoconf: Add checking for unsetenv function

    jnareb authored gitster committed
    Update configure.ac (and config.mak.in) by adding test for unsetenv
    (NO_UNSETENV).  Add comment about NO_UNSETENV to Makefile header, as
    original commit 731043f adding compat/unsetenv.c didn't do that.
    
    Signed-off-by: Jakub Narebski <jnareb@gmail.com>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Dec 11, 2007
  1. @jnareb @gitster

    autoconf: Check asciidoc version to automatically set ASCIIDOC8

    jnareb authored gitster committed
    Check for asciidoc, and if it exists check asciidoc version, setting
    ASCIIDOC8 when needed.  Currently it just runs asciidoc in asciidoc7
    compatibility mode (see: Documentation/Makefile).
    
    Signed-off-by: Jakub Narebski <jnareb@gmail.com>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Dec 7, 2007
  1. @jnareb @gitster

    autoconf: Add test for OLD_ICONV (squelching compiler warning)

    jnareb authored gitster committed
    Update configure.ac (and config.mak.in) to keep up with git
    development by adding [compile] test whether your library has an old
    iconv(), where the second (input buffer pointer) parameter is declared
    with type (const char **) (OLD_ICONV).
    
    Test-proposed-by: Linus Torvalds <torvalds@linux-foundation.org>
    Signed-off-by: Jakub Narebski <jnareb@gmail.com>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Dec 1, 2007
  1. @gitster

    Merge branch 'maint'

    gitster authored
    * maint:
      Replace the word 'update-cache' by 'update-index' everywhere
      cvsimport: fix usage of cvsimport.module
      t7003-filter-branch: Fix test of a failing --msg-filter.
      cvsimport: miscellaneous packed-ref fixes
      cvsimport: use rev-parse to support packed refs
      Add basic cvsimport tests
Commits on Nov 30, 2007
  1. @dscho @gitster

    Replace the word 'update-cache' by 'update-index' everywhere

    dscho authored gitster committed
    Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Nov 20, 2007
  1. @jnareb @gitster

    autoconf: Add tests for memmem, strtoumax and mkdtemp functions

    jnareb authored gitster committed
    Update configure.ac (and config.mak.in) to keep up with git
    development by adding tests for memmem (NO_MEMMEM), strtoumax
    (NO_STRTOUMAX) and mkdtemp (NO_MKDTEMP) functions.
    
    Signed-off-by: Jakub Narebski <jnareb@gmail.com>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Nov 8, 2007
  1. @gitster

    Merge branch 'ds/maint-deflatebound'

    gitster authored
    * ds/maint-deflatebound:
      Improve accuracy of check for presence of deflateBound.
  2. @gitster

    Fix minor nits in configure.ac

    Ralf Wildenhues authored gitster committed
    Avoid "test -o" as it is only XSI not POSIX, and not portable.
    Avoid exit(3) in test programs in favor of return, to accommodate
    for newer Autoconf not providing a declaration for exit.
    
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
  3. @dsymonds @gitster

    Improve accuracy of check for presence of deflateBound.

    dsymonds authored gitster committed
    ZLIB_VERNUM isn't defined in some zlib versions, so this patch does a proper
    linking test in autoconf to see whether deflateBound exists in zlib. Also,
    setting NO_DEFLATE_BOUND will also work for folk not using autoconf.
    
    Signed-off-by: David Symonds <dsymonds@gmail.com>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Oct 3, 2007
  1. @schiele @gitster

    the ar tool is called gar on some systems

    schiele authored gitster committed
    Some systems that have only installed the GNU toolchain (prefixed with "g")
    do not provide "ar" but only "gar".  Make configure find this tool as well.
    
    Signed-off-by: Robert Schiele <rschiele@gmail.com>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Aug 1, 2007
  1. @schiele @gitster

    make the name of the library directory a config option

    schiele authored gitster committed
    Introduce new makefile variable lib to hold the name of the lib
    directory ("lib" by default).  Also introduce a switch for configure
    to specify this name with --with-lib=ARG.  This is useful for systems
    that use a different name than "lib" (like "lib64" on some 64 bit
    Linux architectures).
    
    Signed-off-by: Robert Schiele <rschiele@gmail.com>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Jul 31, 2007
  1. @schiele @gitster

    add option to find zlib in custom path

    schiele authored gitster committed
    Some systems do not provide zlib development headers and libraries in
    default search path of the compiler.  For these systems we should allow
    specifying the location by --with-zlib=PATH or by setting ZLIB_PATH in
    the makefile.
    
    Signed-off-by: Robert Schiele <rschiele@gmail.com>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Apr 1, 2007
  1. Eliminate checks of user-specified Tcl/Tk interpreter.

    Eygene Ryabinkin authored Junio C Hamano committed
    Do not make the checks on the Tcl/Tk interpreter passed by
    '--with-tcltk=/path/to/wish' configure option: user is free to pass
    anything.
    
    Signed-off-by: Eygene Ryabinkin <rea-git@codelabs.ru>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
  2. Add --with-tcltk and --without-tcltk to configure.

    Eygene Ryabinkin authored Junio C Hamano committed
    --with-tcltk enables the search of the Tcl/Tk interpreter. If no
    interpreter is found then Tcl/Tk dependend parts are disabled.
    
    --without-tcltk unconditionally disables Tcl/Tk dependent parts.
    
    The original behaviour is not changed: bare './configure' just
    installs the Tcl/Tk part doing no checks for the interpreter.
    
    Signed-off-by: Eygene Ryabinkin <rea-git@codelabs.ru>
Commits on Feb 18, 2007
  1. New autoconf test for iconv

    Fredrik Kuivinen authored Junio C Hamano committed
    On a Solaris machine I have access to libc contains the symbol
    "iconv" but, when compiling with gcc and including iconv.h we get
    iconv.h from GNU libiconv. This header file define (among other
    things) "iconv" to "libiconv" and so on.
    
    In order to link with GNU libiconv we need -liconv. Currently we
    test if the symbol "iconv" is in libc (which is true), then we get
    a undefined reference error because we don't have libiconv_open.
    
    The solution this patch implements is to compile and link a
    small test program, instead of just checking if the libraries
    (libc and libiconv) contains the symbol "iconv".
    
    Signed-off-by: Fredrik Kuivinen <frekui@gmail.com>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
Commits on Dec 23, 2006
  1. Remove NO_ACCURATE_DIFF options from build systems

    Eric Wong authored Junio C Hamano committed
    The code no longer uses it, as we have --inaccurate-eof in
    git-apply.
    
    Signed-off-by: Eric Wong <normalperson@yhbt.net>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
Commits on Dec 20, 2006
  1. @Benabik

    Remove COLLISION_CHECK from Makefile since it's not used.

    Benabik authored Junio C Hamano committed
    It's rather misleading to have configuration options that don't do
    anything.  If someone adds collision checking they might also want to
    restore this option.
    
    Signed-off-by: Brian Gernhardt <benji@silverinsanity.com>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
Commits on Nov 22, 2006
  1. remove merge-recursive-old

    Junio C Hamano authored
    This frees the Porcelain-ish that comes with the core Python-free.
    
    Signed-off-by: Junio C Hamano <junkio@cox.net>
Commits on Oct 1, 2006
  1. Merge branch 'jc/gitpm'

    Junio C Hamano authored
    * jc/gitpm: (52 commits)
      Remove -fPIC which was only needed for Git.xs
      Git.pm: Kill Git.xs for now
      Revert "Make it possible to set up libgit directly (instead of from the environment)"
      Revert "Git.pm: Introduce fast get_object() method"
      Revert "Convert git-annotate to use Git.pm"
      Fix compilation with Sun CC
      pass DESTDIR to the generated perl/Makefile
      Eliminate Scalar::Util usage from private-Error.pm
      Convert git-annotate to use Git.pm
      Git.pm: Introduce fast get_object() method
      Make it possible to set up libgit directly (instead of from the environment)
      Work around sed and make interactions on the backslash at the end of line.
      Git.pm: Introduce ident() and ident_person() methods
      Convert git-send-email to use Git.pm
      Git.pm: Add config() method
      Use $GITPERLLIB instead of $RUNNING_GIT_TESTS and centralize @INC munging
      INSTALL: a tip for running after building but without installing.
      Perly Git: make sure we do test the freshly built one.
      Git.pm: Don't #define around die
      Git.xs: older perl do not know const char *
      ...
Commits on Sep 30, 2006
  1. Remove -fPIC which was only needed for Git.xs

    Junio C Hamano authored
    The distinction between BASIC_ vs ALL_ is still kept, since it
    is not Git.xs specific -- we could face the same issue when we
    do other language bindings (e.g. Python).
    
    Signed-off-by: Junio C Hamano <junkio@cox.net>
Commits on Sep 25, 2006
  1. Deprecate merge-recursive.py

    Junio C Hamano authored
    This renames merge-recursive written in Python to merge-recursive-old,
    and makes merge-recur as a synonym to merge-recursive.  We do not remove
    merge-recur yet, but we will remove merge-recur and merge-recursive-old
    in a few releases down the road.
    
    Signed-off-by: Junio C Hamano <junkio@cox.net>
Commits on Sep 7, 2006
  1. @jnareb

    autoconf: Add support for setting NO_ICONV and ICONVDIR

    jnareb authored Junio C Hamano committed
    Add support for ./configure options --without-iconv (if neither libc
    nor libiconv properly support iconv), and for --with-iconv=PATH (to
    set prefix to libiconv library and headers, used only when
    NEED_LIBICONV is set).  While at it, make ./configure set or unset
    NO_ICONV always (it is not autodetected in Makefile).
    
    Signed-off-by: Jakub Narebski <jnareb@gmail.com>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
  2. @jnareb

    autoconf: Set NO_ICONV if iconv is found neither in libc, nor in libi…

    jnareb authored Junio C Hamano committed
    …conv
    
    Signed-off-by: Jakub Narebski <jnareb@gmail.com>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
Commits on Sep 5, 2006
  1. @jnareb

    autoconf: Fix copy'n'paste error

    jnareb authored Junio C Hamano committed
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
    Signed-off-by: Jakub Narebski <jnareb@gmail.com>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
  2. @jnareb

    autoconf: Quote AC_CACHE_CHECK arguments

    jnareb authored Junio C Hamano committed
    Signed-off-by: Jakub Narebski <jnareb@gmail.com>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
  3. @jnareb

    autoconf: Check for subprocess.py

    jnareb authored Junio C Hamano committed
    Add custom test for checking if Python comes with subprocess.py, or
    should we use our own subprocess.py by defining WITH_OWN_SUBPROCESS_PY.
    
    Signed-off-by: Jakub Narebski <jnareb@gmail.com>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
  4. @jnareb

    autoconf: Add -liconv to LIBS when NEEDS_LIBICONV

    jnareb authored Junio C Hamano committed
    Signed-off-by: Jakub Narebski <jnareb@gmail.com>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
Commits on Aug 15, 2006
  1. @dstosberg

    Fix compilation with Sun CC

    dstosberg authored Junio C Hamano committed
    - Add the CFLAGS variable to config.mak.in to override the Makefile's
      default, which is gcc-specific and won't work with Sun CC.
    - Prefer "cc" over "gcc", because Pasky's Git.pm will not compile with gcc
      on Solaris at all. On Linux and the free BSDs "cc" is linked to "gcc"
      anyway.
    - Set correct flag to generate position-independent code.
    - Add "-xO3" (= use default optimization level) to CFLAGS.
    
    Signed-off-by: Dennis Stosberg <dennis@stosberg.net>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
  2. @dstosberg

    Fix detection of ipv6 on Solaris

    dstosberg authored Junio C Hamano committed
    The configuration script detects whether linking with -lsocket is
    necessary but doesn't add -lsocket to LIBS.  This lets the ipv6 test
    fail.
    
    Signed-off-by: Dennis Stosberg <dennis@stosberg.net>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
  3. @dstosberg

    Look for sockaddr_storage in sys/socket.h

    dstosberg authored Junio C Hamano committed
    On Solaris and the BSDs the definition of "struct sockaddr_storage"
    is not available from "netinet/in.h".  On Solaris "sys/socket.h" is
    enough, at least OpenBSD needs "sys/types.h", too.
    
    Using "sys/types.h" and "sys/socket.h" seems to be a more portable
    way.
    
    Signed-off-by: Dennis Stosberg <dennis@stosberg.net>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
Commits on Aug 9, 2006
  1. @jnareb

    autoconf: Add support for setting CURLDIR, OPENSSLDIR, EXPATDIR

    jnareb authored Junio C Hamano committed
    Add support for --with-openssl=PATH and --without-openssl,
    --with-curl=PATH and --without-curl, --with-expat=PATH and
    --without-expat ./configure options, each setting or unsetting
    appropriate NO_PACKAGE and if called with argument also PACKAGEDIR
    (of which only CURLDIR is documented in Makefile)
    
    All above options are supported as override to autodetection; more to
    come in the same style (override to autodetection), so moved the bulk
    of comments for site configuration down.
    
    Needs review by someone well versed in autoconf and m4.
    
    Signed-off-by: Jakub Narebski <jnareb@gmail.com>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
  2. @jnareb

    autoconf: It is --without-python, not --no-python

    jnareb authored Junio C Hamano committed
    Signed-off-by: Jakub Narebski <jnareb@gmail.com>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
Something went wrong with that request. Please try again.