summaryrefslogtreecommitdiff
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
...
* MinGW: Use --add-stdcall-alias linker optionDaniel Drake2010-09-191-1/+1
| | | | | | | | | Naming of symbols inside the library is inconsistent on Windows: http://wyw.dcweb.cn/stdcall.htm Use this linker option to add aliases which add compatibility with the "MSVC DLL" platform when a DEF file is used. It also better matches the appearance of the Windows API itself.
* Introduced calling convention (for Windows)Pete Batard2010-08-231-2/+2
| | | | | | | | | | | | | | | | | | Under Windows, a variety of compilers and configurations are available, meaning that the manner of parameter passing (e.g. registers vs stack) can vary. Match the Windows API calling convention and document this appropriately. This calling convention will be used regardless of the configuration of the user's development platform. The only user-level complication is that all functions used as libusb callbacks must use the same calling convention as libusb. The LIBUSB_CALL macro is provided to make this easy. Signed-off-by: Michael Plante <michael.plante@gmail.com> Signed-off-by: Pete Batard <pbatard@gmail.com> [dsd: slight change of strategy, add documentation]
* removed trailing whitespacesPete Batard2010-08-061-1/+1
|
* Add Windows supportPete Batard2010-07-271-3/+40
| | | | | | Via Cygwin/MinGW, libusb now has windows support. Thanks to contributors: Michael Plante, Orin Eman, Peter Stuge, Stephan Meyer, Xiaofan Chen.
* Only compile dpfp examples when sigaction is availableDaniel Drake2010-07-221-0/+4
| | | | It's not available on MinGW.
* configure.ac: fix bashismsAurelien Jarno2010-07-051-3/+3
|
* Only include sys/time.h on appropriate platformsDaniel Drake2010-06-251-0/+3
| | | | | | | This header doesn't exist on windows. For libusb, determine at configure-time if the header is available. For libusb.h, use gcc predefined macros to only include the header on platforms that need it.
* add AM_MAINTAINER_MODELudovic Rousseau2010-06-101-0/+2
|
* Add internal abstraction for POSIX ThreadsPeter Stuge2010-05-121-0/+7
| | | | | | | | | | | | | | | | This prepares for a Windows backend without dependency on pthreads-w32. pthread_* is renamed to usbi_* and PTHREAD_* to USBI_*. A usbi_mutex_static_t and usbi_mutex_static_lock() and _unlock() are introduced for statically initialized mutexes, since they may be implemented using other types when pthreads mutexes aren't used. Move -pthread from libusb/Makefile.am to host-specific THREAD_CFLAGS in configure.ac. This will enable optional use of -lpthread for cygwin. [dsd: minor tweaks, and roll in a change based on patches from Pete Batard to only build dpfp_threaded example when we're using pthreads]
* v1.0.8 releasev1.0.8Daniel Drake2010-05-041-1/+1
|
* v1.0.7 releasev1.0.7Daniel Drake2010-04-191-1/+1
|
* v1.0.6 releasev1.0.6Daniel Drake2009-11-221-1/+1
|
* Refine timerfd header check (#18)Daniel Drake2009-11-211-3/+7
| | | | Require glibc-2.9 for the working timerfd support.
* v1.0.5 releasev1.0.5Daniel Drake2009-11-151-1/+1
|
* Use timerfd for timeout handlingDaniel Drake2009-11-071-0/+24
| | | | | | | | | | | | Use a new file descriptor from the timerfd system calls to handle timeouts. On supported systems, this means that there is less hassle figuring out when the poll() timeout should be, since libusb_get_next_timeout() will always return 0 and the timeout events will be triggered as regular activity on the file descriptor set. Add API function libusb_pollfds_handle_timeouts() to detect whether you're on a platform with the timing headache, and flesh out the surrounding documentation.
* Use AM_SILENT_RULES for buildingDaniel Drake2009-11-071-0/+1
|
* v1.0.4 releasev1.0.4Daniel Drake2009-11-061-1/+1
|
* v1.0.3 releasev1.0.3Daniel Drake2009-08-271-1/+1
|
* Darwin: Don't cancel transfers on timeoutNathan Hjelm2009-06-191-0/+1
| | | | ...because the OS does this for us.
* v1.0.2 releasev1.0.2Daniel Drake2009-06-131-1/+2
|
* pre-gcc-3.4 compatibilityAlex Vatchenko2009-05-281-2/+20
| | | | | The -fvisibility and -Wno-pointer-sign options are not available on old GCC versions.
* v1.0.1 releasev1.0.1Daniel Drake2009-05-121-1/+1
|
* Darwin backendNathan Hjelm2009-02-161-0/+11
|
* Only link with librt on LinuxNathan Hjelm2009-02-161-0/+1
| | | | [dsd: tweak configure.ac change]
* v1.0.0 releasev1.0.0Daniel Drake2008-12-131-1/+1
| | | | It's here!
* v0.9.4 releasev0.9.4Daniel Drake2008-11-211-1/+1
|
* Support for out-of-tree buildingAurelien Jarno2008-11-021-1/+1
| | | | | | | Contrary to libusb 0.1, libusb 1.0 does not support out-of-tree building for the documentation part. This patch fixes that by using a doxygen.cfg.in file, which contains @top_srcdir@ to refer to the location of the libusb source code.
* v0.9.3 releasev0.9.3Daniel Drake2008-08-231-1/+1
|
* v0.9.2 releasev0.9.2Daniel Drake2008-07-191-1/+1
|
* v0.9.1 releasev0.9.1Daniel Drake2008-06-281-1/+1
|
* API documentationDaniel Drake2008-03-201-1/+1
| | | | | Hopefully mostly complete. Some constants were renamed and move into enums.
* Beginnings of cross-platform abstractionDaniel Drake2008-03-131-0/+14
| | | | This also includes a libusb_get_pollfds API change
* Remove timers and signalfdDaniel Drake2008-01-301-0/+1
| | | | | | | Instead of timers, add a mechanism for informing the parent app when the next timeout is due to happen, so that it can call us at that time. As we no longer use signals, signalfd has also been removed.
* Only use -fgnu89-inline when supportedDaniel Drake2008-01-261-1/+7
| | | | J F pointed out that this option only works on gcc 4.3 and newer.
* Rename to libusb-1.0Daniel Drake2008-01-041-3/+3
| | | | | I've taken over the libusb project, and what was previously known as fpusb will eventually be released as libusb-1.0.
* Compiler flags updateDaniel Drake2007-12-301-1/+1
| | | | Also fix some warnings
* Initial commitDaniel Drake2007-12-021-0/+49
Basic library structure which supports enumerating detected USB devices