Hopefully fixed up DirectFB detection
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401608
This commit is contained in:
parent
73025412fa
commit
2f05889935
1 changed files with 1 additions and 7 deletions
|
@ -1063,15 +1063,9 @@ AC_HELP_STRING([--enable-video-directfb], [use DirectFB video driver [default=ye
|
|||
if test x$DIRECTFBCONFIG = x -o x$DIRECTFBCONFIG = x'"$DIRECTFBCONFIG"'; then
|
||||
AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
|
||||
if test x$PKG_CONFIG != xno ; then
|
||||
AC_MSG_WARN([*** directfb-config or pkg-config are required to detect the DirectFB video driver.])
|
||||
else
|
||||
AC_MSG_CHECKING(for DirectFB $DIRECTFB_REQUIRED_VERSION support)
|
||||
|
||||
if ! $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then
|
||||
AC_MSG_ERROR([*** pkg-config too old; version 0.7 or better required.])
|
||||
fi
|
||||
|
||||
if $PKG_CONFIG --atleast-version $DIRECTFB_REQUIRED_VERSION directfb ; then
|
||||
if $PKG_CONFIG --atleast-pkgconfig-version 0.7 && $PKG_CONFIG --atleast-version $DIRECTFB_REQUIRED_VERSION directfb ; then then
|
||||
DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags directfb`
|
||||
DIRECTFB_LIBS=`$PKG_CONFIG --libs directfb`
|
||||
video_directfb=yes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue