[PATCH app-xdm 12/19] config: AC_LIBTOOL_DLOPEN is required for dynamic linking

Gaetan Nadon memsize at videotron.ca
Thu Sep 2 09:57:16 PDT 2010


It adds the following tests in the configuration :
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no

This has not resulted in any compiler/linker flags change on
a GNU/Linux platform.

Signed-off-by: Gaetan Nadon <memsize at videotron.ca>
---
 configure.ac |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index 04053ac..129e2fb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -37,7 +37,8 @@ XORG_DEFAULT_OPTIONS
 AM_CONFIG_HEADER(config.h)
 
 AM_PROG_CC_C_O
-AM_PROG_LIBTOOL
+AC_LIBTOOL_DLOPEN
+AC_PROG_LIBTOOL
 
 XORG_PROG_RAWCPP
 XORG_WITH_LINT
-- 
1.6.0.4



More information about the xorg-devel mailing list