Revert "configure.ac: exclude pci-access dependency from XDarwin"

This reverts commit 20c6677d1b.
This commit is contained in:
Ben Byer 2007-09-05 20:34:00 -07:00
parent bf1641b94c
commit f3f614cd01

View File

@ -1304,6 +1304,8 @@ if test "x$XORG" = xyes -o "x$XGL" = xyes; then
dnl Check to see if dlopen is in default libraries (like Solaris, which 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. dnl has it in libc), or if libdl is needed to get it.
PKG_CHECK_MODULES([PCIACCESS], [pciaccess >= 0.8.0])
XORG_SYS_LIBS="$XORG_SYS_LIBS $PCIACCESS_LIBS $DLOPEN_LIBS $GLX_SYS_LIBS"
XORG_CFLAGS="$XORG_CFLAGS $PCIACCESS_CFLAGS" XORG_CFLAGS="$XORG_CFLAGS $PCIACCESS_CFLAGS"
case $host_os in case $host_os in
@ -1501,12 +1503,6 @@ return 0;}
;; ;;
esac esac
if ! test "$XORG_OS" = "Darwin" ; then
PKG_CHECK_MODULES([PCIACCESS], [pciaccess >= 0.8.0])
XORG_SYS_LIBS="$XORG_SYS_LIBS $PCIACCESS_LIBS"
XORG_CFLAGS="$XORG_CFLAGS $PCIACCESS_CFLAGS"
fi
if test "x$XORG_OS_PCI" = x ; then if test "x$XORG_OS_PCI" = x ; then
XORG_OS_PCI=$XORG_OS XORG_OS_PCI=$XORG_OS
fi fi