Wykres commitów

21 Commity (0065aaa1c8cb823d20b1e0ff32b3f6197e73db3f)

Autor SHA1 Wiadomość Data
Olaf Meeuwissen ec4fe7ec72 Prefer gettext's --disable-nls option 2016-06-26 10:24:29 +09:00
Olaf Meeuwissen c676acbe47 Switch to using the gettext build machinery
This adds two automatically maintained English variants that handle
quote substitution in onrder to provide smart quotes.
2016-06-26 10:24:29 +09:00
Olaf Meeuwissen 43cdc1056a Do not duplicate Warning on output 2016-06-15 20:18:25 +09:00
Olaf Meeuwissen 17d78ab7c3 Fix warnings of "newer" automake versions 2016-06-14 06:06:27 +09:00
Olaf Meeuwissen 7bfa818c57 Set up compiler and linker early and in one place 2016-06-14 06:01:52 +09:00
Olaf Meeuwissen f80cf1dbbd Remove unused SANE_LINKER_RPATH macro 2016-06-14 06:01:17 +09:00
Olaf Meeuwissen e4ad1f58f3 Enable ISO C99 support for more compilers 2016-06-14 05:58:50 +09:00
Olaf Meeuwissen 444b572d1a Use autoconf provided --docdir 2016-06-14 05:58:00 +09:00
Olaf Meeuwissen f1f4180e5b Collect autoconf bits in one place 2016-06-14 05:56:20 +09:00
Olaf Meeuwissen 35f1936aeb Determine version bits and release programmatically 2016-06-14 05:55:10 +09:00
Olaf Meeuwissen 16497dc138 Replace convenience variable by its expansion 2016-06-14 05:54:08 +09:00
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