Wykres commitów

60 Commity (041ea5f53c3330b84a9462b42032783ed770b51d)

Autor SHA1 Wiadomość Data
Olaf Meeuwissen 97fed76717 Replace obsolescent macro with LT_INIT option 2016-06-14 05:51:39 +09:00
Olaf Meeuwissen c868a2e8d4 Remove commented out code 2016-06-14 05:49:14 +09:00
Olaf Meeuwissen 4894b1513d Drop a pile of unnecessary macro invocations
These are already taken care of by other macros.
2016-06-14 05:49:14 +09:00
Olaf Meeuwissen ae89c8f983 Update to automake-1.11.6
This turns on additional warnings and adds support for silent make
rules (so compiler warning really stand out ;-).
2016-06-14 05:45:24 +09:00
Olaf Meeuwissen 309a8140e7 Improve test shell builtin invocation portability
POSIX 2008 obsoletes the -a and -o operands (according to the autoconf
documentation).
2016-06-13 22:07:02 +09:00
Olaf Meeuwissen d9e2f44113 Double quote code passed to AC_LANG_PROGRAM
Upon re-reading the autoconf documentation, this seemed the right thing
to do.  The AC_LANG_PROGRAM macro does not quote its arguments so any
occurence of [ and ] will get stripped out if not double quoted.

Current code snippets passed do not use them but it is better to use a
consistent quoting approach for such snippets.  In other places in the
configure.ac file double quoting is used already.
2016-06-13 22:06:27 +09:00
Olaf Meeuwissen d3d5dc3da0 Update to autoconf-2.69
This gets rid of a number of obsoleted macros and replaces RETSIGTYPE
with a void literal which can be assumed for C89 and later.

This changeset was prepared using autoupdate and modified to get rid of
whitespace and doubled [] changes.  Changes to acinclude.m4 were added
by hand.
2016-06-13 22:05:34 +09:00
Olaf Meeuwissen 2d6fad58b4 Respect GNU Standards user variables
Several variables are considered "user variables" by the GNU Standards.
This means that the user can pass these to their ./configure and make
invocations as they see fit.  These variables include CPPFLAGS, CFLAGS
and LDFLAGS.

This changeset pushes our use of these variables to the automake shadow
variables, AM_CPPFLAGS, AM_CFLAGS and AM_LDFLAGS, so that user variables
will no longer clobber flags required in order to build.
2016-06-13 22:03:14 +09:00
Olaf Meeuwissen d81836bd23 Add automake subdir-objects option
This addresses autoreconf output such as:

  tools/Makefile.am:37: warning: source file '../backend/sane_strstatus.c' is in a subdirectory,
  tools/Makefile.am:37: but option 'subdir-objects' is disabled

The option was introduced in automake version 1.9 and is slated for
unconditional activation with automake-2.0.
2016-06-13 21:48:56 +09:00
Olaf Meeuwissen d38a098ec6 Rename configure.in to configure.ac
This name has been preferred since autoconf-2.52 and automake-1.5.
Both were released in the summer of 2001.  Support for configure.in
is slated for removal in automake-2.0.

The configure.ac file itself requires autoconf-2.54 or later (and
does not care about the automake version).
2016-06-13 21:48:25 +09:00