The __sane_unused__ symbol was used slightly more often then UNUSEDARG
and, more importantly, defined in include/sane/sanei_backend.h. That
makes it readily available to virtually all backends.
This utility has less dependencies and supports conversion to a pile of
other formats that may come in handy as well.
Clean up of generated PDF figures has been moved to the clean target as
well.
The graphicx package allows for file specification without a hardcoded
extension. This provides more freedom in chosing how to prepare images
in *.eps and *.pdf formats.
Moreover, epsfig is considered mostly obsolete in the TeX community and
graphicx is the "current 'preferred' solution" to embed figures.
See https://www.ctan.org/pkg/epsfig.
Unless explicitly asked to do without, all formats for which required
tools are found will be built. Checks cover PostScript, PDF and HTML.
All logic and files involved are now collected in a single "section"
and grouped in such a way that their function should be clearer.
fixup! Refactor API spec conversion 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.
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.
Automake is smart enough these days to compile the *.lo files that are
used when linking.
The umax_pp_CPPFLAGS are useless because backend/umax_pp_low.c undefines
BACKEND_NAME unconditionally and sets it to what was passed here ;-)
The references in in-file changelogs and the ChangeLog files have not
been modified. Only those references that refer to current practices
or locations.
The distclean target should only remove files that make creates. If
there are any that need taking care of, they should be added in on a
per file basis in the Makefile.am that creates it.
Text editor backup and temporary files like *~ are a per developer
issue, add them to your global .gitignore. Other dot-files should
be ignored on a case-by-case basis.