summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRhys Kidd <rhyskidd@gmail.com>2019-01-21 00:52:17 -0500
committerIlia Mirkin <imirkin@alum.mit.edu>2019-01-21 21:29:55 -0500
commited653f76b17ba4b252fe405e7bd39b36142dae05 (patch)
tree7448f186e5411f35f1bfa85594af719faa9477f5
parentfe3fc188f17f000afae4c307ad5e54f1596fc6ff (diff)
downloadxorg-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.ac6
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"])