Commits
- Commit:
c56138c2808bdfc22811c5617c58b149f7725e62
- From:
- Alexander Barton <alex@barton.de>
- Date:
autogen.sh: Fix parameter quoting
- Commit:
c891b5f250c71c1b8f94a002c13db6035ad28305
- From:
- Alexander Barton <alex@barton.de>
- Date:
autogen.sh: Check for autoconf/automake wrapper scripts
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.
- Commit:
419ff38a07cb0b1637b444c96cd6868a7a9e5524
- From:
- Alexander Barton <alex@barton.de>
- Date:
autogen.sh: Don't use "egrep -o", use "sed"
"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 ...
- Commit:
0703fcd71983bd04f70101fd0143660174d22f84
- From:
- Alexander Barton <alex@barton.de>
- Date:
autogen.sh: Enforce serial test harness on automake >=1.13
- Commit:
4594583f52c46105ffd77eaaf4d9784809567324
- From:
- Alexander Barton <alex@barton.de>
- Date:
autogen.sh: Reformat messages.
- Commit:
e65a35e964e6a32de748f18e1f70ffe2ad146119
- From:
- Alexander Barton <alex@barton.de>
- Date:
Rename configure.in to configure.ac
This fixes
automake: warning: autoconf input should be named 'configure.ac',
not 'configure.in'
when running the autogen.sh script.
- Commit:
8cfb9104419d3c00fbef3fe8639eb04f03d83f3d
- From:
- Alexander Barton <alex@barton.de>
- Date:
Merge branch 'automake-am11-am12'
* automake-am11-am12:
autogen.sh: detect automake version format a.b.c and a.b
configure.ng: don't require GIT tree to detect version string
Include .mailmap file in distribution archives
Include all build-system files into distribution archives
Change build system to support new and old GNU automake
- Commit:
039a939cb8a85f242a017cb4c68003af2b02dfca
- From:
- Alexander Barton <alex@barton.de>
- Date:
autogen.sh: detect automake version format a.b.c and a.b
- Commit:
192e304b94f239de13b0f10ca01f6694fe6eea40
- From:
- Alexander Barton <alex@barton.de>
- Date:
Change build system to support new and old GNU automake
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 ...
- Commit:
107bfdc821cfb179996e1186cff0ec4970ef4fbd
- From:
- Alexander Barton <alex@barton.de>
- Date:
Merge branch 'autoconf-update'
Update GNU autoconf and automake infrastructure.
Tested on modern systems as well as Apple A/UX :-)
* autoconf-update:
AUTOMAKE_OPTIONS: fix ansi2knr option, include path
Don't use AC_FUNC_MALLOC and AC_FUNC_REALLOC
Make our own targets "silent", if enabled
configure.in: use AC_CHECK_{FUNCS|HEADERS}_ONCE
Updated config.{guess|sub} to version 2012-08-14
Make autogen.sh more verbose when VERBOSE=1 is set
configure.in: use AC_SEARCH_LIBS (not AC_CHECK_LIB)
configure.in: use AS_HELP_STRING macro
configure.in: use AC_CANONICAL_HOST (not AC_CANONICAL_TARGET)
configure.in: inttypes.h is an optional header file
Use HAVE_SETSID #define when testing for setsid()
Don't include <stdint.h>, it is included by "portab.h"
Don't check type.h availability, it is required
configure.in: Use AC_CONFIG_FILES macro
configure.in: Don't use AC_C_PROTOTYPES
configure.in: Update checks for required and optional features
configure.in: require autoconf 2.67 and automake 1.11
configure.in: sort some lists (templates, output, ...)
- Commit:
7eb3932d3a3d6684b4c58c357bab12c2125c1775
- From:
- Alexander Barton <alex@barton.de>
- Date:
Make autogen.sh more verbose when VERBOSE=1 is set
- Commit:
8288878122468e47df8cc77dfafd5c558508bbec
- From:
- Alexander Barton <alex@barton.de>
- Date:
Generate ngIRCd version number from GIT tag
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!
- Commit:
b945726ac22ae237c14508593fe63cc9f9d025fd
- From:
- Alexander Barton <alex@barton.de>
- Date:
Merge autogen.sh changes
Merge commit 'alex/master'
- Commit:
da160d020ee2c2911a0d2ad2fd1074e8971db0ad
- From:
- Alexander Barton <alex@barton.de>
- Date:
autogen.sh: Don't set AUTO{CONF|MAKE}_VERSION and WANT_AUTO{CONF|MAKE}
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.
- Commit:
b95345731ec6875415ebe108d27f5517e113e53b
- From:
- Alexander Barton <alex@barton.de>
- Date:
autogen.sh: correctly test for and export ACLOCAL variable
- Commit:
77939c382d84cf1ab1fcf6d78c955b1464ea21ac
- From:
- Alexander Barton <alex@barton.de>
- Date:
Updated preferred automake version to 1.9. Only set preferences if not
already defined by some environment variables.
- Commit:
bcb6cf3ffaaac33bd3e32e63704a5ff89cc999e6
- From:
- Alexander Barton <alex@barton.de>
- Date:
Added AUTOMAKE_VERSION and AUTOCONF_VERSION (for OpenBSD).
- Commit:
972b07ff291609ebc72df16d5a559c7d6b89326b
- From:
- Alexander Barton <alex@barton.de>
- Date:
Fixed the detection of tools named like "tool-Major.Minor" (used on OpenBSD).
- Commit:
f68e92eb9a4dcc6a09677dac4d0cc4524c17148b
- From:
- Alexander Barton <alex@barton.de>
- Date:
The command to test for the autoconf/automake tools is detected now as well.
- Commit:
0b1202cd9ec34eb2584de475b4ec47c3f541fd50
- From:
- Alexander Barton <alex@barton.de>
- Date:
Use "which" when available; understand "GO=0"; made "VERBOSE=1" more verbose.
- Commit:
8212662d9d265657039a8e1554237d70b3fb6e1c
- From:
- Alexander Barton <alex@barton.de>
- Date:
Enhanced autogen.sh script; added "inline" documentation.
- Commit:
af77ce70b66f14889706a9ce104bcdeae86ad0f9
- From:
- Alexander Barton <alex@barton.de>
- Date:
Added missing "return 0" ... oops.
- Commit:
507a9e9cb336b409b2b975c9f3f380467b5bcf6b
- From:
- Alexander Barton <alex@barton.de>
- Date:
Reworked configure system: it should be more compatible to most systems
now, and it should even be more flexible and faster :-)
- Commit:
cbf87971a42084ae18f6a25b4a5e5b7f84896e7e
- From:
- Alexander Barton <alex@barton.de>
- Date:
Made setting of WANT_AUTOMAKE more portable.
- Commit:
0391d35a6761b8eac445ecbe8904ee3e7fd41859
- From:
- Alexander Barton <alex@barton.de>
- Date:
Translated success message :-)
- Commit:
eefa1b1c646d179023bc5c1aae5d3e8e90da3641
- From:
- Alexander Barton <alex@barton.de>
- Date:
Added WANT_AUTOMAKE=1.6 to autogen.sh.
- Commit:
070976e443aae3056fc39e593d3a11eaa371cea6
- From:
- Alexander Barton <alex@barton.de>
- Date:
- removed needless warning/info message.
- Commit:
ca33cbda05902b0009058d369f88c0a7a43b1bbe
- From:
- Alexander Barton <alex@barton.de>
- Date:
- externe portab-Header werden nicht mehr benoetigt/benutzt, dadurch
einige Aenderungen an diversen Source-Dateien und Headern.
- Dateien enthalten keine CVS-History mehr.
- Commit:
cdb247c6667b25d8e6c7a8f006deb2b617f4b9a7
- From:
- Alexander Barton <alex@barton.de>
- Date:
- fuer fehlende Dateien werden nun "nur noch" symbolische Links erzeugt.
- Commit:
f4ade537d550b872b7e86e6ffce940dfbad4c60c
- From:
- Alexander Barton <alex@barton.de>
- Date:
Initial revision