]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Make configure.ac POSIX-friendly
authorPaul Floyd <pjfloyd@wanadoo.fr>
Tue, 3 Feb 2026 12:56:24 +0000 (13:56 +0100)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Tue, 3 Feb 2026 12:58:13 +0000 (13:58 +0100)
Reported by Thomas Klausner

configure.ac

index bca2b190202472f5d3a172c140abd5f37c9ede64..ea50189abc23aa00e49c1d596f63e638019d974d 100644 (file)
@@ -155,13 +155,13 @@ case $host_os in
       [  --with-darwin-platform=PLAT  Specify which Darwin platform we are compiling for (macOS, iOS, etc)],
       [
           # TODO: some kind of case-insensitive check?
-          if test "x$withval" == "xmacOS"; then
+          if test "x$withval" = "xmacOS"; then
             darwin_platform="macosx"
-          elif test "x$withval" == "xmacos"; then
+          elif test "x$withval" = "xmacos"; then
             darwin_platform="macosx"
-          elif test "x$withval" == "xiOS"; then
+          elif test "x$withval" = "xiOS"; then
             darwin_platform="iphoneos"
-          elif test "x$withval" == "xios"; then
+          elif test "x$withval" = "xios"; then
             darwin_platform="iphoneos"
           else
             darwin_platform="$withval"