xserver: Branch 'master'
Alan Coopersmith
alanc at kemper.freedesktop.org
Wed Jun 21 02:16:26 EEST 2006
configure.ac | 5 ++++-
1 files changed, 4 insertions(+), 1 deletion(-)
New commits:
diff-tree 481d4012e74d9b0e98911f0ae02700ecf4cfc5ac (from 6df52fb7745c185c0168060f69cc6b4f5315914e)
Author: Alan Coopersmith <alanc at alf.(none)>
Date: Tue Jun 20 16:16:19 2006 -0700
Don't add -ldl to XORG_LIBS if it's not needed for dlopen
diff --git a/configure.ac b/configure.ac
index 84c2c70..d025638 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1030,7 +1030,10 @@ if test "x$XORG" = xyes -o "x$XGL" = xye
XORG_CFLAGS="$XORGSERVER_CFLAGS -DHAVE_XORG_CONFIG_H"
XORG_LIBS="$COMPOSITE_LIB $MI_LIB $FIXES_LIB $XEXTXORG_LIB $GLX_LIBS $RENDER_LIB $RANDR_LIB $DAMAGE_LIB $MIEXT_DAMAGE_LIB $MIEXT_SHADOW_LIB $XI_LIB $XKB_LIB $XPSTUBS_LIB $OS_LIB"
- AC_CHECK_LIB([dl], [dlopen], XORG_LIBS="$XORG_LIBS -ldl")
+dnl Check to see if dlopen is in default libraries (like Solaris, which
+dnl has it in libc), or if libdl is needed to get it.
+ AC_CHECK_FUNC([dlopen], [],
+ AC_CHECK_LIB([dl], [dlopen], XORG_LIBS="$XORG_LIBS -ldl"))
case $host_os in
linux*)
More information about the xorg-commit
mailing list