Commit dcf3eba1 authored by Simon Morlat's avatar Simon Morlat

make --enable-gsm to really request gsm.

parent bf8706f5
......@@ -488,9 +488,9 @@ AC_ARG_ENABLE(gsm,
yes) gsm=true ;;
no) gsm=false ;;
*) AC_MSG_ERROR(bad value ${enableval} for --disable-gsm) ;;
esac],[gsm=true])
esac],[gsm=auto])
if test x$gsm = xtrue; then
if test x$gsm != xfalse; then
dnl check for gsm
build_gsm=no
......@@ -504,6 +504,8 @@ if test x"$gsmdir" != xno ; then
[${gsmdir}/lib],[gsm/gsm.h],[gsm],[gsm_create])
if test "$GSM_found" = "yes" ; then
build_gsm=yes
elif test "$gsm" = "true"; then
AC_MSG_ERROR([Could not locate gsm headers or library.])
fi
else
build_gsm=no
......
......@@ -10,7 +10,7 @@
Summary: Audio/Video real-time streaming
Name: mediastreamer
Version: @MEDIASTREAMER_VERSION@
Release: 1
Release: 2
License: LGPL
Group: Applications/Communications
URL: http://linphone.org/mediastreamer2/
......@@ -58,7 +58,7 @@ develop programs using the mediastreamer2 library.
%setup -q
%build
options="--enable-shared --enable-static"
options="--enable-shared --enable-gsm --enable-static"
%if !%{have_video}
options="$options --disable-video"
%endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment