Wykres commitów

10 Commity (264-canon-pixma-mx492-adf-issues)

Autor SHA1 Wiadomość Data
Povilas Kanapickas baa4eb3048 testsuite: Add missing libs to `make check` programs 2019-06-30 22:18:11 +03:00
Olaf Meeuwissen fc4b250a09 .editorconfig: use utf-8 charset throughout 2017-05-29 21:14:30 +09:00
Olaf Meeuwissen a9c813944e Make libusb-1.0 the default for USB support
When libusb-1.0 is not found, libusb-0.1 will be tried.  On BeOS and
OS2, nothing should have changed in terms of detection of USB support.

On all systems the --enable-libusb* flags are now ignored.  Instead, the
--with-usb and --without-usb flags now control support.  When neither is
given USB support will be enable if possible and disabled otherwise.  If
--with-usb is requested but not possible, ./configure will fail.  There
is no support to prefer libusb-0.1 over libusb-1.0.
2016-07-01 23:44:37 +09:00
Olaf Meeuwissen 828cd013e9 Compile getopt replacement functions only if needed
This ought to get rid of the last empty compilation unit warnings.  This
merges libfelib.la with liblib.la.  The former was always used together
with the latter.  The latter was only ever used without the former when
linking backends and tools.

Tools might want to use the getopt functions, backends might just want
to use MD5.
2016-06-30 21:38:04 +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 7a2b112d20 Prefer make variables over literal substitutions
The AC_SUBST and PKG_CHECK_MODULE invocations in configure.ac as well as
acinclude.m4 are sufficient to trigger automake to insert initialization
logic for the variables these introduce.  There is no need to do this by
hand.  Wherever these values are needed, it is better to use a variable.
This allows for one-off overrides on the make command-line (without the
need to run ./configure) for one thing.
2016-06-13 21:50:36 +09:00
Chris Bagwell 317626116f Update sanei_config_test to use full config path
This lets test pass even when ran from a different location.

Also, added missing data files to distribution list.
These two things lets this test case pass when ran using "make distcheck".
2013-08-16 11:10:59 -05:00
Stéphane Voltz f5b8a0af80 add unit tests for sanei_constraint, sanei_config and sanei_check 2013-03-24 14:53:40 +01:00
Stéphane Voltz 88e04fbb4d move test_wire.c from sanei to testsuite/sanei
- move sanei_w_* functions test program to test directory to keep
  production code separated from test code
2013-03-24 14:50:17 +01:00
Stéphane Voltz 8b3674a516 add testsuite/sanei for sanei test programs
- add sanei_usb_test to test sanei_usb functions
 - update SUBDIRS so the check target is ran on testsuite/sanei
2013-03-24 14:50:17 +01:00