From: Paul Floyd Date: Tue, 3 Feb 2026 12:56:24 +0000 (+0100) Subject: Make configure.ac POSIX-friendly X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b3d177baa4c9b6535478aa230c4230fafc615a3;p=thirdparty%2Fvalgrind.git Make configure.ac POSIX-friendly Reported by Thomas Klausner --- diff --git a/configure.ac b/configure.ac index bca2b1902..ea50189ab 100644 --- a/configure.ac +++ b/configure.ac @@ -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"