6 Commits

Author SHA1 Message Date
Nathan Hjelm
64d583f4dc bootstrap: use autoreconf
Signed-off-by: Nathan Hjelm <hjelmn@me.com>
2016-02-26 21:30:00 -07:00
Chris Dickens
3dc781ce3e Misc: Simplify Haiku build and fix broken parallel build
The Haiku build was previously being done as a nested package
due to its C++ requirement, but for some reason setting SUBDIR
in an automake conditional breaks parallel builds. To fix this
and simplify the Haiku build process, this commit adds an
unconditional check for a C++ compiler using AC_PROG_CXX and
builds the Haiku sources as part of the main libusb project.

Note that AC_PROG_CXX itself does not cause the configure script
to fail if a C++ compiler is not found. Therefore on non-Haiku
platforms there is no requirement to have a C++ compiler installed
in order to build libusb.

Closes #121

Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
2015-12-17 01:02:08 -08:00
Akshay Jaggi
dc97425bb4 haiku: Add Haiku support 2014-09-25 21:42:16 +01:00
Lars Wirzenius
802a994e6c Autotools: Fix autogen.sh behavior when libtool is not found
* Fix naked "exit", which no exit code, to prevent a build failure
  from being noticed automatically if a build dependency is lacking.
* Also printed error message to stderr rather than stdout.
2012-06-06 17:34:59 +01:00
Ludovic Rousseau
c74fe3ab70 Autotools: Use "set -e" to exit on the first error
* The script will not continue if something fails (like a command not found)
2012-05-04 23:03:46 +01:00
Pete Batard
ae1124c112 Autotools: Add bootstrap.sh
bootstrap.sh does not invoke configure whereas autogen.sh does.
This allows libusbx users to choose the one that suits them best.
2012-05-02 12:06:36 +01:00