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

[PATCH] Makefile: Make 'configure --with-expat=path' actually work

From
SBSerge van den Boom <svdb@stack.nl>
Date
Jan 25, 2009, 19:24 UTC
Message-ID
<alpine.BSF.2.00.0901251938120.97940@toad.stack.nl>

The prefix specified with the --with-expat option of configure was not actually used.

Signed-off-by: Serge van den Boom <svdb@stack.nl>
---
diff --git a/Makefile b/Makefile
index b4d9cb4..e7218cb 100644
--- a/Makefile
+++ b/Makefile
@@ -849,7 +849,12 @@ else
  		endif
  	endif
  	ifndef NO_EXPAT
-		EXPAT_LIBEXPAT = -lexpat
+		ifdef EXPATDIR
+			BASIC_CFLAGS += -I$(EXPATDIR)/include
+			EXPAT_LIBEXPAT = -L$(EXPATDIR)/$(lib) $(CC_LD_DYNPATH)$(EXPATDIR)/$(lib) -lexpat
+		else
+			EXPAT_LIBEXPAT = -lexpat
+		endif
  	endif
  endif
Next: Junio C Hamano
Message 1 of 4 in “Makefile: Make 'configure --with-expat=path' actually work”
  1. Makefile: Make 'configure --with-expat=path' actually workSerge van den Boom, Jan 25, 2009
  2. Junio C HamanoJan 28, 2009
  3. Makefile: Make 'configure --with-expat=path' actually workSerge van den Boom, Jan 28, 2009
  4. Junio C HamanoJan 28, 2009

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.