Mercurial > sdl-ios-xcode
comparison configure.in @ 1601:a79200e79a61
Hopefully fixed up DirectFB detection
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 23 Mar 2006 15:25:30 +0000 |
parents | 06e9f1c7611b |
children | cd97a8e39874 |
comparison
equal
deleted
inserted
replaced
1600:77bc91c8c16b | 1601:a79200e79a61 |
---|---|
1061 | 1061 |
1062 AC_PATH_PROG(DIRECTFBCONFIG, directfb-config) | 1062 AC_PATH_PROG(DIRECTFBCONFIG, directfb-config) |
1063 if test x$DIRECTFBCONFIG = x -o x$DIRECTFBCONFIG = x'"$DIRECTFBCONFIG"'; then | 1063 if test x$DIRECTFBCONFIG = x -o x$DIRECTFBCONFIG = x'"$DIRECTFBCONFIG"'; then |
1064 AC_PATH_PROG(PKG_CONFIG, pkg-config, no) | 1064 AC_PATH_PROG(PKG_CONFIG, pkg-config, no) |
1065 if test x$PKG_CONFIG != xno ; then | 1065 if test x$PKG_CONFIG != xno ; then |
1066 AC_MSG_WARN([*** directfb-config or pkg-config are required to detect the DirectFB video driver.]) | |
1067 else | |
1068 AC_MSG_CHECKING(for DirectFB $DIRECTFB_REQUIRED_VERSION support) | 1066 AC_MSG_CHECKING(for DirectFB $DIRECTFB_REQUIRED_VERSION support) |
1069 | 1067 |
1070 if ! $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then | 1068 if $PKG_CONFIG --atleast-pkgconfig-version 0.7 && $PKG_CONFIG --atleast-version $DIRECTFB_REQUIRED_VERSION directfb ; then then |
1071 AC_MSG_ERROR([*** pkg-config too old; version 0.7 or better required.]) | |
1072 fi | |
1073 | |
1074 if $PKG_CONFIG --atleast-version $DIRECTFB_REQUIRED_VERSION directfb ; then | |
1075 DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags directfb` | 1069 DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags directfb` |
1076 DIRECTFB_LIBS=`$PKG_CONFIG --libs directfb` | 1070 DIRECTFB_LIBS=`$PKG_CONFIG --libs directfb` |
1077 video_directfb=yes | 1071 video_directfb=yes |
1078 fi | 1072 fi |
1079 AC_MSG_RESULT($video_directfb) | 1073 AC_MSG_RESULT($video_directfb) |