git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] Support custom build options in config.mak

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Oct 11, 2005, 07:49 UTC
Message-ID
<Pine.LNX.4.63.0510110948170.19774@wbgn013.biozentrum.uni-wuerzburg.de>

With this patch, it is possible to store configuration options like NO_CURL=YesPlease or NO_OPENSSL=YesPlease into a file named config.mak, which will be included in the Makefile.

Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
---
 Makefile |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

applies-to: 1abfad3540e705eb33e589a8e8cf2be781c89030 94ca33678ce4f582d9bcbaa7baf9223e026c0b13

diff --git a/Makefile b/Makefile
index ea4332b..4e2fa7e 100644
--- a/Makefile
+++ b/Makefile
@@ -213,6 +213,10 @@ ifneq (,$(findstring arm,$(uname_M)))
 	ARM_SHA1 = YesPlease
 endif
 
+ifneq (,$(wildcard config.mak))
+include config.mak
+endif
+
 ifndef NO_CURL
 	ifdef CURLDIR
 		# This is still problematic -- gcc does not want -R.
---
0.99.8.GIT
Next: Junio C Hamano
Message 1 of 4 in “Support custom build options in config.mak”
  1. Support custom build options in config.makJohannes Schindelin, Oct 11, 2005
  2. Junio C HamanoOct 11, 2005
  3. Johannes SchindelinOct 11, 2005
  4. Daniel BarkalowOct 11, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.