Skip to content

Commit

Permalink
Fixed #22
Browse files Browse the repository at this point in the history
  • Loading branch information
MCJack123 committed Jun 30, 2024
1 parent e3b98a2 commit 778644b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
24 changes: 12 additions & 12 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -4634,9 +4634,9 @@ else case e in #(
esac
fi

{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing swr_alloc_set_opts" >&5
printf %s "checking for library containing swr_alloc_set_opts... " >&6; }
if test ${ac_cv_search_swr_alloc_set_opts+y}
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing swr_alloc_set_opts2" >&5
printf %s "checking for library containing swr_alloc_set_opts2... " >&6; }
if test ${ac_cv_search_swr_alloc_set_opts2+y}
then :
printf %s "(cached) " >&6
else case e in #(
Expand All @@ -4645,12 +4645,12 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
namespace conftest {
extern "C" int swr_alloc_set_opts ();
extern "C" int swr_alloc_set_opts2 ();
}
int
main (void)
{
return conftest::swr_alloc_set_opts ();
return conftest::swr_alloc_set_opts2 ();
;
return 0;
}
Expand All @@ -4665,29 +4665,29 @@ do
fi
if ac_fn_cxx_try_link "$LINENO"
then :
ac_cv_search_swr_alloc_set_opts=$ac_res
ac_cv_search_swr_alloc_set_opts2=$ac_res
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext
if test ${ac_cv_search_swr_alloc_set_opts+y}
if test ${ac_cv_search_swr_alloc_set_opts2+y}
then :
break
fi
done
if test ${ac_cv_search_swr_alloc_set_opts+y}
if test ${ac_cv_search_swr_alloc_set_opts2+y}
then :

else case e in #(
e) ac_cv_search_swr_alloc_set_opts=no ;;
e) ac_cv_search_swr_alloc_set_opts2=no ;;
esac
fi
rm conftest.$ac_ext
LIBS=$ac_func_search_save_LIBS ;;
esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_swr_alloc_set_opts" >&5
printf "%s\n" "$ac_cv_search_swr_alloc_set_opts" >&6; }
ac_res=$ac_cv_search_swr_alloc_set_opts
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_swr_alloc_set_opts2" >&5
printf "%s\n" "$ac_cv_search_swr_alloc_set_opts2" >&6; }
ac_res=$ac_cv_search_swr_alloc_set_opts2
if test "$ac_res" != no
then :
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ AC_SEARCH_LIBS(avfilter_version, avfilter, [], [AC_MSG_ERROR([Could not find lib
AC_SEARCH_LIBS(avformat_open_input, avformat, [], [AC_MSG_ERROR([Could not find libavformat library.])])
AC_SEARCH_LIBS(av_frame_alloc, avutil, [], [AC_MSG_ERROR([Could not find libavutil library.])])
AC_SEARCH_LIBS(sws_getContext, swscale, [], [AC_MSG_ERROR([Could not find libswscale library.])])
AC_SEARCH_LIBS(swr_alloc_set_opts, swresample, [], [AC_MSG_ERROR([Could not find libswresample library.])])
AC_SEARCH_LIBS(swr_alloc_set_opts2, swresample, [], [AC_MSG_ERROR([Could not find libswresample library.])])
AC_SEARCH_LIBS(compress2, z, [], [AC_MSG_ERROR([Could not find zlib library.])])
AX_CXX_CHECK_LIB(PocoFoundation, [Poco::ASCIIEncoding], [], [AC_MSG_ERROR([Could not find Poco Foundation library.])])
AX_CXX_CHECK_LIB(PocoUtil, [Poco::Util::Timer], [], [AC_MSG_ERROR([Could not find Poco Util library.])])
Expand Down

0 comments on commit 778644b

Please sign in to comment.