From 21f7d03dbc347f6bf97a40671275ac75df15bd10 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Wed, 16 Nov 2005 07:28:19 +0000 Subject: Fix builds when not building the Xorg DDX. --- ChangeLog | 5 +++++ configure.ac | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index df645d496..55d06bb9f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-11-16 Adam Jackson + + * configure.ac: + Fix builds when not building the Xorg DDX. + 2005-11-14 Kevin E. Martin * GL/glx/glcontextmodes.c: diff --git a/configure.ac b/configure.ac index 245877929..09a9fcbd9 100644 --- a/configure.ac +++ b/configure.ac @@ -862,12 +862,15 @@ if test "x$XORG" = xauto; then fi AC_MSG_RESULT([$XORG]) +# XORG_CORE_LIBS is needed even if you're not building the Xorg DDX +XORG_CORE_LIBS="$DIX_LIB" +AC_SUBST([XORG_CORE_LIBS]) + if test "x$XORG" = xyes; then XORG_DDXINCS='-I$(top_srcdir)/hw/xfree86 -I$(top_srcdir)/hw/xfree86/include -I$(top_srcdir)/hw/xfree86/common' XORG_OSINCS='-I$(top_srcdir)/hw/xfree86/os-support -I$(top_srcdir)/hw/xfree86/os-support/bus -I$(top_srcdir)/os' XORG_INCS="$XORG_DDXINCS $XORG_OSINCS" XORG_CFLAGS="$XORGSERVER_CFLAGS -DHAVE_XORG_CONFIG_H" - XORG_CORE_LIBS="$DIX_LIB" XORG_LIBS="$MI_LIB $FIXES_LIB $XEXT_LIB $XTRAP_LIB $RECORD_LIB $GLX_LIBS $RENDER_LIB $RANDR_LIB $DAMAGE_LIB $MIEXT_DAMAGE_LIB $MIEXT_SHADOW_LIB $MIEXT_LAYER_LIB $XI_LIB $XKB_LIB $LBX_LIB $COMPOSITE_LIB $XPSTUBS_LIB $OS_LIB" AC_CHECK_LIB([dl], [dlopen], XORG_LIBS="$XORG_LIBS -ldl") @@ -964,7 +967,6 @@ if test "x$XORG" = xyes; then if test "x$XORG_OS_PCI" = x ; then XORG_OS_PCI=$XORG_OS fi - AC_SUBST([XORG_CORE_LIBS]) AC_SUBST([XORG_LIBS]) AC_SUBST([XORG_INCS]) AC_SUBST([XORG_OS]) -- cgit v1.2.3