Skip to content

Commit 77128aa

Browse files
committed
Add deprecation message for Autotools
1 parent 695b01f commit 77128aa

File tree

3 files changed

+16
-3
lines changed

3 files changed

+16
-3
lines changed

BUILD.autotools.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
1-
# Building HIDAPI using Autotools
1+
# Building HIDAPI using Autotools (deprecated)
2+
3+
---
4+
**NOTE**: for all intentions and purposes the Autotools build scripts for HIDAPI are _deprecated_ and going to be obsolete in the future.
5+
HIDAPI Team recommends using CMake build for HIDAPI.
6+
If you are already using Autotools build scripts provided by HIDAPI,
7+
consider switching to CMake build scripts as soon as possible.
8+
9+
---
210

311
To be able to use Autotools to build HIDAPI, it has to be [installed](#installing-autotools)/available in the system.
412

BUILD.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,14 @@
1717
For various reasons you may need to build HIDAPI on your own.
1818

1919
It can be done in several different ways:
20-
- using [Autotools](BUILD.autotools.md);
2120
- using [CMake](BUILD.cmake.md);
21+
- using [Autotools](BUILD.autotools.md) (deprecated);
2222
- using [manual makefiles](#building-the-manual-way-on-unix-platforms).
2323

2424
**Autotools** build system is historically first mature build system for
25-
HIDAPI. Most common usage of it is in its separate README: [BUILD.autotools.md](BUILD.autotools.md).
25+
HIDAPI. Most common usage of it is in its separate README: [BUILD.autotools.md](BUILD.autotools.md).<br/>
26+
NOTE: for all intentions and purposes the Autotools build scripts for HIDAPI are _deprecated_ and going to be obsolete in the future.
27+
HIDAPI Team recommends using CMake build for HIDAPI.
2628

2729
**CMake** build system is de facto an industry standard for many open-source and proprietary projects and solutions.
2830
HIDAPI is one of the projects which uses the power of CMake for its advantage.

configure.ac

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ AC_PREREQ(2.63)
22

33
AC_INIT([hidapi],[m4_normalize(m4_builtin([include], VERSION))],[https://github.com/libusb/hidapi/issues])
44

5+
echo "This build script for HIDAPI is deprecated."
6+
echo "Consider using CMake instead."
7+
58
# Library soname version
69
# Follow the following rules (particularly the ones in the second link):
710
# http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html

0 commit comments

Comments
 (0)