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

Re: [PATCH] Add autoconf-based build infrastructure for tig

From
Jonas Fonseca <fonseca@diku.dk>
Date
Jun 9, 2007, 09:31 UTC
Message-ID
<20070609093101.GA25039@diku.dk>
In-Reply-To
<20070603193521.GA10161@midwinter.com>
Hi Steven,
Steven Grimm <koreth@midwinter.com> wrote Sun, Jun 03, 2007:
Show 7 quoted lines
> ---
> 	This is a first cut at building tig using autoconf. I'm including
> 	a script to run the various autoconf tools rather than packaging
> 	up a finished configure script. With this patch, tig configures
> 	and builds on both Linux (FC4) and OS X. I left a lot of the code
> 	from the original Makefile intact so as to (hopefully) not mess
> 	up building release tarballs, etc.
First of all, thank you for starting this work!

I've only played little with this patch, but overall I like most of the changes. I would, however, want to look into making the dependency on autoconf optional (like it is for git) and avoid using automake at all. It would make the autoconf.sh bootstrap script obsolete, since the Makefile can just take care of it, and it would keep the build system simple.

So the idea is for configure to also generate a Makefile.config that can be sourced by the Makefile. Then of course inclusion of the config.h file should depend on some -DHAVE_CONFIG_H flag for the compiler.

What do you think? You are of course welcome to come up with a patch for this proposal, but else I would like to get your permission/sign-off to include the configure.ac script and the tig.c changes you made.

-- 
Jonas Fonseca
Previous: Steven GrimmNext: Steven Grimm
Message 6 of 7 in “[ANNOUNCE] tig 0.7”
  1. Jonas FonsecaMay 31, 2007
  2. Steven GrimmMay 31, 2007
  3. Jonas FonsecaMay 31, 2007
  4. Greg KHJun 1, 2007
  5. Add autoconf-based build infrastructure for tigSteven Grimm, Jun 3, 2007
  6. Jonas FonsecaJun 9, 2007
  7. Steven GrimmJun 9, 2007

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.