Merge branch 'nh/http' into next
authorJunio C Hamano <junkio@cox.net>
Wed, 5 Apr 2006 21:25:57 +0000 (14:25 -0700)
committerJunio C Hamano <junkio@cox.net>
Wed, 5 Apr 2006 21:25:57 +0000 (14:25 -0700)
* nh/http:
Fix compile with expat, but an old curl version

1  2 
Makefile
diff --combined Makefile
index 3471177efbce01579ea5e22e95b3331db8f32e71,164151999dc4b6dcf16606e95306d89bcbcf9eff..6b10eaa41321b530b95acf9f3633c765062b6297
+++ b/Makefile
@@@ -114,7 -114,7 +114,7 @@@ SPARSE_FLAGS = -D__BIG_ENDIAN__ -D__pow
  
  SCRIPT_SH = \
        git-add.sh git-bisect.sh git-branch.sh git-checkout.sh \
 -      git-cherry.sh git-clone.sh git-commit.sh \
 +      git-cherry.sh git-clean.sh git-clone.sh git-commit.sh \
        git-count-objects.sh git-diff.sh git-fetch.sh \
        git-format-patch.sh git-log.sh git-ls-remote.sh \
        git-merge-one-file.sh git-parse-remote.sh \
@@@ -208,7 -208,7 +208,7 @@@ LIB_OBJS = 
        quote.o read-cache.o refs.o run-command.o \
        server-info.o setup.o sha1_file.o sha1_name.o strbuf.o \
        tag.o tree.o usage.o config.o environment.o ctype.o copy.o \
 -      fetch-clone.o revision.o pager.o tree-walk.o \
 +      fetch-clone.o revision.o pager.o tree-walk.o xdiff-interface.o \
        $(DIFF_OBJS)
  
  GITLIBS = $(LIB_FILE) $(XDIFF_LIB)
@@@ -324,10 -324,12 +324,12 @@@ ifndef NO_CUR
        curl_check := $(shell (echo 070908; curl-config --vernum) | sort -r | sed -ne 2p)
        ifeq "$(curl_check)" "070908"
                ifndef NO_EXPAT
-                       EXPAT_LIBEXPAT = -lexpat
                        PROGRAMS += git-http-push$X
                endif
        endif
+       ifndef NO_EXPAT
+               EXPAT_LIBEXPAT = -lexpat
+       endif
  endif
  
  ifndef NO_OPENSSL