@@ -99,7 +99,7 @@ AC_ARG_WITH([libmpeg2],
99
99
100
100
if test "x$with_libmpeg2" != "xno" ; then
101
101
PKG_CHECK_MODULES(LIBMPEG2, [ libmpeg2 >= 0.3.1] , PKG_LIBMPEG2=1, PKG_LIBMPEG2=0)
102
- if test "$PKG_LIBMPEG2" == "1"; then
102
+ if test "$PKG_LIBMPEG2" = "1"; then
103
103
LIBMPEG_VERSION="`pkg-config --modversion libmpeg2`"
104
104
AC_MSG_NOTICE ( [ found libmpeg2 Version $LIBMPEG_VERSION] )
105
105
AC_SUBST ( LIBMPEGX ,$LIBMPEG2_LIBS )
@@ -133,7 +133,7 @@ AC_ARG_WITH([ffmpeg],
133
133
134
134
if test "x$with_ffmpeg" != "xno" ; then
135
135
PKG_CHECK_MODULES(FFMPEG, libavutil libavformat [ libavcodec >= 52.0.0] , HAVE_FFMPEG=1, HAVE_FFMPEG=0)
136
- if test "$HAVE_FFMPEG" == "1"; then
136
+ if test "$HAVE_FFMPEG" = "1"; then
137
137
LIBAVCODEC_VERSION="`pkg-config --modversion libavcodec`"
138
138
AC_MSG_NOTICE ( [ found libavcodec Version $LIBAVCODEC_VERSION] )
139
139
OLDLDFLAGS="$LDFLAGS"
@@ -143,10 +143,10 @@ if test "x$with_ffmpeg" != "xno" ; then
143
143
dnl LDFLAGS="$LDFLAGS $FFMPEG_LIBS"
144
144
CXXFLAGS="$FFMPEG_CFLAGS $CXXFLAGS"
145
145
AC_CHECK_MEMBER ( AVIOContext.read_packet ,HAVE_AVIOCONTEXT=1 , HAVE_AVIOCONTEXT=0 ,[ #include "libavformat/avformat.h"] )
146
- if test "$HAVE_AVIOCONTEXT" == "1"; then
146
+ if test "$HAVE_AVIOCONTEXT" = "1"; then
147
147
CPPFLAGS="-DUSE_AVIOCONTEXT $CPPFLAGS"
148
148
fi
149
- if test "$HAVE_AVIOCONTEXT" == "0" ; then
149
+ if test "$HAVE_AVIOCONTEXT" = "0" ; then
150
150
echo ffmpeg not usable
151
151
HAVE_FFMPEG=0
152
152
LDFLAGS="$OLDLDFLAGS"
@@ -157,7 +157,7 @@ if test "x$with_ffmpeg" != "xno" ; then
157
157
AC_SUBST ( decoderok ,1 )
158
158
CXXFLAGS="-DUSE_FFMPEG $CXXFLAGS"
159
159
AC_CHECK_MEMBER ( AVFrame.width ,HAVE_AVFRAMEWIDTH=1 , HAVE_AVFRAMEWIDTH=0 ,[ #include "libavcodec/avcodec.h"] )
160
- if test "$HAVE_AVFRAMEWIDTH" == "0" ; then
160
+ if test "$HAVE_AVFRAMEWIDTH" = "0" ; then
161
161
CXXFLAGS="-DFORCE_CODECWIDTH $CXXFLAGS"
162
162
fi
163
163
dnl AC_SUBST(LIBS,"$LIBS $FFMPEG_LIBS")
@@ -189,7 +189,7 @@ if test "x$with_magick" != "xno" ; then
189
189
] ,[ mpp_defined="1"] ,[ mpp_defined="0"]
190
190
)
191
191
CXXFLAGS=$ac_save_CXXFLAGS
192
- if test $mpp_defined -eq 1 && test $havemagick -eq 1; then
192
+ if test $mpp_defined -eq 1 && test $havemagick -eq 1 ; then
193
193
PICSRC="markpics"
194
194
markpiccxxflags="$IMAGEMAGICK_CFLAGS"
195
195
markpics_ldadd="$IMAGEMAGICK_LIBS"
@@ -215,8 +215,7 @@ dnl CXXFLAGS="-v -g -O3 $CXXFLAGS"
215
215
CFLAGS="$CFLAGS -DFFMPEGDECODING"
216
216
CPPFLAGS="$CPPFLAGS -DFFMPEGDECODING "
217
217
218
- if test "$decoderok" != "1";
219
- then
218
+ if test "$decoderok" != "1" ; then
220
219
echo
221
220
echo
222
221
echo "can't find useable video-decoder"
@@ -233,20 +232,20 @@ else
233
232
echo
234
233
echo
235
234
echo " this is noad Version $VERSION"
236
- if test "$libmpeg2ok" == "1" ; then
235
+ if test "$libmpeg2ok" = "1" ; then
237
236
echo " configured with libmpeg2 Version $LIBMPEG_VERSION"
238
237
else
239
238
echo " libmpeg2-support not configured"
240
239
fi
241
- if test "$ffmpegok" == "1" ; then
240
+ if test "$ffmpegok" = "1" ; then
242
241
echo " configured with libavcodec Version $LIBAVCODEC_VERSION"
243
242
else
244
243
echo " ffmpeg-support not configured"
245
244
fi
246
- if test "$libmagickok" == "1" ; then
245
+ if test "$libmagickok" = "1" ; then
247
246
echo " configured with Magick++ Version $LIBMAGICK_VERSION"
248
247
fi
249
- if test "$with_tools" == "yes" ; then
248
+ if test "$with_tools" = "yes" ; then
250
249
echo " compile with tools: $TOOLSRC"
251
250
fi
252
251
echo
0 commit comments