{"thread":{"id":"3801","subject":"[PATCH] Fix compile with expat, but an old curl version","startedAt":"2006-04-05T14:22:40Z","lastAt":"2006-04-05T14:22:40Z","messageCount":1,"participants":["Johannes Schindelin"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"18385","messageId":"Pine.LNX.4.63.0604051621530.6231@wbgn013.biozentrum.uni-wuerzburg.de","threadId":"3801","inReplyTo":null,"subject":"[PATCH] Fix compile with expat, but an old curl version","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2006-04-05T14:22:40Z","receivedAt":"2006-04-05T14:22:40Z","isPatch":true,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"\nWith an old curl version, git-http-push is not compiled. But git-http-fetch\nstill needs to be linked with expat if NO_EXPAT is not defined.\n\nSigned-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>\n\n---\n\n Makefile |    4 +++-\n 1 files changed, 3 insertions(+), 1 deletions(-)\n\n57918780ecdff0c767a22b7589ff1025de6cb40f\ndiff --git a/Makefile b/Makefile\nindex 3596445..557d322 100644\n--- a/Makefile\n+++ b/Makefile\n@@ -333,9 +333,11 @@ ifndef NO_CURL\n \tcurl_check := $(shell (echo 070908; curl-config --vernum) | sort -r | sed -ne 2p)\n \tifeq \"$(curl_check)\" \"070908\"\n \t\tifndef NO_EXPAT\n-\t\t\tEXPAT_LIBEXPAT = -lexpat\n \t\t\tPROGRAMS += git-http-push$X\n \t\tendif\n+\tendif\n+\tifndef NO_EXPAT\n+\t\tEXPAT_LIBEXPAT = -lexpat\n \tendif\n endif\n \n-- \n1.3.0.rc2.g4a16-dirty\n"}]}