Skip to content

Commit

Permalink
Fix comparison operator in test on freebsd
Browse files Browse the repository at this point in the history
Compare using = instead of ==.
Comparison with == works OK on Fedora 29 but fails on Ubuntu 23.10
with the following message:
./configure: 6792: test: linux: unexpected operator
According to the stackexchange the official syntax is a to use =
but sometimes the == may also work.
This comparison is introduced in commit 24d18ca.
Thanks to angelaschmid.
  • Loading branch information
kmdewaal committed Jan 22, 2024
1 parent 5ea2656 commit f3f9d89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/configure
Original file line number Diff line number Diff line change
Expand Up @@ -6789,7 +6789,7 @@ fi
# incompatible function pointer waring has been promoted to an error.
# Demoting it back to a warning allows the builds to work again.
# https://lists.ffmpeg.org/pipermail/ffmpeg-devel/2023-March/307515.html
if test $target_os == "freebsd" &&
if test $target_os = "freebsd" &&
enabled clangxx &&
test $clangxx_major -ge 16; then
ffmpeg_extra_cflags="$ffmpeg_extra_cflags -Wno-error=incompatible-function-pointer-types"
Expand Down

0 comments on commit f3f9d89

Please sign in to comment.