diff options
author | Rhys Kidd <rhyskidd@gmail.com> | 2019-01-21 00:52:17 -0500 |
---|---|---|
committer | Ilia Mirkin <imirkin@alum.mit.edu> | 2019-01-21 21:29:55 -0500 |
commit | ed653f76b17ba4b252fe405e7bd39b36142dae05 (patch) | |
tree | 7448f186e5411f35f1bfa85594af719faa9477f5 | |
parent | fe3fc188f17f000afae4c307ad5e54f1596fc6ff (diff) | |
download | xorg-driver-xf86-video-nouveau-ed653f76b17ba4b252fe405e7bd39b36142dae05.tar.gz |
config: Use LT_INIT option instead of AC_DISABLE_STATIC
Since libtool 2.2 (released March 2008) the preferred initiation of
libtool is with the LT_INIT() macro, instead of AC_PROG_LIBTOOL.
As we are using LT_INIT anyway we might as well pass the disable-static
option directly to it instead of using the AC_DISABLE_STATIC macro.
See:
- https://www.gnu.org/software/libtool/manual/html_node/LT_005fINIT.html
- https://www.x.org/wiki/NewModuleGuidelines/
Signed-off-by: Rhys Kidd <rhyskidd@gmail.com>
-rw-r--r-- | configure.ac | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index 3a1e18e..7e19da8 100644 --- a/configure.ac +++ b/configure.ac @@ -50,10 +50,8 @@ XORG_DEFAULT_OPTIONS m4_ifndef([XORG_DRIVER_CHECK_EXT], [m4_fatal([must install xorg-server macros before running autoconf/autogen])]) - -# Checks for programs. -AC_DISABLE_STATIC -LT_INIT +# Initialize libtool +LT_INIT([disable-static]) AH_TOP([#include "xorg-server.h"]) |