kopia lustrzana https://gitlab.com/sane-project/backends
MacOS X updates
rodzic
93e856b53f
commit
71f9081904
11
ChangeLog
11
ChangeLog
|
@ -10,11 +10,12 @@
|
|||
add a check for IOKit/scsi/SCSICommandOperationCodes.h
|
||||
* doc/Makefile.in, tools/Makefile.in: disable things that need the
|
||||
built binaries to run when doing cross-compilations
|
||||
* sanei/sanei_scsi.c: IOKit/scsi-commands has moved to IOKit/scsi -
|
||||
support both locations of headers
|
||||
* aclocal.m4, config.guess, config.sub, configure, sane/config.h.in:
|
||||
update autogenerated files
|
||||
* sane-backends/Makefile.in: remove sanei_config2 from cardscan deps
|
||||
* sanei/sanei_scsi.c, tools/sane-find-scanner.c: IOKit/scsi-commands
|
||||
has moved to IOKit/scsi - support both locations of headers
|
||||
* aclocal.m4, config.guess, config.sub, configure,
|
||||
include/sane/config.h.in: update autogenerated files
|
||||
* backends/Makefile.in: remove sanei_config2 from cardscan deps
|
||||
* backends/dll.c: add MacOS X naming convention for dlopen
|
||||
|
||||
2007-11-08 Gerhard Jaeger <gerhard@gjaeger.de>
|
||||
|
||||
|
|
|
@ -385,14 +385,16 @@ load (struct backend *be)
|
|||
# ifdef __hpux
|
||||
# define POSTFIX ".sl.%u"
|
||||
# define ALT_POSTFIX ".so.%u"
|
||||
#elif defined (HAVE_WINDOWS_H)
|
||||
# elif defined (HAVE_WINDOWS_H)
|
||||
# undef PREFIX
|
||||
# define PREFIX "cygsane-"
|
||||
# define POSTFIX "-%u.dll"
|
||||
#elif defined (HAVE_OS2_H)
|
||||
# elif defined (HAVE_OS2_H)
|
||||
# undef PREFIX
|
||||
# define PREFIX ""
|
||||
# define POSTFIX ".dll"
|
||||
# elif defined (__APPLE__) && defined (__MACH__)
|
||||
# define POSTFIX ".%u.so"
|
||||
# else
|
||||
# define POSTFIX ".so.%u"
|
||||
# endif
|
||||
|
|
|
@ -819,6 +819,7 @@ static char **build_scsi_dev_list()
|
|||
#endif
|
||||
|
||||
#if defined (HAVE_IOKIT_CDB_IOSCSILIB_H) || \
|
||||
defined (HAVE_IOKIT_SCSI_SCSICOMMANDOPERATIONCODES_H) || \
|
||||
defined (HAVE_IOKIT_SCSI_COMMANDS_SCSICOMMANDOPERATIONCODES_H)
|
||||
char **scsi_dev_list;
|
||||
int scsi_dev_list_index;
|
||||
|
@ -1410,6 +1411,7 @@ main (int argc, char **argv)
|
|||
|
||||
#if defined (HAVE_WINDOWS_H) || \
|
||||
defined (HAVE_IOKIT_CDB_IOSCSILIB_H) || \
|
||||
defined (HAVE_IOKIT_SCSI_SCSICOMMANDOPERATIONCODES_H) || \
|
||||
defined (HAVE_IOKIT_SCSI_COMMANDS_SCSICOMMANDOPERATIONCODES_H)
|
||||
/* Build a list of valid of possible scanners found */
|
||||
dev_list = build_scsi_dev_list();
|
||||
|
|
Ładowanie…
Reference in New Issue