summaryrefslogtreecommitdiff
path: root/aconfigure
diff options
context:
space:
mode:
authorLiong Sauw Ming <ming@teluu.com>2011-08-24 05:54:25 +0000
committerLiong Sauw Ming <ming@teluu.com>2011-08-24 05:54:25 +0000
commitaffe39c2d28ae275814c33c3b3378f3668ad4162 (patch)
treefe8a781af1074d4b29b8575df37ae33d2ffe0f61 /aconfigure
parentdaebe4433233abdd2beaa35b3de30185ef1dc7ad (diff)
Re #1334:
* Removed support for SDL 1.2 * Add job queue inside SDL git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3718 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'aconfigure')
-rwxr-xr-xaconfigure5
1 files changed, 4 insertions, 1 deletions
diff --git a/aconfigure b/aconfigure
index f45b14ab..beb7059c 100755
--- a/aconfigure
+++ b/aconfigure
@@ -12092,13 +12092,16 @@ echo "${ECHO_T}Using SDL prefix... $with_sdl" >&6; }
{ echo "$as_me:$LINENO: checking SDL availability.." >&5
echo $ECHO_N "checking SDL availability..... $ECHO_C" >&6; }
- if $SDL_CONFIG --version; then
+ if (sh -c "$SDL_CONFIG --version" | grep 1.3) then
ac_sdl_cflags=`$SDL_CONFIG --cflags`
ac_sdl_cflags="-DPJMEDIA_VIDEO_DEV_HAS_SDL=1 $ac_sdl_cflags"
ac_sdl_ldflags=`$SDL_CONFIG --libs`
LIBS="$LIBS $ac_sdl_ldflags"
+ else
+ { echo "$as_me:$LINENO: result: Unsupported SDL version" >&5
+echo "${ECHO_T}Unsupported SDL version" >&6; }
fi
fi