From 866b751b7192fd002a31f330a1540f14cb446818 Mon Sep 17 00:00:00 2001 From: Azat Khuzhin Date: Sun, 12 Feb 2023 15:19:51 +0100 Subject: Deprecate autotools build --- README.md | 34 ++++++++++++++++++---------------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 51482f79..da55822b 100644 --- a/README.md +++ b/README.md @@ -13,16 +13,18 @@ # 1. BUILDING AND INSTALLATION -## Autoconf +See [Documentation/Building#Autoconf](/Documentation/Building.md#autoconf) for more information + +## CMake (Unix) ``` -$ ./configure +$ mkdir build && cd build +$ cmake .. # Default to Unix Makefiles. $ make -$ make verify # (optional) -$ sudo make install +$ make verify # (optional) ``` -See [Documentation/Building#Autoconf](/Documentation/Building.md#autoconf) for more information +See [Documentation/Building#Building on Unix (With CMake)](/Documentation/Building.md#building-on-unix-cmake) for more information ## CMake (Windows) @@ -36,17 +38,6 @@ $ cmake --build . --config Release # Or "start libevent.sln" and build with menu See [Documentation/Building#Building on Windows](/Documentation/Building.md#building-on-windows) for more information -## CMake (Unix) - -``` -$ mkdir build && cd build -$ cmake .. # Default to Unix Makefiles. -$ make -$ make verify # (optional) -``` - -See [Documentation/Building#Building on Unix (With CMake)](/Documentation/Building.md#building-on-unix-cmake) for more information - ## Package Managers You can download and install libevent using the [vcpkg](https://github.com/Microsoft/vcpkg) dependency manager: @@ -59,6 +50,17 @@ You can download and install libevent using the [vcpkg](https://github.com/Micro The libevent port in vcpkg is kept up to date by Microsoft team members and community contributors. If the version is out of date, please [create an issue or pull request](https://github.com/Microsoft/vcpkg) on the vcpkg repository. +## Autoconf + +*Note, since 2.2 it is deprecated* + +``` +$ ./configure +$ make +$ make verify # (optional) +$ sudo make install +``` + # 2. USEFUL LINKS: For the latest released version of Libevent, see the official website at -- cgit v1.2.1