Mattias Ellert
c2df6b9677
Fix autogenerated files
2007-01-20 09:55:10 +00:00
Alessandro Zummo
48b02b3489
epson2: reordered includes, replaced __FUNCTION__, use the new byteorder macros
...
moved acbyteorder.m4 to m4/byteorder.m4, added m4/stdint.m4
2006-12-07 19:28:02 +00:00
Alessandro Zummo
326e3c131c
Added acbyteorder.m4 macro for endianness conversion
2006-12-06 20:37:00 +00:00
Henning Geinitz
fb0fd5a88b
Disabled compilation warnings for release.
2006-06-29 19:01:38 +00:00
Henning Geinitz
4ddcadc20d
Regenerated to include updates from niash and resource manager inclusion.
2004-08-03 17:25:58 +00:00
Peter Fales
2f9b6bb8b3
When using pkg-config to get library flags for gphoto2, any
...
extra flags (such as -L) must be passed to sane-config.in so
that it can find the libraries in a non-standard location.
(Bug #300686 )
2004-07-03 18:08:15 +00:00
Mattias Ellert
ac9ec0ff1c
Missed one...
2004-06-20 01:22:44 +00:00
Peter Fales
cfe712c392
In addition to using pkg-config to find the gphoto2 library flags,
...
we should check to see whether it's actually possible to link
a program using those flags.
2004-06-19 19:16:54 +00:00
Peter Fales
6fa5850937
2004-05-30 Peter Fales <peter@fales-lorenz.net>
...
* acinclude.m4, aclocal.m4, configure.in, configure
Use pkg-config rather than gphoto2-config to get gphoto
build parameters (bug #300686 )
2004-05-30 18:55:35 +00:00
Henning Geinitz
c959d2a2ee
Don't use -ansi on MacOS X.
2004-04-18 14:35:37 +00:00
Henning Geinitz
e7152b70df
If the test for gphoto2-config fails, don't call it later.
2004-04-17 18:15:10 +00:00
Henning Geinitz
0777c60aa7
Don't include linux/videodev.h kernel header anymore. Use own defines
...
instead. Fixes bug #300324 .
2003-12-21 22:51:42 +00:00
Peter Fales
acd9a6d0e5
Remove "enabling GPHOTO2" messages printed by configure
2003-12-08 04:12:40 +00:00
Peter Fales
ef9a9beac0
gphoto2 backend is now enabled by default (and gphoto2-config is found)
2003-12-07 04:28:14 +00:00
Henning Geinitz
3c18d9a960
Include all the headers we also include in backend/v4l.c to make sure we find
...
all problems.
2003-11-16 17:58:02 +00:00
Henning Geinitz
b9cd7aec55
Changed check for linux/videodev.h. If that file is not compilable, we don't
...
build the v4l backend. That's to avoid compilation errors if videov.h from Linux
kernel 2.6.* is used.
2003-11-16 16:25:53 +00:00
Gerhard Jaeger
8e71497aa1
Added -D_REENTRANT to compiler flags, when using pthread support.
2003-10-17 11:07:42 +00:00
Henning Geinitz
3565c78d2f
More verbose help messages for --enable-fork-process. Print message about
...
pthread support after all the tests. If libpthread isn't available, try if libc
supports pthreead_*. Use macro USE_PTHREAD to check if threads are used in the
code.
2003-10-07 11:28:03 +00:00
Gerhard Jaeger
81eaf06a10
* aclocal.m4 acinlcude.m4 configure configure.in: modified checks for
...
pthread support, added switch --enable-fork-process which toggles
between the usage of fork and pthread, set the default behaviour to
pthread usage on Darwin
* include/sane/config.h: added the HAVE_LIBPTHRAD stuff
* sanei/sanei_thread.c include/sane/sanei_thread.h: fixed compilation issue
on OS/2, added support for fork too, so that we can use sanei_thread
functions in any case.
* backend/plustek.[ch]: changes due to the sanei_thread-lib work
2003-10-07 07:38:37 +00:00
Gerhard Jaeger
39044887ca
* aclocal.m4 configure configure.in: added checks for pthread.h and
...
added linker option -lpthread if pthread.h is found
* include/sane/config.in.h: added HAVE_PTHREAD_H
* sanei/sanei_thread.c include/sane/sanei_thread.h: added pthread_
functions to library, so every backend is able to use either fork or
pthread for its reader-process - see plustek backend for example
* backend/plustek.h backend/plustek.c: added sanei_thread stuff to support
threading on MacOS X
* backend/plustek_pp*: some cleanup
2003-10-05 16:00:30 +00:00
Henning Geinitz
64ea3dfc5f
Check if ss_family or __ss_family is in struct sockaddr_storage. Otherwise
...
diasbale ipv6. Patch from Julien BLACHE <jb@jblache.org>.
2003-06-04 19:49:48 +00:00
Henning Geinitz
c0e95a8f63
Fixed MacOS X build (patch from Mattias Ellert <mattias.ellert@tsl.uu.se>).
2003-05-15 11:01:14 +00:00
Henning Geinitz
b68941ebfe
Added missing HAVE_LIBIEEE1284 macro. The test was there, but the macro wasn't set.
2003-05-08 09:58:14 +00:00
Henning Geinitz
06dc21afb4
Added support for -framework option and check for IOKit for MacOS X. Check for
...
latex tools. Minimum autoconf version is 2.54.
2003-04-30 23:00:15 +00:00
Henning Geinitz
9c60c54fe5
New libtool upstream realease: 1.5.
2003-04-30 20:29:23 +00:00
Henning Geinitz
749ceed2e6
Added a switch to disable libusb. Removed switch to enable ipv6
...
uncondinionally. Check for sys/poll.h.
2003-04-02 16:21:07 +00:00
Henning Geinitz
088281c4e1
Added support for IPv6. Updated manpages. Patch from Julien BLACHE
...
<jb@jblache.org>.
2003-03-30 19:07:18 +00:00
Henning Geinitz
4c428e0517
Check for MacOS X native dynamic loading first before lookinf for libdl.
2003-02-11 17:30:21 +00:00
Henning Geinitz
b8010a3fec
Declare prototypes for all functions that may miss on some platforms.
2003-01-24 14:06:08 +00:00
Henning Geinitz
8313af0881
Update to latest libtool (1.4.3), config.sub and config.gues. This should fix
...
the build problems on MacOS X concerning dynamic loading.
2002-12-30 12:41:56 +00:00
Henning Geinitz
218716a010
Fixed MacOS X LD_FLAGS bug.
2002-12-06 14:26:31 +00:00
Henning Geinitz
414e0c509f
Cleanup. Added some missing quotes. Better structure and comments. Tried to
...
keep similar tests in one group. Moved more complicated tests to
acinclude.m4. Added explicit test for build and host system type. When
checking for programs, used $EXEEXT (hopefully fixes OS/2 gettext
misdetection). Removed obsolete macros. Removed PTAL check. Used autoconf for
asm/io.h check. Shortened --enable-foo output and formatted it
correctly. Translations were installed even if --disable-translations was
set. Don't test for msgcat anymore. Tell why translations aren't
installed. Used autoconf 2.5 syntax for AC_OUTPUT and AC_CONFIG_FILES. Make
sane-config executable. Print flags and installation directories near the end
of configure output.
2002-12-04 17:48:10 +00:00
Henning Geinitz
c3e38d99c2
Fix compilation on Tru64 by readding the sys/bitypes.h work-around. Minimum
...
autoconf version is 2.50 now
2002-11-13 16:52:46 +00:00
Peter Fales
bcfa90dd98
Remove checks for specific version numbers of gphoto2 - that's not
...
good for long term maintenance, and the API has settled down enough
that all recent versions (both releases and CVS) are workable for SANE.
It is still necessary to specify --with-gphoto2 if you want to
use the gphoto2 backend.
2002-10-28 02:51:08 +00:00
Peter Fales
b9e94dd9e7
Update allowed gphoto2 version numbers
2002-10-01 03:28:09 +00:00
Peter Fales
101a96218f
Fix allowed gphoto2 version numbers
2002-08-16 03:04:52 +00:00
Matthew Duggan
2cb1402344
Added check for new libieee1284 version, also updated code to reflect
...
interface changes. Required due to critical bug fixes in 0.1.5.
2002-04-12 00:29:57 +00:00
Peter Fales
fbc777b899
Update to allowed gphoto2 version numbers
2002-04-03 03:13:52 +00:00
Henning Geinitz
15d3c1c4e3
Added checks for libieee1284. Enable canon_pp backend if found. Patch from
...
"Matthew Duggan" <stauff@guarana.org>.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-04-01 22:49:02 +00:00
Henning Geinitz
78a279218b
Update to libtool 1.4.2. Included local changes: use soname "libsane" for all
...
os but AIX. Use "normal" shared libs (.so) instead of archives on AIX. Use 1
instead of 2 as major number with Irix.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-03-24 14:19:11 +00:00
Peter Fales
9834cad6a9
Update to the allowed gphoto2-config version numbers
2002-02-14 04:32:43 +00:00
Henning Geinitz
d603dde9f5
Added a missing "test" command in check for gphoto2. This fixes error
...
messages while testing for gphoto2 and a false positive result.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-02-03 11:24:01 +00:00
Peter Fales
e297467707
gphoto2 backend broken by latest gphoto2 updates
2002-02-02 04:40:40 +00:00
Peter Fales
7f510fd21f
Update gphoto2 version check
2002-01-19 02:12:21 +00:00
Peter Fales
4ca99c69ea
Disable gphoto2 backend if wrong version is installed
2002-01-18 01:57:01 +00:00
Peter Fales
cbf1b2287b
Disable gphoto2 unless specifically requested by the user, and the
...
right version is found
2002-01-17 03:17:23 +00:00
Peter Fales
96f9410737
configure.in, configure, acinclude.m4, aclocal.m4 - Improvements
...
to the way gphoto2 is detected and used based on using
gphoto2-config.
2002-01-16 02:20:02 +00:00
Henning Geinitz
a4ef8c6105
Included AC_PROG_LIBTOOL into acinclude.m4 to avoid trouble with newer
...
versions of libtool.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-01-13 14:44:54 +00:00
Peter Fales
2354bb59c2
Fixed to matches changes in gphoto2 API
2001-10-31 20:07:07 +00:00
Peter Fales
8b7c517032
Update help messages and gphoto2 check
2001-09-16 18:44:21 +00:00