diff options
author | Benny Prijono <bennylp@teluu.com> | 2014-07-22 07:44:53 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2014-07-22 07:44:53 +0000 |
commit | 9086bd47d42bb2efccf9d9bc982c17b1fae8b2aa (patch) | |
tree | d88a04fefa581422fa2848f01e71ab7da1abb279 /aconfigure.ac | |
parent | e5d7df2437cbad8e97593d6ad199ca6a5d21d86f (diff) |
Re #1757, re #1758: fix configure script. Now OpenGL renderer is enabled by default by the configure script. And added missing dependency to -lstdc++ for the openh274 library
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4881 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'aconfigure.ac')
-rw-r--r-- | aconfigure.ac | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/aconfigure.ac b/aconfigure.ac index 9fc6919a..25a6c9bc 100644 --- a/aconfigure.ac +++ b/aconfigure.ac @@ -714,8 +714,8 @@ else AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], [])],[ac_pjmedia_video_has_ios=yes],[ac_pjmedia_video_has_ios=no]) LIBS="$SAVED_LIBS" if test "$ac_pjmedia_video_has_ios" = "yes"; then - ac_ios_cflags="-DPJMEDIA_VIDEO_DEV_HAS_IOS=1" - LIBS="$LIBS -framework AVFoundation -framework CoreGraphics -framework QuartzCore -framework CoreVideo -framework CoreMedia" + ac_ios_cflags="-DPJMEDIA_VIDEO_DEV_HAS_IOS=1 -DPJMEDIA_VIDEO_DEV_HAS_IOS_OPENGL=1" + LIBS="$LIBS -framework OpenGLES -framework AVFoundation -framework CoreGraphics -framework QuartzCore -framework CoreVideo -framework CoreMedia" AC_MSG_RESULT([Checking if AVFoundation framework is available... yes]) else AC_MSG_RESULT([Checking if AVFoundation framework is available... no]) @@ -1139,7 +1139,7 @@ AC_ARG_ENABLE(openh264, SAVED_CFLAGS="$CFLAGS" LIBS="$OPENH264_LIBS $LIBS" - LDFLAGS="$OPENH264_LDFLAGS $LDFLAGS" + LDFLAGS="$OPENH264_LDFLAGS $LDFLAGS -lstdc++" CFLAGS="$OPENH264_CFLAGS $CFLAGS" AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <wels/codec_api.h> |