about summary refs log tree commit diff
path: root/autogen.sh
AgeCommit message (Collapse)Author
2026-01-15Use simpler build systemNakidai
2024-01-16autogen.sh: Prefere automake 1.11 over other releasesAlexander Barton
GNU automake 1.11 is the last release supporting "de-ANSI-fication" using the included ansi2knr tool. And becuase we _want_ to support old K&R platforms, we try hard to use this release of automake when available to generate our build system.
2019-04-20Update autogen.sh & INSTALL for pkg-config requirementsAlexander Barton
2016-12-05autogen.sh: Fix some shellcheck(1) warning messagesAlexander Barton
2016-10-21autogen.sh, ngindent, platformtest.sh: Fix warnings of "shellcheck"Alexander Barton
- SC2006: Use $(..) instead of legacy `..`. - SC2015: Note that A && B || C is not if-then-else. C may run when A is true. - SC2086: Double quote to prevent globbing and word splitting. - SC2166: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
2015-08-27autogen.sh: Fix parameter quotingAlexander Barton
2013-01-27autogen.sh: Check for autoconf/automake wrapper scriptsAlexander Barton
For example OpenBSD uses a "autoconf" and "automake" wrapper script which tells the user to set AUTOCONF_VERSION and AUTOMAKE_VERSION environment variables. This patch enhances autogen.sh to not detect these wrapper scripts as regular autoconf/automake commands but to set the required environment variables after detecting the real "command-X.Y" commands. Tested on OpenBSD 5.1.
2013-01-27autogen.sh: Don't use "egrep -o", use "sed"Alexander Barton
"egrep -o" isn't portable and not available on OpenBSD, for example. So let's use sed instead to get the automake version. The expression used now is less specific but should work as well ...
2013-01-05autogen.sh: Enforce serial test harness on automake >=1.13Alexander Barton
2013-01-05autogen.sh: Reformat messages.Alexander Barton
2012-09-24Rename configure.in to configure.acAlexander Barton
This fixes automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' when running the autogen.sh script.
2012-09-24autogen.sh: detect automake version format a.b.c and a.bAlexander Barton
2012-09-23Change build system to support new and old GNU automakeAlexander Barton
Starting with GNU automake 1.12, the "de-ANSI-fication support" has been removed, which ngIRCd used to enable building itself on very old systems. Now the problem is, that using automake >= 1.12 isn't working because of the now unsupported M4 macros. Therefore the solution that this patch implements is to dynamically generate the automake input files with our own ./autogen.sh script: configure.ng => configure.in Makefile.ng => Makefile.am This is quite an ugly approach, but it works and enables us to: 1. use current automake >= 1.12 for development and "private builds", 2. still build distribution archives using automake 1.11.x that have "de-ANSI-fication support" enabled in the generated Makefile's. And if you are using Makefile's generated with a automake version newer than 1.11.x (without "de-ANSI-fication support"), the ./configure script warns you not to use this generated build system to generate distribution archives. Drawback of this patch: you MUST use our autogen.sh script, you can't call the autoconf/automake commands directly any more; but autoreconf should still work ...
2012-09-13Make autogen.sh more verbose when VERBOSE=1 is setAlexander Barton
2010-10-24Generate ngIRCd version number from GIT tagAlexander Barton
Now the ngIRCd release/version number is deduced from the "current" annotated GIT tag; see "git describe --help" for details. This is the same scheme the Linux kernel uses and gives much more details version numbers for interim releases and inofficial source archives generated using "make dist". Please note: the version number is only updated it the autogen.sh script is run; so after pulling in and pushing out new commits, you should run ./autogen.sh!
2008-06-27autogen.sh: Don't set AUTO{CONF|MAKE}_VERSION and WANT_AUTO{CONF|MAKE}Alexander Barton
On some systems (for example Gentoo Linux, FreeBSD, and OpenBSD), these variables are used to select which version of GNU automake and autoconf to use, but we shouldn't depend on a specific version -- instead we should use the "system default". So probably it is up to the user to set these variables accordingly to set up some wrapper scripts of his operating system distribution.
2008-06-27autogen.sh: correctly test for and export ACLOCAL variableAlexander Barton
2007-10-07Updated preferred automake version to 1.9. Only set preferences if notAlexander Barton
already defined by some environment variables.
2005-02-21Added AUTOMAKE_VERSION and AUTOCONF_VERSION (for OpenBSD).Alexander Barton
2005-02-21Fixed the detection of tools named like "tool-Major.Minor" (used on OpenBSD).Alexander Barton
2004-04-05The command to test for the autoconf/automake tools is detected now as well.Alexander Barton
2004-03-19Use "which" when available; understand "GO=0"; made "VERBOSE=1" more verbose.Alexander Barton
2004-03-15Enhanced autogen.sh script; added "inline" documentation.Alexander Barton
2004-03-15Added missing "return 0" ... oops.Alexander Barton
2004-03-11Reworked configure system: it should be more compatible to most systemsAlexander Barton
now, and it should even be more flexible and faster :-)
2003-04-22Made setting of WANT_AUTOMAKE more portable.Alexander Barton
2003-04-13Translated success message :-)Alexander Barton
2003-04-04Added WANT_AUTOMAKE=1.6 to autogen.sh.Alexander Barton
2003-01-11- removed needless warning/info message.Alexander Barton
2002-03-12- externe portab-Header werden nicht mehr benoetigt/benutzt, dadurchAlexander Barton
einige Aenderungen an diversen Source-Dateien und Headern. - Dateien enthalten keine CVS-History mehr.
2001-12-12- fuer fehlende Dateien werden nun "nur noch" symbolische Links erzeugt.Alexander Barton
2001-12-11Initial revisionAlexander Barton