Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 454374 - media-plugins/libvisual-plugins: possible automagic dependency on x11-libs/libXxf86vm
Summary: media-plugins/libvisual-plugins: possible automagic dependency on x11-libs/li...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-28 03:19 UTC by Matt Turner
Modified: 2020-11-26 03:12 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Turner gentoo-dev 2013-01-28 03:19:05 UTC
While doing bug 436260 I noticed this in configure.ac:

dnl XF86VidMode
HAVE_XF86VMODE=no
XF86VMODE_LIB=

CPPFLAGS_SAVE=$CPPFLAGS
CPPFLAGS="$CPPFLAGS $X_CFLAGS"

AC_CHECK_HEADERS([X11/extensions/xf86vmode.h],
  [AC_CHECK_LIB([Xxf86vm], [XF86VidModeSwitchToMode],
    [AC_DEFINE([HAVE_XF86VMODE], [], [XF86VidMode is available])
     XF86VMODE_LIB=-lXxf86vm
     HAVE_XF86VMODE=yes],
    [],
    [$X_LIBS])],
  [],
  [#include <X11/Xlib.h>
  ]
)

CPPFLAGS=$CPPFLAGS_SAVE

AC_SUBST([XF86VMODE_LIB])
AM_CONDITIONAL([HAVE_XF86VMODE], [test "$HAVE_XF86VMODE" = "yes"])

If xf86vidmode is detected, it looks like it tries to build against it... but I can't find any uses of HAVE_XF86VMODE or XF86VMODE_LIB in the Makefiles.

Could someone double check me that it's not actually using xf86vidmode?